Commit 15491c3
committed
ACPI: utils: Refine acpi_handle_list_equal() slightly
JIRA: https://issues.redhat.com/browse/RHEL-26871
commit 1feb042
Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Date: Fri Dec 8 21:06:45 2023 +0100
It is somewhat better to use the size of the first array element for
computing the size of the entire array than to rely on the array
element data type definition knowledge and the former is also
consistent with the array allocation in acpi_evaluate_reference(),
so modify the code accordingly.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Mark Langsdorf <mlangsdo@redhat.com>1 parent 752dd40 commit 15491c3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
411 | | - | |
| 411 | + | |
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
| |||
0 commit comments