From: Bjorn Helgaas Date: Tue, 23 Aug 2005 16:24:00 +0000 (-0700) Subject: [IA64] fix IO_SPACE_SPARSE_ENCODING macro ambiguity X-Git-Tag: v2.6.14-rc1~1019^2~7^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b5f3616ba73699d07deee1f244179fae49502052;p=linux-2.6-omap-h63xx.git [IA64] fix IO_SPACE_SPARSE_ENCODING macro ambiguity Parenthesize "p" to avoid ambiguity. No callers have a problem today; this is just to clean up the bad form. Signed-off-by: Bjorn Helgaas Signed-off-by: Tony Luck --- diff --git a/include/asm-ia64/io.h b/include/asm-ia64/io.h index 54e7637a326..a2f92edd717 100644 --- a/include/asm-ia64/io.h +++ b/include/asm-ia64/io.h @@ -41,7 +41,7 @@ #define IO_SPACE_BASE(space) ((space) << IO_SPACE_BITS) #define IO_SPACE_PORT(port) ((port) & (IO_SPACE_SIZE - 1)) -#define IO_SPACE_SPARSE_ENCODING(p) ((((p) >> 2) << 12) | (p & 0xfff)) +#define IO_SPACE_SPARSE_ENCODING(p) ((((p) >> 2) << 12) | ((p) & 0xfff)) struct io_space { unsigned long mmio_base; /* base in MMIO space */