diff options
author | Alan Cox <alan@linux.intel.com> | 2012-10-11 02:22:03 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-11 15:12:33 -0400 |
commit | 0abc1ceec52fcb9f962a2cd52e89baccccbc1d2e (patch) | |
tree | 19b8ace1e7e5833c5c0a9b216997dec01af52f94 /drivers/net | |
parent | 8edc0e624db3756783233e464879eb2e3b904c13 (diff) |
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 <alan@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/usb/kaweth.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
424 | 424 | ||
425 | netdev_dbg(kaweth->net, | 425 | netdev_dbg(kaweth->net, |
426 | "Downloading firmware at %p to kaweth device at %p\n", | 426 | "Downloading firmware at %p to kaweth device at %p\n", |
427 | fw->data, kaweth); | 427 | kaweth->firmware_buf, kaweth); |
428 | netdev_dbg(kaweth->net, "Firmware length: %d\n", data_len); | 428 | netdev_dbg(kaweth->net, "Firmware length: %d\n", data_len); |
429 | 429 | ||
430 | return kaweth_control(kaweth, | 430 | return kaweth_control(kaweth, |