Files
linux/drivers/base/regmap
Pankaj Dubey a110e6d6eb regmap: fix NULL pointer dereference in _regmap_write/read
commit 5336be8416 upstream.

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

Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-10-30 09:35:10 -07:00
..
2013-01-02 10:58:53 +00:00