diff options
author | Zhu Jun <zhujun2@cmss.chinamobile.com> | 2024-08-28 02:31:29 -0700 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-09-03 18:49:44 +0100 |
commit | 3c6b818b097dd6932859bcc3d6722a74ec5931c1 (patch) | |
tree | 1867b2ebc7a793dcfcefc31466ac4302884e9256 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | da83fd152e544c2222b2e098a3ce0f704617eb24 (diff) |
tools/iio: Add memory allocation failure check for trigger_name
Added a check to handle memory allocation failure for `trigger_name`
and return `-ENOMEM`.
Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
Link: https://patch.msgid.link/20240828093129.3040-1-zhujun2@cmss.chinamobile.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions