Skip to content

Commit 2f29fed

Browse files
Fabian Fredericklinvjw
authored andcommitted
net: rfkill: kernel-doc warning fixes
s/state/blocked Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: John W. Linville <linville@tuxdriver.com>
1 parent c393d17 commit 2f29fed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎net/rfkill/core.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ static atomic_t rfkill_input_disabled = ATOMIC_INIT(0);
329329
/**
330330
* __rfkill_switch_all - Toggle state of all switches of given type
331331
* @type: type of interfaces to be affected
332-
* @state: the new state
332+
* @blocked: the new state
333333
*
334334
* This function sets the state of all switches of given type,
335335
* unless a specific switch is claimed by userspace (in which case,
@@ -353,7 +353,7 @@ static void __rfkill_switch_all(const enum rfkill_type type, bool blocked)
353353
/**
354354
* rfkill_switch_all - Toggle state of all switches of given type
355355
* @type: type of interfaces to be affected
356-
* @state: the new state
356+
* @blocked: the new state
357357
*
358358
* Acquires rfkill_global_mutex and calls __rfkill_switch_all(@type, @state).
359359
* Please refer to __rfkill_switch_all() for details.

0 commit comments

Comments
 (0)