aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2022-04-21 11:30:16 -0700
committerMartin K. Petersen <[email protected]>2022-04-25 23:23:04 -0400
commit9a93b9c9d38aee1f729f3cea72971a2616dca936 (patch)
tree50462096621bf891cdf3dc6136696ed1172de8c0 /tools/perf/scripts/python/bin/stackcollapse-report
parentaa96bfb4caff59c93f0637092efe3a714cab0fe6 (diff)
scsi: sd: sd_zbc: Verify that the zone size is a power of two
The following check in sd_zbc_cmnd_checks() can only work correctly if the zone size is a power of two: if (sector & (sd_zbc_zone_sectors(sdkp) - 1)) /* Unaligned request */ return BLK_STS_IOERR; Hence this patch that verifies that the zone size is a power of two. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Damien Le Moal <[email protected]> Reviewed-by: Himanshu Madhani <[email protected]> Acked-by: Douglas Gilbert <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions