Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c1bbcc8 authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller
Browse files

[BNX2]: Add an error check.



This patch adds a missing error check spotted by the Coverity checker.

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Acked-by: default avatarJeff Garzik <jgarzik@pobox.com>
Acked-by: default avatarMichael Chan <mchan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3644f0ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}