debian/patches/debian/dfsg/drivers-net-bnx2-request_firmware-1.patch:

Another compile fix.

svn path=/dists/trunk/linux-2.6/; revision=12032
This commit is contained in:
Bastian Blank 2008-08-10 15:05:51 +00:00
parent 51368f6252
commit 4e626b9aff
1 changed files with 5 additions and 2 deletions

View File

@ -232,7 +232,7 @@ index 5ebde67..5401dab 100644
/* Start the CPU. */
val = bnx2_reg_rd_ind(bp, cpu_reg->mode);
@@ -3439,92 +3476,37 @@ load_cpu_fw(struct bnx2 *bp, const struct cpu_reg *cpu_reg, struct fw_info *fw)
@@ -3439,95 +3476,39 @@ load_cpu_fw(struct bnx2 *bp, const struct cpu_reg *cpu_reg, struct fw_info *fw)
static int
bnx2_init_cpus(struct bnx2 *bp)
{
@ -335,7 +335,10 @@ index 5ebde67..5401dab 100644
+ rc = load_cpu_fw(bp, &cpu_reg_cp, &fw->cp);
init_cpu_err:
vfree(text);
- vfree(text);
return rc;
}
@@ -7656,6 +7638,7 @@ bnx2_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
struct bnx2 *bp;
int rc;