aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2017-03-23 13:24:55 +0300
committerJens Axboe <[email protected]>2017-03-23 08:16:11 -0600
commit7a88fa191944589b2ed795bbed32ca6e9e2df31f (patch)
tree08ffd2bfc3cdf1f9ff08c0eeafc468dce213315c /tools/perf/scripts/python
parenta4d907b6a33ba22adbbfc443e22eb3c1aa2c73f6 (diff)
block: make nr_iovecs unsigned in bio_alloc_bioset()
There isn't a bug here, but Smatch is not smart enough to know that "nr_iovecs" can't be negative so it complains about underflows. Really, it's slightly cleaner to make this parameter unsigned. Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions