SUPERH platform development
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] ARM: mach-shmobile: Mackerel USB platform data update
Date: Tue, 14 Jun 2011 06:31:01 +0000	[thread overview]
Message-ID: <20110614063101.GB17891@linux-sh.org> (raw)
In-Reply-To: <20110609070337.3122.1679.sendpatchset@t400s>

On Thu, Jun 09, 2011 at 05:44:21PM +0900, Magnus Damm wrote:
> Hi Morimoto-san,
> 
> On Thu, Jun 9, 2011 at 4:09 PM, Kuninori Morimoto
> <kuninori.morimoto.gx@renesas.com> wrote:
> >
> > Hi Magnus
> >
> > Thank you for your patch.
> > small comment from me
> >
> >> +static u32 usbhs0_pipe_cfg[] = {
> >> + ? ? USB_ENDPOINT_XFER_CONTROL,
> >> + ? ? USB_ENDPOINT_XFER_ISOC,
> >> + ? ? USB_ENDPOINT_XFER_ISOC,
> >> + ? ? USB_ENDPOINT_XFER_BULK,
> >> + ? ? USB_ENDPOINT_XFER_BULK,
> >> + ? ? USB_ENDPOINT_XFER_BULK,
> >> + ? ? USB_ENDPOINT_XFER_INT,
> >> + ? ? USB_ENDPOINT_XFER_INT,
> >> + ? ? USB_ENDPOINT_XFER_INT,
> >> + ? ? USB_ENDPOINT_XFER_BULK,
> >> +};
> >
> > I think AP4 USB0 pipe9 is interrupt.
> > If so, this pipe config is not needed.
> > it is same as renesas_usbhs default pipe configs.
> > see
> > ?renesas_usbhs/common.c :: usbhs_default_pipe_type
> 
> Ok, thanks, can you please send an incremental patch to fix this?
> 
I've grudgingly applied this patch as it is, but I really don't like this
half-assed approach to patch submission. The onus is not on Morimoto-san
to fix up your submission when he's pointed out something that you
obviously failed to take under consideration on an initial patch. You
should have simply discarded this and submitted an updated version that
fixed this up, and in a timely fashion.

Since none of these things have happened and it's unlikely that any of
them will before some -next time leading up to the next -rc I've taken it
verbatim, but am certainly not happy with having had to do so, nor do I
see much reason to continue to do so in the future.

> >> ? ? ? [1] = {
> >> @@ -752,7 +846,6 @@ static struct platform_device usbhs1_dev
> >> ? ? ? .resource ? ? ? = usbhs1_resources,
> >> ?};
> >>
> >> -
> >> ?/* LED */
> >> ?static struct gpio_led mackerel_leds[] = {
> >
> > this "just line erase" is not needed =)
> 
> Well, perhaps it's only me, but trying to make the code look less like
> shit may be a good idea. =)
> 
Pot calling the kettle black much? Perhaps adding new lines following
comment blocks for no reason as your patch does should go, too? Or you
could make your multi-line comments comply with Documentation/CodingStyle
too, as everyone else seems to be able to. Or are we just randomly
choosing which parts of the kernel coding style to comply with and
criticise others over today?

  parent reply	other threads:[~2011-06-14  6:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-09  6:55 [PATCH] ARM: mach-shmobile: Mackerel USB platform data update Magnus Damm
2011-06-09  7:09 ` Kuninori Morimoto
2011-06-09  8:44 ` Magnus Damm
2011-06-14  6:31 ` Paul Mundt [this message]
2011-06-14  7:54 ` Magnus Damm
2011-06-14  8:36 ` Paul Mundt
2011-06-14 12:15 ` Magnus Damm

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=20110614063101.GB17891@linux-sh.org \
    --to=lethal@linux-sh.org \
    --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