| Subject | Re: [PATCH v8 10/22] counter: Standardize to ERANGE for limit exceeded errors | From | David Lechner <> | Date | Sat, 20 Feb 2021 10:48:45 -0600 |
| |
On 2/12/21 6:13 AM, William Breathitt Gray wrote: > ERANGE is a semantically better error code to return when an argument > value falls outside the supported limit range of a device. > > Cc: Syed Nayyar Waris <syednwaris@gmail.com> > Cc: Fabrice Gasnier <fabrice.gasnier@st.com> > Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com> > Cc: Alexandre Torgue <alexandre.torgue@st.com> > Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> > ---
Reviewed-by: David Lechner <david@lechnology.com>
(I agree with William's assessment that this use of ERANGE is consistent with other uses in the kernel.)
|