diff options
author | Pankaj Dubey | 2014-09-27 06:17:55 +0200 |
---|---|---|
committer | Mark Brown | 2014-09-27 13:21:15 +0200 |
commit | 5336be8416a71b5568d2cf54a2f2066abe9f2a53 (patch) | |
tree | 6df5a5f1c43b18fd95882aedbb44a7565675c1a4 /drivers/cpuidle/cpuidle-mvebu-v7.c | |
parent | Linux 3.17-rc1 (diff) | |
download | kernel-qcow2-linux-5336be8416a71b5568d2cf54a2f2066abe9f2a53.tar.gz kernel-qcow2-linux-5336be8416a71b5568d2cf54a2f2066abe9f2a53.tar.xz kernel-qcow2-linux-5336be8416a71b5568d2cf54a2f2066abe9f2a53.zip |
regmap: fix NULL pointer dereference in _regmap_write/read
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>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/cpuidle/cpuidle-mvebu-v7.c')
0 files changed, 0 insertions, 0 deletions