linux_dsm_epyc7002/drivers/net/ethernet/chelsio
Colin Ian King 5dc874252f cxgb4: fix missing break in switch and indent return statements
The break statement for the Macronix case is missing and will
fall through to the Winbond case and re-assign the size setting.
Fix this by adding the missing break statement.  Also correctly
indent the return statements.

Detected by CoverityScan, CID#1458020 ("Missing break in switch")

Fixes: 96ac18f14a ("cxgb4: Add support for new flash parts")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-14 18:37:57 -07:00
..
cxgb drivers: net: cxgb: use setup_timer() helper. 2017-09-21 11:44:44 -07:00
cxgb3 net: chelsio: cxgb3: constify attribute_group structures. 2017-07-18 12:04:57 -07:00
cxgb4 cxgb4: fix missing break in switch and indent return statements 2017-10-14 18:37:57 -07:00
cxgb4vf cxgb4vf: make a couple of functions static 2017-10-04 10:31:55 -07:00
libcxgb networking: make skb_put & friends return void pointers 2017-06-16 11:48:39 -04:00
Kconfig libcxgb: add library module for Chelsio drivers 2016-07-25 10:31:08 -07:00
Makefile libcxgb: add library module for Chelsio drivers 2016-07-25 10:31:08 -07:00