diff options
| author | Kevin Tang <[email protected]> | 2022-01-16 23:55:47 +0800 |
|---|---|---|
| committer | kevin3.tang <[email protected]> | 2022-02-14 21:53:14 +0800 |
| commit | 8668658aebb0a19d877d5a81c004baf716c4aaa6 (patch) | |
| tree | adabe90b9875995cabc09cfef651c3f006e0faa9 /scripts/gdb/linux/lists.py | |
| parent | cecece2ca505dcd47359ae21e3b37ca1f57c08e4 (diff) | |
drm/sprd: fix potential NULL dereference
'drm' could be null in sprd_drm_shutdown, and drm_warn maybe dereference
it, remove this warning log.
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Kevin Tang <[email protected]>
Reviewed-by: Javier Martinez Canillas <[email protected]>
Acked-by: Thomas Zimmermann <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
v1 -> v2:
- Split checking platform_get_resource() return value to a separate patch
- Use dev_warn() instead of removing the warning log
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions