summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2018-10-10 08:08:19 -0700
committerChristoph Hellwig <hch@lst.de>2018-10-17 08:58:30 +0200
commit202359c007f6b1d6247a062c0682d6d5bcd3e7d7 (patch)
tree65dbfcc35ad0ed809118f34f5af7a916893e5ed5 /tools/perf/scripts/python/intel-pt-events.py
parent1c4665272ca73335a662a0fb6a9604ec76983756 (diff)
downloadlinux-202359c007f6b1d6247a062c0682d6d5bcd3e7d7.tar.gz
linux-202359c007f6b1d6247a062c0682d6d5bcd3e7d7.tar.bz2
linux-202359c007f6b1d6247a062c0682d6d5bcd3e7d7.zip
nvme-core: make implicit seed truncation explicit
The nvme_user_io.slba field is 64 bits wide. That value is copied into the 32-bit bio_integrity_payload.bip_iter.bi_sector field. Make that truncation explicit to avoid that Coverity complains about implicit truncation. See also Coverity ID 1056486 on http://scan.coverity.com/projects/linux. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions