aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/psargs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpica/psargs.c')
-rw-r--r--drivers/acpi/acpica/psargs.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/psargs.c b/drivers/acpi/acpica/psargs.c
index 5ac36aba507c..844464c4f901 100644
--- a/drivers/acpi/acpica/psargs.c
+++ b/drivers/acpi/acpica/psargs.c
@@ -210,7 +210,7 @@ char *acpi_ps_get_next_namestring(struct acpi_parse_state *parser_state)
210 * FUNCTION: acpi_ps_get_next_namepath 210 * FUNCTION: acpi_ps_get_next_namepath
211 * 211 *
212 * PARAMETERS: parser_state - Current parser state object 212 * PARAMETERS: parser_state - Current parser state object
213 * Arg - Where the namepath will be stored 213 * arg - Where the namepath will be stored
214 * arg_count - If the namepath points to a control method 214 * arg_count - If the namepath points to a control method
215 * the method's argument is returned here. 215 * the method's argument is returned here.
216 * possible_method_call - Whether the namepath can possibly be the 216 * possible_method_call - Whether the namepath can possibly be the
@@ -379,7 +379,7 @@ acpi_ps_get_next_namepath(struct acpi_walk_state *walk_state,
379 * 379 *
380 * PARAMETERS: parser_state - Current parser state object 380 * PARAMETERS: parser_state - Current parser state object
381 * arg_type - The argument type (AML_*_ARG) 381 * arg_type - The argument type (AML_*_ARG)
382 * Arg - Where the argument is returned 382 * arg - Where the argument is returned
383 * 383 *
384 * RETURN: None 384 * RETURN: None
385 * 385 *
@@ -618,6 +618,7 @@ static union acpi_parse_object *acpi_ps_get_next_field(struct acpi_parse_state
618 618
619 arg = acpi_ps_alloc_op(AML_INT_BYTELIST_OP); 619 arg = acpi_ps_alloc_op(AML_INT_BYTELIST_OP);
620 if (!arg) { 620 if (!arg) {
621 acpi_ps_free_op(field);
621 return_PTR(NULL); 622 return_PTR(NULL);
622 } 623 }
623 624
@@ -662,6 +663,7 @@ static union acpi_parse_object *acpi_ps_get_next_field(struct acpi_parse_state
662 } else { 663 } else {
663 arg = acpi_ps_alloc_op(AML_INT_NAMEPATH_OP); 664 arg = acpi_ps_alloc_op(AML_INT_NAMEPATH_OP);
664 if (!arg) { 665 if (!arg) {
666 acpi_ps_free_op(field);
665 return_PTR(NULL); 667 return_PTR(NULL);
666 } 668 }
667 669