summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorVincent Whitchurch <vincent.whitchurch@axis.com>2019-02-01 09:45:09 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-01 15:53:54 +0100
commit4bf13fdbc3567e571c20b415e4df70f564d54067 (patch)
tree8a624c8605796425923137747e9f1c1d9356fd48 /kernel
parent70ed7148dadb812f2f7c9927e98ef3cf4869dfa9 (diff)
downloadblackbird-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 'kernel')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud