Re: [PATCH] bq2415x_charger: Fix null pointer dereference

From: Sebastian Reichel
Date: Wed Sep 23 2015 - 13:05:07 EST


Hi Pali,

On Mon, Sep 21, 2015 at 04:58:20PM +0200, Pali Rohár wrote:
> Commit b68c3161430a (bq2415x_charger: Allow to load and use driver even if
> notify device is not registered yet) introduced null pointer dereference in
> case bq is NULL. This patch fixes it.
>
> Signed-off-by: Pali Rohár <pali.rohar@xxxxxxxxx>
> Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Thanks, queued with proper "Fixes: " tag.

-- Sebastian

Attachment: signature.asc
Description: Digital signature