diff options
author | Vincent Whitchurch <vincent.whitchurch@axis.com> | 2019-02-01 09:45:09 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-01 15:53:54 +0100 |
commit | 4bf13fdbc3567e571c20b415e4df70f564d54067 (patch) | |
tree | 8a624c8605796425923137747e9f1c1d9356fd48 /drivers/scsi | |
parent | 70ed7148dadb812f2f7c9927e98ef3cf4869dfa9 (diff) | |
download | blackbird-obmc-linux-4bf13fdbc3567e571c20b415e4df70f564d54067.tar.gz blackbird-obmc-linux-4bf13fdbc3567e571c20b415e4df70f564d54067.zip |
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 1ce9e6055fa0 ("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: 1ce9e6055fa0 ("virtio_ring: introduce packed ring support")
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions