Commit a585400b authored by Jorge Lopez's avatar Jorge Lopez Committed by Hans de Goede

platform/x86: hp-bioscfg: Replace the word HACK from source code

Replace the word 'HACK' with 'step' from source code
Signed-off-by: default avatarJorge Lopez <jorge.lopez2@hp.com>
Link: https://lore.kernel.org/r/20230731203141.30044-4-jorge.lopez2@hp.comReviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 80d7ba30
...@@ -195,7 +195,7 @@ static int hp_populate_enumeration_elements_from_package(union acpi_object *enum ...@@ -195,7 +195,7 @@ static int hp_populate_enumeration_elements_from_package(union acpi_object *enum
pr_warn("Prerequisites size value exceeded the maximum number of elements supported or data may be malformed\n"); pr_warn("Prerequisites size value exceeded the maximum number of elements supported or data may be malformed\n");
/* /*
* This HACK is needed to keep the expected * This step is needed to keep the expected
* element list pointing to the right obj[elem].type * element list pointing to the right obj[elem].type
* when the size is zero. PREREQUISITES * when the size is zero. PREREQUISITES
* object is omitted by BIOS when the size is * object is omitted by BIOS when the size is
...@@ -243,7 +243,7 @@ static int hp_populate_enumeration_elements_from_package(union acpi_object *enum ...@@ -243,7 +243,7 @@ static int hp_populate_enumeration_elements_from_package(union acpi_object *enum
pr_warn("Possible number values size value exceeded the maximum number of elements supported or data may be malformed\n"); pr_warn("Possible number values size value exceeded the maximum number of elements supported or data may be malformed\n");
/* /*
* This HACK is needed to keep the expected * This step is needed to keep the expected
* element list pointing to the right obj[elem].type * element list pointing to the right obj[elem].type
* when the size is zero. POSSIBLE_VALUES * when the size is zero. POSSIBLE_VALUES
* object is omitted by BIOS when the size is zero. * object is omitted by BIOS when the size is zero.
......
...@@ -211,7 +211,7 @@ static int hp_populate_integer_elements_from_package(union acpi_object *integer_ ...@@ -211,7 +211,7 @@ static int hp_populate_integer_elements_from_package(union acpi_object *integer_
if (integer_data->common.prerequisites_size > MAX_PREREQUISITES_SIZE) if (integer_data->common.prerequisites_size > MAX_PREREQUISITES_SIZE)
pr_warn("Prerequisites size value exceeded the maximum number of elements supported or data may be malformed\n"); pr_warn("Prerequisites size value exceeded the maximum number of elements supported or data may be malformed\n");
/* /*
* This HACK is needed to keep the expected * This step is needed to keep the expected
* element list pointing to the right obj[elem].type * element list pointing to the right obj[elem].type
* when the size is zero. PREREQUISITES * when the size is zero. PREREQUISITES
* object is omitted by BIOS when the size is * object is omitted by BIOS when the size is
......
...@@ -207,7 +207,7 @@ static int hp_populate_ordered_list_elements_from_package(union acpi_object *ord ...@@ -207,7 +207,7 @@ static int hp_populate_ordered_list_elements_from_package(union acpi_object *ord
pr_warn("Prerequisites size value exceeded the maximum number of elements supported or data may be malformed\n"); pr_warn("Prerequisites size value exceeded the maximum number of elements supported or data may be malformed\n");
/* /*
* This HACK is needed to keep the expected * This step is needed to keep the expected
* element list pointing to the right obj[elem].type * element list pointing to the right obj[elem].type
* when the size is zero. PREREQUISITES * when the size is zero. PREREQUISITES
* object is omitted by BIOS when the size is * object is omitted by BIOS when the size is
...@@ -245,7 +245,7 @@ static int hp_populate_ordered_list_elements_from_package(union acpi_object *ord ...@@ -245,7 +245,7 @@ static int hp_populate_ordered_list_elements_from_package(union acpi_object *ord
if (int_value > MAX_ELEMENTS_SIZE) if (int_value > MAX_ELEMENTS_SIZE)
pr_warn("Ordered List size value exceeded the maximum number of elements supported or data may be malformed\n"); pr_warn("Ordered List size value exceeded the maximum number of elements supported or data may be malformed\n");
/* /*
* This HACK is needed to keep the expected * This step is needed to keep the expected
* element list pointing to the right obj[elem].type * element list pointing to the right obj[elem].type
* when the size is zero. ORD_LIST_ELEMENTS * when the size is zero. ORD_LIST_ELEMENTS
* object is omitted by BIOS when the size is * object is omitted by BIOS when the size is
......
...@@ -293,7 +293,7 @@ static int hp_populate_password_elements_from_package(union acpi_object *passwor ...@@ -293,7 +293,7 @@ static int hp_populate_password_elements_from_package(union acpi_object *passwor
if (int_value > MAX_PREREQUISITES_SIZE) if (int_value > MAX_PREREQUISITES_SIZE)
pr_warn("Prerequisites size value exceeded the maximum number of elements supported or data may be malformed\n"); pr_warn("Prerequisites size value exceeded the maximum number of elements supported or data may be malformed\n");
/* This HACK is needed to keep the expected /* This step is needed to keep the expected
* element list pointing to the right obj[elem].type * element list pointing to the right obj[elem].type
* when the size is zero. PREREQUISITES * when the size is zero. PREREQUISITES
* object is omitted by BIOS when the size is * object is omitted by BIOS when the size is
...@@ -337,7 +337,7 @@ static int hp_populate_password_elements_from_package(union acpi_object *passwor ...@@ -337,7 +337,7 @@ static int hp_populate_password_elements_from_package(union acpi_object *passwor
if (int_value > MAX_ENCODINGS_SIZE) if (int_value > MAX_ENCODINGS_SIZE)
pr_warn("Password Encoding size value exceeded the maximum number of elements supported or data may be malformed\n"); pr_warn("Password Encoding size value exceeded the maximum number of elements supported or data may be malformed\n");
/* This HACK is needed to keep the expected /* This step is needed to keep the expected
* element list pointing to the right obj[elem].type * element list pointing to the right obj[elem].type
* when the size is zero. PSWD_ENCODINGS * when the size is zero. PSWD_ENCODINGS
* object is omitted by BIOS when the size is * object is omitted by BIOS when the size is
......
...@@ -203,7 +203,7 @@ static int hp_populate_string_elements_from_package(union acpi_object *string_ob ...@@ -203,7 +203,7 @@ static int hp_populate_string_elements_from_package(union acpi_object *string_ob
if (string_data->common.prerequisites_size > MAX_PREREQUISITES_SIZE) if (string_data->common.prerequisites_size > MAX_PREREQUISITES_SIZE)
pr_warn("Prerequisites size value exceeded the maximum number of elements supported or data may be malformed\n"); pr_warn("Prerequisites size value exceeded the maximum number of elements supported or data may be malformed\n");
/* /*
* This HACK is needed to keep the expected * This step is needed to keep the expected
* element list pointing to the right obj[elem].type * element list pointing to the right obj[elem].type
* when the size is zero. PREREQUISITES * when the size is zero. PREREQUISITES
* object is omitted by BIOS when the size is * object is omitted by BIOS when the size is
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment