mlx5: minor fixes (mainly avoidance of hidden casts)
[cascardo/linux.git] / drivers / infiniband / hw / mlx5 / mad.c
index e259e73..b514bbb 100644 (file)
@@ -41,7 +41,7 @@ enum {
 };
 
 int mlx5_MAD_IFC(struct mlx5_ib_dev *dev, int ignore_mkey, int ignore_bkey,
-                int port, struct ib_wc *in_wc, struct ib_grh *in_grh,
+                u8 port, struct ib_wc *in_wc, struct ib_grh *in_grh,
                 void *in_mad, void *response_mad)
 {
        u8 op_modifier = 0;