On Mon, 9 Apr 2018, Geert Uytterhoeven wrote:
> On Sun, Apr 1, 2018 at 3:41 AM, Finn Thain <fth...@telegraphics.com.au> wrote:
> > The 'eject' shell command may send various different ioctl commands.
> > This leads to error messages on the console even though the FDEJECT
> > ioctl succeeds.
> > ~# eject floppy
> > SWIM floppy_ioctl: unknown cmd 21257
> > SWIM floppy_ioctl: unknown cmd 1
> > Don't log an error message for an invalid ioctl, just do as the
> > swim3 driver does and return -ENOTTY.
> > Cc: Laurent Vivier <lviv...@redhat.com>
> > Cc: Jens Axboe <ax...@kernel.dk>
> > Tested-by: Stan Johnson <user...@yahoo.com>
> > Signed-off-by: Finn Thain <fth...@telegraphics.com.au>
> Reviewed-by: Geert Uytterhoeven <ge...@linux-m68k.org>
> Looks like amiflop can use a similar fix.
Right. I'll prepare a new patch for that and send it separately.
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html