From: Michel Dänzer Date: Wed, 8 Jan 2014 02:40:20 +0000 (+0900) Subject: radeon/pm: Guard access to rdev->pm.power_state array X-Git-Tag: v3.2.56~171 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d42de37001784d4e00c2e2cd6e4fdb983a76e21;p=pandora-kernel.git radeon/pm: Guard access to rdev->pm.power_state array commit 370169516e736edad3b3c5aa49858058f8b55195 upstream. It's never allocated on systems without an ATOMBIOS or COMBIOS ROM. Should fix an oops I encountered while resetting the GPU after a lockup on my PowerBook with an RV350. Signed-off-by: Michel Dänzer Signed-off-by: Alex Deucher Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed