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-r006-20201113 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
9a85643cd357e412cff69067bb5c4840e228c2ab)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
#
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=clang 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:21: error: expected ';'
after top level declarator
bool __ro_after_init smccc_trng_available = false;
^
;
> drivers/firmware/smccc/smccc.c:22:2: error: use of undeclared
identifier 'smccc_trng_available'
smccc_trng_available =
smccc_probe_trng();
^
2 errors generated.
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