Re: [PATCH v8 10/22] counter: Standardize to ERANGE for limit exceeded errors
From: David Lechner <david@lechnology.com>
Date: 2021-02-20 16:50:04
Also in:
linux-iio, lkml
From: David Lechner <david@lechnology.com>
Date: 2021-02-20 16:50:04
Also in:
linux-iio, lkml
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 <redacted> Cc: Fabrice Gasnier <redacted> Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com> Cc: Alexandre Torgue <redacted> Signed-off-by: William Breathitt Gray <redacted> ---
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.) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel