summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Viro <viro@parcelfarce.linux.theplanet.co.uk>2004-06-23 19:56:16 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-06-23 19:56:16 -0700
commit37dfe554fba17e8e1f156a26a231a393a11adcc9 (patch)
tree0a8b744d0835a38542000419988c62c27fd96ae6 /include
parent02bf2dff8319319fc93e199c5df5997c28addf6d (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.h2
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