Files
erofs-linux/net/rfkill
Zijun Hu 1bbdb7f7a4 net: rfkill: Correct return value in invalid parameter case
rfkill_set_hw_state_reason() does not return current combined
block state when its parameter @reason is invalid, that is
wrong according to its comments, fix it by correcting the
value returned.

Also reformat the WARN while at it.

Signed-off-by: Zijun Hu <[email protected]>
Link: https://patch.msgid.link/[email protected]
[edit/reformat commit message, remove unneeded variable]
Signed-off-by: Johannes Berg <[email protected]>
2024-06-26 10:49:01 +02:00
..
…
…
…
…