aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorVasundhara Volam <[email protected]>2020-08-26 01:08:33 -0400
committerDavid S. Miller <[email protected]>2020-08-26 07:19:03 -0700
commitdbbfa96ad920c50d58bcaefa57f5f33ceef9d00e (patch)
tree1e9e6a573593b7caf2fbadc0732c25799fb3ec5e /drivers/usb/cdns3/cdns3-debug.h
parentc1c2d77408022a398a1a7c51cf20488c922629de (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