Hi Tuan,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linus/master]
[also build test WARNING on v5.9-rc4 next-20200910]
[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/Tuan-Phan/perf-arm_dsu-Support-D...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
ab29a807a7ddaa7c84d2f4cb8d29e74e33759072
config: arm64-randconfig-r012-20200909 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
0a5dc7effb191eff740e0e7ae7bd8e1f6bdb3ad9)
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
# 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 warnings (new ones prefixed by >>):
> drivers/perf/arm_dsu_pmu.c:799:36: warning: unused variable
'dsu_pmu_acpi_match' [-Wunused-const-variable]
static const struct
acpi_device_id dsu_pmu_acpi_match[] = {
^
1 warning generated.
#
https://github.com/0day-ci/linux/commit/40c3a0c70d4472e2fe1f5364d50939b86...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Tuan-Phan/perf-arm_dsu-Support-DSU-ACPI-devices/20200910-105630
git checkout 40c3a0c70d4472e2fe1f5364d50939b863874fa1
vim +/dsu_pmu_acpi_match +799 drivers/perf/arm_dsu_pmu.c
798
799 static const struct acpi_device_id dsu_pmu_acpi_match[] = {
800 { "ARMHD500", 0},
801 {},
802 };
803 MODULE_DEVICE_TABLE(acpi, dsu_pmu_acpi_match);
804
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org