diff options
author | Michael Chan <michael.chan@broadcom.com> | 2017-10-26 11:51:22 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-28 00:02:44 +0900 |
commit | e0ad8fc5980b362028cfd63ec037f4b491e726c6 (patch) | |
tree | 9dd2c3995758a7d47f2ac590654d0327c32607d4 /net | |
parent | 618784e3ee1870e43e50e1c7922cc123cc050566 (diff) | |
download | linux-e0ad8fc5980b362028cfd63ec037f4b491e726c6.tar.bz2 |
bnxt_en: Check for zero length value in bnxt_get_nvram_item().
Return -EINVAL if the length is zero and not proceed to do essentially
nothing.
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions