From: Bjorn Helgaas Date: Tue, 23 Aug 2005 16:24:00 +0000 (-0700) Subject: [IA64] fix IO_SPACE_SPARSE_ENCODING macro ambiguity X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b5f3616ba73699d07deee1f244179fae49502052;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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 54e7637a326c..a2f92edd717d 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 */