[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170207005106.GE12155@packer-debian-8-amd64.digitalocean.com>
Date: Mon, 6 Feb 2017 19:51:06 -0500
From: Jessica Yu <jeyu@...hat.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: Rusty Russell <rusty@...tcorp.com.au>,
Jiri Kosina <jikos@...nel.org>,
Paul Gortmaker <paul.gortmaker@...driver.com>,
Miroslav Benes <mbenes@...e.cz>,
Anson Jacob <ansonjacob.aj@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: modules: mark __inittest/__exittest as __maybe_unused
+++ 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@...db.de>
Applied, thanks.
Jessica
Powered by blists - more mailing lists