diff options
| author | Griffin Kroah-Hartman <griffin@kroah.com> | 2026-07-09 15:24:16 +0200 |
|---|---|---|
| committer | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2026-07-09 15:47:35 +0200 |
| commit | e4a3c99bbf779d6357adb8101ad18f34c2194306 (patch) | |
| tree | 3ba29ff1c04db8f6c98ef7ed2800d91a56db4fd5 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | dc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff) | |
soc: mediatek: mtk-socinfo Add error handling in devm_kasprintf()
Add an error check to the devm_kasprintf() function in
mtk_socinfo_create_socinfo_node(), returning -ENOMEM if the function
failed.
Assisted-by: gkh_clanker_t1000
CC: Matthias Brugger <matthias.bgg@gmail.com>
CC: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Griffin Kroah-Hartman <griffin@kroah.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
