diff options
author | Jeffrey Hugo <[email protected]> | 2023-03-24 10:21:00 -0600 |
---|---|---|
committer | Manivannan Sadhasivam <[email protected]> | 2023-04-03 10:48:17 +0530 |
commit | 446271e5d7bcb5f1c70bc35b11abbd92e6bb4378 (patch) | |
tree | 5ad2d6d8bec10d2ae54734c95dab8fb1395cfd0a /drivers/fpga/fpga-bridge.c | |
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 <[email protected]>
Signed-off-by: Jeffrey Hugo <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions