You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sched: change wake_up_bit() and related function to expect unsigned long *
JIRA: https://issues.redhat.com/browse/RHEL-117497
commit 2382d68
Author: NeilBrown <neilb@suse.de>
Date: Wed Sep 25 15:31:38 2024 +1000
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
Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
0 commit comments