commit | 95ec1f470b976858264d7635a6ef76bc33c3875b | [log] [tgz] |
---|---|---|
author | Vasundhara Volam <vasundhara-v.volam@broadcom.com> | Mon May 25 17:41:18 2020 -0400 |
committer | David S. Miller <davem@davemloft.net> | Tue May 26 20:30:48 2020 -0700 |
tree | fcabc7cb30ad6f844a0c121fb4aa6aa5b2dacc66 | |
parent | b8056e8434b037fdab08158fea99ed7bc8ef3a74 [diff] |
bnxt_en: Fix return code to "flash_device". When NVRAM directory is not found, return the error code properly as per firmware command failure instead of the hardcode -ENOBUFS. Fixes: 3a707bed13b7 ("bnxt_en: Return -EAGAIN if fw command returns BUSY") 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>