From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752370AbbCaMvT (ORCPT ); Tue, 31 Mar 2015 08:51:19 -0400 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:59565 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751137AbbCaMvS (ORCPT ); Tue, 31 Mar 2015 08:51:18 -0400 Message-ID: <1427806271.2117.110.camel@HansenPartnership.com> Subject: Re: [PATCH 05/86] x86/gart: use uapi/linux/pci_ids.h directly From: James Bottomley To: "Michael S. Tsirkin" Cc: Ingo Molnar , linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Bjorn Helgaas , Borislav Petkov Date: Tue, 31 Mar 2015 15:51:11 +0300 In-Reply-To: <20150331121752-mutt-send-email-mst@redhat.com> References: <1427635734-24786-1-git-send-email-mst@redhat.com> <1427635734-24786-6-git-send-email-mst@redhat.com> <20150330052936.GA5055@gmail.com> <20150330085249-mutt-send-email-mst@redhat.com> <20150331083445.GB15748@gmail.com> <20150331110244-mutt-send-email-mst@redhat.com> <20150331095106.GA19837@gmail.com> <20150331121752-mutt-send-email-mst@redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2015-03-31 at 13:04 +0200, Michael S. Tsirkin wrote: > On Tue, Mar 31, 2015 at 11:51:06AM +0200, Ingo Molnar wrote: > > > > * Michael S. Tsirkin wrote: > > > > > On Tue, Mar 31, 2015 at 10:34:45AM +0200, Ingo Molnar wrote: > > > > > > > > * Michael S. Tsirkin wrote: > > > > > > > > > On Mon, Mar 30, 2015 at 07:29:36AM +0200, Ingo Molnar wrote: > > > > > > > > > > > > * Michael S. Tsirkin wrote: > > > > > > > > > > > > > Header moved from linux/pci_ids.h to uapi/linux/pci_ids.h, > > > > > > > use the new header directly so we can drop > > > > > > > the wrapper in include/linux/pci_ids.h. > > > > > > > > > > > > > > Signed-off-by: Michael S. Tsirkin > > > > > > > --- > > > > > > > arch/x86/kernel/aperture_64.c | 2 +- > > > > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > > > > > > > > > diff --git a/arch/x86/kernel/aperture_64.c b/arch/x86/kernel/aperture_64.c > > > > > > > index 76164e1..3b52a56 100644 > > > > > > > --- a/arch/x86/kernel/aperture_64.c > > > > > > > +++ b/arch/x86/kernel/aperture_64.c > > > > > > > @@ -17,7 +17,7 @@ > > > > > > > #include > > > > > > > #include > > > > > > > #include > > > > > > > -#include > > > > > > > +#include > > > > > > > #include > > > > > > > #include > > > > > > > #include > > > > > > > -- > > > > > > > MST > > > > > > > > > > > > > > > > > > > NAK, it's absolutely ridiculous to send a 86 patches series for a > > > > > > trivial change like this! > > > > > > > > > > > > Just do the rename in a single patch and avoid the churn. Even if > > > > > > there are conflicts, they are utmost trivial to fix up. > > > > > > > > > > > > In fact the usual way to do such renames is to wait until the end of > > > > > > -rc1, auto-generate it and send Linus the core patch with the trivial > > > > > > renames straight away. > > > > > > > > > > > > Thanks, > > > > > > > > > > > > Ingo > > > > > > > > > > > > > > > Unfortunately, vger mailing lists reject any email with more than 2k of > > > > > email headers. This means if I do what you suggest I can't Cc all > > > > > maintainers for all affected files. [...] > > > > > > > > You can Cc: linux-arch and lkml for tree-wide changes. > > > > > > > > Also, since it's mostly trivial, there shouldn't be much (if any) > > > > controversy about it, right? > > > > > > I thought so, too. However, I was just proven wrong and the patchset > > > was nacked. [...] > > > > Well, I only NAK-ed its high-churn presentation, not the essence of it > > which looks good to me. > > Thanks! Another concern voiced was whether it's better to include uapi > files using #include or #include . Both > work - I thought #include makes it easier to figure > out where the file is. James Bottomley (Cc'd) thought it's not worth the code > churn however, since if we ever add a file under linux/foo.h we'd need > to change users back. He also noted that many headers are referenced > without the uapi/ prefix, if making the change, we'd have to change > them all. > > OTOH if not, maybe we want to drop all '#include ' > converting them to '#include ' (and same for asm), > except where it's linux/foo.h pulling in uapi/linux/foo.h. > That, at least, would make it all consistent. I've got to say I strongly prefer just using #include because it mirrors the scheme we use for #include . It's not just about code churn, it's also about reducing confusion: people might get confused about whether they should include the file that exists in asm rather than leaving the compile to generate it. James