ACPI: build warnings begone (x86_64)]
PATCH 1/1 ACPI: build warnings begone (x86_64)]
Hi, I think this should be reported on
ACPI mailing list , so I am Forwarding to this list
-------- Forwarded Message --------
Quoted 75 lines
From: David Brownell <[email protected]>
To: Brown, Len <[email protected]>
Cc: [email protected]
Subject: [patch 2.6.18-rc7] ACPI: build warnings begone (x86_64)
Date: Wed, 13 Sep 2006 21:00:33 -0700This makes various ACPI compiler warnings go away (
x86_64), making builds be warning-free again.Signed-off-by David Brownell <[email protected]>Index:
g26/drivers/acpi/executer/exmutex.c
===================================================================drivers/acpi/executer/exmutex.c +3
-3@@ -266,10 +266,10 @@ acpi_ex_release_mutex(union acpi_operand walk_state->thread->thread_id) && (obj_desc->mutex.os_mutex != ACPI_GLOBAL_LOCK)) {ACPI_ERROR ((AE_INFO , -"Thread %X cannot release Mutex [%4.4s] acquired by thread %X" , - (u32 ) walk_state->thread->thread_id, +"Thread %p cannot release Mutex [%4.4s] acquired by thread %p" , + walk_state->thread->thread_id,acpi_ut_get_node_name (obj_desc->mutex.node), - (u32 ) obj_desc->mutex.owner_thread->thread_id)); + obj_desc->mutex.owner_thread->thread_id));return_ACPI_STATUS (AE_AML_NOT_OWNER ); }Index:
g26/drivers/acpi/tables/tbget.c
===================================================================drivers/acpi/tables/tbget.c +1
-1@@ -324,7 +324,7 @@ acpi_tb_get_this_table(struct acpi_pointif (header->length <sizeof (struct acpi_table_header )) {ACPI_ERROR ((AE_INFO , -"Table length (%X) is smaller than minimum (%X)" , +"Table length (%X) is smaller than minimum (%zX)" , header->length,sizeof (struct acpi_table_header )));return_ACPI_STATUS (AE_INVALID_TABLE_LENGTH );Index:
g26/drivers/acpi/utilities/utmutex.c
===================================================================drivers/acpi/utilities/utmutex.c +2
-2@@ -258,8 +258,8 @@ acpi_status acpi_ut_acquire_mutex(acpi_m acpi_gbl_mutex_info[mutex_id].thread_id = this_thread_id; }else {ACPI_EXCEPTION ((AE_INFO , status, -"Thread %X could not acquire Mutex [%X]" , - (u32 ) this_thread_id, mutex_id)); +"Thread %p could not acquire Mutex [%X]" , + this_thread_id, mutex_id)); }return (status);Index:
g26/drivers/acpi/tables/tbrsdt.c
===================================================================drivers/acpi/tables/tbrsdt.c +1
-2@@ -187,7 +187,7 @@ acpi_status acpi_tb_validate_rsdt(structif (table_ptr->length <sizeof (struct acpi_table_header )) {ACPI_ERROR ((AE_INFO , -"RSDT/XSDT length (%X) is smaller than minimum (%X)" , +"RSDT/XSDT length (%X) is smaller than minimum (%zX)" , table_ptr->length,sizeof (struct acpi_table_header ))); -To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Signature · 1 line
Sérgio M.B.