From patchwork Wed Sep 6 20:27:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 9941257 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D5BD16035F for ; Wed, 6 Sep 2017 20:29:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C5FAF2223E for ; Wed, 6 Sep 2017 20:29:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B9F542237D; Wed, 6 Sep 2017 20:29:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0D589223A5 for ; Wed, 6 Sep 2017 20:29:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=BtqoIa7iPFamrKuu7zv3cjj60Uqj5ElEDbNKEfBw6q0=; b=B9odGFpUzO64E6ohigDCtsHdUZ Uba3fxkd0VVhAFTz7YLvIwXxAdYUO5jxBpzcpm+sUZaYK0FUDkgi/mEX6amh2f8QTlhUqWmJMQJMB fWRajCCYODDFEYexwxDN03Pv+haB7vIs9FYDK2m4PlW8zZwl05dHCD16KZi4oSao2QWi9vyi47JQE xKTrOa1GmePzefuhdGoYNZeIOLknnm7KentFJjE1pWQcvA+uwMD/jVzhj2oFmA4ZDlZEQ0ToU7I8w 9W8wCMjv5rhkHolVqbph4KiYDRQDvUSqIXeQ1tLzldIMsMlSU6a0p7ABFiWXt+6s41/ZiGFyRULn/ j/wpdy5Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dpgwQ-00026Q-Sr; Wed, 06 Sep 2017 20:28:54 +0000 Received: from mout.gmx.net ([212.227.15.19]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dpgwN-00021E-1s for linux-arm-kernel@lists.infradead.org; Wed, 06 Sep 2017 20:28:53 +0000 Received: from p100.fritz.box ([193.159.16.8]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M4GRv-1dYz9q2o0B-00rr2Y; Wed, 06 Sep 2017 22:28:05 +0200 From: Helge Deller To: linux-kernel@vger.kernel.org Subject: [PATCH 04/14] ti_sci: Use %pS printk format for direct addresses Date: Wed, 6 Sep 2017 22:27:51 +0200 Message-Id: <1504729681-3504-5-git-send-email-deller@gmx.de> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1504729681-3504-1-git-send-email-deller@gmx.de> References: <1504729681-3504-1-git-send-email-deller@gmx.de> X-Provags-ID: V03:K0:L2KOOcVWSFBrmvxqIpNaMBQ+qQ7ESlAo5cMOtLtsfPUrFSsM2tF TjmP5nmLwYY27jIDovGOvU8ahrXOGzWcXu5wQwcXl+mdoyFbvreWDk08JvlfltweG6m5sJe TR8tU/ROagwiZLWKj/ZC3dHxpkCou3P9zJTLIaWXdfBFnQiSigkR6ftjKC+r8MazFDQbZCp zZxSNfhYDz9hJCbtpE8AA== X-UI-Out-Filterresults: notjunk:1; V01:K0:ssEr2TQaH8E=:8cklwz1TplQ0Rut0GCJHPL XEVU0hRNL/eVuPQ3TntDpjmaxzQ1gBvDEeSVrsgL9dW11hoo/y4kxJJh0wLeMEYAp94rSk7kJ I+L+XyedK23onRMPum+y2SMC6yu8muwnZdwt8xz1D7954N09/dV8bo9LCt7uDZyEt3VZGtEjx Nk2Xnd/TcHCCaAyRxHBdqqVyDcapTKy+VpAboWwWpbin+X3vntaZdpK3287zDwOH01WUzx5Op Se56LVa/4GfR8qDDSEW4pV7/DGnhENFJC16vJt3fFw2q3A3NfbT/LuTN1j/fNlW85/xoAgmv8 CGyVDgqL51FXQn1JCOZ/Os4o0o4Elg+nCaepDyVk+Hocppk+bx+a+hoUWCLXke9ORjdAo6VkN /2ZJwwVqAkAz8pCoEobSHjzry6BpedkVzNLI6WwH9yUQc1wQwNHh/Dv8uMuuHT63oPp3Rh0UX bUmDHigrsfFk06xjEPZc7VmDn60iLDwESB/J5G2TmkmLxP38xFNC9tnevB8G9eatlfkwfNLnB biSY75G36k4qb3rJq/stvmCrSjnIzOoork0NjVcEdhe40Zb9TXaRU2MDmtR9DKbLcsLuDRewI tjaWuE/PZyaB8bVoBigUuf+mOTOnHKV8N2JJZhnZ6l99lWWw8fq3L7wRyTVTDPv7iC9zs16nh wQJaihcy8gqvSfwVppDHFqjZvRjnVVbbgEg93RkVDQSapY90gsHmFG18kejnUO7kmnrnnCqGS xn/2wghNpTLwxuN9jwOYfZ+zYBGDAMbr3nAVLXOMYIuZHH5HODk0VIIW5Y2Jo6M868eQFUWZw NzyEjcWYqtE0PoWmamAuAc8ay62iw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170906_132851_444660_66BCBB2C X-CRM114-Status: UNSURE ( 8.60 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nishanth Menon , Petr Mladek , Tero Kristo , Sergey Senozhatsky , Santosh Shilimkar , Andrew Morton , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Use the %pS printk format for printing symbols from direct addresses. This is important for the ia64, ppc64 and parisc64 architectures, while on other architectures there is no difference between %pS and %pF. Fix it for consistency across the kernel. Signed-off-by: Helge Deller Cc: Nishanth Menon Cc: Tero Kristo Cc: Santosh Shilimkar Cc: linux-arm-kernel@lists.infradead.org Acked-by: Nishanth Menon --- drivers/firmware/ti_sci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/ti_sci.c b/drivers/firmware/ti_sci.c index 00cfed3..23b12d9 100644 --- a/drivers/firmware/ti_sci.c +++ b/drivers/firmware/ti_sci.c @@ -439,7 +439,7 @@ static inline int ti_sci_do_xfer(struct ti_sci_info *info, /* And we wait for the response. */ timeout = msecs_to_jiffies(info->desc->max_rx_timeout_ms); if (!wait_for_completion_timeout(&xfer->done, timeout)) { - dev_err(dev, "Mbox timedout in resp(caller: %pF)\n", + dev_err(dev, "Mbox timedout in resp(caller: %pS)\n", (void *)_RET_IP_); ret = -ETIMEDOUT; }