diff options
author | Vasundhara Volam <[email protected]> | 2020-08-26 01:08:33 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-08-26 07:19:03 -0700 |
commit | dbbfa96ad920c50d58bcaefa57f5f33ceef9d00e (patch) | |
tree | 1e9e6a573593b7caf2fbadc0732c25799fb3ec5e /drivers/usb/cdns3/cdns3-debug.h | |
parent | c1c2d77408022a398a1a7c51cf20488c922629de (diff) |
bnxt_en: Check for zero dir entries in NVRAM.
If firmware goes into unstable state, HWRM_NVM_GET_DIR_INFO firmware
command may return zero dir entries. Return error in such case to
avoid zero length dma buffer request.
Fixes: c0c050c58d84 ("bnxt_en: New Broadcom ethernet driver.")
Signed-off-by: Vasundhara Volam <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions