Subject: Re: linux-next: build warning in Linus' tree

From: Peter Zijlstra <[email-masked]>
Date: Tue, 23 Mar 2021 09:49:48 +0100

On Tue, Mar 23, 2021 at 04:51:45PM +1100, Stephen Rothwell wrote:
> Hi all,
> 
> Building Linus' tree, today's linux-next build (x86_64 allnoconfig)
> produced this warning:
> 
> kernel/static_call.c: In function '__static_call_update':
> kernel/static_call.c:153:18: warning: unused variable 'mod' [-Wunused-variable]
>   153 |   struct module *mod = site_mod->mod;
>       |                  ^~~
> 
> Introduced by commit
> 
>   698bacefe993 ("static_call: Align static_call_is_init() patching condition")

Blergh... that's MODULE=n. I'll see if I can find something that's not
too ugly there..