diff options
author | NeilBrown <neilb@suse.de> | 2024-09-25 15:31:38 +1000 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2024-10-07 09:28:37 +0200 |
commit | 2382d68d7d43873ba856baf567cab0d5c523f23b (patch) | |
tree | 866e8de95997bb3544f9406d9a5b4e6ddbed4a1b /tools/perf/scripts/python/task-analyzer.py | |
parent | 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b (diff) |
sched: change wake_up_bit() and related function to expect unsigned long *
wake_up_bit() currently allows a "void *". While this isn't strictly a
problem as the address is never dereferenced, it is inconsistent with
the corresponding wait_on_bit() which requires "unsigned long *" and
does dereference the pointer.
Any code that needs to wait for a change in something other than an
unsigned long would be better served by wake_up_var()/wait_var_event().
This patch changes all related "void *" to "unsigned long *".
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20240925053405.3960701-2-neilb@suse.de
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions