From: Daniel Thompson <hidden> Date: 2023-08-09 16:38:32
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 <aweber.kernel@gmail.com>
Fixes: 5145531be5fb ("backlight: lp855x: Catch errors when changing brightness")
Reported-by: kernel test robot <redacted>
Closes: https://lore.kernel.org/oe-kbuild-all/202308091728.NEJhgUPP-lkp@intel.com/
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 <aweber.kernel@gmail.com>
Fixes: 5145531be5fb ("backlight: lp855x: Catch errors when changing brightness")
Reported-by: kernel test robot <redacted>
Closes: https://lore.kernel.org/oe-kbuild-all/202308091728.NEJhgUPP-lkp@intel.com/
From: Lee Jones <lee@kernel.org> Date: 2023-08-18 15:39:06
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 ret variable in brightness change function
commit: dfd122fe8591d513b5e51313601217b67ae98d13
--
Lee Jones [李琼斯]