Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8543655imu; Fri, 28 Dec 2018 21:41:18 -0800 (PST) X-Google-Smtp-Source: ALg8bN5Rtvf4MX5OIw2dmcn5u7f4x8F0hKLvlcZMlZTLaMamHnalyRybeB4X2z5vJHyAiejtMX1S X-Received: by 2002:a63:b105:: with SMTP id r5mr684960pgf.442.1546062078860; Fri, 28 Dec 2018 21:41:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546062078; cv=none; d=google.com; s=arc-20160816; b=c7Cjwo7XrIZ0s2jFkr91xYsvzsxrwATINxx7GYq9XwHJmNa/opfSIGKzcbe2Qz1E4S fwnI9y+zZbTPXI8wXS6pUYMcwvlmx7YwmnQ8mHGi2LOImNDziHIFLqdL8x0C0IoZdEcA w5+rzZbluNKlES6rGOoP6F1UIbIMzlHfjsEwkh0Hj08SnIoRidoM/YSG249zaKfv/vxy 4Fc8SmjPNrZc8ICLeSt/EeibWFUXOE1Y8rfqj5GfemGCVzbfOpCQno50TAqDeF7NFRd2 1khyYxnXgFlzbTMSZdOGiM+v5unCRVfIPukD1Q/+OF9WaVpJf1Gp/ZY0p1XUl3k2CMg9 bJsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=+ctffec70KMtQOCQyWTisLwXzB1Mnwufk4G3TY2x9kc=; b=SsjW8xe+l2SBZs2Mwy3pc1XHnBSys1ImSnNWIpHiVbA66TzA/6SU8ihUMRc79JaSvL qvRBlc0aR/uuWTycijV/Q0cqoznXqo5R7Bgnc6KxZCoxwLvU0XwVKqKempL3mMoXUSwH 1pM8ahQfpx9zgQZ+g10DbRJcbytZtUL8svCkxJWX7sHJNBTibK1S6m303E+wxeul+1LP TwYHpqzHsHO5xeRgWPTBX8tsKlBlDMwtaXFkQISPNLMPv7qXDM9Hz1K2kX4whGDxDs67 92Fvi/oGvpocbpdz1puAWrv+v/F85prLorU6CP1O0tiLdjtiv1IRuFoVa61KOYVTmL/+ GYwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=KYtU7c1f; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l7si22272744pfg.245.2018.12.28.21.41.03; Fri, 28 Dec 2018 21:41:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=KYtU7c1f; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727132AbeL2CKV (ORCPT + 99 others); Fri, 28 Dec 2018 21:10:21 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:37552 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726011AbeL2CKV (ORCPT ); Fri, 28 Dec 2018 21:10:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+ctffec70KMtQOCQyWTisLwXzB1Mnwufk4G3TY2x9kc=; b=KYtU7c1f2iiO0/44mL2odGz2I bvtpriuFDGQktOIICJAXRwJNwcSHk7KZ2dTnwBMbEw68gBxPCE5NVleNP1iFXEwS7jeJpyRaOW1Zb 3je/F/95OjVnMjALjxp/Qh2hqi3wm/rkT6l92/Ro+AreCRMWpCSAOlNGAotSumUw6oLxVMyPyJiFf h/fXKCFHEE0bezTI/QLf1MLmRSEO+/4LIpMGTfbSAdojVl7M4o0RHFIM+VnxjuF9+vYPV9KRkEYCg qe4mmV3McvK80Uz+yNgu7YyUKLdhSup17os5PICNrOuwuPDk/5ZHc26oC2gdurJShmpTbs+XfU5i7 0shIL8y/g==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gd44w-0001gI-W8; Sat, 29 Dec 2018 02:10:19 +0000 Subject: Re: [PATCH v3 treewide] headers: separate linux/mod_devicetable.h from linux/platform_device.h To: NeilBrown , Greg Kroah-Hartman Cc: LKML , Andrew Morton , kbuild test robot References: <7baed3cc-cb9c-66d2-b179-517877324407@infradead.org> <20180707155306.GA23729@kroah.com> <871s61azip.fsf@notabene.neil.brown.name> From: Randy Dunlap Message-ID: Date: Fri, 28 Dec 2018 18:10:18 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <871s61azip.fsf@notabene.neil.brown.name> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/28/18 5:32 PM, NeilBrown wrote: > On Sat, Jul 07 2018, Greg Kroah-Hartman wrote: > >> On Tue, Jun 19, 2018 at 10:47:28PM -0700, Randy Dunlap wrote: >>> From: Randy Dunlap >>> >>> At over 4000 #includes, is the 9th most >>> #included header file in the Linux kernel. It does not need >>> , so drop that header and explicitly add >>> to source files that need it. >>> >>> 4146 #include >>> >>> After this patch, there are 225 files that use , >>> for a reduction of around 3900 times that >>> does not have to be read & parsed. >>> >>> 225 #include >>> >>> This patch was build-tested on 20 different arch-es. >>> >>> It also makes these drivers SubmitChecklist#1 compliant. >>> >>> Signed-off-by: Randy Dunlap >>> Reported-by: kbuild test robot # drivers/media/platform/vimc/ >>> Reported-by: kbuild test robot # drivers/pinctrl/pinctrl-u300.c >>> --- >>> v3: add fix for drivers/pinctrl/pinctrl-u300.c >>> v2: add fixes for drivers/media/platform/vimc/ >> >> I've queued this up now, let's see what else breaks! :) > > Some MIPS watchdog drivers break, at least. > > NeilBrown > > From: NeilBrown > Subject: [PATCH] Fix compilation problem for mt7621_wdt.c and rt2880_wdt.c > > These files need > #include > to compile correctly. > > Fixes: ac3167257b9f ("headers: separate linux/mod_devicetable.h from linux/platform_device.h") > Signed-off-by: NeilBrown Thanks, NeilBrown. > --- > drivers/watchdog/mt7621_wdt.c | 1 + > drivers/watchdog/rt2880_wdt.c | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/drivers/watchdog/mt7621_wdt.c b/drivers/watchdog/mt7621_wdt.c > index 5c4a764717c4..81208cd3f4ec 100644 > --- a/drivers/watchdog/mt7621_wdt.c > +++ b/drivers/watchdog/mt7621_wdt.c > @@ -17,6 +17,7 @@ > #include > #include > #include > +#include > > #include > > diff --git a/drivers/watchdog/rt2880_wdt.c b/drivers/watchdog/rt2880_wdt.c > index 98967f0a7d10..db7c57d82cfd 100644 > --- a/drivers/watchdog/rt2880_wdt.c > +++ b/drivers/watchdog/rt2880_wdt.c > @@ -18,6 +18,7 @@ > #include > #include > #include > +#include > > #include > > -- ~Randy