diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2009-08-12 08:23:48 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-12 23:02:53 -0700 |
commit | 54016b260e873d0d4d30cf1fdbd0cdcf0e26251b (patch) | |
tree | f085950545565ad9df727e937d4ad8d1fada3170 /firmware/ositech | |
parent | 5ff7b6d4c129a430e355b2f88162a36d9e058f88 (diff) | |
download | blackbird-op-linux-54016b260e873d0d4d30cf1fdbd0cdcf0e26251b.tar.gz blackbird-op-linux-54016b260e873d0d4d30cf1fdbd0cdcf0e26251b.zip |
bnx2x: Check unzip return code
Without this check, when running out of memory, we will see PSOD's in
bnx2x_init_fill() when doing a memset(). This is because at that time,
bp->gunzip_buf is not pointing to a valid allocated space.
Signed-off-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/ositech')
0 files changed, 0 insertions, 0 deletions