linux/drivers/misc/mic/vop
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
..
Makefile misc: mic: Enable VOP debugfs and driver build 2016-02-09 17:32:37 -08:00
vop_debugfs.c misc: remove GENWQE_DEBUGFS_RO() 2018-12-06 15:42:18 +01:00
vop_main.c mic: vop: Fix crash on remove 2019-02-01 15:53:54 +01:00
vop_main.h
vop_vringh.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00