aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2012-10-02 17:25:47 +0200
committerJames Bottomley <[email protected]>2012-10-09 11:23:28 +0100
commit9da5f5ac6affad8dd8cd80f5cca26e4335e1728b (patch)
tree7c7b94c39e1b932feaf60ee1ae6e2fad1d5d4a39 /tools/perf/util/scripting-engines/trace-event-python.c
parent2e9c9dfde00a6466441e93033cf2c37f720bdacf (diff)
[SCSI] virtio-scsi: fix LUNs greater than 255
virtio-scsi needs to report LUNs greater than 256 using the "flat" format. Because the Linux SCSI layer just maps the SCSI LUN to an u32, without any parsing, these end up in the range from 16640 to 32767. Fix max_lun to account for the possibility that logical unit numbers are encoded with the "flat" format. Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions