Commit 0abc1cee authored by Alan Cox's avatar Alan Cox Committed by David S. Miller
Browse files

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: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8edc0e62
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,