Thread (67 messages) 67 messages, 5 authors, 2021-02-28

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

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help