lkml.org 
[lkml]   [2003]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectLinux 2.4.21-pre7 acpi warning fix
Hi,

Shortly.
To fix this:
evevent.c: In function `acpi_ev_gpe_dispatch':
evevent.c:803: warning: cast to pointer from integer of different size

I recommend this patch.

Regards,
Maciej

diff -Nru linux-2.4.20.orig/drivers/acpi/events/evevent.c linux-2.4.20/drivers/acpi/events/evevent.c
--- linux-2.4.20.orig/drivers/acpi/events/evevent.c 2003-04-05 17:05:20.000000000 +0200
+++ linux-2.4.20/drivers/acpi/events/evevent.c 2003-04-05 16:59:55.000000000 +0200
@@ -800,7 +800,7 @@
*/
else if (gpe_info.method_handle) {
if (ACPI_FAILURE(acpi_os_queue_for_execution (OSD_PRIORITY_GPE,
- acpi_ev_asynch_execute_gpe_method, (void*) (u64)gpe_number))) {
+ acpi_ev_asynch_execute_gpe_method, (void*) (u32)gpe_number))) {
/*
* Shoudn't occur, but if it does report an error. Note that
* the GPE will remain disabled until the ACPI Core Subsystem
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.018 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site