aboutsummaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2023-03-06 09:48:42 -0500
committerBrian Behlendorf <[email protected]>2023-03-08 13:52:20 -0800
commit37edc7ea9881a0fcd3df67fe1e29d22ee4deb7a9 (patch)
treecc441d4660e51298fd53480f140aca5c17664f7a /module
parent08641d9007850fcd6dc43b4526b10db537f21d1f (diff)
Refactor loop in dump_histogram()
The current loop triggers a complaint that we are using an array offset prior to a range check from cpp/offset-use-before-range-check when we are actually calculating maximum and minimum values. I was about to file a false positive report with CodeQL, but after looking at how the code is structured, I really cannot blame CodeQL for mistaking this for a range check. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Richard Yao <[email protected]> Closes #14575
Diffstat (limited to 'module')
0 files changed, 0 insertions, 0 deletions