Fix some compile warnings.

MFC after:	4 weeks
Sponsored by:	Mellanox Technologies
Fix compile warning.

MFC after:	4 weeks
Sponsored by:	Mellanox Technologies