diff options
author | Yuval Mintz <Yuval.Mintz@qlogic.com> | 2016-03-15 20:52:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-19 02:17:16 +0300 |
commit | 1e6bb1a3540fec3ef112b9a89dda88e684c3ff59 (patch) | |
tree | 9af4fcb2dcaf852adb567f0441e46f72e8ee5d6a /drivers/net/ppp/ppp_mppe.c | |
parent | 38c848c73180fb1d142a39e664b6d9663751f6b2 (diff) | |
download | linux-1e6bb1a3540fec3ef112b9a89dda88e684c3ff59.tar.xz |
bnx2x: Prevent false warning for lack of FC NPIV
Not all adapters have FC-NPIV configured. If bnx2fc is used with such an
adapter, driver would read irrelevant data from the the nvram and log
"FC-NPIV table with bad length..." In system logs.
Simply accept that reading '0' as the feature offset in nvram indicates
the feature isn't there and return.
Reported-by: Andrew Patterson <andrew.patterson@hpe.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ppp/ppp_mppe.c')
0 files changed, 0 insertions, 0 deletions