linux/drivers/net/wireless/ath/ath6kl
Julia Lawall 81a577034b ath6kl: add missing of_node_put
for_each_compatible_node performs an of_node_get on each iteration, so
a break out of the loop requires an of_node_put.

A simplified version of the semantic patch that fixes this problem is as
follows (http://coccinelle.lip6.fr):

// <smpl>
@@
expression e;
local idexpression n;
@@

 for_each_compatible_node(n,...) {
   ... when != of_node_put(n)
       when != e = n
(
   return n;
|
+  of_node_put(n);
?  return ...;
)
   ...
 }
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-10-26 22:08:12 -07:00
..
bmi.c
bmi.h ath6kl: Fix ath6kl_bmi_read_hi32 macro 2014-07-14 15:49:23 +03:00
cfg80211.c cfg80211: properly send NL80211_ATTR_DISCONNECTED_BY_AP in disconnect 2015-05-26 15:21:27 +02:00
cfg80211.h cfg80211: pass name_assign_type to rdev_add_virtual_intf() 2015-03-30 10:36:17 +02:00
common.h ath: change logging functions to return void 2014-09-29 14:29:23 +03:00
core.c cfg80211: pass name_assign_type to rdev_add_virtual_intf() 2015-03-30 10:36:17 +02:00
core.h ath6kl: add support for ar6004 hw3.0 2014-07-14 16:03:38 +03:00
debug.c ath: change logging functions to return void 2014-09-29 14:29:23 +03:00
debug.h ath: change logging functions to return void 2014-09-29 14:29:23 +03:00
hif-ops.h
hif.c ath6kl: fix blank lines before and after braces 2014-03-13 07:46:31 +02:00
hif.h ath6kl: fix struct hif_scatter_req list handling 2014-03-13 07:20:00 +02:00
htc_mbox.c ath6kl: use braces on both arms of if statement 2014-03-13 07:46:56 +02:00
htc_pipe.c ath6kl: implement rx flush for htc pipe 2014-07-14 16:03:01 +03:00
htc-ops.h
htc.h ath6kl: spell "distribution" correctly in a comment. 2015-07-29 11:14:04 +03:00
init.c ath6kl: add missing of_node_put 2015-10-26 22:08:12 -07:00
Kconfig ath6kl: update Kconfig descriptions 2014-03-13 07:47:26 +02:00
main.c wireless: Use eth_<foo>_addr instead of memset 2015-03-03 17:01:36 -05:00
Makefile
recovery.c
sdio.c ath6kl: Add SDIO device ID for QCA6234X Support 2014-08-14 15:26:15 +03:00
target.h ath6kl: remove spaces before semicolon 2014-03-13 07:47:05 +02:00
testmode.c
testmode.h
trace.c
trace.h
txrx.c ath6kl: remove spaces before semicolon 2014-03-13 07:47:05 +02:00
usb.c ath6kl: remove incorrect reset_resume handler 2014-11-04 00:59:05 +02:00
wmi.c treewide: fix typos in comment blocks 2015-08-07 14:46:24 +02:00
wmi.h ath6kl: Fix multiple clients associating in AP mode 2015-06-09 14:12:44 +03:00