public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fixed coding style problem
@ 2014-05-29 21:53 Miguel Oliveira
  2014-05-29 21:57 ` Greg KH
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Miguel Oliveira @ 2014-05-29 21:53 UTC (permalink / raw)
  To: kernel-janitors

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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-29 22:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-29 21:53 [PATCH] Fixed coding style problem Miguel Oliveira
2014-05-29 21:57 ` Greg KH
2014-05-29 22:03 ` Dan Carpenter
2014-05-29 22:07 ` Miguel Oliveira

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox