]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'floppy'
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Jul 2019 15:43:20 +0000 (08:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Jul 2019 15:43:20 +0000 (08:43 -0700)
commitb57ac60837d538f02718688589e7ab47b0a4031f
tree894605c2c7f1dd63a37c41752fcb8d5bcae933e9
parent7441039ffe32e1d0b75b0611f46d8ef0a836e48a
parente8f2e8b224bf0341f4d865f5a9dbcc21e8ebd69e
Merge branch 'floppy'

Merge floppy ioctl verification fixes from Denis Efremov.

This also marks the floppy driver as orphaned - it turns out that Jiri
no longer has working hardware.

Actual working physical floppy hardware is getting hard to find, and
while Willy was able to test this, I think the driver can be considered
pretty much dead from an actual hardware standpoint.  The hardware that
is still sold seems to be mainly USB-based, which doesn't use this
legacy driver at all.

The old floppy disk controller is still emulated in various VM
environments, so the driver isn't going away, but let's see if anybody
is interested to step up to maintain it.

The lack of hardware also likely means that the ioctl range verification
fixes are probably mostly relevant to anybody using floppies in a
virtual environment.  Which is probably also going away in favor of USB
storage emulation, but who knows.

Will Decon reviewed the patches but I'm not rebasing them just for that,
so I'll add a

Reviewed-by: Will Deacon <will@kernel.org>
here instead.

* floppy:
  MAINTAINERS: mark floppy.c orphaned
  floppy: fix out-of-bounds read in copy_buffer
  floppy: fix invalid pointer dereference in drive_name
  floppy: fix out-of-bounds read in next_valid_format
  floppy: fix div-by-zero in setup_format_params
MAINTAINERS
drivers/block/floppy.c