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

2010-01-06 Thread Dave Airlie
On Wed, Dec 30, 2009 at 11:24 AM, Darren Jenkins wrote: > If there is an invalid family the fw_name is NULL and causes an > NULL pointer dereference. > This just adds a check for something unexpected. NAK. This can't happen, only gpus with those families set can call this function, so we can't g

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

2009-12-29 Thread Darren Jenkins
If there is an invalid family the fw_name is NULL and causes an NULL pointer dereference. This just adds a check for something unexpected. Coverity CID: 13251 Signed-off-by: Darren Jenkins diff --git drivers/gpu/drm/radeon/r100.c drivers/gpu/drm/radeon/r100.c index 7172746..e4b9770 100644 --- d