1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/platform/x86/intel
Dan Carpenter caf23895ce platform/x86: intel_skl_int3472: Uninitialized variable in skl_int3472_handle_gpio_resources()
This function returns negative error codes, zero (to indicate that
everything has been completed successfully) and one (to indicate that
more resources need to be handled still).

This code prints an uninitialized error message when the function
returns one which potentially leads to an Oops.

Fixes: 5de691bffe ("platform/x86: Add intel_skl_int3472 driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Daniel Scally <djrscally@gmail.com>
Link: https://lore.kernel.org/r/YNXTkLNtiTDlFlZa@mwanda
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2021-06-28 11:52:43 +02:00
..
int33fe platform/x86: intel_cht_int33fe: Move to its own subfolder 2021-06-22 11:32:30 +02:00
int3472 platform/x86: intel_skl_int3472: Uninitialized variable in skl_int3472_handle_gpio_resources() 2021-06-28 11:52:43 +02:00
Kconfig platform/x86: intel_cht_int33fe: Move to its own subfolder 2021-06-22 11:32:30 +02:00
Makefile platform/x86: intel_cht_int33fe: Move to its own subfolder 2021-06-22 11:32:30 +02:00