Re: [PATCH] scsi: pm8001: pm8001_hwi.c: Fix for possible null pointer dereference

From: Christoph Hellwig
Date: Wed May 28 2014 - 07:28:23 EST


On Sun, May 18, 2014 at 06:14:00PM +0200, Rickard Strandqvist wrote:
> There is otherwise a risk of a possible null pointer dereference.
>
> Was largely found by using a static code analysis program called cppcheck.

I can't see how dev->lldd_dev would be NULL here.
--
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/