Michael Chan e0ad8fc598 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>
2017-10-28 00:02:44 +09:00
..
2017-08-19 17:13:41 -07:00
2017-09-12 13:30:06 -07:00
2017-10-19 12:46:43 +01:00
2017-09-18 16:50:07 -07:00