aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_stackinit.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2019-02-28 05:48:49 +0000
committerAndy Gross <[email protected]>2019-03-28 04:32:26 +0000
commit93b260528020792032e50725383f27a27897bb0f (patch)
treebfe3de25efa01f6791b153fe9d6b0078b0826f87 /lib/test_stackinit.c
parentsoc: qcom: qmi: Change txn wait to non-interruptible (diff)
downloadkernel-93b260528020792032e50725383f27a27897bb0f.tar.gz
kernel-93b260528020792032e50725383f27a27897bb0f.zip
soc: qcom: cmd-db: Fix an error code in cmd_db_dev_probe()
The memremap() function doesn't return error pointers, it returns NULL. This code is returning "ret = PTR_ERR(NULL);" which is success, but it should return -ENOMEM. Fixes: 312416d9171a ("drivers: qcom: add command DB driver") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Signed-off-by: Andy Gross <[email protected]>
Diffstat (limited to 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions