diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-12-07 18:10:06 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-08 20:19:22 -0500 |
commit | 6c1bbcc8836358294c431e0c09e85e3480895659 (patch) | |
tree | ac27784e59e6a177431270bfa39318e1af425d84 /drivers/net/bnx2.c | |
parent | 3644f0cee77494190452de132e82245107939284 (diff) |
[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>
Diffstat (limited to 'drivers/net/bnx2.c')
-rw-r--r-- | drivers/net/bnx2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index 5bacb7587df4..7d824cf8ee2d 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c | |||
@@ -2510,7 +2510,7 @@ bnx2_init_cpus(struct bnx2 *bp) | |||
2510 | if (CHIP_NUM(bp) == CHIP_NUM_5709) { | 2510 | if (CHIP_NUM(bp) == CHIP_NUM_5709) { |
2511 | fw = &bnx2_cp_fw_09; | 2511 | fw = &bnx2_cp_fw_09; |
2512 | 2512 | ||
2513 | load_cpu_fw(bp, &cpu_reg, fw); | 2513 | rc = load_cpu_fw(bp, &cpu_reg, fw); |
2514 | if (rc) | 2514 | if (rc) |
2515 | goto init_cpu_err; | 2515 | goto init_cpu_err; |
2516 | } | 2516 | } |