Re: [PATCH] regmap: fix NULL pointer dereference in _regmap_write/read
From: Mark Brown
Date: Sat Sep 27 2014 - 07:22:09 EST
On Sat, Sep 27, 2014 at 09:47:55AM +0530, Pankaj Dubey wrote:
> If LOG_DEVICE is defined and map->dev is NULL it will lead to NULL
> pointer dereference. This patch fixes this issue by adding check for
> dev->NULL in all such places in regmap.c
Oops, sorry - actually it hadn't, git generated a confusing warning
which caused me to try to apply twice.
Attachment:
signature.asc
Description: Digital signature