aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorDavid Laight <[email protected]>2023-09-18 08:19:25 +0000
committerAndrew Morton <[email protected]>2023-10-18 14:43:22 -0700
commit867046cc7027703f60a46339ffde91a1970f2901 (patch)
tree44c8e04be08cea180b6ad3114cf3f7d802df6a7c /scripts/gdb/linux/interrupts.py
parent4ead534fba42fc4fd41163297528d2aa731cd121 (diff)
minmax: relax check to allow comparison between unsigned arguments and signed constants
Allow (for example) min(unsigned_var, 20). The opposite min(signed_var, 20u) is still errored. Since a comparison between signed and unsigned never makes the unsigned value negative it is only necessary to adjust the __types_ok() test. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: David Laight <[email protected]> Cc: Andy Shevchenko <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Jason A. Donenfeld <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions