aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorOr Gerlitz <[email protected]>2011-08-01 21:12:09 +0000
committerRoland Dreier <[email protected]>2011-08-17 09:40:55 -0700
commit0ace64b85ea7b90e3bffe408b9d7c3364692bfa4 (patch)
tree2606a343505441fe0c1f4cf638c6ebc9bb9929b5 /tools/perf/util/scripting-engines/trace-event-python.c
parent322a8b034003c0d46d39af85bf24fee27b902f48 (diff)
IBiser: Fix wrong mask when sizeof (dma_addr_t) > sizeof (unsigned long)
The code that prepares the SG associated with SCSI command for FMR was buggy for systems with DMA addresses that don't fit in unsigned long, e.g under the 32-bit based XenServer dom0 sizeof(dma_addr_t) is 8. Fix that by casting to unsigned long long a masking constant used by the code. This resolves a crash in iser_sg_to_page_vec on this system. Signed-off-by: Or Gerlitz <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions