From: Miguel Oliveira <cmroliv@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: [PATCH] Fixed coding style problem
Date: Thu, 29 May 2014 21:53:56 +0000 [thread overview]
Message-ID: <1401400436-4396-1-git-send-email-cmroliv@gmail.com> (raw)
Signed-off-by: Miguel Oliveira <cmroliv@gmail.com>
---
drivers/staging/wlan-ng/p80211req.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/wlan-ng/p80211req.c b/drivers/staging/wlan-ng/p80211req.c
index cdfd808..3b3fccc 100644
--- a/drivers/staging/wlan-ng/p80211req.c
+++ b/drivers/staging/wlan-ng/p80211req.c
@@ -109,7 +109,7 @@ int p80211req_dorequest(wlandevice_t *wlandev, u8 *msgbuf)
/* Check Permissions */
if (!capable(CAP_NET_ADMIN) &&
(msg->msgcode != DIDmsg_dot11req_mibget)) {
- printk(KERN_ERR
+ netdev_err(netdev,
"%s: only dot11req_mibget allowed for non-root.\n",
wlandev->name);
return -EPERM;
--
1.7.10.4
next reply other threads:[~2014-05-29 21:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-29 21:53 Miguel Oliveira [this message]
2014-05-29 21:57 ` [PATCH] Fixed coding style problem Greg KH
2014-05-29 22:03 ` Dan Carpenter
2014-05-29 22:07 ` Miguel Oliveira
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=1401400436-4396-1-git-send-email-cmroliv@gmail.com \
--to=cmroliv@gmail.com \
--cc=kernel-janitors@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