uio backport fixes for 4.14
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | uio: Reduce return paths from uio_write()drivers/ | +17 | 0 replies | |
| 2/8 | uio: Prevent device destruction while fds are opendrivers/ include/ | +75 | 0 replies | |
| 3/8 | uio: use request_threaded_irq insteaddrivers/ | +3 | 0 replies | |
| 4/8 | uio: change to use the mutex lock instead of the spin lockdrivers/ include/ | +14 | 0 replies | |
| 5/8 | uio: fix crash after the device is unregistereddrivers/ | +88 | 0 replies | |
| 6/8 | uio: fix wrong return value from uio_mmap()drivers/ | +1 | 0 replies | |
| 7/8 | uio: fix possible circular locking dependencydrivers/ | +6 | 0 replies | |
| 8/8 | Revert "uio: use request_threaded_irq instead"drivers/ | +2 | 0 replies |
Reviews trailers per patch
4 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Chris Packham | Hamish Martin |
|---|---|---|
| 1/8 | R-b | |
| 2/8 | R-b | |
| 3/8 | ||
| 4/8 | R-b | |
| 5/8 | R-b | |
| 6/8 | ||
| 7/8 | ||
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 4.14 0/8] uio backport fixes for 4.14
Backport uio fixes to 4.14, to fix use-after-free memory errors.
Changed __poll_t to unsigned int as the former not found in 4.14, and resolved some patch context conflicts.
Hailong Liu (1):
uio: fix wrong return value from uio_mmap()
Hamish Martin (2):
uio: Reduce return paths from uio_write()
uio: Prevent device destruction while fds are open
Xiubo Li (5):
uio: use request_threaded_irq instead
uio: change to use the mutex lock instead of the spin lock
uio: fix crash after the device is unregistered
uio: fix possible circular locking dependency Revert "uio: use request_threaded_irq instead"
drivers/uio/uio.c | 206 ++++++++++++++++++++++++++++--------- include/linux/uio_driver.h | 4 +- 2 files changed, 163 insertions(+), 47 deletions(-)
Signature · 1 line
2.20.1