From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752235AbdBGAvI (ORCPT ); Mon, 6 Feb 2017 19:51:08 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33868 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751164AbdBGAvH (ORCPT ); Mon, 6 Feb 2017 19:51:07 -0500 Date: Mon, 6 Feb 2017 19:51:06 -0500 From: Jessica Yu To: Arnd Bergmann Cc: Rusty Russell , Jiri Kosina , Paul Gortmaker , Miroslav Benes , Anson Jacob , linux-kernel@vger.kernel.org Subject: Re: modules: mark __inittest/__exittest as __maybe_unused Message-ID: <20170207005106.GE12155@packer-debian-8-amd64.digitalocean.com> References: <20170201170028.2645354-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20170201170028.2645354-1-arnd@arndb.de> X-OS: Linux eisen.io 3.16.0-4-amd64 x86_64 User-Agent: Mutt/1.5.23 (2014-03-12) 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: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +++ 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 Applied, thanks. Jessica