Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8791513imu; Sat, 29 Dec 2018 03:57:50 -0800 (PST) X-Google-Smtp-Source: ALg8bN4fME9D6wQRGVGvxpbdFqaVe6At9s20TzcxQJmL6EetwmUO5IJyjUqh9J4rVpvmI5aMhOSg X-Received: by 2002:a63:1258:: with SMTP id 24mr1376145pgs.114.1546084670423; Sat, 29 Dec 2018 03:57:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546084670; cv=none; d=google.com; s=arc-20160816; b=uLrYbf6yCJNnZ/Jq71IQ+YecYaVou2rQQnYv+txfUL7xdFEwhkyi8CgnMW/+WY4g/V GaVBQItF4dwp2O8fArxOgL4iLRUdl7QumrMM62VevFDhYsuLX9T1R2Ff6Wo68fkYhdLw iGCTE3DaV+23w8AI1yqX+PKQiknWLzJqqSOOLYZt0uS5uQ3iAmZVzZ52UlyK37vXFmP9 n7Urq6m9/43qcHUeGCTWoPVsz5bURPysjifdpT1SQOAOc7+Nbt8uks5e0X/ZG3ypzvPL EhCrFb4+MhB1Fx+E2bXUTxufEATZG5xp2lam4HffuorhwoU2nafNuuh1EeOx2ybv9zjD bSJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:references :in-reply-to:subject:cc:date:to:from; bh=+dvmf0DJ1Fu3bcCsS0BVObVTw6euzK+kOjoDTTXVZLA=; b=dviHYd+LQTZlzuhswlRTpXaITUQClAfim/OOxHkY8g05iX9Zf/qNZatHO2TLqNqRqH pOyfM5P7d6W0BdPI/eixVw56xTZf0UiG5rJuCs/UfTmURDSYsGrPvFxg/Qh3by4KrYCd FSmz6fT+yZTlLtpUuJECCrqUJrZ2qBN5/QfqHJ4DzaeBAFUF4t3gHg5TzB3XfYtD4ox/ XpmUgzeVRiSgHdnuzykRzguxJVKHHkFQilFEdXnlsg3aciaYosdZQa1jVKU1eLUC+T23 FNxKixAXMxJ6LRFfVRceyLSImfx9O2WC7ppSJWuYXvmsLbOrAsrWnXKucetUIXp/rwas +iMg== ARC-Authentication-Results: i=1; mx.google.com; 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 t65si42863541pfd.246.2018.12.29.03.57.34; Sat, 29 Dec 2018 03:57:50 -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; 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 S1728880AbeL2Bco (ORCPT + 99 others); Fri, 28 Dec 2018 20:32:44 -0500 Received: from mx2.suse.de ([195.135.220.15]:39632 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728848AbeL2Bcm (ORCPT ); Fri, 28 Dec 2018 20:32:42 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 335FBAF5A; Sat, 29 Dec 2018 01:32:40 +0000 (UTC) From: NeilBrown To: Greg Kroah-Hartman , Randy Dunlap Date: Sat, 29 Dec 2018 12:32:30 +1100 Cc: LKML , Andrew Morton , kbuild test robot Subject: Re: [PATCH v3 treewide] headers: separate linux/mod_devicetable.h from linux/platform_device.h In-Reply-To: <20180707155306.GA23729@kroah.com> References: <7baed3cc-cb9c-66d2-b179-517877324407@infradead.org> <20180707155306.GA23729@kroah.com> Message-ID: <871s61azip.fsf@notabene.neil.brown.name> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 >>=20 >> 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. >>=20 >> 4146 #include >>=20 >> After this patch, there are 225 files that use , >> for a reduction of around 3900 times that >> does not have to be read & parsed. >>=20 >> 225 #include >>=20 >> This patch was build-tested on 20 different arch-es. >>=20 >> It also makes these drivers SubmitChecklist#1 compliant. >>=20 >> 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 =2D-- 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 =2D-- a/drivers/watchdog/mt7621_wdt.c +++ b/drivers/watchdog/mt7621_wdt.c @@ -17,6 +17,7 @@ #include #include #include +#include =20 #include =20 diff --git a/drivers/watchdog/rt2880_wdt.c b/drivers/watchdog/rt2880_wdt.c index 98967f0a7d10..db7c57d82cfd 100644 =2D-- a/drivers/watchdog/rt2880_wdt.c +++ b/drivers/watchdog/rt2880_wdt.c @@ -18,6 +18,7 @@ #include #include #include +#include =20 #include =20 =2D-=20 2.14.0.rc0.dirty --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG8Yp69OQ2HB7X0l6Oeye3VZigbkFAlwmzq4ACgkQOeye3VZi gbkm8hAAhnOvpU6mkx90QVyixnKphhe92bxoDDxdBQ8oKMctLn+yXu0s7T9+nm6V MbjHGWFDFYC8nqdFBE6MaD3MyS5HnClCxHKeZGSvHW0z0diTXHAUSDSJmdZiQwxX PWsDT3lJ1v+aUO/RYX6KKcfntWAHkjav+UWZHbV3y/1qYwV6Cq0agqrSYDLfb7fn AlHWmrT43eOrUyrRVonk+/KVIKTKdQRjLNa1vz4ZlZoa2g46RJZeHHzUMOu2OHbb zPkNOQcFbGTmG82i8FTGtu0V1MZyWHeVM4uRnRJXiUEDfuHOnoy/RElyCjvxFqmd XBANZPxPXzbGUylH9yRtIzuDENPAlnMMDWhnL9auERSNLKx2Sg3ylwgbIIkA34KX wT6IxEzRmLU8Vlv8vlJuo/N+xE8mCpDzLEs9igQ996SufWrsrhhPbhBmZS1BIWeY W9S8msCBemB5QwABmYEeKZgAfCSjXU5hOmFsdE/77R8em5b8D3ZDVoyaLhhmoxfN nUR/z2rRvcnNOr1ByeTYUrKhJ5ADuXnjHA6735gHA27QSaFpEmPF5HSYyRymCXC2 h4OmnkhSc1B4G6bNsUEzDVD2LjeDqWST7EhUoOx5BbdS48Lxvxwd5VN8J3dfxkma Re2YNxWGHF5/JB3G8BO3hMR3HpOvcU1moZmctLdxSM2JUYT4hI8= =/6XV -----END PGP SIGNATURE----- --=-=-=--