From: Alan Cox Date: Thu, 11 Oct 2012 06:22:03 +0000 (+0000) Subject: kaweth: print correct debug ptr X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0abc1ceec52fcb9f962a2cd52e89baccccbc1d2e;p=openwrt%2Fstaging%2Fblogic.git kaweth: print correct debug ptr We nowdays copy the buffer and free fw->data, so make the debug printk use the right thing. Signed-off-by: Alan Cox Signed-off-by: David S. Miller --- diff --git a/drivers/net/usb/kaweth.c b/drivers/net/usb/kaweth.c index c75e11e1b385..afb117c16d2d 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,