commit | 03047cdf724d8de9fbfd38b53d768c190225290f | [log] [tgz] |
---|---|---|
author | Michel Dänzer <daenzer@vmware.com> | Wed Feb 10 11:05:11 2010 +0100 |
committer | Dave Airlie <airlied@redhat.com> | Thu Feb 11 19:04:06 2010 +1000 |
tree | df286d6801b34bb07ab81e61b91708263d80d82d | |
parent | 961fb597c17e2e4f55407d56b7211c188ab41eff [diff] |
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 <daenzer@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>