android_kernel_motorola_sm6375/tools/iio
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Zhu Jun 33529e2703 tools/iio: Add memory allocation failure check for trigger_name
[ Upstream commit 3c6b818b097dd6932859bcc3d6722a74ec5931c1 ]

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-11-08 16:20:45 +01:00
..
.gitignore tools: iio: add .gitignore 2019-08-18 20:45:57 +01:00
Build iio: tools: move to tools buildsystem 2017-08-09 14:29:36 +01:00
iio_event_monitor.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
iio_generic_buffer.c tools/iio: Add memory allocation failure check for trigger_name 2024-11-08 16:20:45 +01:00
iio_utils.c tools: iio: replace seekdir() in iio_generic_buffer 2024-04-13 12:51:39 +02:00
iio_utils.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
lsiio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
Makefile tools iio: Override CFLAGS assignments 2018-10-21 13:25:42 +01:00