commit | e6be763f63420c334710a5a0818e6bfcf5d593f8 | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Mon Jan 08 19:56:13 2007 -0800 |
committer | David S. Miller <davem@sunset.davemloft.net> | Tue Jan 09 00:30:04 2007 -0800 |
tree | 7ff84d869b78f73b1ee22f9d9deff44899661263 | |
parent | 253c8b75546c5f21d5321d691df92c1e84d9b0fb [diff] |
[BNX2]: Fix bug in bnx2_nvram_write(). The bug was a bogus pointer being passed to kfree(). The pointer was incremented in the write loop and then passed to kfree(). The fix is to use align_buf to save the original address. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>