projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e69f24b
)
bnx2x: add missing break in bnx2x_dcbnl_get_cap
author
Shmulik Ravid
<shmulikr@broadcom.com>
Thu, 22 Sep 2011 02:33:33 +0000
(
02:33
+0000)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 3 Oct 2011 18:41:13 +0000
(11:41 -0700)
commit
a0babc80eb375aad69dab4687c3b44c47d42f241
upstream.
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/bnx2x/bnx2x_dcb.c
patch
|
blob
|
history
diff --git
a/drivers/net/bnx2x/bnx2x_dcb.c
b/drivers/net/bnx2x/bnx2x_dcb.c
index 410a49e571acc6cd10383f2bac239704c2228bcb..d11af7cbd97b633d364c86022abdd73342c81e0c 100644
(file)
--- a/
drivers/net/bnx2x/bnx2x_dcb.c
+++ b/
drivers/net/bnx2x/bnx2x_dcb.c
@@
-1858,6
+1858,7
@@
static u8 bnx2x_dcbnl_get_cap(struct net_device *netdev, int capid, u8 *cap)
break;
case DCB_CAP_ATTR_DCBX:
*cap = BNX2X_DCBX_CAPS;
+ break;
default:
rval = -EINVAL;
break;