public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* PATCH: scsi docs
@ 2004-09-30 17:51 Alan Cox
  0 siblings, 0 replies; only message in thread
From: Alan Cox @ 2004-09-30 17:51 UTC (permalink / raw)
  To: linux-kernel, torvalds, akpm

People have had a long time to change and be aware of the correct return.
Some drivers now generate the correct return too.


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.9rc3/Documentation/scsi/scsi_mid_low_api.txt linux-2.6.9rc3/Documentation/scsi/scsi_mid_low_api.txt
--- linux.vanilla-2.6.9rc3/Documentation/scsi/scsi_mid_low_api.txt	2004-09-30 16:13:07.221587568 +0100
+++ linux-2.6.9rc3/Documentation/scsi/scsi_mid_low_api.txt	2004-09-30 16:32:22.300988808 +0100
@@ -1091,10 +1091,6 @@
  *      mid level does not recognize it, then the LLD that controls
  *      the device receives the ioctl. According to recent Unix standards
  *      unsupported ioctl() 'cmd' numbers should return -ENOTTY.
- *      However the mid level returns -EINVAL for unrecognized 'cmd'
- *      numbers when this function is not supplied by the driver.
- *      Unfortunately some applications expect -EINVAL and react badly
- *      when -ENOTTY is returned; stick with -EINVAL.
  *
  *      Optionally defined in: LLD
  **/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-30 17:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-30 17:51 PATCH: scsi docs Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox