From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Subject: [00/13] replace print_symbol() with printk()-s From: Sergey Senozhatsky Message-Id: <20171212024757.GC7798@jagdpanzerIV> Date: Tue, 12 Dec 2017 11:47:57 +0900 To: Joe Perches Cc: Sergey Senozhatsky , Andrew Morton , Russell King , Catalin Marinas , Mark Salter , Tony Luck , David Howells , Yoshinori Sato , Guan Xuetao , Borislav Petkov , Greg Kroah-Hartman , Thomas Gleixner , Peter Zijlstra , Vineet Gupta , Fengguang Wu , Steven Rostedt , Petr Mladek , LKML , linux-arm-kernel@lists.infradead.org, linux-c6x-dev@linux-c6x.org, linux-ia64@vger.kernel.org, linux-am33-list@redhat.com, linux-sh@vger.kernel.org, linux-edac@vger.kernel.org, x86@kernel.org, linux-snps-arc@lists.infradead.org, Sergey Senozhatsky List-ID: T24gKDEyLzExLzE3IDA4OjI2KSwgSm9lIFBlcmNoZXMgd3JvdGU6Cj4gT24gTW9uLCAyMDE3LTEy LTExIGF0IDIxOjUwICswOTAwLCBTZXJnZXkgU2Vub3poYXRza3kgd3JvdGU6Cj4gPiBwcmludF9z eW1ib2wKPiAKPiBZYXkuCj4gCj4gSnVzdCBhYm91dCBleGFjdGx5IDUgeWVhcnMgZWFybGllci4u Lgo+IGh0dHA6Ly9saXN0cy5pbmZyYWRlYWQub3JnL3BpcGVybWFpbC9saW51eC1hcm0ta2VybmVs LzIwMTItRGVjZW1iZXIvMTM3MTIxLmh0bWwKCmluZGVlZCA6KQoKaG9wZWZ1bGx5IGl0IHdvbid0 IHRha2UgdXMgYW5vdGhlciA1IHllYXJzIHRvIGZpbmFsbHkKLS0tCgogaW5jbHVkZS9saW51eC9r YWxsc3ltcy5oIHwgMyArKy0KIDEgZmlsZSBjaGFuZ2VkLCAyIGluc2VydGlvbnMoKyksIDEgZGVs ZXRpb24oLSkKCgotLS0KCgktc3MKLS0KVG8gdW5zdWJzY3JpYmUgZnJvbSB0aGlzIGxpc3Q6IHNl bmQgdGhlIGxpbmUgInVuc3Vic2NyaWJlIGxpbnV4LWVkYWMiIGluCnRoZSBib2R5IG9mIGEgbWVz c2FnZSB0byBtYWpvcmRvbW9Admdlci5rZXJuZWwub3JnCk1vcmUgbWFqb3Jkb21vIGluZm8gYXQg IGh0dHA6Ly92Z2VyLmtlcm5lbC5vcmcvbWFqb3Jkb21vLWluZm8uaHRtbAoKZGlmZiAtLWdpdCBh L2luY2x1ZGUvbGludXgva2FsbHN5bXMuaCBiL2luY2x1ZGUvbGludXgva2FsbHN5bXMuaAppbmRl eCA3Mjg4ZjljMzk1YjYuLjc5NGZkMzVjYWQ0YiAxMDA2NDQKLS0tIGEvaW5jbHVkZS9saW51eC9r YWxsc3ltcy5oCisrKyBiL2luY2x1ZGUvbGludXgva2FsbHN5bXMuaApAQCAtMTc2LDcgKzE3Niw4 IEBAIHZvaWQgX19jaGVja19wcmludHN5bV9mb3JtYXQoY29uc3QgY2hhciAqZm10LCAuLi4pCiB7 CiB9CiAKLXN0YXRpYyBpbmxpbmUgdm9pZCBwcmludF9zeW1ib2woY29uc3QgY2hhciAqZm10LCB1 bnNpZ25lZCBsb25nIGFkZHIpCitzdGF0aWMgaW5saW5lIHZvaWQgX19kZXByZWNhdGVkIHByaW50 X3N5bWJvbChjb25zdCBjaGFyICpmbXQsCisJCQkJCSAgICAgdW5zaWduZWQgbG9uZyBhZGRyKQog ewogCV9fY2hlY2tfcHJpbnRzeW1fZm9ybWF0KGZtdCwgIiIpOwogCV9fcHJpbnRfc3ltYm9sKGZt dCwgKHVuc2lnbmVkIGxvbmcpCg== From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergey Senozhatsky Date: Tue, 12 Dec 2017 02:47:57 +0000 Subject: Re: [PATCH 00/13] replace print_symbol() with printk()-s Message-Id: <20171212024757.GC7798@jagdpanzerIV> List-Id: References: <20171211125025.2270-1-sergey.senozhatsky@gmail.com> <1513009569.26342.43.camel@perches.com> In-Reply-To: <1513009569.26342.43.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-arm-kernel@lists.infradead.org On (12/11/17 08:26), Joe Perches wrote: > On Mon, 2017-12-11 at 21:50 +0900, Sergey Senozhatsky wrote: > > print_symbol > > Yay. > > Just about exactly 5 years earlier... > http://lists.infradead.org/pipermail/linux-arm-kernel/2012-December/137121.html indeed :) hopefully it won't take us another 5 years to finally --- include/linux/kallsyms.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/kallsyms.h b/include/linux/kallsyms.h index 7288f9c395b6..794fd35cad4b 100644 --- a/include/linux/kallsyms.h +++ b/include/linux/kallsyms.h @@ -176,7 +176,8 @@ void __check_printsym_format(const char *fmt, ...) { } -static inline void print_symbol(const char *fmt, unsigned long addr) +static inline void __deprecated print_symbol(const char *fmt, + unsigned long addr) { __check_printsym_format(fmt, ""); __print_symbol(fmt, (unsigned long) --- -ss From mboxrd@z Thu Jan 1 00:00:00 1970 From: sergey.senozhatsky.work@gmail.com (Sergey Senozhatsky) Date: Tue, 12 Dec 2017 11:47:57 +0900 Subject: [PATCH 00/13] replace print_symbol() with printk()-s In-Reply-To: <1513009569.26342.43.camel@perches.com> References: <20171211125025.2270-1-sergey.senozhatsky@gmail.com> <1513009569.26342.43.camel@perches.com> List-ID: Message-ID: <20171212024757.GC7798@jagdpanzerIV> To: linux-snps-arc@lists.infradead.org On (12/11/17 08:26), Joe Perches wrote: > On Mon, 2017-12-11@21:50 +0900, Sergey Senozhatsky wrote: > > print_symbol > > Yay. > > Just about exactly 5 years earlier... > http://lists.infradead.org/pipermail/linux-arm-kernel/2012-December/137121.html indeed :) hopefully it won't take us another 5 years to finally --- include/linux/kallsyms.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/kallsyms.h b/include/linux/kallsyms.h index 7288f9c395b6..794fd35cad4b 100644 --- a/include/linux/kallsyms.h +++ b/include/linux/kallsyms.h @@ -176,7 +176,8 @@ void __check_printsym_format(const char *fmt, ...) { } -static inline void print_symbol(const char *fmt, unsigned long addr) +static inline void __deprecated print_symbol(const char *fmt, + unsigned long addr) { __check_printsym_format(fmt, ""); __print_symbol(fmt, (unsigned long) --- -ss From mboxrd@z Thu Jan 1 00:00:00 1970 From: sergey.senozhatsky.work@gmail.com (Sergey Senozhatsky) Date: Tue, 12 Dec 2017 11:47:57 +0900 Subject: [PATCH 00/13] replace print_symbol() with printk()-s In-Reply-To: <1513009569.26342.43.camel@perches.com> References: <20171211125025.2270-1-sergey.senozhatsky@gmail.com> <1513009569.26342.43.camel@perches.com> Message-ID: <20171212024757.GC7798@jagdpanzerIV> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On (12/11/17 08:26), Joe Perches wrote: > On Mon, 2017-12-11 at 21:50 +0900, Sergey Senozhatsky wrote: > > print_symbol > > Yay. > > Just about exactly 5 years earlier... > http://lists.infradead.org/pipermail/linux-arm-kernel/2012-December/137121.html indeed :) hopefully it won't take us another 5 years to finally --- include/linux/kallsyms.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/kallsyms.h b/include/linux/kallsyms.h index 7288f9c395b6..794fd35cad4b 100644 --- a/include/linux/kallsyms.h +++ b/include/linux/kallsyms.h @@ -176,7 +176,8 @@ void __check_printsym_format(const char *fmt, ...) { } -static inline void print_symbol(const char *fmt, unsigned long addr) +static inline void __deprecated print_symbol(const char *fmt, + unsigned long addr) { __check_printsym_format(fmt, ""); __print_symbol(fmt, (unsigned long) --- -ss From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752258AbdLLCsH (ORCPT ); Mon, 11 Dec 2017 21:48:07 -0500 Received: from mail-pf0-f196.google.com ([209.85.192.196]:45665 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751123AbdLLCsD (ORCPT ); Mon, 11 Dec 2017 21:48:03 -0500 X-Google-Smtp-Source: ACJfBos0Mtt6Ehw4yfqH9gCVabUWAxyRlYkfsoPm/prj5CbmuhY+hbMNz/j6Irn3qNjYDtg1DH3pJw== Date: Tue, 12 Dec 2017 11:47:57 +0900 From: Sergey Senozhatsky To: Joe Perches Cc: Sergey Senozhatsky , Andrew Morton , Russell King , Catalin Marinas , Mark Salter , Tony Luck , David Howells , Yoshinori Sato , Guan Xuetao , Borislav Petkov , Greg Kroah-Hartman , Thomas Gleixner , Peter Zijlstra , Vineet Gupta , Fengguang Wu , Steven Rostedt , Petr Mladek , LKML , linux-arm-kernel@lists.infradead.org, linux-c6x-dev@linux-c6x.org, linux-ia64@vger.kernel.org, linux-am33-list@redhat.com, linux-sh@vger.kernel.org, linux-edac@vger.kernel.org, x86@kernel.org, linux-snps-arc@lists.infradead.org, Sergey Senozhatsky Subject: Re: [PATCH 00/13] replace print_symbol() with printk()-s Message-ID: <20171212024757.GC7798@jagdpanzerIV> References: <20171211125025.2270-1-sergey.senozhatsky@gmail.com> <1513009569.26342.43.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1513009569.26342.43.camel@perches.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (12/11/17 08:26), Joe Perches wrote: > On Mon, 2017-12-11 at 21:50 +0900, Sergey Senozhatsky wrote: > > print_symbol > > Yay. > > Just about exactly 5 years earlier... > http://lists.infradead.org/pipermail/linux-arm-kernel/2012-December/137121.html indeed :) hopefully it won't take us another 5 years to finally --- include/linux/kallsyms.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/kallsyms.h b/include/linux/kallsyms.h index 7288f9c395b6..794fd35cad4b 100644 --- a/include/linux/kallsyms.h +++ b/include/linux/kallsyms.h @@ -176,7 +176,8 @@ void __check_printsym_format(const char *fmt, ...) { } -static inline void print_symbol(const char *fmt, unsigned long addr) +static inline void __deprecated print_symbol(const char *fmt, + unsigned long addr) { __check_printsym_format(fmt, ""); __print_symbol(fmt, (unsigned long) --- -ss