diff options
Diffstat (limited to 'tools/lib/traceevent/plugin_scsi.c')
-rw-r--r-- | tools/lib/traceevent/plugin_scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/traceevent/plugin_scsi.c b/tools/lib/traceevent/plugin_scsi.c index 6fb8e3e3fcad..7ef16cc96562 100644 --- a/tools/lib/traceevent/plugin_scsi.c +++ b/tools/lib/traceevent/plugin_scsi.c | |||
@@ -405,7 +405,7 @@ scsi_trace_parse_cdb(struct trace_seq *p, unsigned char *cdb, int len) | |||
405 | unsigned long long process_scsi_trace_parse_cdb(struct trace_seq *s, | 405 | unsigned long long process_scsi_trace_parse_cdb(struct trace_seq *s, |
406 | unsigned long long *args) | 406 | unsigned long long *args) |
407 | { | 407 | { |
408 | scsi_trace_parse_cdb(s, (unsigned char *) args[1], args[2]); | 408 | scsi_trace_parse_cdb(s, (unsigned char *) (unsigned long) args[1], args[2]); |
409 | return 0; | 409 | return 0; |
410 | } | 410 | } |
411 | 411 | ||