diff options
author | 2025-05-14 11:11:48 -0400 | |
---|---|---|
committer | 2025-05-14 11:11:48 -0400 | |
commit | c4c286d747971c410739afc216972f1cc0923270 (patch) | |
tree | 6b84b5cb4c1e727cb83c77a9a23a2e4757b1ed04 /scripts/lib/kdoc/kdoc_re.py | |
parent | sched_ext: Add @sch to SCX_CALL_OP*() (diff) | |
download | wireguard-linux-c4c286d747971c410739afc216972f1cc0923270.tar.xz wireguard-linux-c4c286d747971c410739afc216972f1cc0923270.zip |
sched_ext: Cleanup [__]scx_exit/error*()
__scx_exit() is the base exit implementation and there are three wrappers on
top of it - scx_exit(), __scx_error() and scx_error(). This is more
confusing than helpful especially given that there are only a couple users
of scx_exit() and __scx_error(). To simplify the situation:
- Make __scx_exit() take va_list and rename it to scx_vexit(). This is to
ease implementing more complex extensions on top.
- Make scx_exit() a varargs wrapper around __scx_exit(). scx_exit() now
takes both @kind and @exit_code.
- Convert existing scx_exit() and __scx_error() users to use the new
scx_exit().
- scx_error() remains unchanged.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions