Hi Andre,
I love your patch! Yet something to improve:
[auto build test ERROR on arm64/for-next/core]
[also build test ERROR on kvmarm/next linus/master v5.10-rc3 next-20201113]
[cannot apply to arm-perf/for-next/perf]
[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/Andre-Przywara/ARM-arm64-Add-SMC...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core
config: arm64-randconfig-r015-20201113 (attached as .config)
compiler: aarch64-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/7eda8946317c66c69354088b975b3122f...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Andre-Przywara/ARM-arm64-Add-SMCCC-TRNG-entropy-service/20201114-022616
git checkout 7eda8946317c66c69354088b975b3122f63a06bf
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/firmware/smccc/smccc.c:15:22: error: expected
'=', ',', ';', 'asm' or '__attribute__' before
'smccc_trng_available'
15 | bool __ro_after_init smccc_trng_available
= false;
| ^~~~~~~~~~~~~~~~~~~~
drivers/firmware/smccc/smccc.c: In function 'arm_smccc_version_init':
> drivers/firmware/smccc/smccc.c:22:2: error:
'smccc_trng_available' undeclared (first use in this function)
22 |
smccc_trng_available = smccc_probe_trng();
| ^~~~~~~~~~~~~~~~~~~~
drivers/firmware/smccc/smccc.c:22:2: note: each undeclared identifier is reported only
once for each function it appears in
vim +15 drivers/firmware/smccc/smccc.c
14
15 bool __ro_after_init smccc_trng_available = false;
16
17 void __init arm_smccc_version_init(u32 version, enum arm_smccc_conduit conduit)
18 {
19 smccc_version = version;
20 smccc_conduit = conduit;
21
22 smccc_trng_available = smccc_probe_trng();
23 }
24
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org