aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2017-10-11 05:54:24 +0900
committerMartin K. Petersen <[email protected]>2017-10-16 23:54:33 -0400
commite8c77ec483b0bb3c9e6ee9144b9bcdde340647ca (patch)
tree02c25eb76521144b4ebf0b71e684baed90d4c815 /tools/perf/scripts/python/bin
parent5eed92d173e0bf695c690d6b903441bde36879fb (diff)
scsi: sd_zbc: Use well defined macros
Instead of open coding, use the min() macro to calculate a report zones reply buffer length in sd_zbc_check_zone_size() and the round_up() macro for calculating the number of zones in sd_zbc_setup(). No functional change is introduced by this patch. Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions