aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/anycast.c
diff options
context:
space:
mode:
authorYuval Mintz <Yuval.Mintz@qlogic.com>2015-03-29 10:05:01 +0300
committerDavid S. Miller <davem@davemloft.net>2015-03-31 13:34:10 -0400
commit0f587f1bfb1fb15d9ebd94c565dd11ae6d4e03b6 (patch)
tree418790613ce71a53794396ec5cb64caa062ef77a /net/ipv6/anycast.c
parentbnx2x: Count number of link changes (diff)
downloadlinux-dev-0f587f1bfb1fb15d9ebd94c565dd11ae6d4e03b6.tar.xz
linux-dev-0f587f1bfb1fb15d9ebd94c565dd11ae6d4e03b6.zip
bnx2x: Prevent probe as early as possible
It's possible that due to errors [either on PCI or on device itself] registers reads would fail, returning all-Fs. This adds a check as early as possible so that driver will not read junk values and make incorrect probe decisions according to them; instead, gracefully fail the probe. Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com> Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/anycast.c')
0 files changed, 0 insertions, 0 deletions