aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-07-19 11:45:02 +0300
committerSui Jingfeng <[email protected]>2023-08-04 13:31:32 +0800
commitb0e9267d4ccce9be9217337f4bc364ca24cf7f73 (patch)
tree99d3ca92eda9a2e80cb59a86f6647a5e8e113c8d /tools/perf/scripts/python/exported-sql-viewer.py
parente4774e9968b26dc5d225ce629af8081ddab0029a (diff)
drm/loongson: Add a check for lsdc_bo_create() errors
This code doesn't check for lsdc_bo_create() failure and it could lead to a crash. It can fail for a variety of reasons, but the most common cause would be low memory. Add a check. Fixes: f39db26c5428 ("drm: Add kms driver for loongson display controller") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Sui Jingfeng <[email protected]> Signed-off-by: Sui Jingfeng <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/ZLeijglIMPve2Iio@kadam
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions