Re: [PATCH] irda: Fix likely typo in output format string

2016-08-31 Thread Oleg Drokin
On Aug 31, 2016, at 5:31 PM, David Miller wrote: > From: Oleg Drokin <gr...@linuxhacker.ru> > Date: Fri, 26 Aug 2016 23:14:06 -0400 > >> %ul would print an unsigned with a letter l at the end which does >> not seem to be desired here, on the other hand the value bein

Re: [PATCH] bridge: Fix format string for %ul

2016-08-27 Thread Oleg Drokin
On Aug 27, 2016, at 12:18 PM, Sergei Shtylyov wrote: > Hello. > > On 8/27/2016 6:58 PM, Oleg Drokin wrote: > >>>> %ul would print an unsigned value and a letter l, >>>> likely it was %lu that was meant to print the long int, >>>> but in reality

Re: [PATCH] bridge: Fix format string for %ul

2016-08-27 Thread Oleg Drokin
On Aug 27, 2016, at 11:13 AM, Sergei Shtylyov wrote: > Hello. > > On 8/27/2016 6:10 AM, Oleg Drokin wrote: > >> %ul would print an unsigned value and a letter l, >> likely it was %lu that was meant to print the long int, >> but in reality the values printed

[PATCH] irda: Fix likely typo in output format string

2016-08-26 Thread Oleg Drokin
%ul would print an unsigned with a letter l at the end which does not seem to be desired here, on the other hand the value being printed is u32 so just drop the l instead of converting to %lu Signed-off-by: Oleg Drokin <gr...@linuxhacker.ru> --- drivers/net/irda/vlsi_ir.c | 2 +- 1 file c

[PATCH] bridge: Fix format string for %ul

2016-08-26 Thread Oleg Drokin
%ul would print an unsigned value and a letter l, likely it was %lu that was meant to print the long int, but in reality the values printed there are just regular signed ints, so just dropping the l altogether. Signed-off-by: Oleg Drokin <gr...@linuxhacker.ru> --- net/bridge/br_stp_bpdu