Re: [PATCH] NTB: fix 32-bit compiler warning

2015-11-08 Thread Jon Mason
On Wed, Oct 07, 2015 at 09:59:34AM +0200, Arnd Bergmann wrote: > resource_size_t may be 32-bit wide on some architectures, which causes > this warning when building the NTB code: > > drivers/ntb/ntb_transport.c: In function 'ntb_transport_link_work': > drivers/ntb/ntb_transport.c:828:46: warning:

[PATCH] NTB: fix 32-bit compiler warning

2015-10-07 Thread Arnd Bergmann
resource_size_t may be 32-bit wide on some architectures, which causes this warning when building the NTB code: drivers/ntb/ntb_transport.c: In function 'ntb_transport_link_work': drivers/ntb/ntb_transport.c:828:46: warning: right shift count >= width of type [-Wshift-count-overflow] The warning