diff options
author | Jeffrey Hugo <quic_jhugo@quicinc.com> | 2023-03-24 10:21:00 -0600 |
---|---|---|
committer | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2023-04-03 10:48:17 +0530 |
commit | 446271e5d7bcb5f1c70bc35b11abbd92e6bb4378 (patch) | |
tree | 5ad2d6d8bec10d2ae54734c95dab8fb1395cfd0a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6a0c637bfee69a74c104468544d9f2a6579626d0 (diff) |
bus: mhi: host: Use ERANGE for BHIOFF/BHIEOFF range check
If the BHIOFF or BHIEOFF range checks fail, they return EINVAL. ERANGE
is a better error code since it implies an out of range condition.
Suggested-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://lore.kernel.org/r/1679674860-28229-1-git-send-email-quic_jhugo@quicinc.com
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions