Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752861AbdIFU2W (ORCPT ); Wed, 6 Sep 2017 16:28:22 -0400 Received: from mout.gmx.net ([212.227.15.18]:55332 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752801AbdIFU2U (ORCPT ); Wed, 6 Sep 2017 16:28:20 -0400 From: Helge Deller To: linux-kernel@vger.kernel.org Cc: Sergey Senozhatsky , Petr Mladek , Andrew Morton , Kees Cook , Tony Luck Subject: [PATCH 09/14] fs/pstore: Use %pS printk format for direct addresses Date: Wed, 6 Sep 2017 22:27:56 +0200 Message-Id: <1504729681-3504-10-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:H2H71bS72DLtZnRUjz6PJQ7+jcw7OgPEIEbioJHHzvg0LesSmzU aEGtj4qcz99RMzXNRmhopt3Uk9acwYdUec1gHnGMG8sgfbn9JckK/xKzzDfAiYonGkSnWIi Hr2dicGYU5Xyw2GaOvF9C9KtSwU6N2Qvu713NKCZiRsXx2mdGsZcAqPO9tTPHt6KltrBm0T 7SrVqQwnO2IfI1YlKcJBg== X-UI-Out-Filterresults: notjunk:1;V01:K0:YdvhS6JBX0g=:XO5Zcun+KmhAroWWOBIoBQ JsKolGh4t1rHEhuDL1qALsCYaicAhN2hl/Q55DWrzIQbqzjtR/FTXjA2BvgkenSNf/4DE3ktR m3nq+Zl8tg6wH6Z+EiMvOwIBl9k7NZHPfLP9T2YrGWbZ854MlRlJCzKAyb40fJCIYj2rPZOE1 Rhpbxwp2ACOLE5zmmfDBGnBvLfQMMiD3faDKDFkqf3MmyBIO9FheVD6QTuh5O1vo5+ix4IfKS 9LftmMdLkf2DvazTRCVuT2u6uaD2tokWcmZoajvzQmQ3mxrvevKstpZXaYpcaBYOezS97v1DI 3oUQDKtet8hikR+HGgwgEh0pDilKHgQvh975OAbk+8l7qWQ42JfkGZAmn3zlL/WNxHrztG/MK tcj7HO2t7MNO0TkLCRCcNIrw4reYq3zE7cHBe0fdxw+Tmih/iFT+KBZ3QPG0WijcP7hX034Be Gx08+MqY3yOiUfaC8jO9ymByvx9aHuJ6VY8c1h4gwm0nd6MGFBc9wNzxxmj5eovFwe7vN8P+w 2Jl/aI6sJwqzSH+925xeEJH7GDcisxk3xgrfx/CrJKUNcuGsS/pWXqOeGB6W+Jg+p2W7v7CiN 0d4TDk0f59EQD1MOfMjxpsY7ow+E9XL5mtl3dMWlgbJVM9wmP/U2LHwDBb0wl8v7CTVvEHKq2 XaOEVgNsGWdCSIM3gSnMsIz2XEqMy56jaqOpjrdrThbV/1tuwF+Zy/LGCLGdDof4/jsYkN2iy +Ng1/G1QjQGzj9ZHXEbjV+3kWo0BoRbsGsFtTJaLaKEMe2AD5gqvMGyqTGCglKlw8ieipEGhf eGsR2bSoHX2OwZB2qQ6qcrzXPmTJQ== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 903 Lines: 26 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: Kees Cook Cc: Tony Luck --- fs/pstore/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/pstore/inode.c b/fs/pstore/inode.c index fefd226..59f65d7 100644 --- a/fs/pstore/inode.c +++ b/fs/pstore/inode.c @@ -116,7 +116,7 @@ static int pstore_ftrace_seq_show(struct seq_file *s, void *v) rec = (struct pstore_ftrace_record *)(ps->record->buf + data->off); - seq_printf(s, "CPU:%d ts:%llu %08lx %08lx %pf <- %pF\n", + seq_printf(s, "CPU:%d ts:%llu %08lx %08lx %ps <- %pS\n", pstore_ftrace_decode_cpu(rec), pstore_ftrace_read_timestamp(rec), rec->ip, rec->parent_ip, (void *)rec->ip, -- 2.1.0