From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f195.google.com ([209.85.208.195]:37876 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725779AbeJGFMk (ORCPT ); Sun, 7 Oct 2018 01:12:40 -0400 MIME-Version: 1.0 References: <20180921142234.16882-1-kieran.bingham+renesas@ideasonboard.com> <20181005083313.2088252-1-arnd@arndb.de> In-Reply-To: From: Miguel Ojeda Date: Sun, 7 Oct 2018 00:07:30 +0200 Message-ID: Subject: Re: [PATCH] kbuild: fix kernel/bounds.c 'W=1' warning To: Masahiro Yamada Cc: Arnd Bergmann , Andrew Morton , linux-renesas-soc@vger.kernel.org, kieran.bingham+renesas@ideasonboard.com, stable@vger.kernel.org, linux-kernel , linux-kbuild@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-renesas-soc-owner@vger.kernel.org List-ID: Hi Masahiro, On Sat, Oct 6, 2018 at 11:59 PM Masahiro Yamada wrote: > > On Sun, Oct 7, 2018 at 6:18 AM Miguel Ojeda > wrote: > > > > I think marking the function as static __used should do the trick and > > would be less confusing. > > I tried __used, but I still see the warning. It has to be static __used, not only __used! :-) Cheers, Miguel