Commit 17e1a42f authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller

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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 024e9679
...@@ -13726,8 +13726,10 @@ static void tg3_get_5720_nvram_info(struct tg3 *tp) ...@@ -13726,8 +13726,10 @@ static void tg3_get_5720_nvram_info(struct tg3 *tp)
switch (nvmpinstrp) { switch (nvmpinstrp) {
case FLASH_5762_EEPROM_HD: case FLASH_5762_EEPROM_HD:
nvmpinstrp = FLASH_5720_EEPROM_HD; nvmpinstrp = FLASH_5720_EEPROM_HD;
break;
case FLASH_5762_EEPROM_LD: case FLASH_5762_EEPROM_LD:
nvmpinstrp = FLASH_5720_EEPROM_LD; nvmpinstrp = FLASH_5720_EEPROM_LD;
break;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment