Skip to content

Commit

Permalink
kaweth: print correct debug ptr
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan Cox authored and davem330 committed Oct 11, 2012
1 parent 8edc0e6 commit 0abc1ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/usb/kaweth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0abc1ce

Please sign in to comment.