Re: [PATCH] mmc: xenon: enable ACPI support in the driver

From: kernel test robot
Date: Mon Nov 16 2020 - 23:51:41 EST


Hi Marcin,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on linux/master v5.10-rc4 next-20201116]
[cannot apply to ulf.hansson-mmc/next mmc/mmc-next]
[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/Marcin-Wojtas/mmc-xenon-enable-ACPI-support-in-the-driver/20201114-171221
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git f01c30de86f1047e9bae1b1b1417b0ce8dcd15b1
config: powerpc-randconfig-r026-20201116 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project ace9653c11c6308401dcda2e8b26bf97e6e66e30)
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 powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
# https://github.com/0day-ci/linux/commit/6595d0b7fbf57c9f404669db45d3895aa578ea03
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Marcin-Wojtas/mmc-xenon-enable-ACPI-support-in-the-driver/20201114-171221
git checkout 6595d0b7fbf57c9f404669db45d3895aa578ea03
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> drivers/mmc/host/sdhci-xenon.c:701:36: warning: unused variable 'sdhci_xenon_acpi_ids' [-Wunused-const-variable]
static const struct acpi_device_id sdhci_xenon_acpi_ids[] = {
^
1 warning generated.

vim +/sdhci_xenon_acpi_ids +701 drivers/mmc/host/sdhci-xenon.c

700
> 701 static const struct acpi_device_id sdhci_xenon_acpi_ids[] = {
702 { .id = "MRVL0002",},
703 {}
704 };
705 MODULE_DEVICE_TABLE(acpi, sdhci_xenon_acpi_ids);
706

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip