Re: [PATCH v8 10/22] counter: Standardize to ERANGE for limit exceeded errors

2021-02-21 Thread Jonathan Cameron
On Tue, 16 Feb 2021 10:26:52 +0900 William Breathitt Gray wrote: > On Sun, Feb 14, 2021 at 05:10:21PM +, Jonathan Cameron wrote: > > On Fri, 12 Feb 2021 21:13:34 +0900 > > William Breathitt Gray wrote: > > > > > ERANGE is a semantically better error code to return when an argument > > > v

Re: [PATCH v8 10/22] counter: Standardize to ERANGE for limit exceeded errors

2021-02-20 Thread David Lechner
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 Cc: Fabrice Gasnier Cc: Maxime Coquelin Cc: Alexandre Torgue Signed-off-by: William Breathi

Re: [PATCH v8 10/22] counter: Standardize to ERANGE for limit exceeded errors

2021-02-15 Thread William Breathitt Gray
On Sun, Feb 14, 2021 at 05:10:21PM +, Jonathan Cameron wrote: > On Fri, 12 Feb 2021 21:13:34 +0900 > 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. > > #define ERAN

Re: [PATCH v8 10/22] counter: Standardize to ERANGE for limit exceeded errors

2021-02-14 Thread Jonathan Cameron
On Fri, 12 Feb 2021 21:13:34 +0900 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. #define ERANGE 34 /* Math result not representable */ Not generally applicable to a

[PATCH v8 10/22] counter: Standardize to ERANGE for limit exceeded errors

2021-02-12 Thread William Breathitt Gray
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 Cc: Fabrice Gasnier Cc: Maxime Coquelin Cc: Alexandre Torgue Signed-off-by: William Breathitt Gray --- drivers/counter/104-quad-8.c|