Message ID | 20170825204643.25043-11-bart.vanassche@wdc.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c index f5705a95319f..03194c4b6744 100644 --- a/drivers/scsi/sg.c +++ b/drivers/scsi/sg.c @@ -1110,8 +1110,7 @@ sg_ioctl(struct file *filp, unsigned int cmd_in, unsigned long arg) return blk_trace_setup(sdp->device->request_queue, sdp->disk->disk_name, MKDEV(SCSI_GENERIC_MAJOR, sdp->index), - NULL, - (char *)arg); + NULL, p); case BLKTRACESTART: return blk_trace_startstop(sdp->device->request_queue, 1); case BLKTRACESTOP: