diff options
| author | Vasundhara Volam <vasundhara-v.volam@broadcom.com> | 2020-08-26 01:08:33 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-12 11:45:28 +0200 |
| commit | 42178e15a1a3b6436d028f204d7434abadd644ce (patch) | |
| tree | 079d8db995fffae27ef6c4d8371464301bee5610 /scripts/objdiff | |
| parent | 140502502552e60a8c9435c9fcfe1ae9b344bcc2 (diff) | |
bnxt_en: Check for zero dir entries in NVRAM.
[ Upstream commit dbbfa96ad920c50d58bcaefa57f5f33ceef9d00e ]
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 <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
