commit | a61b966d44d20735a3f21af731b3d56e4d649537 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut@gmail.com> | Fri Sep 23 21:13:35 2011 +0200 |
committer | Remy Bohmer <linux@bohmer.net> | Sat Sep 24 19:28:50 2011 +0200 |
tree | 2829e723bc93f9c9492695bbbba03fb126dda4f6 | |
parent | 459e941c89c8f2259f37316956f72e1fb7334dbb [diff] [blame] |
ASIX: Fix buffer access in asix_get_phy_addr() Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
diff --git a/drivers/usb/eth/asix.c b/drivers/usb/eth/asix.c index 9b012e4..2f116c0 100644 --- a/drivers/usb/eth/asix.c +++ b/drivers/usb/eth/asix.c
@@ -219,7 +219,7 @@ debug("Error reading PHYID register: %02x\n", ret); goto out; } - debug("asix_get_phy_addr() returning 0x%04x\n", *((__le16 *)buf)); + debug("asix_get_phy_addr() returning 0x%02x%02x\n", buf[0], buf[1]); ret = buf[1]; out: