Re: [BNX2 3/4]: Fix bug in bnx2_nvram_write().

2007-01-08 Thread David Miller
From: "Michael Chan" <[EMAIL PROTECTED]> Date: Mon, 08 Jan 2007 15:56:48 -0800 > [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 th

[BNX2 3/4]: Fix bug in bnx2_nvram_write().

2007-01-08 Thread Michael Chan
[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 <[EMAIL PROTECTED]> diff --git a/drivers/n