[BNX2]: Add an error check.
This patch adds a missing error check spotted by the Coverity checker. Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Jeff Garzik <jgarzik@pobox.com> Acked-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3644f0cee7
commit
6c1bbcc883
1 changed files with 1 additions and 1 deletions
|
@ -2510,7 +2510,7 @@ bnx2_init_cpus(struct bnx2 *bp)
|
|||
if (CHIP_NUM(bp) == CHIP_NUM_5709) {
|
||||
fw = &bnx2_cp_fw_09;
|
||||
|
||||
load_cpu_fw(bp, &cpu_reg, fw);
|
||||
rc = load_cpu_fw(bp, &cpu_reg, fw);
|
||||
if (rc)
|
||||
goto init_cpu_err;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue