From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by ozlabs.org (Postfix) with ESMTP id 9B8AEDDE04 for ; Sun, 26 Aug 2007 19:10:59 +1000 (EST) Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id F1A69221409 for ; Sun, 26 Aug 2007 11:10:56 +0200 (CEST) Received: from ibook.aepfle.de (DSL01.83.171.160.67.ip-pool.NEFkom.net [83.171.160.67]) by mail.mnet-online.de (Postfix) with ESMTP id E8A9C903C6 for ; Sun, 26 Aug 2007 11:10:56 +0200 (CEST) Date: Sun, 26 Aug 2007 11:10:59 +0200 From: Olaf Hering To: linuxppc-dev@ozlabs.org Subject: [PATCH] fix pmac_zilog debug arg Message-ID: <20070826091059.GA17651@aepfle.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 --- 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;