From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Pinchart Date: Tue, 13 May 2014 10:15:01 +0000 Subject: Re: [PATCH 1/6] DMA: shdmac: Keep #include sorted alphabetically Message-Id: <2930724.uceiMT0ztQ@avalon> List-Id: References: <1399935736-16854-2-git-send-email-laurent.pinchart+renesas@ideasonboard.com> In-Reply-To: <1399935736-16854-2-git-send-email-laurent.pinchart+renesas@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-sh@vger.kernel.org Hi Andy, On Tuesday 13 May 2014 11:14:20 Andy Shevchenko wrote: > On Tue, 2014-05-13 at 01:02 +0200, Laurent Pinchart wrote: > > This helps detecting duplicate includes. > > No need to do that, since we have nice helper > make includecheck We do, but it's much quicker and easier to spot the duplicate visually when modifying the source code than having to run an external script. > Similar comment to patch 3/6. > But if you have stronger explanation why it's needed besides that... you > are welcome ) > > > Signed-off-by: Laurent Pinchart > > > > --- > > > > drivers/dma/sh/shdmac.c | 14 +++++++------- > > 1 file changed, 7 insertions(+), 7 deletions(-) > > > > diff --git a/drivers/dma/sh/shdmac.c b/drivers/dma/sh/shdmac.c > > index dda7e75..7313537 100644 > > --- a/drivers/dma/sh/shdmac.c > > +++ b/drivers/dma/sh/shdmac.c > > @@ -18,21 +18,21 @@ > > > > * > > */ > > > > +#include > > +#include > > > > #include > > > > +#include > > +#include > > > > #include > > > > +#include > > > > #include > > #include > > > > -#include > > -#include > > -#include > > -#include > > > > #include > > #include > > > > +#include > > > > #include > > > > -#include > > -#include > > +#include > > > > #include > > > > -#include > > > > #include "../dmaengine.h" > > #include "shdma.h" -- Regards, Laurent Pinchart