diff options
author | Joel Fernandes (Google) <joel@joelfernandes.org> | 2023-03-10 01:18:12 +0000 |
---|---|---|
committer | Joel Fernandes (Google) <joel@joelfernandes.org> | 2023-04-05 13:48:04 +0000 |
commit | eb56a4cbc3ea348dc07fbe82531c27cce83df3b9 (patch) | |
tree | 4c0feffc14950b14fb6d725f8ce4037616e5f101 /scripts/checkpatch.pl | |
parent | 936c7e19c695d624adac28ea390fd8d53c653542 (diff) |
mac802154: Rename kfree_rcu() to kvfree_rcu_mightsleep()
The k[v]free_rcu() macro's single-argument form is deprecated.
Therefore switch to the new k[v]free_rcu_mightsleep() variant. The goal
is to avoid accidental use of the single-argument forms, which can
introduce functionality bugs in atomic contexts and latency bugs in
non-atomic contexts.
The callers are holding a mutex so the context allows blocking. Hence
using the API with a single argument will be fine, but use its new name.
There is no functionality change with this patch.
Fixes: 57588c71177f ("mac802154: Handle passive scanning")
Acked-by: Stefan Schmidt <stefan@datenfreihafen.org>
Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions