From: Robert Fitzsimons Date: Sat, 24 Apr 2010 00:18:13 +0000 (+0100) Subject: drm/radeon/kms/agp The wrong AGP chipset can cause a NULL pointer dereference X-Git-Tag: v2.6.34-rc7~24^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccb2ad579f910e6146adf4eb3aa50325253ee8c9;p=pandora-kernel.git drm/radeon/kms/agp The wrong AGP chipset can cause a NULL pointer dereference 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 Signed-off-by: Dave Airlie --- Reading git-diff-tree failed