diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-06-25 16:01:04 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-06-28 12:52:43 +0300 |
commit | caf23895ce96e90d8667328144344263ff0e7f1f (patch) | |
tree | 5556b9853690631ff46354e113a7feabfdb8fd24 /drivers/pinctrl/pinctrl-mcp23s08.h | |
parent | 23dcd7497c227a16acdda5e44f141fdc1e660f94 (diff) | |
download | linux-caf23895ce96e90d8667328144344263ff0e7f1f.tar.xz |
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: 5de691bffe57 ("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>
Diffstat (limited to 'drivers/pinctrl/pinctrl-mcp23s08.h')
0 files changed, 0 insertions, 0 deletions