Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753380AbdIFUac (ORCPT ); Wed, 6 Sep 2017 16:30:32 -0400 Received: from mout.gmx.net ([212.227.15.15]:54036 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752345AbdIFU2V (ORCPT ); Wed, 6 Sep 2017 16:28:21 -0400 From: Helge Deller To: linux-kernel@vger.kernel.org Cc: Sergey Senozhatsky , Petr Mladek , Andrew Morton , Jeff Dike , Richard Weinberger , user-mode-linux-devel@lists.sourceforge.net Subject: [PATCH 02/14] um: Use %pS printk format for symbols from direct addresses Date: Wed, 6 Sep 2017 22:27:49 +0200 Message-Id: <1504729681-3504-3-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:4Ql7mg/4fOZ7tVRnHV7RSvAdgwAyf14Z1Wj/wMzexdVEzcqPoCX Q8jyVF1S5XV9BlIxVvvjt3VqU+Pq6btAw3wNbwA/OAfUtxlndItxLOi5+kcnAOIx6uucMqP 2JYLuzbj268nkhWNdRWSAuokXRsctRbeC8LjHS5l73RSywNyzbDWSofImkZnk0dOYOgiIb7 62P6Hi1Yck8upPy3xyzpg== X-UI-Out-Filterresults: notjunk:1;V01:K0:GyYQASj8hZo=:BhEptRkOsgvSZVDk+/0oL3 owzMdqg9KT4SLMHnc0l2CYcGpY9lTOmX+LV+Uwhx5CCbaXWZ85RXUMO4HDgqEP1Qcpo3C6Nz8 pNtPUBW0nf4Wi8FnO36gjXYg7ISW/EFaVAjOO8G/JnQKPkr7Fl0o+I2WG4AtD/oW7Ks2IdkGl dGrbC8q3BXUTInVrOKti7ZmpGyudUm6MvLnnKXlazwsnzQtz0ou/nb9lKg6LLf/eNooH3zE6f wzLzINM8V8WvIpW9oF/gJ8+3db4mHauI8uHEnyKJfB5DcbtFFadzeKPSdwXsrjevrUPmgIFFF q9mn8+K5hOoMf0bAIqcGNmG0reRORQ9akEcXsumf7dNO/oNrZuvsDOcHsyRL3u35oLHS1GoAF QJcbaAkctA+pmMQl+K7XIRND+EnGx1M5ohuYquZXYFMRSuz1cEZ6A1VNFIXC9HpTZCRZlupCm GBdKfHfujhJRwSL3ejkAG5FYr3Q0Vo3Jx7yKHUN7O8fQddg9nT3kyojhaLAiHJ/COhP7cJsSl 5aznfVmZygGgIM77L64n8VlJ4sZbY/9oK5oIcY9K7Wb74b92HFyQpR1WHcJ2zITqXvmc0+ypT uPwR0yz4lMfBN+KztSUs5Z6yix6/SHvTlxZwSFfci3vfw7vpWAlRF3OSVPiDYWcG7dzR4TdLm VaKeBF67lgFqMXCRUGmZNx4v9oeMn4IidrKh9E1wFvUXs+gh0EZUGG906Q9rWL0bO9Heh+1CB mHutnvbfv9pYO61vcna4z/udlBRBKUpapkniEOOaB6g40Dmu+D194GiOmy8JbODpnr4aEvbtW 3VIU1t0WH0aaYaml22kxJPYCUjwkA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 871 Lines: 27 Use the %pS printk format for printing symbols from direct addresses. In usermode-linux there is actually no difference between %pS and %pF, but for consistency throughout the kernel fix the wrong usage here too. Signed-off-by: Helge Deller Cc: Jeff Dike Cc: Richard Weinberger Cc: user-mode-linux-devel@lists.sourceforge.net --- arch/um/kernel/sysrq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/um/kernel/sysrq.c b/arch/um/kernel/sysrq.c index 6b995e8..05585ee 100644 --- a/arch/um/kernel/sysrq.c +++ b/arch/um/kernel/sysrq.c @@ -20,7 +20,7 @@ static void _print_addr(void *data, unsigned long address, int reliable) { - pr_info(" [<%08lx>] %s%pF\n", address, reliable ? "" : "? ", + pr_info(" [<%08lx>] %s%pS\n", address, reliable ? "" : "? ", (void *)address); } -- 2.1.0