linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 1/6] DMA: shdmac: Keep #include sorted alphabetically
Date: Tue, 13 May 2014 10:15:01 +0000	[thread overview]
Message-ID: <2930724.uceiMT0ztQ@avalon> (raw)
In-Reply-To: <1399935736-16854-2-git-send-email-laurent.pinchart+renesas@ideasonboard.com>

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
> > <laurent.pinchart+renesas@ideasonboard.com>
> > ---
> > 
> >  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 <linux/delay.h>
> > +#include <linux/dmaengine.h>
> > 
> >  #include <linux/init.h>
> > 
> > +#include <linux/interrupt.h>
> > +#include <linux/kdebug.h>
> > 
> >  #include <linux/module.h>
> > 
> > +#include <linux/notifier.h>
> > 
> >  #include <linux/of.h>
> >  #include <linux/of_device.h>
> > 
> > -#include <linux/slab.h>
> > -#include <linux/interrupt.h>
> > -#include <linux/dmaengine.h>
> > -#include <linux/delay.h>
> > 
> >  #include <linux/platform_device.h>
> >  #include <linux/pm_runtime.h>
> > 
> > +#include <linux/rculist.h>
> > 
> >  #include <linux/sh_dma.h>
> > 
> > -#include <linux/notifier.h>
> > -#include <linux/kdebug.h>
> > +#include <linux/slab.h>
> > 
> >  #include <linux/spinlock.h>
> > 
> > -#include <linux/rculist.h>
> > 
> >  #include "../dmaengine.h"
> >  #include "shdma.h"

-- 
Regards,

Laurent Pinchart


      parent reply	other threads:[~2014-05-13 10:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-12 23:02 [PATCH 1/6] DMA: shdmac: Keep #include sorted alphabetically Laurent Pinchart
2014-05-13  8:14 ` Andy Shevchenko
2014-05-13 10:15 ` Laurent Pinchart [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2930724.uceiMT0ztQ@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=linux-sh@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).