Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Alan Cox and committed by
David S. Miller
0abc1cee 8edc0e62

+1 -1
+1 -1
drivers/net/usb/kaweth.c
··· 424 424 425 425 netdev_dbg(kaweth->net, 426 426 "Downloading firmware at %p to kaweth device at %p\n", 427 - fw->data, kaweth); 427 + kaweth->firmware_buf, kaweth); 428 428 netdev_dbg(kaweth->net, "Firmware length: %d\n", data_len); 429 429 430 430 return kaweth_control(kaweth,