summaryrefslogtreecommitdiff
path: root/drivers/iommu
diff options
context:
space:
mode:
authorIlija Hadzic <ihadzic@research.bell-labs.com>2013-01-07 18:21:58 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-21 11:44:37 -0800
commitce6696bc5ece1a3f86d6f6c228d02839b2b375cc (patch)
tree844a953da128c84cc470173a773a1100a7b789c5 /drivers/iommu
parent805067d52c93091b46f47df97a8a5088a6ccdc12 (diff)
drm/radeon: fix a bogus kfree
commit a6b7e1a02b77ab8fe8775d20a88c53d8ba55482e upstream. parser->chunks[.].kpage[.] is not always kmalloc-ed by the parser initialization, so parser_fini should not try to kfree it if it didn't allocate it. This patch fixes a kernel oops that can be provoked in UMS mode. Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Shuah Khan <shuah.khan@hp.com> Cc: CAI Qian <caiqian@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iommu')
0 files changed, 0 insertions, 0 deletions