Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1575294

Re: modules: mark __inittest/__exittest as __maybe_unused

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Jessica Yu <jeyu@redhat.com>
Newsgroups linux.kernel
Subject Re: modules: mark __inittest/__exittest as __maybe_unused
Date Tue, 07 Feb 2017 02:00:01 +0100
Message-ID <t82it-3XP-11@gated-at.bofh.it> (permalink)
References <t66zU-fo-27@gated-at.bofh.it>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii; format=flowed
Content-Disposition inline
X-Os Linux eisen.io 3.16.0-4-amd64 x86_64
User-Agent Mutt/1.5.23 (2014-03-12)
X-Scanned-By MIMEDefang 2.68 on 10.5.11.26
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Tue, 07 Feb 2017 00:51:08 +0000 (UTC)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 14
Organization linux.* mail to news gateway
X-Original-Cc Rusty Russell <rusty@rustcorp.com.au>, Jiri Kosina <jikos@kernel.org>, Paul Gortmaker <paul.gortmaker@windriver.com>, Miroslav Benes <mbenes@suse.cz>, Anson Jacob <ansonjacob.aj@gmail.com>, linux-kernel@vger.kernel.org
X-Original-Date Mon, 6 Feb 2017 19:51:06 -0500
X-Original-Message-ID <20170207005106.GE12155@packer-debian-8-amd64.digitalocean.com>
X-Original-References <20170201170028.2645354-1-arnd@arndb.de>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1575294

Show key headers only | View raw


+++ Arnd Bergmann [01/02/17 18:00 +0100]:
>clang warns about unused inline functions by default:
>
>arch/arm/crypto/aes-cipher-glue.c:68:1: warning: unused function '__inittest' [-Wunused-function]
>arch/arm/crypto/aes-cipher-glue.c:69:1: warning: unused function '__exittest' [-Wunused-function]
>
>As these appear in every single module, let's just disable the warnings by marking the
>two functions as __maybe_unused.
>
>Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Applied, thanks.

Jessica

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] modules: mark __inittest/__exittest as __maybe_unused Arnd Bergmann <arnd@arndb.de> - 2017-02-01 18:10 +0100
  Re: [PATCH] modules: mark __inittest/__exittest as __maybe_unused Rusty Russell <rusty@rustcorp.com.au> - 2017-02-02 10:30 +0100
    Re: [PATCH] modules: mark __inittest/__exittest as __maybe_unused Arnd Bergmann <arnd@arndb.de> - 2017-02-02 11:20 +0100
      Re: [PATCH] modules: mark __inittest/__exittest as __maybe_unused Rusty Russell <rusty@rustcorp.com.au> - 2017-02-02 20:20 +0100
  Re: [PATCH] modules: mark __inittest/__exittest as __maybe_unused Miroslav Benes <mbenes@suse.cz> - 2017-02-02 20:50 +0100
  Re: modules: mark __inittest/__exittest as __maybe_unused Jessica Yu <jeyu@redhat.com> - 2017-02-07 02:00 +0100

csiph-web