aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJan Höppner <hoeppner@linux.vnet.ibm.com>2016-06-30 12:58:51 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-10-28 10:09:01 +0200
commit5303e6578f4a57e3be13a60825d3ae9f0d18af36 (patch)
tree6d2cc1ae0ff82257ef6c8e0188d92445b4aae056 /tools/perf/scripts/python/syscall-counts.py
parent237d6e6884136923b6bd26d5141ebe1d065960c9 (diff)
s390/dasd: Make setting queue_max_segments more explicit
Currently the block queue value max_segments is set to -1L, which is then implicitly casted to unsigned short in blk_queue_max_segments. This results in 65535 (64k) max_segments. Even though the resulting value is correct, setting it implicitly using -1L is rather confusing. Set the value explicitly using the USHRT_MAX macro instead. Reviewed-by: Stefan Haberland <sth@linux.vnet.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions