[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200711152314.33973.vda.linux@googlemail.com>
Date: Thu, 15 Nov 2007 23:14:33 -0800
From: Denys Vlasenko <vda.linux@...glemail.com>
To: Al Viro <viro@....linux.org.uk>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
anil.s.keshavamurthy@...el.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] intel-iommu fixes
On Sunday 28 October 2007 21:51, Al Viro wrote:
> -#define MAX_FAULT_REASON_IDX ARRAY_SIZE(fault_reason_strings)
> +#define MAX_FAULT_REASON_IDX ARRAY_SIZE(fault_reason_strings) - 1
The macro is unsafe without yet another ()s around it.
--
vda
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists