Re: [PATCH] pinctrl: at91-pio4: use %pr format string for resource

2015-11-18 Thread Arnd Bergmann
On Tuesday 17 November 2015 14:33:41 Ludovic Desroches wrote: > Hi Arnd, > > On Thu, Nov 12, 2015 at 03:15:38PM +0100, Arnd Bergmann wrote: > > resource_size_t may be defined as 32 or 64 bit depending on configuration, > > so it cannot be printed using the normal format strings, as gcc correctly

Re: [PATCH] pinctrl: at91-pio4: use %pr format string for resource

2015-11-18 Thread Arnd Bergmann
On Tuesday 17 November 2015 14:33:41 Ludovic Desroches wrote: > Hi Arnd, > > On Thu, Nov 12, 2015 at 03:15:38PM +0100, Arnd Bergmann wrote: > > resource_size_t may be defined as 32 or 64 bit depending on configuration, > > so it cannot be printed using the normal format strings, as gcc correctly

Re: [PATCH] pinctrl: at91-pio4: use %pr format string for resource

2015-11-17 Thread Ludovic Desroches
Hi Arnd, On Thu, Nov 12, 2015 at 03:15:38PM +0100, Arnd Bergmann wrote: > resource_size_t may be defined as 32 or 64 bit depending on configuration, > so it cannot be printed using the normal format strings, as gcc correctly > warns: > > pinctrl-at91-pio4.c: In function 'atmel_pinctrl_probe': >

Re: [PATCH] pinctrl: at91-pio4: use %pr format string for resource

2015-11-17 Thread Ludovic Desroches
Hi Arnd, On Thu, Nov 12, 2015 at 03:15:38PM +0100, Arnd Bergmann wrote: > resource_size_t may be defined as 32 or 64 bit depending on configuration, > so it cannot be printed using the normal format strings, as gcc correctly > warns: > > pinctrl-at91-pio4.c: In function 'atmel_pinctrl_probe': >

[PATCH] pinctrl: at91-pio4: use %pr format string for resource

2015-11-12 Thread Arnd Bergmann
resource_size_t may be defined as 32 or 64 bit depending on configuration, so it cannot be printed using the normal format strings, as gcc correctly warns: pinctrl-at91-pio4.c: In function 'atmel_pinctrl_probe': pinctrl-at91-pio4.c:1003:41: warning: format '%u' expects argument of type 'unsigned

[PATCH] pinctrl: at91-pio4: use %pr format string for resource

2015-11-12 Thread Arnd Bergmann
resource_size_t may be defined as 32 or 64 bit depending on configuration, so it cannot be printed using the normal format strings, as gcc correctly warns: pinctrl-at91-pio4.c: In function 'atmel_pinctrl_probe': pinctrl-at91-pio4.c:1003:41: warning: format '%u' expects argument of type 'unsigned