commit | a6b7e1a02b77ab8fe8775d20a88c53d8ba55482e | [log] [tgz] |
---|---|---|
author | Ilija Hadzic <ihadzic@research.bell-labs.com> | Mon Jan 07 18:21:58 2013 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Jan 10 17:05:36 2013 -0500 |
tree | 05fba3ee92cb55042fc51112495edfc229fcaa5b | |
parent | ff4bd0827764e10a428a9d39e6814c5478863f94 [diff] |
drm/radeon: fix a bogus kfree 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>