diff options
author | 2023-03-24 10:21:00 -0600 | |
---|---|---|
committer | 2023-04-03 10:48:17 +0530 | |
commit | 446271e5d7bcb5f1c70bc35b11abbd92e6bb4378 (patch) | |
tree | 5ad2d6d8bec10d2ae54734c95dab8fb1395cfd0a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bus: mhi: host: Range check CHDBOFF and ERDBOFF (diff) | |
download | wireguard-linux-446271e5d7bcb5f1c70bc35b11abbd92e6bb4378.tar.xz wireguard-linux-446271e5d7bcb5f1c70bc35b11abbd92e6bb4378.zip |
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 '')
0 files changed, 0 insertions, 0 deletions