Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753114AbdIFU2r (ORCPT ); Wed, 6 Sep 2017 16:28:47 -0400 Received: from mout.gmx.net ([212.227.15.19]:62320 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753007AbdIFU2m (ORCPT ); Wed, 6 Sep 2017 16:28:42 -0400 From: Helge Deller To: linux-kernel@vger.kernel.org Cc: Sergey Senozhatsky , Petr Mladek , Andrew Morton , linux-bcache@vger.kernel.org, linux-raid@vger.kernel.org Subject: [PATCH 06/14] md/bcache: Use %pS printk format for direct addresses Date: Wed, 6 Sep 2017 22:27:53 +0200 Message-Id: <1504729681-3504-7-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:BPXN4dNJTOFkVe2/NXls8hk3XNJhqw0loYqs/I+YvGaY2eESkbU 75m0p6S5EzzxqhJXeMiRUNcvYEwBhJdBhGlog86pYUMir+216zhe45MvJK9W/FTdr5fbYbz epPh+wvRiFN9QxDrcJK1Ftkt3q+IKL5D4dE2d98BbS5ldzF9jAKVJu8ysP/qx6I9s4I7p85 daXkLUkAcRgqoKaM5wa2A== X-UI-Out-Filterresults: notjunk:1;V01:K0:3Qor1v5AtgU=:4dG4xy5SGc3KLkX71bMs2M vEw3gBIg1JdMomTfT2/RCg4d3c56puTPw5HK9xGPxvxPtZ7tHyScG4E6No00/CIgfHT6OZwcg Pjg99DAqI5Zlf26IOY84jAXvapfGlFeZ+WOTbuZy3ZRH/hLTaMa3cAdkJ7mzNMp3txnMI9TEq bXRxmIVn/wRQaMv8Dwovrr2+xe7CY7WYM/X31S1+GtecR5qFKkGX1Ujxt/SA8V8fFJYKcFzj8 /Nh+HLEmCksNgRxfORHxrAq0f3LYlkN5bImxEz/YfYAkvPyChz8ldHgHjo2E3x68YNn31RwzQ tUDkjWfMwWnR1C2thkXjINnxa0qAVVYK0yO2H27rCawKzri0rN2/i9b8EnKNVDXrg/pMEY5Yr wy2F6wWN7ty7rvK4hsGW+WjLmB3ifqW3ygGO4vC7l8HPNOWSHEwFy41NEeTE6cTZENu2jogoR k+r2m/2clx2HVE5Xx+1Cnhy7GshqNZtDtlskPcDf9gfM4DVNdjXnJOg88ZBu26eNKPPkfEQGc Bp8iQJM7GmYDh0tWXz3DlRKcC/MOkUl4mkltUdrxdhlgzXy3Lf+2s1aicQlF9jJ/ORqMxMcae Ot4LPBq73MlFGdFMXCtTA3qmP9+uwJpPaGm/Rz1cFGW4W0JtUiylaP1FAei18+tciU8ocGvDi yzjp0ysjkXAEY7AjbjMPIafJ+aUhCUd66iPG5ERY2YMLRjFUjBH7rsvK9EWbsTJugUiFuIjWs ioBn+cEF4NJoxhaceshXiI/cZlWDpiKSgSUWdZnL7XZpazqthgUGXyrfn+OIwzkJ8JJ02VU9Z JCuN1f8TB7YhgoBLL6u9dniwdHUEw== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1158 Lines: 35 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: linux-bcache@vger.kernel.org Cc: linux-raid@vger.kernel.org --- drivers/md/bcache/closure.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/md/bcache/closure.c b/drivers/md/bcache/closure.c index 864e673..0b0c9bc 100644 --- a/drivers/md/bcache/closure.c +++ b/drivers/md/bcache/closure.c @@ -175,7 +175,7 @@ static int debug_seq_show(struct seq_file *f, void *data) list_for_each_entry(cl, &closure_list, all) { int r = atomic_read(&cl->remaining); - seq_printf(f, "%p: %pF -> %pf p %p r %i ", + seq_printf(f, "%p: %pS -> %pf p %p r %i ", cl, (void *) cl->ip, cl->fn, cl->parent, r & CLOSURE_REMAINING_MASK); @@ -187,7 +187,7 @@ static int debug_seq_show(struct seq_file *f, void *data) r & CLOSURE_SLEEPING ? "Sl" : ""); if (r & CLOSURE_WAITING) - seq_printf(f, " W %pF\n", + seq_printf(f, " W %pS\n", (void *) cl->waiting_on); seq_printf(f, "\n"); -- 2.1.0