From patchwork Tue Dec 12 02:47:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Senozhatsky X-Patchwork-Id: 10106143 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 38205602B3 for ; Tue, 12 Dec 2017 02:48:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 25A3529945 for ; Tue, 12 Dec 2017 02:48:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1849329950; Tue, 12 Dec 2017 02:48:29 +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=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8378D29945 for ; Tue, 12 Dec 2017 02:48:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qT8sCm1ESQ5W/hTjz37giu4+1Hw8pVXxrRcMuKvlXRY=; b=bAraI/n9OfyBeu ur0hQqKttK5oCl8Al9+TgOBTLuuiIJ9ZL6vmQ8zPQHH8EmQhuc0ad++RLjxNp5x2T/j8E/0SWe5fc zNczVkGDiuzNqCK3qpj60sfu1Lz8koTFvk/ymrkxXSIfLMrh6cpT+skwOpFynN59Y4dLwkAuvufL8 +Xal3ElGR0HyTZB/Qc7YSBGGm0FvRKAen8yriXEBOsl+WS9gsuDX1wn0DtpByHMcTPLFHXX09+txQ 7ZCic4hka1RjrPCXIY32c/+cuqKIisHbiwQySf/TAoWAT9uI9I/6uWp9SWogZc9z1UGnzwlrfkphs +7NSW6eYxQvMOMT9ocwg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eOacM-000764-Ll; Tue, 12 Dec 2017 02:48:26 +0000 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eOacJ-00073H-CQ; Tue, 12 Dec 2017 02:48:25 +0000 Received: by mail-pf0-x243.google.com with SMTP id a90so13116893pfk.1; Mon, 11 Dec 2017 18:48:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Cj7W8daplhOwDU/8h8AbUpbovV8SIp8q7cdU2fpGljQ=; b=nLjZqaA6cAznVC1X1OfOpvAVEYqIkNCn3uANRCpqHGqYBOlv9A83csPRda/kIMWKCx 0NCdNjXbRUyDSx0Wtf9HWZPU6foi6/Q1O98WqotPJjdgbIPoFC6lS2KqLVHcESPs5mA8 DdDfsBLfUxNaovdSz//IfUDdEuvHd6H90i7VXxiJLX/yVkRetWPLGaISkPMz6sNTOSmf sQZ6yVn7MQAiCvZyj5emxzohA3coV+5CvbEa+5arnDjWxQTmj7TCpgYjk7+WmrNlYpYM qgcP0CXNEcWJYjTVZZoM/+vvddqrcLeYu+ID3G+s1W3JRrOjbaRxayL9K1jsN7AyUF6U Jp2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Cj7W8daplhOwDU/8h8AbUpbovV8SIp8q7cdU2fpGljQ=; b=JzMec2LWJ3gDvHI1CXIrJinpNHrd1XNVXraXLWsq2zO9AaZCF5BABTEfx+s578FO+q W0LNkhGLeHOtYu8AiESwyqltYrxvYg7tH1IdJ6rRytMXnph70yYas9ZearKCVqOdwIyP GyJujEDEDTAr2Vj/Z1NiqrtaRQEXuj1UxorXjUfvkAq85qHKR8aMOrUWUnKVsPKwINDk EPFwsas32Rja3/rc0Hnq8SgrrVQyJcS6wdxvvBRMlqSF44AQ4QVBsc9BBYgtRhRoi/1T nnLeg5hR4r0NL8sq3h7nBAzbmAC99S9Dz1AQvVgaONpLZjvCYLBV1BFx3NFmcJO68Ji7 FMdA== X-Gm-Message-State: AKGB3mJI2VDiYAny+IxbqjD6ND2bATIopN0plSppJTP0/ttW2Te3j3Rk d3pBKd7Rrm4APMb2aom7k/o= X-Google-Smtp-Source: ACJfBos0Mtt6Ehw4yfqH9gCVabUWAxyRlYkfsoPm/prj5CbmuhY+hbMNz/j6Irn3qNjYDtg1DH3pJw== X-Received: by 10.101.101.12 with SMTP id x12mr642197pgv.420.1513046882730; Mon, 11 Dec 2017 18:48:02 -0800 (PST) Received: from localhost ([110.70.52.222]) by smtp.gmail.com with ESMTPSA id u68sm27743854pfu.17.2017.12.11.18.48.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Dec 2017 18:48:01 -0800 (PST) Date: Tue, 12 Dec 2017 11:47:57 +0900 From: Sergey Senozhatsky To: Joe Perches 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-Disposition: inline In-Reply-To: <1513009569.26342.43.camel@perches.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171211_184823_563072_C7EE5E6E X-CRM114-Status: GOOD ( 11.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-ia64@vger.kernel.org, Sergey Senozhatsky , linux-sh@vger.kernel.org, Peter Zijlstra , Catalin Marinas , David Howells , Guan Xuetao , linux-am33-list@redhat.com, linux-c6x-dev@linux-c6x.org, Yoshinori Sato , x86@kernel.org, Russell King , Mark Salter , linux-snps-arc@lists.infradead.org, Petr Mladek , Steven Rostedt , Borislav Petkov , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, linux-edac@vger.kernel.org, Tony Luck , Greg Kroah-Hartman , LKML , Sergey Senozhatsky , Vineet Gupta , Andrew Morton , Fengguang Wu Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) --- -ss 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)