From patchwork Wed Sep 6 20:27:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 9941249 X-Patchwork-Delegate: rjw@sisk.pl 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 5CB816035F for ; Wed, 6 Sep 2017 20:28:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E8C92223E for ; Wed, 6 Sep 2017 20:28:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4D06822B1F; Wed, 6 Sep 2017 20:28:52 +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=-6.4 required=2.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C078A2223E for ; Wed, 6 Sep 2017 20:28:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753012AbdIFU2u (ORCPT ); Wed, 6 Sep 2017 16:28:50 -0400 Received: from mout.gmx.net ([212.227.15.15]:60458 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753082AbdIFU2r (ORCPT ); Wed, 6 Sep 2017 16:28:47 -0400 Received: from p100.fritz.box ([193.159.16.8]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MAhWl-1djwRY06TD-00BsNG; Wed, 06 Sep 2017 22:28:07 +0200 From: Helge Deller To: linux-kernel@vger.kernel.org Cc: Sergey Senozhatsky , Petr Mladek , Andrew Morton , Kevin Hilman , Nishanth Menon , linux-pm@vger.kernel.org Subject: [PATCH 07/14] power/avs: Use %pS printk format for direct addresses Date: Wed, 6 Sep 2017 22:27:54 +0200 Message-Id: <1504729681-3504-8-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:ZmMypNeCQG+ztnQkmp0yI9U0UPMBbtGUG8g49b3Xs8PmbRaRrmt TV4HPC6sXdQXnX1iuIlOyfpdbw7eB2k3YrfOzgEXbD2iJR2j/zJzwFm+iHPwxJsVucZ/1yD mhSQ0CLDYXrZxBVaacS4hB67TgPisIXsRv0s9NQmm/tOyIUf0GgI+NKqe2iQyLhrFLa5mVB FqojrjdOteSBF1DbA8Lcw== X-UI-Out-Filterresults: notjunk:1; V01:K0:+cqfoy4WlpM=:/PbCa9yeFkPSRfKuhVf76s Xa/pXnFLyDB/Zb8SVhI4lCRLJWBs969Tj88EWjuN8i3PLGc6oSTErqsIopaHhGsk9k8nxPHtF h0hBSquGaZ2r4LTO+Zwk5T5d3Mt1I6X+E1Ut+PDXJ9YHLBaZPfVUpn31EA2bBrK63nrWOEVne Q01wRFjfvLqnFU9KtQ35LELQ+EA453ky/lU3FUNfxFF+vOrb/jnM9iMQD8CRW7uAP5KYeNFub J6+XwC97jF/+JQiRAmiMBBPp0OdEeN3iEnC94LxA+rpTJeg+/6jNGzFKqldQP8bNicnb684cB lit4Cu5WO/aekIge3n0jpW9TOYyGOjMSPpgpKy7s50uLF64S4dSZIp1Y1Nwny/kwkOoSJsmTb 4WLnQUD2injIdRW/Szm1V5imey9SttcOSCs9qk8S/WZaMkEfYJxB7TiRsLtyt7gGms6vM7Gw2 xF2p/ypwvoFUMxyfdDGeR0KXL4nJchZQ5dCio1AfqcHQClrPlbKu0IMl6gBihBMdmhvFhk1Bw J3T3kZHTFE5UDfFm6vWUEW0NAoIzb1Oeg57saFSXBfFPYYjaRydsHYe2tuFnsHGOGni5PIhgj B+UvJAAmvO5vvW/8wqBjdQ01YBwqHFRoxGTwpVHiNP4pMCa/JZ5OuUvpF/lKXhywQHD47N3h8 YJU1inawB0Q0Xvx57Mb0cHtVG7asfUcrQUawCu6nB9OMitqBCUeqZQfaJFYa0vOzDkgsweM1J DinzrPnpsITojeiRna1L1Xn+QbRM9nRaL2FeDtjlDV5AXZvELwTfcd/tbbjTf2A2dtDIELaj7 OEDVkVKmwaIr8Ls51BT7DdorApmvg== Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Use the %pS instead of the %pF printk format specifier for printing symbols from direct addresses. This is needed for the ia64, ppc64 and parisc64 architectures. Signed-off-by: Helge Deller Cc: Kevin Hilman Cc: Nishanth Menon Cc: linux-pm@vger.kernel.org Acked-by: Nishanth Menon --- drivers/power/avs/smartreflex.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/power/avs/smartreflex.c b/drivers/power/avs/smartreflex.c index 974fd68..89bf4d6 100644 --- a/drivers/power/avs/smartreflex.c +++ b/drivers/power/avs/smartreflex.c @@ -355,7 +355,7 @@ int sr_configure_errgen(struct omap_sr *sr) u8 senp_shift, senn_shift; if (!sr) { - pr_warn("%s: NULL omap_sr from %pF\n", + pr_warn("%s: NULL omap_sr from %pS\n", __func__, (void *)_RET_IP_); return -EINVAL; } @@ -422,7 +422,7 @@ int sr_disable_errgen(struct omap_sr *sr) u32 vpboundint_en, vpboundint_st; if (!sr) { - pr_warn("%s: NULL omap_sr from %pF\n", + pr_warn("%s: NULL omap_sr from %pS\n", __func__, (void *)_RET_IP_); return -EINVAL; } @@ -477,7 +477,7 @@ int sr_configure_minmax(struct omap_sr *sr) u8 senp_shift, senn_shift; if (!sr) { - pr_warn("%s: NULL omap_sr from %pF\n", + pr_warn("%s: NULL omap_sr from %pS\n", __func__, (void *)_RET_IP_); return -EINVAL; } @@ -562,7 +562,7 @@ int sr_enable(struct omap_sr *sr, unsigned long volt) int ret; if (!sr) { - pr_warn("%s: NULL omap_sr from %pF\n", + pr_warn("%s: NULL omap_sr from %pS\n", __func__, (void *)_RET_IP_); return -EINVAL; } @@ -614,7 +614,7 @@ int sr_enable(struct omap_sr *sr, unsigned long volt) void sr_disable(struct omap_sr *sr) { if (!sr) { - pr_warn("%s: NULL omap_sr from %pF\n", + pr_warn("%s: NULL omap_sr from %pS\n", __func__, (void *)_RET_IP_); return; }