projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8edc0e6
)
kaweth: print correct debug ptr
author
Alan Cox
<alan@linux.intel.com>
Thu, 11 Oct 2012 06:22:03 +0000
(06:22 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 11 Oct 2012 19:12:33 +0000
(15:12 -0400)
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>
drivers/net/usb/kaweth.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/usb/kaweth.c
b/drivers/net/usb/kaweth.c
index c75e11e1b385f3f5654605959b1a6db5ba44641a..afb117c16d2d3688b62952ec2251f29c29eee06c 100644
(file)
--- 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,