summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2017-10-26 11:51:22 -0400
committerDavid S. Miller <davem@davemloft.net>2017-10-28 00:02:44 +0900
commite0ad8fc5980b362028cfd63ec037f4b491e726c6 (patch)
tree9dd2c3995758a7d47f2ac590654d0327c32607d4 /net
parent618784e3ee1870e43e50e1c7922cc123cc050566 (diff)
downloadlinux-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