diff options
author | 2024-12-13 17:52:54 +0800 | |
---|---|---|
committer | 2024-12-13 06:51:19 -1000 | |
commit | e197f5ec3ad38ad0a014ed1ba672497bdf0550bb (patch) | |
tree | 3fb9412a7740e8e766fb4a0160e96c014c89ecac /scripts/lib/kdoc/kdoc_output.py | |
parent | tools/sched_ext: Receive updates from SCX repo (diff) | |
download | wireguard-linux-e197f5ec3ad38ad0a014ed1ba672497bdf0550bb.tar.xz wireguard-linux-e197f5ec3ad38ad0a014ed1ba672497bdf0550bb.zip |
sched_ext: Use sizeof_field for key_len in dsq_hash_params
Update the `dsq_hash_params` initialization to use `sizeof_field`
for the `key_len` field instead of a hardcoded value.
This improves code readability and ensures the key length dynamically
matches the size of the `id` field in the `scx_dispatch_q` structure.
Signed-off-by: Liang Jie <liangjie@lixiang.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions