| Submitter | Alan Cox |
|---|---|
| Date | Oct. 11, 2012, 4:22 p.m. |
| Message ID | <20121011162158.2432.70215.stgit@bob.linux.org.uk> |
| Download | mbox | patch |
| Permalink | /patch/190951/ |
| State | Accepted |
| Delegated to: | David Miller |
| Headers | show |
Comments
From: Alan Cox <alan@lxorguk.ukuu.org.uk> Date: Thu, 11 Oct 2012 17:22:03 +0100 > From: Alan Cox <alan@linux.intel.com> > > We nowdays copy the buffer and free fw->data, so make the debug printk use > the right thing. > > Signed-off-by: Alan Cox <alan@linux.intel.com> Applied and queued up for -stable. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Patch
diff --git a/drivers/net/usb/kaweth.c b/drivers/net/usb/kaweth.c index c75e11e..afb117c 100644 --- a/drivers/net/usb/kaweth.c +++ b/drivers/net/usb/kaweth.c @@ -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,