diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-01-11 06:57:33 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-11 07:00:23 (GMT) |
commit | 17e1a42f2e377ec5809af79eb651d9ed5958fb97 (patch) | |
tree | e842790112685a50a9066409fee9f6646f0a8776 | |
parent | 024e9679a2daaa67642693366fb63a6b8c61b9f3 (diff) | |
download | linux-17e1a42f2e377ec5809af79eb651d9ed5958fb97.tar.xz |
tg3: missing break statement in tg3_get_5720_nvram_info()
There is a missing break statement so FLASH_5762_EEPROM_HD gets treated
like FLASH_5762_EEPROM_LD.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/broadcom/tg3.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c index b7696eb..88f2d41 100644 --- a/drivers/net/ethernet/broadcom/tg3.c +++ b/drivers/net/ethernet/broadcom/tg3.c @@ -13726,8 +13726,10 @@ static void tg3_get_5720_nvram_info(struct tg3 *tp) switch (nvmpinstrp) { case FLASH_5762_EEPROM_HD: nvmpinstrp = FLASH_5720_EEPROM_HD; + break; case FLASH_5762_EEPROM_LD: nvmpinstrp = FLASH_5720_EEPROM_LD; + break; } } |