From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Subject: Re: [PATCH 1/7] tty: xuartps: Sort #includes alphabetically Date: Wed, 01 May 2013 08:50:09 +0200 Message-ID: <5180BB21.2080306@monstr.eu> References: <1367366284-28304-1-git-send-email-soren.brinkmann@xilinx.com> <1367366284-28304-2-git-send-email-soren.brinkmann@xilinx.com> <20130501000048.GA1840@kroah.com> <20130501002321.GB7435@kroah.com> Reply-To: monstr@monstr.eu Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2HHIMRCGXHWASFBPUPLRX" Return-path: Received: from mail-ee0-f52.google.com ([74.125.83.52]:44887 "EHLO mail-ee0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753426Ab3EAGuT (ORCPT ); Wed, 1 May 2013 02:50:19 -0400 Received: by mail-ee0-f52.google.com with SMTP id d41so561400eek.39 for ; Tue, 30 Apr 2013 23:50:18 -0700 (PDT) In-Reply-To: <20130501002321.GB7435@kroah.com> Sender: linux-serial-owner@vger.kernel.org List-Id: linux-serial@vger.kernel.org To: Greg Kroah-Hartman Cc: =?ISO-8859-1?Q?S=F6ren_Brinkmann?= , Michal Simek , Josh Cartwright , Mike Turquette , Lars-Peter Clausen , Peter Crosthwaite , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Russell King , Stephen Warren , Jiri Slaby , linux-serial@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2HHIMRCGXHWASFBPUPLRX Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 05/01/2013 02:23 AM, Greg Kroah-Hartman wrote: > On Tue, Apr 30, 2013 at 05:05:40PM -0700, S=F6ren Brinkmann wrote: >> On Tue, Apr 30, 2013 at 05:00:48PM -0700, Greg Kroah-Hartman wrote: >>> On Tue, Apr 30, 2013 at 04:57:58PM -0700, Soren Brinkmann wrote: >>>> Signed-off-by: Soren Brinkmann >>>> CC: Greg Kroah-Hartman >>>> CC: Jiri Slaby >>>> CC: linux-serial@vger.kernel.org >>> >>> Why would you need/want to do this? >> I often come across duplicated includes. Having some kind of order hel= ps >> avoiding that, imho. >=20 > We have a tool to handle duplicated includes, no need to put them in > sorted order for them to be detected. What's the name of tool which does that? I have seen results from it but have never tried to find it out name and how to use it. Thanks, Michal --=20 Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM architecture Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform ------enig2HHIMRCGXHWASFBPUPLRX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlGAuyIACgkQykllyylKDCEAJwCcCF+pLdFSrpn3D1i3UzlHfmpo +rUAn2wVsWO82kPG118bE5NwICbEhIRS =NX8z -----END PGP SIGNATURE----- ------enig2HHIMRCGXHWASFBPUPLRX-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: monstr@monstr.eu (Michal Simek) Date: Wed, 01 May 2013 08:50:09 +0200 Subject: [PATCH 1/7] tty: xuartps: Sort #includes alphabetically In-Reply-To: <20130501002321.GB7435@kroah.com> References: <1367366284-28304-1-git-send-email-soren.brinkmann@xilinx.com> <1367366284-28304-2-git-send-email-soren.brinkmann@xilinx.com> <20130501000048.GA1840@kroah.com> <20130501002321.GB7435@kroah.com> Message-ID: <5180BB21.2080306@monstr.eu> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 05/01/2013 02:23 AM, Greg Kroah-Hartman wrote: > On Tue, Apr 30, 2013 at 05:05:40PM -0700, S?ren Brinkmann wrote: >> On Tue, Apr 30, 2013 at 05:00:48PM -0700, Greg Kroah-Hartman wrote: >>> On Tue, Apr 30, 2013 at 04:57:58PM -0700, Soren Brinkmann wrote: >>>> Signed-off-by: Soren Brinkmann >>>> CC: Greg Kroah-Hartman >>>> CC: Jiri Slaby >>>> CC: linux-serial at vger.kernel.org >>> >>> Why would you need/want to do this? >> I often come across duplicated includes. Having some kind of order helps >> avoiding that, imho. > > We have a tool to handle duplicated includes, no need to put them in > sorted order for them to be detected. What's the name of tool which does that? I have seen results from it but have never tried to find it out name and how to use it. Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM architecture Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: