summaryrefslogtreecommitdiff
path: root/drivers/net/bnx2x.h
diff options
context:
space:
mode:
authorVladislav Zolotarov <vladz@broadcom.com>2010-04-19 01:13:49 +0000
committerDavid S. Miller <davem@davemloft.net>2010-04-19 13:17:07 -0700
commit2145a92057a94d2d1e3e9674fe03774cda7455ad (patch)
treed341b038d9233101f5a10ef8772748582eb97265 /drivers/net/bnx2x.h
parent02e3c6cb3f09ac10a1f16d16cf31c8ecaafd2c67 (diff)
bnx2x: Protect code with NOMCP
Don't run code that can't be run if MCP is not present. This will prevent NULL pointer dereferencing. Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x.h')
0 files changed, 0 insertions, 0 deletions