diff options
author | 2019-02-28 08:48:49 +0300 | |
---|---|---|
committer | 2019-03-27 23:32:26 -0500 | |
commit | 93b260528020792032e50725383f27a27897bb0f (patch) | |
tree | bfe3de25efa01f6791b153fe9d6b0078b0826f87 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | soc: qcom: qmi: Change txn wait to non-interruptible (diff) | |
download | wireguard-linux-93b260528020792032e50725383f27a27897bb0f.tar.xz wireguard-linux-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 <dan.carpenter@oracle.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions