diff options
| author | Tetsuo Handa <[email protected]> | 2021-12-18 18:41:56 +0900 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-12-21 09:32:57 -0700 |
| commit | 37ae5a0f5287a52cf51242e76ccf198d02ffe495 (patch) | |
| tree | 9405a91bd2f5e8749d569e50b5460789618a2147 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
| parent | 99d8690aae4b2f0d1d90075de355ac087f820a66 (diff) | |
block: use "unsigned long" for blk_validate_block_size().
Since lo_simple_ioctl(LOOP_SET_BLOCK_SIZE) and ioctl(NBD_SET_BLKSIZE) pass
user-controlled "unsigned long arg" to blk_validate_block_size(),
"unsigned long" should be used for validation.
Signed-off-by: Tetsuo Handa <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions