Commit b6a040f5 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ipmi_kcs_intf.c compile warning

From: Zwane Mwaikambo <zwane@linuxpower.ca>

drivers/char/ipmi/ipmi_kcs_intf.c: In function `acpi_find_bmc':
drivers/char/ipmi/ipmi_kcs_intf.c:1088: warning: long unsigned int format, different type arg (arg 2)
drivers/char/ipmi/ipmi_kcs_intf.c:1088: warning: long unsigned int format, different type arg (arg 2)
parent 2e0623e3
...@@ -1085,7 +1085,7 @@ static int acpi_find_bmc(unsigned long *physaddr, int *port) ...@@ -1085,7 +1085,7 @@ static int acpi_find_bmc(unsigned long *physaddr, int *port)
*port = spmi->addr.address; *port = spmi->addr.address;
printk("ipmi_kcs_intf: Found ACPI-specified state machine" printk("ipmi_kcs_intf: Found ACPI-specified state machine"
" at I/O address 0x%lx\n", " at I/O address 0x%lx\n",
(int) spmi->addr.address); (unsigned long) spmi->addr.address);
} else } else
goto not_found; /* Not an address type we recognise. */ goto not_found; /* Not an address type we recognise. */
......
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