Re: [PATCH v2 1/1] net sysfs: Print link speed as signed integer

2015-09-29 Thread David Miller
From: Alexander Stein Date: Mon, 28 Sep 2015 15:05:33 +0200 > Otherwise 4294967295 (MBit/s) (-1) will be printed when there is no link. > Documentation/ABI/testing/sysfs-class-net does not state if this shall be > signed or unsigned. > Also remove the now unused variable fmt_udec. > > Signed-off

Re: [PATCH v2 1/1] net sysfs: Print link speed as signed integer

2015-09-29 Thread Jeremy Harris
On 28/09/15 14:05, Alexander Stein wrote: Otherwise 4294967295 (MBit/s) (-1) will be printed when there is no link. Documentation/ABI/testing/sysfs-class-net does not state if this shall be signed or unsigned. Also remove the now unused variable fmt_udec. [...] - ret = spr

[PATCH v2 1/1] net sysfs: Print link speed as signed integer

2015-09-28 Thread Alexander Stein
Otherwise 4294967295 (MBit/s) (-1) will be printed when there is no link. Documentation/ABI/testing/sysfs-class-net does not state if this shall be signed or unsigned. Also remove the now unused variable fmt_udec. Signed-off-by: Alexander Stein --- Changes in v2: * Switch the format specifier ins