From: Michael Chan Date: Tue, 9 Jan 2007 03:56:13 +0000 (-0800) Subject: [BNX2]: Fix bug in bnx2_nvram_write(). X-Git-Tag: v2.6.20-rc5~33^2~4 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6be763f63420c334710a5a0818e6bfcf5d593f8;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed