diff options
| author | Umang Jain <umang.jain@ideasonboard.com> | 2024-09-18 19:30:58 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-10-09 12:58:47 +0300 |
| commit | 80f8ea98e43e2b3e62c576af0a60efba9608d8f1 (patch) | |
| tree | 1e51a0861c8b7ecc70f1b2484fcd695964de5147 /scripts | |
| parent | 72925dec88342c50ca3a39c91f6614d6921bb46f (diff) | |
| download | linux-80f8ea98e43e2b3e62c576af0a60efba9608d8f1.tar.xz | |
staging: vchiq_core: Return -EINTR when bulk transfers are interrupted
Bulk transfers for various VCHIQ modes use mutex_lock_killable() and
wait_for_completion_killable() variations. Currently, -EAGAIN is
returned if these are interrupted by a fatal signal.
-EAGAIN may mislead the caller into thinking the operation can be
retried, while in reality, the process has received a fatal signal
and is terminating. Therefore, we should update the return value to
align with what these killable functions would return, specifically
-EINTR (Interrupted system call).
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Link: https://lore.kernel.org/r/20240918163100.870596-5-umang.jain@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
