Re: [patch] dma/shdma: move dereference below the NULL check

From: Dan Williams
Date: Mon Aug 16 2010 - 04:46:37 EST


On Sat, Aug 14, 2010 at 2:01 AM, Dan Carpenter <error27@xxxxxxxxx> wrote:
> "param" can be NULL here, so only dereference it after the check.
>
> Signed-off-by: Dan Carpenter <error27@xxxxxxxxx>

Thanks, applied as obviously correct.

--
Dan
--
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/