lkml.org 
[lkml]   [2015]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v3] scsi: ufs: add ioctl interface for query request
Date
On Sunday 11 October 2015 11:02:34 ygardi@codeaurora.org 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


\
 
 \ /
  Last update: 2015-10-11 21:41    [W:0.552 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site