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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday 11 October 2015 11:02:34 ygardi@xxxxxxxxxxxxxx wrote:
> >
> > no need for the #ifdef here.
> 
> in include\scsi\scsi_host.h
> the hook - compat_ioctl is defined inside #ifdef CONFIG_COMPAT
> 
> #ifdef CONFIG_COMPAT
>         int (* compat_ioctl)(struct scsi_device *dev, int cmd, void __user *arg);
> #endif
> 
> 
> 

Ah, sorry about that. I saw your v4 before I saw this reply here, and
you are right. This is different from the normal file_operations
compat_ioctl method that doesn't need the #ifdef.

	Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux