tree 22081641f3873ec2f7632005357be03ca1468e3d parent 38d26b9f577ec63ba64926c45f4ee3805ed2041c author Bjorn Helgaas <[EMAIL PROTECTED]> Tue, 23 Aug 2005 23:24:00 -0700 committer Tony Luck <[EMAIL PROTECTED]> Thu, 25 Aug 2005 04:55:09 -0700
[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 <[EMAIL PROTECTED]> Signed-off-by: Tony Luck <[EMAIL PROTECTED]> include/asm-ia64/io.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asm-ia64/io.h b/include/asm-ia64/io.h --- 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 */ - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html