linux-yocto/tools/iio
Zhu Jun 6dad158fbb tools/iio: Add memory allocation failure check for trigger_name
[ Upstream commit 3c6b818b09 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-17 15:22:17 +02:00
..
.gitignore
Build
iio_event_monitor.c
iio_generic_buffer.c tools/iio: Add memory allocation failure check for trigger_name 2024-10-17 15:22:17 +02:00
iio_utils.c tools: iio: replace seekdir() in iio_generic_buffer 2024-04-13 13:05:16 +02:00
iio_utils.h
lsiio.c
Makefile