diff options
| author | Andy Shevchenko <[email protected]> | 2023-10-19 20:34:55 +0300 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2023-10-20 11:24:16 +0200 |
| commit | 479ac419206b5fe4ce4e40de61ac3210a36711aa (patch) | |
| tree | ae1393dd2c69bc50c4827bd6c259e59e0a08d54f /tools/include/linux/overflow.h | |
| parent | fc363413ef8ea842ae7a99e3caf5465dafdd3a49 (diff) | |
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 <[email protected]>
Fixes: 16ba046e86e9 ("gpiolib: acpi: teach acpi_find_gpio() to handle data-only nodes")
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Dmitry Torokhov <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions