projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mlx5: minor fixes (mainly avoidance of hidden casts)
[linux-2.6-block.git]
/
drivers
/
net
/
ethernet
/
mellanox
/
mlx5
/
core
/
mad.c
diff --git
a/drivers/net/ethernet/mellanox/mlx5/core/mad.c
b/drivers/net/ethernet/mellanox/mlx5/core/mad.c
index 18d6fd5dd90b2cca119d99d8f6f02b687579cfdf..fd80ecfa7195195464b8ccd2f0cfc1bc556d96c2 100644
(file)
--- a/
drivers/net/ethernet/mellanox/mlx5/core/mad.c
+++ b/
drivers/net/ethernet/mellanox/mlx5/core/mad.c
@@
-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;