summaryrefslogtreecommitdiffstats
path: root/drivers/serial/sc26xx.c
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/serial/sc26xx.c
parent02e3c6cb3f09ac10a1f16d16cf31c8ecaafd2c67 (diff)
downloadblackbird-op-linux-2145a92057a94d2d1e3e9674fe03774cda7455ad.tar.gz
blackbird-op-linux-2145a92057a94d2d1e3e9674fe03774cda7455ad.zip
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/serial/sc26xx.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud