diff options
| author | Alexander Viro <viro@parcelfarce.linux.theplanet.co.uk> | 2004-06-23 19:56:16 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-06-23 19:56:16 -0700 |
| commit | 37dfe554fba17e8e1f156a26a231a393a11adcc9 (patch) | |
| tree | 0a8b744d0835a38542000419988c62c27fd96ae6 /include | |
| parent | 02bf2dff8319319fc93e199c5df5997c28addf6d (diff) | |
[PATCH] sparse: scsi ->ioctl() annotation
Low-level drivers' ->ioctl() gets a userland pointer from scsi_ioctl();
prototype annotated, so is scsi_debug instance.
Diffstat (limited to 'include')
| -rw-r--r-- | include/scsi/scsi_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h index abba7b4194b7..21af949cfa58 100644 --- a/include/scsi/scsi_host.h +++ b/include/scsi/scsi_host.h @@ -64,7 +64,7 @@ struct scsi_host_template { * * Status: OPTIONAL */ - int (* ioctl)(struct scsi_device *dev, int cmd, void *arg); + int (* ioctl)(struct scsi_device *dev, int cmd, void __user *arg); /* * The queuecommand function is used to queue up a scsi |
