From: Michel Dänzer Date: Wed, 10 Feb 2010 10:05:11 +0000 (+0100) Subject: drm/radeon/kms: Test rdev->bios centrally in combios_get_table_offset(). X-Git-Tag: v2.6.34-rc1~209^2~10^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03047cdf724d8de9fbfd38b53d768c190225290f;p=pandora-kernel.git drm/radeon/kms: Test rdev->bios centrally in combios_get_table_offset(). It's happened time and time again (most recently with the support for EDID hardcoded in the BIOS ROM) that new code didn't check for rdev->bios being non-NULL before triggering dereferences of it. This would result in an oops/panic on setups with no BIOS ROM. Hopefully this central test will be more robust. Signed-off-by: Michel Dänzer Signed-off-by: Dave Airlie --- Reading git-diff-tree failed