From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: zhenwei pi <pizhenwei@bytedance.com>
Cc: Joe Perches <joe@perches.com>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [External] [PATCH] misc: pvpanic: sysfs_emit uses should have a newline
Date: Wed, 3 Feb 2021 15:57:13 +0100 [thread overview]
Message-ID: <YBq5yVokKwOxmcS8@kroah.com> (raw)
In-Reply-To: <3369537d-27a9-2a48-9a46-f241a5077dc2@bytedance.com>
On Mon, Feb 01, 2021 at 09:56:57AM +0800, zhenwei pi wrote:
> On 1/30/21 3:08 AM, Joe Perches wrote:
> > Add newline terminations to the sysfs_emit uses added by -next
> > commit 8d6da6575ffe ("misc: pvpanic: introduce events device attribue")
> >
> > Signed-off-by: Joe Perches <joe@perches.com>
> > ---
> > drivers/misc/pvpanic.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/misc/pvpanic.c b/drivers/misc/pvpanic.c
> > index b1e4922a7fda..9f350e05ef68 100644
> > --- a/drivers/misc/pvpanic.c
> > +++ b/drivers/misc/pvpanic.c
> > @@ -25,13 +25,13 @@ static unsigned int events;
> > static ssize_t capability_show(struct device *dev,
> > struct device_attribute *attr, char *buf)
> > {
> > - return sysfs_emit(buf, "%x", capability);
> > + return sysfs_emit(buf, "%x\n", capability);
> > }
> > static DEVICE_ATTR_RO(capability);
> > static ssize_t events_show(struct device *dev, struct device_attribute *attr, char *buf)
> > {
> > - return sysfs_emit(buf, "%x", events);
> > + return sysfs_emit(buf, "%x\n", events);
> > }
> > static ssize_t events_store(struct device *dev, struct device_attribute *attr,
> >
> >
>
> Hi, Greg is the maintainer of this driver.
No I am not:
$ ./scripts/get_maintainer.pl drivers/misc/pvpanic.c
Arnd Bergmann <arnd@arndb.de> (supporter:CHAR and MISC DRIVERS)
Greg Kroah-Hartman <gregkh@linuxfoundation.org> (supporter:CHAR and MISC DRIVERS)
linux-kernel@vger.kernel.org (open list)
As the developer of this driver, it would be great if you
could review the change and provide a "Signed-off-by" line that I can
use to accept this patch.
thanks,
greg k-h
next prev parent reply other threads:[~2021-02-03 14:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-29 19:08 Joe Perches
2021-02-01 1:56 ` [External] " zhenwei pi
2021-02-03 14:57 ` Greg Kroah-Hartman [this message]
2021-02-04 1:58 ` zhenwei pi
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=YBq5yVokKwOxmcS8@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pizhenwei@bytedance.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
all inboxes | Powered by JetHome®