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

From: Dave Airlie
Date: Wed Jan 06 2010 - 22:48:58 EST


On Wed, Dec 30, 2009 at 11:23 AM, Darren Jenkins
<darrenrjenkins@xxxxxxxxx> 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
happen, and I'd prefer a developer would see an oops.

Dave.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/