Re: [PATCH] NTB: ntb_perf: fix printing of resource_size_t

2018-01-19 Thread Jon Mason
On Fri, Jan 19, 2018 at 03:55:28PM +0100, Arnd Bergmann wrote: > On 32-bit architectures, resource_size_t is usually 'unsigned int' or > 'unsigned long' but not 'unsigned long long', so we get a warning > about printing the wrong data: > > drivers/ntb/test/ntb_perf.c: In function

Re: [PATCH] NTB: ntb_perf: fix printing of resource_size_t

2018-01-19 Thread Jon Mason
On Fri, Jan 19, 2018 at 03:55:28PM +0100, Arnd Bergmann wrote: > On 32-bit architectures, resource_size_t is usually 'unsigned int' or > 'unsigned long' but not 'unsigned long long', so we get a warning > about printing the wrong data: > > drivers/ntb/test/ntb_perf.c: In function

[PATCH] NTB: ntb_perf: fix printing of resource_size_t

2018-01-19 Thread Arnd Bergmann
On 32-bit architectures, resource_size_t is usually 'unsigned int' or 'unsigned long' but not 'unsigned long long', so we get a warning about printing the wrong data: drivers/ntb/test/ntb_perf.c: In function 'perf_setup_peer_mw': drivers/ntb/test/ntb_perf.c:1390:35: error: format '%llx' expects

[PATCH] NTB: ntb_perf: fix printing of resource_size_t

2018-01-19 Thread Arnd Bergmann
On 32-bit architectures, resource_size_t is usually 'unsigned int' or 'unsigned long' but not 'unsigned long long', so we get a warning about printing the wrong data: drivers/ntb/test/ntb_perf.c: In function 'perf_setup_peer_mw': drivers/ntb/test/ntb_perf.c:1390:35: error: format '%llx' expects