summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorSu Hui <suhui@nfschina.com>2025-06-04 11:47:26 +0800
committerChuck Lever <chuck.lever@oracle.com>2025-07-14 12:46:39 -0400
commitfdc368e96d0eaf2bc4d593753d7b4e572b4e20f2 (patch)
treed78ac8f95392444f01d5bdb25a13f97c6b029e22 /scripts/gdb/linux/interrupts.py
parentf26c93053074bba9342b74632c195a043a825ac5 (diff)
nfsd: Change the type of ek_fsidtype from int to u8 and use kstrtou8
The valid values for ek_fsidtype are actually 0-7 so it's better to change the type to u8. Also using kstrtou8() to relpace simple_strtoul(), kstrtou8() is safer and more suitable for u8. Suggested-by: NeilBrown <neil@brown.name> Signed-off-by: Su Hui <suhui@nfschina.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions