Re: [PATCH 1/3] hexagon: fix ffz/fls/ffs return type

2018-04-10 Thread Arnd Bergmann
On Sun, Apr 8, 2018 at 3:35 AM, Richard Kuo wrote: > On Fri, Apr 06, 2018 at 04:28:21PM +0200, Arnd Bergmann wrote: >> Let's use the same return type as the major architectures to >> avoid warnings like >> >> drivers/ata/libahci_platform.c: In function

Re: [PATCH 1/3] hexagon: fix ffz/fls/ffs return type

2018-04-10 Thread Arnd Bergmann
On Sun, Apr 8, 2018 at 3:35 AM, Richard Kuo wrote: > On Fri, Apr 06, 2018 at 04:28:21PM +0200, Arnd Bergmann wrote: >> Let's use the same return type as the major architectures to >> avoid warnings like >> >> drivers/ata/libahci_platform.c: In function 'ahci_platform_init_host': >>

Re: [PATCH 1/3] hexagon: fix ffz/fls/ffs return type

2018-04-07 Thread Richard Kuo
On Fri, Apr 06, 2018 at 04:28:21PM +0200, Arnd Bergmann wrote: > Let's use the same return type as the major architectures to > avoid warnings like > > drivers/ata/libahci_platform.c: In function 'ahci_platform_init_host': > drivers/ata/libahci_platform.c:561:12: warning: comparison of distinct

Re: [PATCH 1/3] hexagon: fix ffz/fls/ffs return type

2018-04-07 Thread Richard Kuo
On Fri, Apr 06, 2018 at 04:28:21PM +0200, Arnd Bergmann wrote: > Let's use the same return type as the major architectures to > avoid warnings like > > drivers/ata/libahci_platform.c: In function 'ahci_platform_init_host': > drivers/ata/libahci_platform.c:561:12: warning: comparison of distinct

[PATCH 1/3] hexagon: fix ffz/fls/ffs return type

2018-04-06 Thread Arnd Bergmann
Let's use the same return type as the major architectures to avoid warnings like drivers/ata/libahci_platform.c: In function 'ahci_platform_init_host': drivers/ata/libahci_platform.c:561:12: warning: comparison of distinct pointer types lacks a cast [enabled by default] Signed-off-by: Arnd

[PATCH 1/3] hexagon: fix ffz/fls/ffs return type

2018-04-06 Thread Arnd Bergmann
Let's use the same return type as the major architectures to avoid warnings like drivers/ata/libahci_platform.c: In function 'ahci_platform_init_host': drivers/ata/libahci_platform.c:561:12: warning: comparison of distinct pointer types lacks a cast [enabled by default] Signed-off-by: Arnd