linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johan Hovold <johan@kernel.org>
To: "Gustavo A. R. Silva" <garsilva@embeddedor.com>
Cc: Johan Hovold <johan@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: greybus: mark expected switch fall-through in check_urb_status
Date: Thu, 12 Oct 2017 11:05:53 +0200	[thread overview]
Message-ID: <20171012090553.GI4269@localhost> (raw)
In-Reply-To: <20171011113107.Horde.iB4g8uGTQZ4zFqy_7M5EF95@gator4166.hostgator.com>

On Wed, Oct 11, 2017 at 11:31:07AM -0500, Gustavo A. R. Silva wrote:
> Quoting Johan Hovold <johan@kernel.org>:
> 
> > On Wed, Oct 11, 2017 at 10:12:50AM -0500, Gustavo A. R. Silva wrote:
> >> Hi Johan,
> >>
> >> Quoting Johan Hovold <johan@kernel.org>:
> >
> >> > Patch is fine, but next time make sure to run scripts/get_maintainer.sh
> >> > to figure which people and lists to CC.
> >> >
> >>
> >> I actually did:
> >>
> >> $ scripts/get_maintainer.pl --nokeywords --nogit --nogit-fallback
> >> drivers/staging/greybus/es2.c
> >>
> >> and this was the output:
> >>
> >> linux-kernel@vger.kernel.org (open list)

> I double checked and this is what happened:
> 
> $ scripts/get_maintainer.pl --nokeywords --nogit --nogit-fallback  
> drivers//staging/greybus/es2.c
> 
> Notice that double slash after drivers: //

Ah, perhaps something which should be supported.

> >> > We also try to include the module (component) "es2" in the commit
> >> > summary (unless you really are doing things subsystem wide), although
> >> > that has not been enforced for staging clean ups recently.
> >> >
> >>
> >> I got it. I'll take that into account for future patches.
> >
> > Looking at the commit history for the file in questions usually gives a
> > hint about the style used for the corresponding subsystem.
> >
> 
> Yep, I usually do that:
> 
> $ git log --oneline drivers/staging/greybus/es2.c
> 
> This time I got many of these two:
> 
> staging: greybus:
> greybus: es2:
> 
> so I picked up the first one.
> 
> But I get your point and I understand now that I should have used the  
> second one.

Good, so you already have the habit of doing so. As I mentioned, this
file in staging is not the best example since the prefix has changed
over time and not really been enforced lately (it should really be
"staging: greybus: es2" now).

Thanks,
Johan

      reply	other threads:[~2017-10-12  9:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-10 20:10 [PATCH] staging: greybus: mark expected switch fall-through in check_urb_status Gustavo A. R. Silva
2017-10-11  7:45 ` Johan Hovold
2017-10-11 15:12   ` Gustavo A. R. Silva
2017-10-11 16:06     ` Joe Perches
2017-10-11 16:34       ` Gustavo A. R. Silva
2017-10-11 16:08     ` Johan Hovold
2017-10-11 16:31       ` Gustavo A. R. Silva
2017-10-12  9:05         ` Johan Hovold [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=20171012090553.GI4269@localhost \
    --to=johan@kernel.org \
    --cc=garsilva@embeddedor.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@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).