linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Harsh Shandilya <harsh@prjkt.io>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Arve Hjønnevåg" <arve@android.com>,
	"Harsh Shandilya" <msfjarvis@gmail.com>,
	"Martijn Coenen" <maco@android.com>,
	"Todd Kjos" <tkjos@android.com>,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] drivers: android: Fix logtags in methods
Date: Tue, 09 Jan 2018 20:07:50 +0000	[thread overview]
Message-ID: <CAGr0tMu=tm3Whe1y9+0vSi9XmYTRBvGD=XEK13wn7FabQOm-8Q@mail.gmail.com> (raw)
In-Reply-To: <20180109200348.GA28275@kroah.com>

[-- Attachment #1: Type: text/plain, Size: 1958 bytes --]

On Wed 10 Jan, 2018, 1:33 AM Greg Kroah-Hartman, <gregkh@linuxfoundation.org>
wrote:

> On Tue, Jan 09, 2018 at 07:45:33PM +0000, Harsh Shandilya wrote:
> > On Tue 9 Jan, 2018, 10:32 PM Greg Kroah-Hartman, <
> gregkh@linuxfoundation.org>
> > wrote:
> >
> > > On Fri, Dec 22, 2017 at 07:37:03PM +0530, Harsh Shandilya wrote:
> > > > From: Harsh Shandilya <harsh@prjkt.io>
> > > >
> > > > Several methods in the driver were hardcoding
> > > > the function name in their logging calls which
> > > > is a checkpatch violation. Utilise the __func__
> > > > macro to avoid needing to add the function name
> > > > as is to the string.
> > > >
> > > > Test: logtags in dmesg remain unaffected before
> > > > and after the patch.
> > > >
> > > > Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
> > > >
> > > > Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> > > > Cc: "Arve Hjønnevåg" <arve@android.com>
> > > > Cc: Todd Kjos <tkjos@android.com>
> > > > Cc: Martijn Coenen <maco@android.com>
> > > > Cc: devel@driverdev.osuosl.org
> > > > Cc: linux-kernel@vger.kernel.org
> > > > ---
> > > >  drivers/android/binder.c | 13 +++++++------
> > > >  1 file changed, 7 insertions(+), 6 deletions(-)
> > >
> > > Patch does not apply to my tree :(
> > >
> >
> > If you drop
> >
> https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/commit/?h=char-misc-next&id=00c41cddebde8d1a635bf81a7b255b7e56fd0d15
> > then the patch should go in cleanly. My patch includes the changes from
> > Elad's already.
>
> That patch came first in my inbox, I'm not going to revert it from the
> tree now, sorry.
>
> Just rebase and resend if your patch did "more".
>
> thanks,
>
> greg k-h
>

Comparing both patches again I think Elad's is the better one to keep since
the only difference between his and mine is that I also fixed up a
commented out pr_info call. You can ignore my patch, sorry for the noise.

>

[-- Attachment #2: Type: text/html, Size: 3471 bytes --]

      reply	other threads:[~2018-01-09 20:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-22 14:07 [PATCH 1/2] drivers: android: Use octal permissions Harsh Shandilya
2017-12-22 14:07 ` [PATCH 2/2] drivers: android: Fix logtags in methods Harsh Shandilya
2018-01-09 17:02   ` Greg Kroah-Hartman
2018-01-09 19:45     ` Harsh Shandilya
2018-01-09 20:03       ` Greg Kroah-Hartman
2018-01-09 20:07         ` Harsh Shandilya [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='CAGr0tMu=tm3Whe1y9+0vSi9XmYTRBvGD=XEK13wn7FabQOm-8Q@mail.gmail.com' \
    --to=harsh@prjkt.io \
    --cc=arve@android.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maco@android.com \
    --cc=msfjarvis@gmail.com \
    --cc=tkjos@android.com \
    /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).