aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2021-06-17 17:44:49 -0700
committerJens Axboe <[email protected]>2021-06-21 15:03:40 -0600
commit004a26b327c2e1ea88b2638cf16c0e30e82f297e (patch)
treea408229e5180b7e567e44b4d2effb31cab0bee01 /scripts/gdb/linux/timerlist.py
parent3e9a99eba058f79736dccaf25934f8d6ca380fb3 (diff)
block/mq-deadline: Improve compile-time argument checking
Modern compilers complain if an out-of-range value is passed to a function argument that has an enumeration type. Let the compiler detect out-of-range data direction arguments instead of verifying the data_dir argument at runtime. Reviewed-by: Chaitanya Kulkarni <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Himanshu Madhani <[email protected]> Cc: Damien Le Moal <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Ming Lei <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions