Re: [PATCH] arch/h8300: modify ffs(), fls() etc. functions to return int

2018-07-22 Thread Randy Dunlap
On 07/22/2018 02:25 AM, Geert Uytterhoeven wrote: > CC hexagon > > hexagon != H8/300 != SuperH > > On Sat, Jul 21, 2018 at 5:28 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

Re: [PATCH] arch/h8300: modify ffs(), fls() etc. functions to return int

2018-07-22 Thread Geert Uytterhoeven
CC hexagon hexagon != H8/300 != SuperH On Sat, Jul 21, 2018 at 5:28 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

[PATCH] arch/h8300: modify ffs(), fls() etc. functions to return int

2018-07-20 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 ffx() and flx() functions to return int ins