r8152: give the device version
Subsystems (3)
PATCH 1/1 r8152: give the device version
Getting the device version out of the driver really aids debugging.
Signed-off-by Oliver Neukum <[email protected]>
--- drivers/net/usb/r8152.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/usb/r8152.c +2 -0
@@ -4368,6 +4368,8 @@ static u8 rtl_get_version(struct usb_interface *intf)break ; } +dev_dbg (&intf->dev,"Detected version 0x%04x\n" , version); +return version; }
Signature · 1 line
2.12.3
From: Oliver Neukum <[email protected]>
Date: Mon, 12 Jun 2017 13:56:51 +0200
Quoted 3 lines
Getting the device version out of the driver really aids debugging.
Signed-off-by Oliver Neukum <[email protected]>
Applied.