smc911x: PRINT_PKT doesnt count on odd remainder
Subsystems (2)
PATCH 4/12 smc911x: PRINT_PKT doesnt count on odd remainder
PRINT_PKT doesnt count on odd remainder...
Signed-off-by Bora Sahin <[email protected]>
drivers/net/smc911x.c +1 -0
@@ -202,6 +202,7 @@ b = *buf++; printk("%02x%02x ", a, b); } +if (remainder &1 )printk ("%02x" , *buf);printk ("\n" ); }#else
[email protected] <[email protected]> :
[...]
drivers/net/smc911x.c line 205
Quoted 5 lines
drivers/net/smc911x.c +1
-0@@ -202,6 +202,7 @@ b = *buf++;printk ("%02x%02x " , a, b); } +if (remainder &1 )printk ("%02x" , *buf);
printk should be on the next line.
Signature · 1 line
Ueimor