Re: [PATCH iproute2] fix print_0xhex on 32 bit

2018-12-19 Thread Stephen Hemminger
On Wed, 19 Dec 2018 22:00:38 +0200 Serhey Popovych wrote: > Stephen Hemminger wrote: > > > The argument to print_0xhex is converted to unsigned long long > > so the format string give for normal printout has to be some > > variant of %llx. Otherwise, bogus values will be printed on > > 32 bit pl

Re: [PATCH iproute2] fix print_0xhex on 32 bit

2018-12-19 Thread Serhey Popovych
Stephen Hemminger wrote: > The argument to print_0xhex is converted to unsigned long long > so the format string give for normal printout has to be some > variant of %llx. Otherwise, bogus values will be printed on > 32 bit platforms. Sorry it is too late and change is merged as commit 90c5c969f0

Re: [PATCH iproute2] fix print_0xhex on 32 bit

2018-12-11 Thread Hans Dedecker
On Mon, Dec 10, 2018 at 11:29 PM Stephen Hemminger wrote: > > The argument to print_0xhex is converted to unsigned long long > so the format string give for normal printout has to be some > variant of %llx. Otherwise, bogus values will be printed on > 32 bit platforms. > > Reported-by: Hans Dedeck

[PATCH iproute2] fix print_0xhex on 32 bit

2018-12-10 Thread Stephen Hemminger
The argument to print_0xhex is converted to unsigned long long so the format string give for normal printout has to be some variant of %llx. Otherwise, bogus values will be printed on 32 bit platforms. Reported-by: Hans Dedecker Signed-off-by: Stephen Hemminger --- bridge/link.c| 2