diff options
| author | Yang Yingliang <[email protected]> | 2022-04-22 11:28:54 +0800 |
|---|---|---|
| committer | Heiko Stuebner <[email protected]> | 2022-05-02 23:22:05 +0200 |
| commit | f8c242908ad15bbd604d3bcb54961b7d454c43f8 (patch) | |
| tree | 81c4cc51b0370cae84b9364bc5fbd2fd411af1e2 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 6a47a16dcef3fdda79a95452964d001a620db473 (diff) | |
drm/rockchip: vop: fix possible null-ptr-deref in vop_bind()
It will cause null-ptr-deref in resource_size(), if platform_get_resource()
returns NULL, move calling resource_size() after devm_ioremap_resource() that
will check 'res' to avoid null-ptr-deref.
Fixes: 2048e3286f34 ("drm: rockchip: Add basic drm driver")
Signed-off-by: Yang Yingliang <[email protected]>
Signed-off-by: Heiko Stuebner <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions