linux-next/tools/iio
Zhu Jun 3c6b818b09 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>
2024-09-03 18:49:44 +01:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Build tools: iio: Correctly add make dependency for iio_utils 2019-11-10 17:11:06 +00:00
iio_event_monitor.c iio: add modifiers for A and B ultraviolet light 2023-12-04 13:57:24 +00:00
iio_generic_buffer.c tools/iio: Add memory allocation failure check for trigger_name 2024-09-03 18:49:44 +01:00
iio_utils.c tools: iio: replace seekdir() in iio_generic_buffer 2024-01-23 22:06:56 +00:00
iio_utils.h iio: event_monitor: Enable events before monitoring 2021-03-25 19:13:52 +00:00
lsiio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
Makefile kbuild: replace $(if A,A,B) with $(or A,B) 2022-02-15 12:25:56 +09:00