aboutsummaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorArtur Weber <aweber.kernel@gmail.com>2023-08-09 13:42:16 +0200
committerLee Jones <lee@kernel.org>2023-08-18 16:37:51 +0100
commitdfd122fe8591d513b5e51313601217b67ae98d13 (patch)
tree35169717806e11144bb06839aec448744db68b2d /scripts/rustdoc_test_builder.rs
parentfe1328b5b2a087221e31da77e617f4c2b70f3b7f (diff)
backlight: lp855x: Drop ret variable in brightness change function
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 <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202308091728.NEJhgUPP-lkp@intel.com/ Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Reviewed-by: Nathan Chancellor <nathan@kernel.org> Link: https://lore.kernel.org/r/20230809114216.4078-1-aweber.kernel@gmail.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions