From: Thomas Weißschuh <linux@weissschuh.net> Date: 2021-09-07 12:48:04
backlight.h documents "struct backlight_ops->get_brightness()" to return
a negative errno on failure.
So far these errors have not been handled in the backlight core.
This leads to negative values being exposed through sysfs although only
positive values are documented to be reported.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
v1: https://lore.kernel.org/dri-devel/20210906215525.15418-1-linux@weissschuh.net/
v1 -> v2:
* use dev_err() instead of dev_warn() (Daniel Thompson)
* Finish logging format string with newline (Daniel Thompson)
* Log errno via dedicated error pointer format (Daniel Thompson)
drivers/video/backlight/backlight.c | 22 +++++++++++++++++-----
1 file changed, 17 insertions(+), 5 deletions(-)
From: Daniel Thompson <hidden> Date: 2021-09-07 13:10:14
On Tue, Sep 07, 2021 at 02:47:51PM +0200, Thomas Weißschuh wrote:
backlight.h documents "struct backlight_ops->get_brightness()" to return
a negative errno on failure.
So far these errors have not been handled in the backlight core.
This leads to negative values being exposed through sysfs although only
positive values are documented to be reported.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Daniel Thompson <redacted>
quoted hunk
---
v1: https://lore.kernel.org/dri-devel/20210906215525.15418-1-linux@weissschuh.net/
v1 -> v2:
* use dev_err() instead of dev_warn() (Daniel Thompson)
* Finish logging format string with newline (Daniel Thompson)
* Log errno via dedicated error pointer format (Daniel Thompson)
drivers/video/backlight/backlight.c | 22 +++++++++++++++++-----
1 file changed, 17 insertions(+), 5 deletions(-)
From: Thomas Weißschuh <linux@weissschuh.net> Date: 2021-09-07 14:52:42
On 2021-09-07T14:10+0100, Daniel Thompson wrote:
On Tue, Sep 07, 2021 at 02:47:51PM +0200, Thomas Weißschuh wrote:
quoted
backlight.h documents "struct backlight_ops->get_brightness()" to return
a negative errno on failure.
So far these errors have not been handled in the backlight core.
This leads to negative values being exposed through sysfs although only
positive values are documented to be reported.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
From: Thomas Weißschuh <linux@weissschuh.net> Date: 2021-09-21 14:50:14
On 2021-09-07T14:47+0200, Thomas Weißschuh wrote:
backlight.h documents "struct backlight_ops->get_brightness()" to return
a negative errno on failure.
So far these errors have not been handled in the backlight core.
This leads to negative values being exposed through sysfs although only
positive values are documented to be reported.
From: Lee Jones <hidden> Date: 2021-09-21 14:56:20
On Tue, 21 Sep 2021, Thomas Weißschuh wrote:
On 2021-09-07T14:47+0200, Thomas Weißschuh wrote:
quoted
backlight.h documents "struct backlight_ops->get_brightness()" to return
a negative errno on failure.
So far these errors have not been handled in the backlight core.
This leads to negative values being exposed through sysfs although only
positive values are documented to be reported.
quoted
[..]
Friendly ping.
Don't do that. If you think the submission has been forgotten about
(it hasn't), then please submit a [RESEND]. As it happens, this is on
my TOREVEW list. I just need to get around to it post-vacation.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
From: Lee Jones <hidden> Date: 2021-09-23 09:48:41
On Tue, 07 Sep 2021, Thomas Weißschuh wrote:
backlight.h documents "struct backlight_ops->get_brightness()" to return
a negative errno on failure.
So far these errors have not been handled in the backlight core.
This leads to negative values being exposed through sysfs although only
positive values are documented to be reported.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
v1: https://lore.kernel.org/dri-devel/20210906215525.15418-1-linux@weissschuh.net/
v1 -> v2:
* use dev_err() instead of dev_warn() (Daniel Thompson)
* Finish logging format string with newline (Daniel Thompson)
* Log errno via dedicated error pointer format (Daniel Thompson)
drivers/video/backlight/backlight.c | 22 +++++++++++++++++-----
1 file changed, 17 insertions(+), 5 deletions(-)
Applied, thanks.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
From: Thomas Weißschuh <linux@weissschuh.net> Date: 2021-09-23 10:49:54
On 2021-09-23T10:48+0100, Lee Jones wrote:
On Tue, 07 Sep 2021, Thomas Weißschuh wrote:
quoted
backlight.h documents "struct backlight_ops->get_brightness()" to return
a negative errno on failure.
So far these errors have not been handled in the backlight core.
This leads to negative values being exposed through sysfs although only
positive values are documented to be reported.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
v1: https://lore.kernel.org/dri-devel/20210906215525.15418-1-linux@weissschuh.net/
v1 -> v2:
* use dev_err() instead of dev_warn() (Daniel Thompson)
* Finish logging format string with newline (Daniel Thompson)
* Log errno via dedicated error pointer format (Daniel Thompson)
drivers/video/backlight/backlight.c | 22 +++++++++++++++++-----
1 file changed, 17 insertions(+), 5 deletions(-)
Applied, thanks.
Hi Lee,
thanks!
Also I'm sorry about my nagging before.
I was not aware you were on vacation and saw you respond to other mails.
Thomas
From: Lee Jones <hidden> Date: 2021-09-23 13:43:35
On Thu, 23 Sep 2021, Thomas Weißschuh wrote:
On 2021-09-23T10:48+0100, Lee Jones wrote:
quoted
On Tue, 07 Sep 2021, Thomas Weißschuh wrote:
quoted
backlight.h documents "struct backlight_ops->get_brightness()" to return
a negative errno on failure.
So far these errors have not been handled in the backlight core.
This leads to negative values being exposed through sysfs although only
positive values are documented to be reported.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
v1: https://lore.kernel.org/dri-devel/20210906215525.15418-1-linux@weissschuh.net/
v1 -> v2:
* use dev_err() instead of dev_warn() (Daniel Thompson)
* Finish logging format string with newline (Daniel Thompson)
* Log errno via dedicated error pointer format (Daniel Thompson)
drivers/video/backlight/backlight.c | 22 +++++++++++++++++-----
1 file changed, 17 insertions(+), 5 deletions(-)
Applied, thanks.
Hi Lee,
thanks!
Also I'm sorry about my nagging before.
No worries.
I was not aware you were on vacation and saw you respond to other mails.
They were in the queue before this one.
I had hundreds of emails to get through on my return!
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog