Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752593Ab2B0JQU (ORCPT ); Mon, 27 Feb 2012 04:16:20 -0500 Received: from mx3.mail.elte.hu ([157.181.1.138]:57590 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750704Ab2B0JQT (ORCPT ); Mon, 27 Feb 2012 04:16:19 -0500 Date: Mon, 27 Feb 2012 10:15:56 +0100 From: Ingo Molnar To: Andrew Morton Cc: Mike Travis , David Woodhouse , Chris Wright , Daniel Rahn , Jesse Barnes , Jack Steiner , Tony Ernst , x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] x86, pci: Increase the number of iommus supported to be MAX_IO_APICS v2 Message-ID: <20120227091556.GE3397@elte.hu> References: <20120223004930.817124691@gulag1.americas.sgi.com> <20120223004931.121722197@gulag1.americas.sgi.com> <20120223123011.cfe4ae35.akpm@linux-foundation.org> <20120227075741.GD3397@elte.hu> <20120227000310.a7e36dd9.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120227000310.a7e36dd9.akpm@linux-foundation.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=AWL,BAYES_00 autolearn=no SpamAssassin version=3.3.1 -2.0 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: From: address is in the auto white-list Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 843 Lines: 27 * Andrew Morton wrote: > On Mon, 27 Feb 2012 08:57:41 +0100 Ingo Molnar wrote: > > > * Andrew Morton wrote: > > > > > Also we can tweak the code flow and the message to avoid dorky > > > 80-column games: > > > > > + printk_once(KERN_ERR "intel-iommu: exceeded %d IOMMUs\n", > > > IOMMU_UNITS_SUPPORTED); > > > > Not to mention the use of pr_err(): > > > > pr_err("intel-iommu: exceeded %d IOMMUs\n", IOMMU_UNITS_SUPPORTED); > > Where's my pr_err_once() ;) We suck when it comes to API consistency :-) Ingo -- 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/