aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorHui Tang <[email protected]>2022-11-19 13:55:18 +0800
committerDmitry Baryshkov <[email protected]>2023-01-08 22:18:46 +0200
commit21e9a838f505178e109ccb3bf19d7808eb0326f4 (patch)
treed40615ee2661691d382ea56901f8c35ff1d033bc /tools/perf/scripts/python/flamegraph.py
parenta685d27f220118bb770e2c1a9a50dcc100309e63 (diff)
drm/msm/dpu: check for null return of devm_kzalloc() in dpu_writeback_init()
Because of the possilble failure of devm_kzalloc(), dpu_wb_conn might be NULL and will cause null pointer dereference later. Therefore, it might be better to check it and directly return -ENOMEM. Fixes: 77b001acdcfe ("drm/msm/dpu: add the writeback connector layer") Signed-off-by: Hui Tang <[email protected]> Reviewed-by: Abhinav Kumar <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/512277/ Link: https://lore.kernel.org/r/[email protected] [DB: fixed typo in commit message] Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions