diff options
author | Suraj Sonawane <surajsonawane0215@gmail.com> | 2024-10-16 09:51:42 +0530 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-10-16 08:52:40 +0100 |
commit | 6cbf5c99541ac681cf5c6155b582dfbcd879eae3 (patch) | |
tree | 8991781e1c1ab0cae9ff2a1d02a14233c3d169a9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 681d5fa6440cf0fd3f561638c598db18aa77e641 (diff) | |
download | linux-6cbf5c99541ac681cf5c6155b582dfbcd879eae3.tar.gz linux-6cbf5c99541ac681cf5c6155b582dfbcd879eae3.tar.bz2 linux-6cbf5c99541ac681cf5c6155b582dfbcd879eae3.zip |
leds: rgb: leds-mt6370-rgb: Fix uninitialized variable 'ret' in mt6370_mc_pattern_clear
Fix the uninitialized symbol 'ret' in the function mt6370_mc_pattern_clear
to resolve the following warning:
drivers/leds/rgb/leds-mt6370-rgb.c:604 mt6370_mc_pattern_clear()
error: uninitialized symbol 'ret'.
Initialize 'ret' to 0 to prevent undefined behavior from uninitialized
access.
Signed-off-by: Suraj Sonawane <surajsonawane0215@gmail.com>
Link: https://lore.kernel.org/r/20241016042142.8088-1-surajsonawane0215@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions