Re: (subset) [PATCH] backlight: lp855x: Drop ret variable in brightness change function

2023-08-18 Thread Lee Jones
On Wed, 09 Aug 2023 13:42:16 +0200, Artur Weber wrote: > Fixes the following warning: > > drivers/video/backlight/lp855x_bl.c:252:7: warning: variable 'ret' is used > uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] > > Applied, thanks! [1/1] backlight: lp855x: Drop r

Re: [PATCH] backlight: lp855x: Drop ret variable in brightness change function

2023-08-15 Thread Nathan Chancellor
On Wed, Aug 09, 2023 at 01:42:16PM +0200, Artur Weber wrote: > Fixes the following warning: > > drivers/video/backlight/lp855x_bl.c:252:7: warning: variable 'ret' is used > uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] > > Signed-off-by: Artur Weber > Fixes: 5145531b

Re: [PATCH] backlight: lp855x: Drop ret variable in brightness change function

2023-08-09 Thread Daniel Thompson
On Wed, Aug 09, 2023 at 01:42:16PM +0200, Artur Weber wrote: > Fixes the following warning: > > drivers/video/backlight/lp855x_bl.c:252:7: warning: variable 'ret' is used > uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] > > Signed-off-by: Artur Weber > Fixes: 5145531be5

[PATCH] backlight: lp855x: Drop ret variable in brightness change function

2023-08-09 Thread Artur Weber
Fixes the following warning: drivers/video/backlight/lp855x_bl.c:252:7: warning: variable 'ret' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] Signed-off-by: Artur Weber Fixes: 5145531be5fb ("backlight: lp855x: Catch errors when changing brightness") Reported-