diff options
| author | Yang Yingliang <[email protected]> | 2022-04-21 13:43:08 +0000 |
|---|---|---|
| committer | Jernej Skrabec <[email protected]> | 2022-04-25 17:50:53 +0000 |
| commit | f58ca215cda1975f77b2b762903684a3c101bec9 (patch) | |
| tree | b916c11f5af2831bb5f292ba0d4414b1c6bca6d2 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | clk: sunxi-ng: sun6i-rtc: Mark rtc-32k as critical (diff) | |
| download | kernel-f58ca215cda1975f77b2b762903684a3c101bec9.tar.gz kernel-f58ca215cda1975f77b2b762903684a3c101bec9.zip | |
clk: sunxi: sun9i-mmc: check return value after calling platform_get_resource()
It will cause null-ptr-deref if platform_get_resource() returns NULL,
we need check the return value.
Fixes: 7a6fca879f59 ("clk: sunxi: Add driver for A80 MMC config clocks/resets")
Signed-off-by: Yang Yingliang <[email protected]>
Reviewed-by: Samuel Holland <[email protected]>
Signed-off-by: Jernej Skrabec <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
