summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorSam Bobroff <sbobroff@linux.ibm.com>2018-11-05 16:57:47 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-08 12:59:07 +0100
commit94be4764b4bbcb49f2932e38c814a2ff32734487 (patch)
tree47a2b9e5f408336e717b0b42ec446a96cc831f47 /ipc
parent81f966235412fb541bc65007d37d2a3075b60ac3 (diff)
drm/ast: Fix incorrect free on ioregs
commit dc25ab067645eabd037f1a23d49a666f9e0b8c68 upstream. If the platform has no IO space, ioregs is placed next to the already allocated regs. In this case, it should not be separately freed. This prevents a kernel warning from __vunmap "Trying to vfree() nonexistent vm area" when unloading the driver. Fixes: 0dd68309b9c5 ("drm/ast: Try to use MMIO registers when PIO isn't supported") Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com> Cc: <stable@vger.kernel.org> Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions