aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorJohn Garry <[email protected]>2024-07-19 11:29:11 +0000
committerJens Axboe <[email protected]>2024-07-19 15:32:49 +0000
commit2d61a6c2ca7aadce3771f81a3624848f97dcc39e (patch)
treeef9d54d46d8c18d12618ab04529c45acce725095 /rust/helpers.c
parentblock: Use enum to define RQF_x bit indexes (diff)
downloadkernel-2d61a6c2ca7aadce3771f81a3624848f97dcc39e.tar.gz
kernel-2d61a6c2ca7aadce3771f81a3624848f97dcc39e.zip
block: Simplify definition of RQF_NAME()
Now that we have a bit index for RQF_x in __RQF_x, use __RQF_x to simplify the definition of RQF_NAME() by not using ilog2((__force u32()). Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: John Garry <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions