diff options
author | YueHaibing <[email protected]> | 2019-01-23 14:58:27 +0800 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2019-01-29 15:09:16 +0100 |
commit | 32937a82f36c7bbe08db4052de94bc7ade4e3c51 (patch) | |
tree | d392b8fedd848a767912859fe2bde3910ca83d6b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2431c4f5b46c32c4ac495456b1ef4ce59c0bb85d (diff) |
mtd: docg3: Fix passing zero to 'PTR_ERR' warning in doc_probe_device
Fix a static code checker warning:
drivers/mtd/devices/docg3.c:1875
doc_probe_device() warn: passing zero to 'ERR_PTR'
Fixes: ae9d4934b2d7 ("mtd: docg3: add multiple floor support")
Signed-off-by: YueHaibing <[email protected]>
Acked-by: Robert Jarzmik <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions