diff options
author | Sam Bobroff <sbobroff@linux.ibm.com> | 2018-11-05 16:57:47 +1100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2018-11-29 09:41:11 +1000 |
commit | dc25ab067645eabd037f1a23d49a666f9e0b8c68 (patch) | |
tree | 2aa17449e91b2af2a7ea762460b6f8dfc17eba5a /fs/xfs/xfs_trans_dquot.c | |
parent | 2e6e902d185027f8e3cb8b7305238f7e35d6a436 (diff) |
drm/ast: Fix incorrect free on ioregs
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>
Diffstat (limited to 'fs/xfs/xfs_trans_dquot.c')
0 files changed, 0 insertions, 0 deletions