diff options
author | 2024-07-19 11:29:10 +0000 | |
---|---|---|
committer | 2024-07-19 09:32:49 -0600 | |
commit | 5f89154e8e9e3445f9b592e58a7045e06153b822 (patch) | |
tree | 834a9773a830bc26a8269afaef3214505697f076 /scripts/generate_rust_analyzer.py | |
parent | block: Catch possible entries missing from cmd_flag_name[] (diff) | |
download | linux-rng-5f89154e8e9e3445f9b592e58a7045e06153b822.tar.xz linux-rng-5f89154e8e9e3445f9b592e58a7045e06153b822.zip |
block: Use enum to define RQF_x bit indexes
Similar to what we do for enum req_flag_bits, divide the definition of
RQF_x flags into an enum to declare the bits and an actual flag.
Tweak some comments to not spill onto new lines.
Signed-off-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20240719112912.3830443-14-john.g.garry@oracle.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions