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: NVladislav Zolotarov <vladz@broadcom.com> Signed-off-by: NEilon Greenstein <eilong@broadcom.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录