drivers/net/bnx2.c: add an error check
PATCH 1/1 drivers/net/bnx2.c: add an error check
This patch adds a missing error check spotted by the Coverity checker.
Signed-off-by Adrian Bunk <[email protected]>
drivers/net/bnx2.c renamed from drivers/net/bnx2.c.old +1 -1
@@ -2510,7 +2510,7 @@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; }
Quoted 3 lines · Adrian Bunk
This patch adds a missing error check spotted by the Coverity checker.
Signed-off-by Adrian Bunk <[email protected]>
ACK
Quoted 4 lines · Adrian Bunk
This patch adds a missing error check spotted by the Coverity checker.
Signed-off-by Adrian Bunk <[email protected]>
Acked-by Michael Chan <[email protected]>
From: "Michael Chan" <[email protected]>
Date: Thu, 7 Dec 2006 09:31:40 -0800
Quoted 7 lines
Quoted 4 lines · Adrian Bunk
This patch adds a missing error check spotted by the Coverity checker.
Signed-off-by Adrian Bunk <[email protected]>Acked-by Michael Chan <[email protected]>
Applied, thanks everyone.