From: Greg KH <gregkh@linuxfoundation.org>
To: Haneen Mohammed <hamohammed.sa@gmail.com>
Cc: outreachy-kernel@googlegroups.com
Subject: Re: [Outreachy kernel] [PATCH] Staging: emxx_udc: Clean dev_err() logging
Date: Sat, 7 Mar 2015 18:10:57 +0100 [thread overview]
Message-ID: <20150307171057.GA13119@kroah.com> (raw)
In-Reply-To: <20150307170806.GA2813@example.com>
On Sat, Mar 07, 2015 at 08:08:07PM +0300, Haneen Mohammed wrote:
> On Fri, Mar 06, 2015 at 03:29:51PM -0800, Greg KH wrote:
> > On Wed, Mar 04, 2015 at 12:10:24PM +0300, Haneen Mohammed wrote:
> > > This patch removes __func__ from dev_err. dev_err includes information about:
> > > (devcice, driver, specific instance of device, etc) in the log printout, so there is no need for __func__.
> > >
> > > Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com>
> > > ---
> > > note: this patch separated from "Staging: emxx_udc: Fix checkpatch.pl warnings" patchset.
> > >
> > > drivers/staging/emxx_udc/emxx_udc.c | 18 ++++++++----------
> > > 1 file changed, 8 insertions(+), 10 deletions(-)
> > >
> > > diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c
> > > index 35dc1c4..cfe55dc 100644
> > > --- a/drivers/staging/emxx_udc/emxx_udc.c
> > > +++ b/drivers/staging/emxx_udc/emxx_udc.c
> > > @@ -2632,7 +2632,7 @@ static int nbu2ss_ep_enable(
> > > if ((udc->driver == NULL)
> > > || (udc->gadget.speed == USB_SPEED_UNKNOWN)) {
> > >
> > > - dev_err(ep->udc->dev, " *** %s, udc !!\n", __func__);
> > > + dev_err(ep->udc->dev, " udc !!\n");
> >
> > Why keep the leading spaces?
> >
> > And dev_err() does not have __func__ in it, so maybe this should just be
> > left alone, as these messages are not unique enough to determine the
> > exact place the error happened.
> >
> > sorry for missing that last time.
> >
> > greg k-h
>
> what about the other patches? You have told me to refresh my tree and resubmit the other
> patchset, should I do that? or just leave it as it is?
I'd say leave it as-is and start working on more "real" patches.
thanks,
greg k-h
prev parent reply other threads:[~2015-03-07 17:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-02 18:25 [PATCH v10 0/4] Staging: emxx_udc: Fix checkpatch.pl warnings and remove extra code Haneen Mohammed
2015-03-02 18:33 ` [PATCH v10 1/4] Staging: emxx_udc: Remove argument test from function Haneen Mohammed
2015-03-02 18:37 ` [PATCH v10 2/4] Staging: emxx_udc: Replace custom printk macro ERR with dev_err or pr_err Haneen Mohammed
2015-03-02 18:38 ` [PATCH v10 3/4] Staging: emxx_udc: Remove custom printk macro ERR Haneen Mohammed
2015-03-02 18:45 ` [PATCH v10 4/4] Staging: emxx_udc: Clean dev_err() logging Haneen Mohammed
2015-03-02 18:54 ` [Outreachy kernel] " Greg KH
2015-03-02 19:02 ` Haneen Mohammed
2015-03-03 16:52 ` Greg KH
2015-03-04 9:10 ` [PATCH] " Haneen Mohammed
2015-03-06 23:29 ` [Outreachy kernel] " Greg KH
2015-03-07 17:08 ` Haneen Mohammed
2015-03-07 17:10 ` Greg KH [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=20150307171057.GA13119@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=hamohammed.sa@gmail.com \
--cc=outreachy-kernel@googlegroups.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.