aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/strip.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/strip.c')
-rw-r--r--drivers/net/wireless/strip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/strip.c b/drivers/net/wireless/strip.c
index d6bf8d2ef8ea..39f525efdc8d 100644
--- a/drivers/net/wireless/strip.c
+++ b/drivers/net/wireless/strip.c
@@ -950,6 +950,7 @@ static struct strip *strip_get_idx(loff_t pos)
950} 950}
951 951
952static void *strip_seq_start(struct seq_file *seq, loff_t *pos) 952static void *strip_seq_start(struct seq_file *seq, loff_t *pos)
953 __acquires(RCU)
953{ 954{
954 rcu_read_lock(); 955 rcu_read_lock();
955 return *pos ? strip_get_idx(*pos - 1) : SEQ_START_TOKEN; 956 return *pos ? strip_get_idx(*pos - 1) : SEQ_START_TOKEN;
@@ -973,6 +974,7 @@ static void *strip_seq_next(struct seq_file *seq, void *v, loff_t *pos)
973} 974}
974 975
975static void strip_seq_stop(struct seq_file *seq, void *v) 976static void strip_seq_stop(struct seq_file *seq, void *v)
977 __releases(RCU)
976{ 978{
977 rcu_read_unlock(); 979 rcu_read_unlock();
978} 980}