mlx5: minor fixes (mainly avoidance of hidden casts)
[cascardo/linux.git] / drivers / net / ethernet / mellanox / mlx5 / core / mad.c
index 18d6fd5..fd80ecf 100644 (file)
@@ -37,7 +37,7 @@
 #include "mlx5_core.h"
 
 int mlx5_core_mad_ifc(struct mlx5_core_dev *dev, void *inb, void *outb,
-                     u16 opmod, int port)
+                     u16 opmod, u8 port)
 {
        struct mlx5_mad_ifc_mbox_in *in = NULL;
        struct mlx5_mad_ifc_mbox_out *out = NULL;