diff options
author | Jorge Lopez <[email protected]> | 2023-07-31 15:31:35 -0500 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2023-08-07 13:34:38 +0200 |
commit | 80d7ba3020fdb64c43073b832ae593234b9b79da (patch) | |
tree | 98eac7a00033c77964f9ecde96c87273e03e874a /drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c | |
parent | 467d41638113b6cab28f5c87dced2fa1f9527479 (diff) |
platform/x86: hp-bioscfg: Fix uninitialized variable errors
Fix uninitialized variable errors.
Signed-off-by: Jorge Lopez <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c')
-rw-r--r-- | drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c b/drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c index 8e615ccfc9b5..7f77963cd7fa 100644 --- a/drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c +++ b/drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c @@ -129,7 +129,7 @@ static int hp_populate_enumeration_elements_from_package(union acpi_object *enum char *str_value = NULL; int value_len; u32 size = 0; - u32 int_value; + u32 int_value = 0; int elem = 0; int reqs; int pos_values; |