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-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- [PATCH] parisc: add ()-pair in __ffs()
- From: [email protected] (Akinobu Mita)
- [PATCH] parisc: add ()-pair in __ffs()
- References:
- [PATCH 0/6] RFC: use include/asm-generic/bitops.h
- From: [email protected] (Akinobu Mita)
- [PATCH 3/6] C-language equivalents of include/asm-*/bitops.h
- From: [email protected] (Akinobu Mita)
- Re: [PATCH 3/6] C-language equivalents of include/asm-*/bitops.h
- From: Russell King <[email protected]>
- Re: [PATCH 3/6] C-language equivalents of include/asm-*/bitops.h
- From: Grant Grundler <[email protected]>
- Re: [PATCH 3/6] C-language equivalents of include/asm-*/bitops.h
- From: [email protected] (Akinobu Mita)
- [PATCH 3/12] generic ffz()
- From: [email protected] (Akinobu Mita)
- [PATCH 0/6] RFC: use include/asm-generic/bitops.h
- Prev by Date: Re: CD writing in future Linux (stirring up a hornets' nest)
- Next by Date: Re: CD writing in future Linux (stirring up a hornets' nest)
- Previous by thread: [PATCH 3/12] generic ffz()
- Next by thread: [PATCH] parisc: add ()-pair in __ffs()
- Index(es):