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 misc: mic: Release reference count and memory for VOP device 2018-03-15 18:12:01 +01:00
card misc: remove GENWQE_DEBUGFS_RO() 2018-12-06 15:42:18 +01:00
common misc: mic: Remove COSM functionality from the MIC card driver 2015-10-04 12:46:06 +01:00
cosm misc: remove GENWQE_DEBUGFS_RO() 2018-12-06 15:42:18 +01:00
cosm_client misc: mic: fix passing the current time 2018-07-07 17:44:52 +02:00
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 misc: mic: move to its own menu in Misc devices 2017-10-04 10:45:18 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00