summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJiasheng Jiang <jiasheng@iscas.ac.cn>2022-01-05 15:47:29 +0800
committerPhilipp Zabel <p.zabel@pengutronix.de>2022-04-04 09:37:41 +0200
commit8027a9ad9b3568c5eb49c968ad6c97f279d76730 (patch)
treea31477129dea76d890550fb5d2f2edde947701cc /tools/perf/scripts/python/export-to-sqlite.py
parent3123109284176b1532874591f7c81f3837bbdc17 (diff)
drm/imx: imx-ldb: Check for null pointer after calling kmemdup
As the possible failure of the allocation, kmemdup() may return NULL pointer. Therefore, it should be better to check the return value of kmemdup() and return error if fails. Fixes: dc80d7038883 ("drm/imx-ldb: Add support to drm-bridge") Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Link: https://lore.kernel.org/r/20220105074729.2363657-1-jiasheng@iscas.ac.cn
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions