diff options
author | 2017-10-13 17:29:00 +0100 | |
---|---|---|
committer | 2017-10-14 18:37:57 -0700 | |
commit | 5dc874252faa818426480a7c00fa05738fe05402 (patch) | |
tree | 7bd9b946248e29b2298cf7fd2b71859d83c8c1a0 /drivers/net/hyperv | |
parent | Merge tag 'mac80211-next-for-davem-2017-10-13' of git://git.kernel.org/pub/sc... (diff) | |
download | linux-5dc874252faa818426480a7c00fa05738fe05402.tar.gz linux-5dc874252faa818426480a7c00fa05738fe05402.tar.bz2 linux-5dc874252faa818426480a7c00fa05738fe05402.zip |
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: 96ac18f14a5a ("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>
Diffstat (limited to 'drivers/net/hyperv')
0 files changed, 0 insertions, 0 deletions