linux/drivers/staging/wlan-ng
Haneen Mohammed 0fb8997bac staging: wlan-ng: Replace pr_debug with netdev_dbg
This patch replace pr_debug with netdev_dbg when appropriate net_device
structure is found.
Issue found using the following Coccinelle script:

@r exists@
identifier f, s, i;
position p;
@@

f(...,struct s *i,...) {
<+... when != i == NULL
(
pr_err@p(...);
|
pr_info@p(...);
|
pr_debug@p(...);
)
...+>
}

@rr@
identifier r.s, fld;
@@

struct s {
	...
	struct net_device *fld;
	... };

@@
identifier r.i, r.s, rr.fld;
position r.p;
@@
(
-pr_err@p
+netdev_err
	(
+ i->fld,
...)
|
-pr_info@p
+netdev_info
	(
+ i->fld,
...)
|
-pr_debug@p
+netdev_dbg
	(
+ i->fld,
...)
)

Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-09-18 12:07:47 +02:00
..
cfg80211.c cfg80211: unify cfg80211_roamed() and cfg80211_roamed_bss() 2017-04-28 12:28:44 +02:00
hfa384x_usb.c staging: wlan-ng: hfa384x_usb: Fix multiple line dereference 2017-08-20 11:10:23 -07:00
hfa384x.h staging: wlan-ng: hfa384x.h: Use endian type in 'hfa384x_link_status' struct 2017-08-18 15:57:17 -07:00
Kconfig
Makefile
p80211conv.c drivers/staging/wlan-ng/p80211conv.c: fixed a potential memory leak 2017-08-18 15:57:17 -07:00
p80211conv.h staging: wlan-ng: add byte order annotation to struct p80211_caphdr 2017-03-09 19:06:36 +01:00
p80211hdr.h staging: wlan-ng: use GENMASK macro in different defines of p80211hdr.h 2016-11-14 15:43:20 +01:00
p80211ioctl.h staging: wlan-ng: fix block comments style in p80211ioctl.h 2016-10-16 10:25:50 +02:00
p80211metadef.h staging: wlan-ng: fix block comments style in p80211metadef.h 2016-10-16 10:25:52 +02:00
p80211metastruct.h
p80211mgmt.h staging: wlan-ng: fix block comments style in p80211mgmt.h 2016-10-16 10:25:52 +02:00
p80211msg.h staging: wlan-ng: fix block comments style in p80211msg.h 2016-10-16 10:25:53 +02:00
p80211netdev.c Staging: wlan-ng: Fixing coding style warnings 2017-07-30 08:17:53 -07:00
p80211netdev.h staging: wlan-ng: use GENMASK macro in define of p80211netdev.h 2016-11-14 15:43:19 +01:00
p80211req.c staging: wlan-ng: break long line in p80211req.c 2017-04-28 12:03:51 +02:00
p80211req.h staging: wlan-ng: fix block comments style in p80211req.h 2016-10-16 10:25:55 +02:00
p80211types.h
p80211wep.c staging: wlan-ng: remove unnecessary blank lines in p80211wep.c 2016-11-10 13:25:33 +01:00
prism2fw.c Staging: wlan-ng: Fixing coding style warnings 2017-07-30 08:17:53 -07:00
prism2mgmt.c staging: wlan-ng: Replace pr_debug with netdev_dbg 2017-09-18 12:07:47 +02:00
prism2mgmt.h staging: wlan-ng: fix block comments style in prism2mgmt.h 2016-10-16 10:25:56 +02:00
prism2mib.c staging: wlan-ng: prism2mib.c: Fix type cast issues 2017-06-14 12:26:41 +02:00
prism2sta.c staging: wlan-ng: Avoid bogus endianness 2017-09-17 16:35:28 +02:00
prism2usb.c staging: wlang-ng: avoid new typedef: hfa384x_t 2016-10-02 17:05:56 +02:00
README

TODO:
	- checkpatch.pl cleanups
	- sparse warnings
	- move to use the in-kernel wireless stack

Please send any patches or complaints about this driver to Greg
Kroah-Hartman <greg@kroah.com> and don't bother the upstream wireless
kernel developers about it, they want nothing to do with it.