Thread (3 messages) 3 messages, 3 authors, 2015-10-22

Re: [PATCH v4] scsi: ufs: add ioctl interface for query request

From: Arnd Bergmann <hidden>
Date: 2015-10-11 19:13:38
Also in: linux-arm-msm, linux-scsi, lkml

On Sunday 11 October 2015 14:22:12 Yaniv Gardi wrote:
quoted hunk ↗ jump to hunk
  * @cookie: cookie data
@@ -5106,6 +5308,10 @@ static struct scsi_host_template ufshcd_driver_template = {
        .eh_device_reset_handler = ufshcd_eh_device_reset_handler,
        .eh_host_reset_handler   = ufshcd_eh_host_reset_handler,
        .eh_timed_out           = ufshcd_eh_timed_out,
+       .ioctl                  = ufshcd_ioctl,
+#ifdef CONFIG_COMPAT
+       .compat_ioctl           = ufshcd_ioctl,
+#endif
        .this_id                = -1,
        .sg_tablesize           = SG_ALL,
        .cmd_per_lun            = UFSHCD_CMD_PER_LUN,
I think I commented before that the #ifdef here is not needed and should
just be removed. Otherwise it looks ok to me now.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help