diff options
| author | Cheng-Yang Chou <yphbchou0911@gmail.com> | 2026-02-22 16:25:22 +0800 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-02-23 07:45:10 -1000 |
| commit | 1f0638604f65dae9fc8b6ce937907daf5f0132d0 (patch) | |
| tree | c09a627827116cd8d1a7d31253d087d091af5a2f /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 9d851afa482680bdd7c158cc8720284dc9ecb5fe (diff) | |
selftests/sched_ext: Fix unused-result warning for read()
The read() call in run_test() triggers a warn_unused_result compiler
warning, which breaks the build under -Werror.
Check the return value of read() and exit the child process on failure to
satisfy the compiler and handle pipe read errors.
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Cheng-Yang Chou <yphbchou0911@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
