Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753195AbdIFU25 (ORCPT ); Wed, 6 Sep 2017 16:28:57 -0400 Received: from mout.gmx.net ([212.227.15.15]:60121 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753082AbdIFU2x (ORCPT ); Wed, 6 Sep 2017 16:28:53 -0400 From: Helge Deller To: linux-kernel@vger.kernel.org Cc: Sergey Senozhatsky , Petr Mladek , Andrew Morton , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org Subject: [PATCH 14/14] sound/core: Use %pS printk format for direct addresses Date: Wed, 6 Sep 2017 22:28:01 +0200 Message-Id: <1504729681-3504-15-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:RZg8wpt0vHQZm2cWfjk6ADgzDcjEaK5poTsrSERrftSd2Sp2lOA Hooaf/DdzxeMRS0eN1I2M2b0X0aMHt8kTgCa+tA3YZ38g8rjyjQNc0l9Gz+mNr5SmFpvJ6A eo5bIQcyJuUDC4/jjfQbiuaPhfyCi1czBS2U/Y194jxjbV2faIBJAzOQFRQ4tgNqmPlgX9s 06YJc9VHEkp6MGYoV15Sw== X-UI-Out-Filterresults: notjunk:1;V01:K0:o15RH61m3n4=:gnrwCr9rhEOxbPJEL3gv23 jM3W6dnGP6w5t2CIjWE/6+mU7FOX6XnhP2fz/Uq9/PQJKFBG9wV8aiioauhaA5zs/uAtAixDF p6MrYCoX9k3NP1D5O4zYU1gSnJTGJL/j9eGIL+txb95NhE+G8fLMAwTSSXj3hSuOVyut5MP7L d5q5xJnXxWjMPv3AxnRspL4hkNwjN4O+oB1k05jym+ebXRst/amij/WVspe7Roj7gUhRGKTiP iUliN4qDCNMnvGjBjPf4iqMG3RyRQfaxbc0KmAXA0wjEzRIA3YsqKvKLNgmSaspWpdiv4Ya7g Qb4mOuRrLmfIvDoG05o95CO7Yh38YSIGa6gAs7KkqqkyLrxueuShrln00XBGYnibqx+XbDwgQ lByhtoZcF8zvgZejGy1g6Kjki1SFZ0fCltB5aIco7jsTArQsLDhEuj6ibsJOutNGVjoiRrM4S t4n/JV23PSMzkTOURJXyw9OgzoPYtkd8HTpmDFSp2N6rWpeIxU/6PL2MKIF2CkXmKhXX+O6N+ CdTEy5WdX+sxPp9uVuGlGwIzujKscbR4rfpSXC6fKIiP6QdddHPf+EN3nVkR0/ZRqvL5I1rjw ScTB21a3zFe3DZ2Q/Vifwu1YrNri3NYF4jcJt1wlaEyDUqs8oHmDYb66faiymw+ThAUEiAzgZ Xvc4tw5IX+kSJYZja88GES1QspaZ0YwxbXd6korzHpwtwuuWKOHmqwbe5FdzX5AgTgVcP1C4i zHm5RoX7VLXG6hAKWLvpzdMrnD0PyVYH56kTjFgN7vTAnGg2uLUSvW+NUU3DDpsiX3/87hsf4 j+s38N2Ux9cpA8JmD+fEsJ8OMuRMw== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1307 Lines: 37 The debug functions uses wrongly the %pF instead of the %pS printk format specifier for printing symbols for the address returned by _builtin_return_address(0). Fix it for the ia64, ppc64 and parisc64 architectures. Signed-off-by: Helge Deller Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: alsa-devel@alsa-project.org --- sound/core/device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/core/device.c b/sound/core/device.c index 8918838..cb0e46f 100644 --- a/sound/core/device.c +++ b/sound/core/device.c @@ -128,7 +128,7 @@ void snd_device_disconnect(struct snd_card *card, void *device_data) if (dev) __snd_device_disconnect(dev); else - dev_dbg(card->dev, "device disconnect %p (from %pF), not found\n", + dev_dbg(card->dev, "device disconnect %p (from %pS), not found\n", device_data, __builtin_return_address(0)); } EXPORT_SYMBOL_GPL(snd_device_disconnect); @@ -152,7 +152,7 @@ void snd_device_free(struct snd_card *card, void *device_data) if (dev) __snd_device_free(dev); else - dev_dbg(card->dev, "device free %p (from %pF), not found\n", + dev_dbg(card->dev, "device free %p (from %pS), not found\n", device_data, __builtin_return_address(0)); } EXPORT_SYMBOL(snd_device_free); -- 2.1.0