Commit ad7272b8 authored by Andrew Morton's avatar Andrew Morton Committed by Len Brown

[PATCH] acpi/utils.c warning fix

drivers/acpi/utils.c: In function `acpi_evaluate_reference':
drivers/acpi/utils.c:353: warning: unsigned int format, different type arg (arg 5)
parent ccd56b20
...@@ -350,7 +350,7 @@ acpi_evaluate_reference ( ...@@ -350,7 +350,7 @@ acpi_evaluate_reference (
if ((buffer.length == 0) || !package) { if ((buffer.length == 0) || !package) {
ACPI_DEBUG_PRINT((ACPI_DB_ERROR, ACPI_DEBUG_PRINT((ACPI_DB_ERROR,
"No return object (len %X ptr %p)\n", "No return object (len %X ptr %p)\n",
buffer.length, package)); (unsigned)buffer.length, package));
status = AE_BAD_DATA; status = AE_BAD_DATA;
acpi_util_eval_error(handle, pathname, status); acpi_util_eval_error(handle, pathname, status);
goto end; goto end;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment