Messages in this thread | | | From | Denys Vlasenko <> | Subject | Re: [PATCH] intel-iommu fixes | Date | Thu, 15 Nov 2007 23:14:33 -0800 |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |