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

From: Michael Tokarev <mjt_at_tls.msk.ru>
Date: 2006-01-26 19:21:57
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
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Jan 26 19:22:39 2006

This archive was generated by hypermail 2.1.8 : 2006-01-26 19:22:47 EST