diff options
| author | Umang Jain <[email protected]> | 2024-09-18 22:00:58 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-10-09 11:58:47 +0200 |
| commit | 80f8ea98e43e2b3e62c576af0a60efba9608d8f1 (patch) | |
| tree | 1e51a0861c8b7ecc70f1b2484fcd695964de5147 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 72925dec88342c50ca3a39c91f6614d6921bb46f (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions