From: Alan Cox <alan@redhat.com>
To: linux-kernel@vger.kernel.org, torvalds@osdl.org, akpm@osdl.org
Subject: PATCH: scsi docs
Date: Thu, 30 Sep 2004 13:51:05 -0400 [thread overview]
Message-ID: <20040930175105.GA30529@devserv.devel.redhat.com> (raw)
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
**/
reply other threads:[~2004-09-30 17:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040930175105.GA30529@devserv.devel.redhat.com \
--to=alan@redhat.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox