platform/x86: hp-bioscfg: Replace the word HACK from source code
authorJorge Lopez <jorge.lopez2@hp.com>
Mon, 31 Jul 2023 20:31:36 +0000 (15:31 -0500)
committerHans de Goede <hdegoede@redhat.com>
Mon, 7 Aug 2023 11:34:42 +0000 (13:34 +0200)
Replace the word 'HACK' with 'step' from source code

Signed-off-by: Jorge Lopez <jorge.lopez2@hp.com>
Link: https://lore.kernel.org/r/20230731203141.30044-4-jorge.lopez2@hp.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c
drivers/platform/x86/hp/hp-bioscfg/int-attributes.c
drivers/platform/x86/hp/hp-bioscfg/order-list-attributes.c
drivers/platform/x86/hp/hp-bioscfg/passwdobj-attributes.c
drivers/platform/x86/hp/hp-bioscfg/string-attributes.c

index 7f77963cd7fa12684da7ae6298479c7ba4f1a492..50855ff4892651e42167ddd093064ddef8eb4e42 100644 (file)
@@ -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");
 
                        /*
-                        * 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
                         * when the size is zero. PREREQUISITES
                         * 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
                                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
                         * when the size is zero. POSSIBLE_VALUES
                         * object is omitted by BIOS when the size is zero.
index 97f88e0ef0cc65633234b78b71c47d7d31fc0270..a45919616fa86177c5cf0d27edd29b88adf06419 100644 (file)
@@ -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)
                                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
                         * when the size is zero. PREREQUISITES
                         * object is omitted by BIOS when the size is
index 89e67db733ebf8d623e83c2d8e75af71219805a4..aba7d26b54b25c22893d349271cc0cb9c1decbbb 100644 (file)
@@ -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");
 
                        /*
-                        * 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
                         * when the size is zero. PREREQUISITES
                         * 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
                        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");
                        /*
-                        * 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
                         * when the size is zero. ORD_LIST_ELEMENTS
                         * object is omitted by BIOS when the size is
index 5e833ea0c5e3d083f2684d9c7669f3a7ad25f10f..3840380a5aee1c49f937cca26a8bf1941d1d2c69 100644 (file)
@@ -293,7 +293,7 @@ static int hp_populate_password_elements_from_package(union acpi_object *passwor
                        if (int_value > MAX_PREREQUISITES_SIZE)
                                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
                         * when the size is zero. PREREQUISITES
                         * 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
                        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");
 
-                       /* 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
                         * when the size is zero. PSWD_ENCODINGS
                         * object is omitted by BIOS when the size is
index e0ecdfca4def464d04697e793a8d954dac7d49ac..378cedb502ba509c127c73d5bf59d3e49e32da2e 100644 (file)
@@ -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)
                                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
                         * when the size is zero. PREREQUISITES
                         * object is omitted by BIOS when the size is