diff options
author | 2023-10-19 20:34:55 +0300 | |
---|---|---|
committer | 2023-10-20 11:24:16 +0200 | |
commit | 479ac419206b5fe4ce4e40de61ac3210a36711aa (patch) | |
tree | ae1393dd2c69bc50c4827bd6c259e59e0a08d54f /scripts/generate_rust_analyzer.py | |
parent | gpio: vf610: set value before the direction to avoid a glitch (diff) | |
download | linux-rng-479ac419206b5fe4ce4e40de61ac3210a36711aa.tar.xz linux-rng-479ac419206b5fe4ce4e40de61ac3210a36711aa.zip |
gpiolib: acpi: Add missing memset(0) to acpi_get_gpiod_from_data()
When refactoring the acpi_get_gpiod_from_data() the change missed
cleaning up the variable on stack. Add missing memset().
Reported-by: Ferry Toth <ftoth@exalondelft.nl>
Fixes: 16ba046e86e9 ("gpiolib: acpi: teach acpi_find_gpio() to handle data-only nodes")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions