Commit 3c6b818b authored by Zhu Jun's avatar Zhu Jun Committed by Jonathan Cameron
Browse files

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: default avatarZhu Jun <zhujun2@cmss.chinamobile.com>
Link: https://patch.msgid.link/20240828093129.3040-1-zhujun2@cmss.chinamobile.com


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent da83fd15
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment