]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/radeon: fix possible segfault when parsing pm tables
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Apr 2013 13:29:17 +0000 (09:29 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 May 2013 20:38:03 +0000 (13:38 -0700)
commit82bab2b3b6d6029b06a4e85156ccf99bf95cc2f2
tree1fd1466afda3cc66aea19f6f6c133d1d499ae438
parentb085d867934932a43188297161a5fbbe07565b4c
drm/radeon: fix possible segfault when parsing pm tables

commit f8e6bfc2ce162855fa4f9822a45659f4b542c960 upstream.

If we have a empty power table, bail early and allocate
the default power state.

Should fix:
https://bugs.freedesktop.org/show_bug.cgi?id=63865

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_atombios.c