drm/radeon/kms/agp The wrong AGP chipset can cause a NULL pointer dereference
authorRobert Fitzsimons <robfitz@273k.net>
Sat, 24 Apr 2010 00:18:13 +0000 (01:18 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 28 Apr 2010 07:22:50 +0000 (17:22 +1000)
Selecting the wrong or no CONFIG_AGP_* chipset can cause a NULL pointer
dereference when combined with CONFIG_DRM_RADEON_KMS and an old system
with a R100 AGP card (should effect other cards too).  The agp field
will be set to NULL if no suitable AGP chipset driver is loaded,
drm_agp_acquire already preforms a suitable NULL check so it can be used
directly.

Signed-off-by: Robert Fitzsimons <robfitz@273k.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found