Re: [PATCH v2] hexagon: modify ffs() and fls() to return int

2018-07-23 Thread Richard Kuo
On Mon, Jul 23, 2018 at 04:27:47PM -0700, Randy Dunlap wrote: > On 07/23/2018 03:50 PM, Richard Kuo wrote: > > On Sun, Jul 22, 2018 at 04:03:58PM -0700, Randy Dunlap wrote: > >> From: Randy Dunlap > >> > >> Building drivers/mtd/nand/raw/nandsim.c on arch/hexagon/ produces a > >> printk format

Re: [PATCH v2] hexagon: modify ffs() and fls() to return int

2018-07-23 Thread Richard Kuo
On Mon, Jul 23, 2018 at 04:27:47PM -0700, Randy Dunlap wrote: > On 07/23/2018 03:50 PM, Richard Kuo wrote: > > On Sun, Jul 22, 2018 at 04:03:58PM -0700, Randy Dunlap wrote: > >> From: Randy Dunlap > >> > >> Building drivers/mtd/nand/raw/nandsim.c on arch/hexagon/ produces a > >> printk format

Re: [PATCH v2] hexagon: modify ffs() and fls() to return int

2018-07-23 Thread Randy Dunlap
On 07/23/2018 03:50 PM, Richard Kuo wrote: > On Sun, Jul 22, 2018 at 04:03:58PM -0700, Randy Dunlap wrote: >> From: Randy Dunlap >> >> Building drivers/mtd/nand/raw/nandsim.c on arch/hexagon/ produces a >> printk format build warning. This is due to hexagon's ffs() being >> coded as returning

Re: [PATCH v2] hexagon: modify ffs() and fls() to return int

2018-07-23 Thread Randy Dunlap
On 07/23/2018 03:50 PM, Richard Kuo wrote: > On Sun, Jul 22, 2018 at 04:03:58PM -0700, Randy Dunlap wrote: >> From: Randy Dunlap >> >> Building drivers/mtd/nand/raw/nandsim.c on arch/hexagon/ produces a >> printk format build warning. This is due to hexagon's ffs() being >> coded as returning

Re: [PATCH v2] hexagon: modify ffs() and fls() to return int

2018-07-23 Thread Richard Kuo
On Sun, Jul 22, 2018 at 04:03:58PM -0700, Randy Dunlap wrote: > From: Randy Dunlap > > Building drivers/mtd/nand/raw/nandsim.c on arch/hexagon/ produces a > printk format build warning. This is due to hexagon's ffs() being > coded as returning long instead of int. > > Fix the printk format

Re: [PATCH v2] hexagon: modify ffs() and fls() to return int

2018-07-23 Thread Richard Kuo
On Sun, Jul 22, 2018 at 04:03:58PM -0700, Randy Dunlap wrote: > From: Randy Dunlap > > Building drivers/mtd/nand/raw/nandsim.c on arch/hexagon/ produces a > printk format build warning. This is due to hexagon's ffs() being > coded as returning long instead of int. > > Fix the printk format

Re: [PATCH v2] hexagon: modify ffs() and fls() to return int

2018-07-23 Thread Geert Uytterhoeven
On Mon, Jul 23, 2018 at 1:04 AM Randy Dunlap wrote: > From: Randy Dunlap > > Building drivers/mtd/nand/raw/nandsim.c on arch/hexagon/ produces a > printk format build warning. This is due to hexagon's ffs() being > coded as returning long instead of int. > > Fix the printk format warning by

Re: [PATCH v2] hexagon: modify ffs() and fls() to return int

2018-07-23 Thread Geert Uytterhoeven
On Mon, Jul 23, 2018 at 1:04 AM Randy Dunlap wrote: > From: Randy Dunlap > > Building drivers/mtd/nand/raw/nandsim.c on arch/hexagon/ produces a > printk format build warning. This is due to hexagon's ffs() being > coded as returning long instead of int. > > Fix the printk format warning by

[PATCH v2] hexagon: modify ffs() and fls() to return int

2018-07-22 Thread Randy Dunlap
From: Randy Dunlap Building drivers/mtd/nand/raw/nandsim.c on arch/hexagon/ produces a printk format build warning. This is due to hexagon's ffs() being coded as returning long instead of int. Fix the printk format warning by changing all of hexagon's ffs() and fls() functions to return int

[PATCH v2] hexagon: modify ffs() and fls() to return int

2018-07-22 Thread Randy Dunlap
From: Randy Dunlap Building drivers/mtd/nand/raw/nandsim.c on arch/hexagon/ produces a printk format build warning. This is due to hexagon's ffs() being coded as returning long instead of int. Fix the printk format warning by changing all of hexagon's ffs() and fls() functions to return int