lkml.org 
[lkml]   [2019]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2 18/27] compat_ioctl: scsi: move ioctl handling into drivers
On Wed, Dec 18, 2019 at 8:57 PM Ben Hutchings
<ben.hutchings@codethink.co.uk> 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

\
 
 \ /
  Last update: 2019-12-19 13:07    [W:0.097 / U:1.856 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site