From: Alison Schofield <amsfield22@gmail.com>
To: Julia Lawall <julia.lawall@lip6.fr>
Cc: outreachy-kernel@googlegroups.com
Subject: Re: [Outreachy kernel] [PATCH 2/5] staging: r8723au: replace printk() with pr_err()
Date: Tue, 20 Oct 2015 22:51:43 -0700 [thread overview]
Message-ID: <20151021055142.GA15857@Ubuntu-D830> (raw)
In-Reply-To: <alpine.DEB.2.02.1510192209190.2034@localhost6.localdomain6>
On Mon, Oct 19, 2015 at 10:09:46PM +0200, Julia Lawall wrote:
> On Mon, 19 Oct 2015, Alison Schofield wrote:
>
> > Replace printk() with pr_err() for uniform error reporting.
> > Issue found by checkpatch.
> >
> > Signed-off-by: Alison Schofield <amsfield22@gmail.com>
> > ---
> > drivers/staging/rtl8723au/core/rtw_cmd.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/staging/rtl8723au/core/rtw_cmd.c b/drivers/staging/rtl8723au/core/rtw_cmd.c
> > index c3579ac..7bf0f30 100644
> > --- a/drivers/staging/rtl8723au/core/rtw_cmd.c
> > +++ b/drivers/staging/rtl8723au/core/rtw_cmd.c
> > @@ -248,7 +248,7 @@ int rtw_enqueue_cmd23a(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj)
> > res = queue_work(pcmdpriv->wq, &cmd_obj->work);
> >
> > if (!res) {
> > - printk(KERN_ERR "%s: Call to queue_work() failed\n", __func__);
> > + pr_err("%s: Call to queue_work() failed\n", __func__);
>
> There is no device tructure or network device structure available?
>
> julia
>
Yes there is a netdev. Used in v2. Thanks!
> > res = _FAIL;
> > } else
> > res = _SUCCESS;
> > --
> > 2.1.4
> >
> > --
> > You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com.
> > To post to this group, send email to outreachy-kernel@googlegroups.com.
> > To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/beee0bc7850917329b2b0ad3d3e0584f5cbbcdba.1445282918.git.amsfield22%40gmail.com.
> > For more options, visit https://groups.google.com/d/optout.
> >
next prev parent reply other threads:[~2015-10-21 5:51 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-19 19:57 [PATCH 0/5] staging: r8723au: fix multiple checkpatch issues Alison Schofield
2015-10-19 19:58 ` [PATCH 1/5] staging: r8723au: break parameter list at separators and align to open braces Alison Schofield
2015-10-19 19:59 ` [PATCH 2/5] staging: r8723au: replace printk() with pr_err() Alison Schofield
2015-10-19 20:09 ` [Outreachy kernel] " Julia Lawall
2015-10-21 5:51 ` Alison Schofield [this message]
2015-10-19 20:00 ` [PATCH 3/5] staging: r8723au: use kernel preferred style for block comments Alison Schofield
2015-10-19 20:07 ` [Outreachy kernel] " Julia Lawall
2015-10-20 2:29 ` Alison Schofield
2015-10-20 5:08 ` Julia Lawall
2015-10-19 20:02 ` [PATCH 4/5] staging: r8723au: move constant to right of comparison test Alison Schofield
2015-10-19 20:06 ` [Outreachy kernel] " Julia Lawall
2015-10-19 20:45 ` Alison Schofield
[not found] ` <20151019203548.GA23803@Ubuntu-D830>
[not found] ` <alpine.DEB.2.02.1510192241110.2034@localhost6.localdomain6>
2015-10-20 2:34 ` Alison Schofield
2015-10-19 20:11 ` [PATCH 5/5] staging: r8723au: add & use local variable to simplify references Alison Schofield
2015-10-21 5:57 ` [PATCH v2 0/5] staging: r8723au: fix multiple checkpatch issues Alison Schofield
2015-10-21 6:01 ` [PATCH v2 1/5] staging: r8723au: break parameter list at separators and align to open braces Alison Schofield
2015-10-25 2:40 ` [Outreachy kernel] " Greg KH
2015-10-26 3:07 ` Alison Schofield
2015-10-27 5:44 ` Greg KH
2015-11-08 21:58 ` Jes Sorensen
2015-10-21 6:06 ` [PATCH v2 2/5] staging: r8723au: replace printk() with netdev_err() Alison Schofield
2015-10-21 6:08 ` [PATCH v2 3/5] staging: r8723au: move constant to right of comparison test Alison Schofield
2015-10-21 6:09 ` [PATCH v2 4/5] staging: r8723au: add & use local variable to simplify references Alison Schofield
2015-10-21 6:10 ` [PATCH v2 5/5] staging: r8723au: use kernel preferred style for commenting Alison Schofield
2015-10-25 2:41 ` [Outreachy kernel] " Greg KH
2015-10-26 3:12 ` Alison Schofield
2015-10-27 5:45 ` Greg KH
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=20151021055142.GA15857@Ubuntu-D830 \
--to=amsfield22@gmail.com \
--cc=julia.lawall@lip6.fr \
--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.