From patchwork Wed Sep 6 20:28:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 9941801 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 065A76038C for ; Thu, 7 Sep 2017 08:46:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA78228581 for ; Thu, 7 Sep 2017 08:46:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DEA232858A; Thu, 7 Sep 2017 08:46:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=2.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2DE2528581 for ; Thu, 7 Sep 2017 08:46:52 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 2D6CF2674DF; Thu, 7 Sep 2017 10:43:54 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id C2DCE2673FE; Wed, 6 Sep 2017 22:28:17 +0200 (CEST) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by alsa0.perex.cz (Postfix) with ESMTP id C4F3D266A8A for ; Wed, 6 Sep 2017 22:28:15 +0200 (CEST) Received: from p100.fritz.box ([193.159.16.8]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LqQnR-1dCUUV15EX-00e1O4; Wed, 06 Sep 2017 22:28:10 +0200 From: Helge Deller To: linux-kernel@vger.kernel.org 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== X-Mailman-Approved-At: Thu, 07 Sep 2017 10:43:45 +0200 Cc: Petr Mladek , alsa-devel@alsa-project.org, Takashi Iwai , Sergey Senozhatsky , Andrew Morton Subject: [alsa-devel] [PATCH 14/14] sound/core: Use %pS printk format for direct addresses X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP 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);