Re: [PATCH] drm/radeon/radeon_cp.c: check for invalid radeon family

2010-01-06 Thread Dave Airlie
On Wed, Dec 30, 2009 at 11:23 AM, Darren Jenkins wrote: > If there is an invalid radeon family the fw_name is NULL and causes an > NULL pointer dereference. > This just adds a check for something unexpected. > Same as for last one, unless a developer explicity writes code wrong, this cannot happe

[PATCH] drm/radeon/radeon_cp.c: check for invalid radeon family

2009-12-29 Thread Darren Jenkins
If there is an invalid radeon family the fw_name is NULL and causes an NULL pointer dereference. This just adds a check for something unexpected. Coverity CID: 13252 Signed-off-by: Darren Jenkins diff --git drivers/gpu/drm/radeon/radeon_cp.c drivers/gpu/drm/radeon/radeon_cp.c index 0b2f9c2..1e