[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201901311452.jYJR6CWg%fengguang.wu@intel.com>
Date: Thu, 31 Jan 2019 14:58:53 +0800
From: kbuild test robot <lkp@...el.com>
To: Masahiro Yamada <yamada.masahiro@...ionext.com>
Cc: kbuild-all@...org, linuxppc-dev@...ts.ozlabs.org,
Michael Ellerman <mpe@...erman.id.au>,
Mathieu Malaterre <malat@...ian.org>,
"Aneesh Kumar K.V" <aneesh.kumar@...ux.ibm.com>,
linux-kernel@...r.kernel.org,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Paul Mackerras <paulus@...ba.org>
Subject: Re: [PATCH] powerpc/prom_init: add __init markers to all functions
Hi Masahiro,
I love your patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v5.0-rc4 next-20190130]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Masahiro-Yamada/powerpc-prom_init-add-__init-markers-to-all-functions/20190131-134035
config: powerpc-mpc837x_mds_defconfig (attached as .config)
compiler: powerpc-linux-gnu-gcc (Debian 8.2.0-11) 8.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=8.2.0 make.cross ARCH=powerpc
All errors (new ones prefixed by >>):
>> arch/powerpc/kernel/prom_init.c:511:19: error: 'prom_getproplen' defined but not used [-Werror=unused-function]
static int __init prom_getproplen(phandle node, const char *pname)
^~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/prom_getproplen +511 arch/powerpc/kernel/prom_init.c
510
> 511 static int __init prom_getproplen(phandle node, const char *pname)
512 {
513 return call_prom("getproplen", 2, 1, node, ADDR(pname));
514 }
515
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (15157 bytes)
Powered by blists - more mailing lists