projects
/
profile
/
common
/
platform
/
kernel
/
linux-artik7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1a47d3
)
IB/mlx4: Use correct order of variables in log message
author
Wengang Wang
<wen.gang.wang@oracle.com>
Thu, 8 Oct 2015 05:21:33 +0000
(13:21 +0800)
committer
Doug Ledford
<dledford@redhat.com>
Tue, 8 Dec 2015 21:45:51 +0000
(16:45 -0500)
There is a mis-order in mlx4 log. Fix it.
Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com>
Acked-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/net/ethernet/mellanox/mlx4/cmd.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/mellanox/mlx4/cmd.c
b/drivers/net/ethernet/mellanox/mlx4/cmd.c
index
2177e56
..
d48d579
100644
(file)
--- a/
drivers/net/ethernet/mellanox/mlx4/cmd.c
+++ b/
drivers/net/ethernet/mellanox/mlx4/cmd.c
@@
-1010,7
+1010,7
@@
static int mlx4_MAD_IFC_wrapper(struct mlx4_dev *dev, int slave,
if (!(smp->mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED &&
smp->method == IB_MGMT_METHOD_GET) || network_view) {
mlx4_err(dev, "Unprivileged slave %d is trying to execute a Subnet MGMT MAD, class 0x%x, method 0x%x, view=%s for attr 0x%x. Rejecting\n",
- slave, smp->m
ethod, smp->mgmt_class
,
+ slave, smp->m
gmt_class, smp->method
,
network_view ? "Network" : "Host",
be16_to_cpu(smp->attr_id));
return -EPERM;