Messages in this thread | ![/](/images/icornerl.gif) | | From | Vineet Gupta <> | Subject | Re: [PATCH] ARC: fix __ffs return value to avoid build warnings | Date | Thu, 13 Dec 2018 18:23:18 +0000 |
| |
On 12/13/18 7:43 AM, Eugeniy Paltsev wrote: > Change __ffs return value from 'int' to 'unsigned long' as it > is done in other implementations (like asm-generic, x86, etc...) > to avoid build-time warnings in places where type is strictly > checked. > > As __ffs may return values in [0-31] interval changing return > type to unsigned is valid. > > Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Can you please paste a couple of lines of offending output !
-Vineet
| ![\](/images/icornerr.gif) |