PATCH: scsi docs

From: Alan Cox (alan_at_redhat.com)
Date: 09/30/04

  • Next message: Paul Jackson: "Re: [RFC][PATCH] inotify 0.10.0"
    Date:	Thu, 30 Sep 2004 13:51:05 -0400
    To: linux-kernel@vger.kernel.org, torvalds@osdl.org, akpm@osdl.org
    
    

    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
      **/
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Paul Jackson: "Re: [RFC][PATCH] inotify 0.10.0"

    Relevant Pages

    • Re: 2.6.10-rc2 on VAIO laptop and PowerMac 8500/G3
      ... fbdev layer broke some of those old drivers. ... VT mode data structure, the driver is now sort-of supposed to re-invent ... but I suppose I'll have to fix controlfb (and platinumfb ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: Driver Model 2 Proposal - Linux Kernel Performance v Usability
      ... I agree that it is an extra interface ... > Windows has many faults but drivers are often compatible across ... common users in the Windows world can't handle installing a driver any better than they would be able to in Linux. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [Bug 1412] Copy from USB1 CF/SM reader stalls, no actual content is read (only directory structu
      ... For drivers like this that aren't performance critical and ... > depends on the capabilities of the USB host controller that our device ... and if the result is 0 then calling kmap() ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: HighPoint 374
      ... > I'm using two seagates, one Samsung and one Maxtor, ... > drivers, pretty much everything that does not relate directly to the IDE ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] pci_ids: remove non-referenced symbols from pci_ids.h
      ... > drivers don't compile cleanly thus are not in use, ... At least 2 distros are carrying patches removing the BROKEN attribute ... on the advansys Kconfig for some architectures. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)