[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4deb323a-ce00-b463-9b06-5cb5be0795fa@huawei.com>
Date: Thu, 8 Apr 2021 09:11:11 +0800
From: "yukuai (C)" <yukuai3@...wei.com>
To: kernel test robot <lkp@...el.com>, <mpe@...erman.id.au>
CC: <kbuild-all@...ts.01.org>, <linuxppc-dev@...ts.ozlabs.org>,
<linux-kernel@...r.kernel.org>, <yi.zhang@...wei.com>
Subject: Re: [PATCH] powerpc: Make some symbols static
On 2021/04/08 0:57, kernel test robot wrote:
> Hi Yu,
>
> Thank you for the patch! Yet something to improve:
>
> [auto build test ERROR on powerpc/next]
> [also build test ERROR on v5.12-rc6 next-20210407]
> [If your patch is applied to the wrong git tree, kindly drop us a note.
> And when submitting patch, we suggest to use '--base' as documented in
> https://git-scm.com/docs/git-format-patch]
>
> url: https://github.com/0day-ci/linux/commits/Yu-Kuai/powerpc-Make-some-symbols-static/20210407-205258
> base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
> config: powerpc64-defconfig (attached as .config)
> compiler: powerpc64-linux-gcc (GCC) 9.3.0
> reproduce (this is a W=1 build):
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # https://github.com/0day-ci/linux/commit/7c0f3f68006b9b42ce944b02a2059128cc5826ec
> git remote add linux-review https://github.com/0day-ci/linux
> git fetch --no-tags linux-review Yu-Kuai/powerpc-Make-some-symbols-static/20210407-205258
> git checkout 7c0f3f68006b9b42ce944b02a2059128cc5826ec
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc64
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@...el.com>
>
> All errors (new ones prefixed by >>):
>
>>> arch/powerpc/kernel/btext.c:49:12: error: 'force_printk_to_btext' defined but not used [-Werror=unused-variable]
> 49 | static int force_printk_to_btext;
> | ^~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
>
>
> vim +/force_printk_to_btext +49 arch/powerpc/kernel/btext.c
>
> 47
> 48 static int boot_text_mapped __force_data;
> > 49 static int force_printk_to_btext;
> 50
Will remove this variable in another patch.
Thanks
Yu Kuai
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
>
Powered by blists - more mailing lists