kaweth: print correct debug ptr
Subsystems (3)
PATCH 1/1 kaweth: print correct debug ptr
From: Alan Cox <alan-VuQAYsv1563Yd54FQh9/[email protected]>
We nowdays copy the buffer and free fw->data, so make the debug printk use the right thing.
---
drivers/net/usb/kaweth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/usb/kaweth.c +1 -1
@@ -424,7 +424,7 @@ static int kaweth_download_firmware(struct kaweth_device *kaweth,netdev_dbg (kaweth->net,"Downloading firmware at %p to kaweth device at %p\n" , - fw->data, kaweth); + kaweth->firmware_buf, kaweth);netdev_dbg (kaweth->net,"Firmware length: %d\n" , data_len); return kaweth_control(kaweth,
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
From: Alan Cox <alan-qBU/[email protected]>
Date: Thu, 11 Oct 2012 17:22:03 +0100
Quoted 6 lines
From: Alan Cox <alan-VuQAYsv1563Yd54FQh9/[email protected]>
We nowdays copy the buffer and free
fw->data, so make the debug printk use the right thing.Signed-off-by Alan Cox <alan-VuQAYsv1563Yd54FQh9/[email protected]>
Applied and queued up for -stable.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html