Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756106AbXKPHO6 (ORCPT ); Fri, 16 Nov 2007 02:14:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751538AbXKPHOu (ORCPT ); Fri, 16 Nov 2007 02:14:50 -0500 Received: from rv-out-0910.google.com ([209.85.198.186]:18890 "EHLO rv-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751212AbXKPHOt (ORCPT ); Fri, 16 Nov 2007 02:14:49 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=fFEf1J7Ar5znvSI2mjX7PFnGCmkbO1ELzhMiTDIgZxvsz0LxMHjyEp7MIvKg1tQu07jn91/wBEUdMs71VLw14LDh/7E1XvcAGmpnMz6sXjLHrZT4KwGDq10hBjM64uDlKHXec1XckrgWLuytz1N3Sc6dTmYJqMiHpeQJAeCcndA= From: Denys Vlasenko To: Al Viro Subject: Re: [PATCH] intel-iommu fixes Date: Thu, 15 Nov 2007 23:14:33 -0800 User-Agent: KMail/1.9.1 Cc: Linus Torvalds , anil.s.keshavamurthy@intel.com, linux-kernel@vger.kernel.org References: <20071029045116.GB8181@ftp.linux.org.uk> In-Reply-To: <20071029045116.GB8181@ftp.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711152314.33973.vda.linux@googlemail.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 491 Lines: 12 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/