diff options
author | 2022-02-25 05:25:52 -0800 | |
---|---|---|
committer | 2022-03-04 09:08:27 +0100 | |
commit | 5b5ab1bfa1898c6d52936a57c25c5ceba2cb2f87 (patch) | |
tree | caccc4de583c78f5690f3518960597b4c6fe701d /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | memory: emif: Add check for setup_interrupts (diff) | |
download | linux-dev-5b5ab1bfa1898c6d52936a57c25c5ceba2cb2f87.tar.xz linux-dev-5b5ab1bfa1898c6d52936a57c25c5ceba2cb2f87.zip |
memory: emif: check the pointer temp in get_device_details()
The pointer temp is allocated by devm_kzalloc(), so it should be
checked for error handling.
Fixes: 7ec944538dde ("memory: emif: add basic infrastructure for EMIF driver")
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Link: https://lore.kernel.org/r/20220225132552.27894-1-baijiaju1990@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions