Re: [PATCH v2 18/27] compat_ioctl: scsi: move ioctl handling into drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 18, 2019 at 8:57 PM Ben Hutchings
<ben.hutchings@xxxxxxxxxxxxxxx> wrote:
>
> On Tue, 2019-12-17 at 23:16 +0100, Arnd Bergmann wrote:
> > +
> > +     /*
> > +      * CDROM ioctls are handled in the block layer, but
> > +      * do the scsi blk ioctls here.
> > +      */
> > +     ret = scsi_cmd_blk_ioctl(bdev, mode, cmd, argp);
> > +     if (ret != -ENOTTY)
> > +             return ret;
>
> This needs to be be "goto put;"

Fixed now, thanks!

       Arnd



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux