Re: [tip:x86/pti 4/5] arch/x86/mm/tlb.c:319:6: warning: variable 'cpu' set but not used

From: Singh, Balbir
Date: Wed Jan 20 2021 - 07:03:39 EST


On Sat, 2021-01-16 at 11:21 +0800, kernel test robot wrote:
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/pti
> head: 767d46ab566dd489733666efe48732d523c8c332
> commit: b6724f118d44606fddde391ba7527526b3cad211 [4/5] prctl: Hook L1D flushing in via prctl
> config: i386-randconfig-r026-20210115 (attached as .config)
> compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
> reproduce (this is a W=1 build):
> # https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=b6724f118d44606fddde391ba7527526b3cad211
> git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
> git fetch --no-tags tip x86/pti
> git checkout b6724f118d44606fddde391ba7527526b3cad211
> # save the attached .config to linux build tree
> make W=1 ARCH=i386
>

There is a newer revision of the patches posted at
https://lore.kernel.org/lkml/20210108121056.21940-1-sblbir@xxxxxxxxxx/T/

which should not have this problem/issue.

Balbir Singh.