aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorPankaj Dubey <[email protected]>2014-09-27 09:47:55 +0530
committerMark Brown <[email protected]>2014-09-27 12:21:15 +0100
commit5336be8416a71b5568d2cf54a2f2066abe9f2a53 (patch)
tree6df5a5f1c43b18fd95882aedbb44a7565675c1a4 /lib/mpi/mpiutil.c
parent7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff)
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 <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions