All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix pmac_zilog debug arg
@ 2007-08-26  9:10 Olaf Hering
  0 siblings, 0 replies; only message in thread
From: Olaf Hering @ 2007-08-26  9:10 UTC (permalink / raw)
  To: linuxppc-dev


drivers/serial/pmac_zilog.c:1590: warning: format '%d' expects type 'int', but argument 3 has type 'pm_message_t'

Signed-off-by: Olaf Hering <olaf@aepfle.de>

---
 drivers/serial/pmac_zilog.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/serial/pmac_zilog.c
+++ b/drivers/serial/pmac_zilog.c
@@ -1587,7 +1587,7 @@ static int pmz_suspend(struct macio_dev 
 	if (pm_state.event == mdev->ofdev.dev.power.power_state.event)
 		return 0;
 
-	pmz_debug("suspend, switching to state %d\n", pm_state);
+	pmz_debug("suspend, switching to state %d\n", pm_state.event);
 
 	state = pmz_uart_reg.state + uap->port.line;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-08-26  9:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-26  9:10 [PATCH] fix pmac_zilog debug arg Olaf Hering

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.