Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753151AbdIFU2v (ORCPT ); Wed, 6 Sep 2017 16:28:51 -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 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-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1851 Lines: 63 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 --- 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; } -- 2.1.0