kernel_optimize_test/drivers/misc/mic
Vincent Whitchurch 4bf13fdbc3 mic: vop: Fix crash on remove
The remove path contains a hack which depends on internal structures in
other source files, similar to the one which was recently removed from
the registration path.  Since commit 1ce9e6055f ("virtio_ring:
introduce packed ring support"), this leads to a crash when vop devices
are removed.

The structure in question is only examined to get the virtual address of
the allocated used page.  Store that pointer locally instead to fix the
crash.

Fixes: 1ce9e6055f ("virtio_ring: introduce packed ring support")
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-02-01 15:53:54 +01:00
..
bus
card
common
cosm
cosm_client
host Char/Misc driver patches for 4.21-rc1 2018-12-28 20:54:57 -08:00
scif IOMMU Updates for Linux v4.21 2019-01-01 15:55:29 -08:00
vop mic: vop: Fix crash on remove 2019-02-01 15:53:54 +01:00
Kconfig
Makefile