Re: [PATCH] regmap: fix NULL pointer dereference in _regmap_write/read

From: Mark Brown
Date: Sat Sep 27 2014 - 07:20:43 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

This doesn't apply against current code since the same fix has already
been made.

Attachment: signature.asc
Description: Digital signature