[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALCETrW+p_PsdRfQh99JkPW2Zi6z_w4RqDnsK0=kU+D7RqeYzA@mail.gmail.com>
Date: Thu, 28 Feb 2019 15:43:12 -0800
From: Andy Lutomirski <luto@...nel.org>
To: Qian Cai <cai@....pw>
Cc: Dave Hansen <dave.hansen@...ux.intel.com>,
Andrew Lutomirski <luto@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
"H. Peter Anvin" <hpa@...or.com>, X86 ML <x86@...nel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] x86/mm: fix "cpu" set but not used
On Thu, Feb 28, 2019 at 2:02 PM Qian Cai <cai@....pw> wrote:
>
> The commit a2055abe9c67 ("x86/mm: Pass flush_tlb_info to
> flush_tlb_others() etc") removed the unnecessary cpu parameter from
> uv_flush_tlb_others() but left an unused variable.
>
> arch/x86/mm/tlb.c: In function 'native_flush_tlb_others':
> arch/x86/mm/tlb.c:688:16: warning: variable 'cpu' set but not used
> [-Wunused-but-set-variable]
> unsigned int cpu;
> ^~~
>
Acked-by: Andyt Lutomirski <luto@...nel.org>
Powered by blists - more mailing lists