[PATCH 0/8] hp-bioscfg: Overall fixes and code cleanup

From: Jorge Lopez
Date: Mon Jul 31 2023 - 16:32:18 EST


Submit individual patches to address memory leaks and uninitialized
variable errors.
Addressed several review comments making the source code more readable.
Removed duplicate use of variable in inner loop.

Changes were tested with a HP EliteBook x360 1030 G3

Jorge Lopez (8):
hp-bioscfg: Fix memory leaks in attribute packages
hp-bioscfg: Fix uninitialized variable errors
hp-bioscfg: Replace the word HACK from source code
hp-bioscfg: Change how prerequisites size is evaluated
hp-bioscfg: Change how order list size is evaluated
hp-bioscfg: Change how enum possible values size is evaluated
hp-bioscfg: Change how password encoding size is evaluated
hp-bioscfg: Remove duplicate use of variable in inner loop

.../x86/hp/hp-bioscfg/enum-attributes.c | 24 ++++++++----
.../x86/hp/hp-bioscfg/int-attributes.c | 15 +++++--
.../x86/hp/hp-bioscfg/order-list-attributes.c | 39 ++++++++++++-------
.../x86/hp/hp-bioscfg/passwdobj-attributes.c | 27 +++++++++----
.../x86/hp/hp-bioscfg/string-attributes.c | 13 +++++--
5 files changed, 82 insertions(+), 36 deletions(-)

--
2.34.1