Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752209AbdLLDLB (ORCPT ); Mon, 11 Dec 2017 22:11:01 -0500 Received: from smtprelay0221.hostedemail.com ([216.40.44.221]:58600 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751566AbdLLDK6 (ORCPT ); Mon, 11 Dec 2017 22:10:58 -0500 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: X-HE-Tag: rub89_24ef0b9490161 X-Filterd-Recvd-Size: 2605 Message-ID: <1513048252.3036.23.camel@perches.com> Subject: Re: [PATCH 00/13] replace print_symbol() with printk()-s From: Joe Perches To: Sergey Senozhatsky Cc: 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 Date: Mon, 11 Dec 2017 19:10:52 -0800 In-Reply-To: <20171212024757.GC7798@jagdpanzerIV> References: <20171211125025.2270-1-sergey.senozhatsky@gmail.com> <1513009569.26342.43.camel@perches.com> <20171212024757.GC7798@jagdpanzerIV> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.26.1-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 842 Lines: 25 On Tue, 2017-12-12 at 11:47 +0900, Sergey Senozhatsky wrote: > 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 [] > diff --git a/include/linux/kallsyms.h b/include/linux/kallsyms.h [] > -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) As far as I'm concerned, as soon as there is no longer a single user in the kernel tree, better to delete it instead.