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: 10106139 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 21E72602B3 for ; Tue, 12 Dec 2017 02:48:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 06EE029945 for ; Tue, 12 Dec 2017 02:48:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EC8F429950; Tue, 12 Dec 2017 02:48:05 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7968629945 for ; Tue, 12 Dec 2017 02:48:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751434AbdLLCsF (ORCPT ); Mon, 11 Dec 2017 21:48:05 -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 Received: by mail-pf0-f196.google.com with SMTP id u19so13101436pfa.12; 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=B4kyx5O2TDdHWY1SuipkIqy2cnBiNHYPJHZ8fgBKY6kqzo0zoIeFnhzqln8CvqIH5B t1pXr7linoD4oTgBFrLfI/cxkqNgD5ufSClR7WqRPAOX08+s4zKG0uudZh9zzVrwD725 wM2oALuvFYFZnJwlSRFZNow1ae1XmOIZbPBaNKHSMI2sV5beLqjcczGuFd50PKFg73ng 71+MCa/BFWMlgF368Q70F1dYzqMpQ1YmxY422N/pFi80LpJaqdLfudXwcDErgwlrrSh3 xdNZHeFpJQVdxBfVQ49QOSVxcp5HDdi3cHAjvC2TQntYbzgkXU3dFs/Km7xCTj6zOUIH kTmg== X-Gm-Message-State: AKGB3mKvxQqBXRDQ0MKFwBWpKlCXI1+lye327fM5xOmGSf43OdG3lBDn G5BVHJQJPB68RRRiqS83mkI= 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 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-Disposition: inline In-Reply-To: <1513009569.26342.43.camel@perches.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.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 -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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)