Message ID | 1496828271.22624.38.camel@linux.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, Jun 07, 2017 at 12:37:51PM +0300, Andy Shevchenko wrote: > It think we may fold it. Yes, I'll fold it and delcare the tree stable late tonight my time. > Besides that we might need the following fix as well. Yeah. Another reasone why buffer.pointer should be a void pointer.
--- a/drivers/acpi/utils.c +++ b/drivers/acpi/utils.c @@ -638,7 +638,7 @@ acpi_evaluate_dsm(acpi_handle handle, const guid_t *guid, u64 rev, u64 func, params[0].type = ACPI_TYPE_BUFFER; params[0].buffer.length = 16; - params[0].buffer.pointer = (u8 *)&guid; + params[0].buffer.pointer = (u8 *)guid; params[1].type = ACPI_TYPE_INTEGER; params[1].integer.value = rev;