diff options
Diffstat (limited to 'drivers/net/bnx2x_init.h')
-rw-r--r-- | drivers/net/bnx2x_init.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/bnx2x_init.h b/drivers/net/bnx2x_init.h index 961db4916f25..021438f81341 100644 --- a/drivers/net/bnx2x_init.h +++ b/drivers/net/bnx2x_init.h | |||
@@ -274,6 +274,9 @@ static void bnx2x_init_wr_wb(struct bnx2x *bp, u32 addr, const u32 *data, | |||
274 | rc = bnx2x_gunzip(bp, (u8 *)data, len); | 274 | rc = bnx2x_gunzip(bp, (u8 *)data, len); |
275 | if (rc) { | 275 | if (rc) { |
276 | BNX2X_ERR("gunzip failed ! rc %d\n", rc); | 276 | BNX2X_ERR("gunzip failed ! rc %d\n", rc); |
277 | #ifdef __BIG_ENDIAN | ||
278 | kfree(temp); | ||
279 | #endif | ||
277 | return; | 280 | return; |
278 | } | 281 | } |
279 | len = bp->gunzip_outlen; | 282 | len = bp->gunzip_outlen; |