From mboxrd@z Thu Jan 1 00:00:00 1970 From: mita@miraclelinux.com (Akinobu Mita) Date: Fri, 27 Jan 2006 06:39:09 +0000 Subject: [PATCH] parisc: add ()-pair in __ffs() Message-Id: <20060127063909.GA8166@miraclelinux.com> List-Id: References: <20060125112625.GA18584@miraclelinux.com> <20060125113206.GD18584@miraclelinux.com> <20060125200250.GA26443@flint.arm.linux.org.uk> <20060125205907.GF9995@esmail.cup.hp.com> <20060126032713.GA9984@miraclelinux.com> <20060126033156.GB11138@miraclelinux.com> <43D886A5.8010309@tls.msk.ru> In-Reply-To: <43D886A5.8010309@tls.msk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Michael Tokarev Cc: Grant Grundler , Linux Kernel Development , linux-ia64@vger.kernel.org Found by Michael Tokarev Add missing ()-pair in ffz() macro. Signed-off-by: Akinobu Mita Index: 2.6-git/include/asm-parisc/bitops.h =================================--- 2.6-git.orig/include/asm-parisc/bitops.h 2006-01-26 18:33:40.000000000 +0900 +++ 2.6-git/include/asm-parisc/bitops.h 2006-01-26 19:32:07.000000000 +0900 @@ -220,7 +220,7 @@ } /* Undefined if no bit is zero. */ -#define ffz(x) __ffs(~x) +#define ffz(x) __ffs(~(x)) /* * ffs: find first bit set. returns 1 to BITS_PER_LONG or 0 (if none set)