Re: [PATCH 3/12] generic ffz()

Michael Tokarev
2006-01-26T08:21:57Z

Akinobu Mita wrote:
> This patch introduces the C-language equivalent of the function:
> unsigned long ffz(unsigned long word);
[]
> +#define ffz(x) __ffs(~x)

please consider using
#define ffz(x) __ffs(~(x))

instead -- note the extra ()-pair

/mjt