projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0f0678
)
Revert "[PATCH] ACPI: fix vendor resource length computation"
author
Len Brown
<lenb@toshiba.site>
Fri, 31 Mar 2006 07:16:19 +0000
(
02:16
-0500)
committer
Len Brown
<len.brown@intel.com>
Fri, 31 Mar 2006 07:16:19 +0000
(
02:16
-0500)
fixed in a different way by a subsequent ACPICA patch
This reverts
35b73ceb9a7d10c81bd9e79e8485f7079ef2b40e
commit.
drivers/acpi/resources/rscalc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/acpi/resources/rscalc.c
b/drivers/acpi/resources/rscalc.c
index 4038dbfa63a0c1b88de380d9a80b326dfd24c39c..7d6481d9fbecded65bbeb2137bf718cd6ea18c64 100644
(file)
--- a/
drivers/acpi/resources/rscalc.c
+++ b/
drivers/acpi/resources/rscalc.c
@@
-391,7
+391,8
@@
acpi_rs_get_list_length(u8 * aml_buffer,
* Ensure a 32-bit boundary for the structure
*/
extra_struct_bytes =
- ACPI_ROUND_UP_to_32_bITS(resource_length);
+ ACPI_ROUND_UP_to_32_bITS(resource_length) -
+ resource_length;
break;
case ACPI_RESOURCE_NAME_END_TAG:
@@
-407,7
+408,8
@@
acpi_rs_get_list_length(u8 * aml_buffer,
* Add vendor data and ensure a 32-bit boundary for the structure
*/
extra_struct_bytes =
- ACPI_ROUND_UP_to_32_bITS(resource_length);
+ ACPI_ROUND_UP_to_32_bITS(resource_length) -
+ resource_length;
break;
case ACPI_RESOURCE_NAME_ADDRESS32: