Hi,
I love your patch! Perhaps something to improve:
[auto build test WARNING on linus/master]
[also build test WARNING on v5.13-rc6 next-20210617]
[cannot apply to xlnx/master]
[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/trix-redhat-com/fpga-reorganize-...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
94f0b2d4a1d0c52035aef425da5e022bd2cb1c71
config: arm-randconfig-r011-20210618 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
64720f57bea6a6bf033feef4a5751ab9c0c3b401)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
#
https://github.com/0day-ci/linux/commit/e5f1603deb6348c4e1e0f5efe8dc8cde6...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
trix-redhat-com/fpga-reorganize-to-subdirs/20210616-231900
git checkout e5f1603deb6348c4e1e0f5efe8dc8cde603279ea
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
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/fpga/lattice/machxo2-spi.c:377:34: warning: unused
variable 'of_match' [-Wunused-const-variable]
static const struct
of_device_id of_match[] = {
^
1 warning generated.
vim +/of_match +377 drivers/fpga/lattice/machxo2-spi.c
88fb3a00233073 drivers/fpga/machxo2-spi.c Paolo Pisati 2018-04-16 376
88fb3a00233073 drivers/fpga/machxo2-spi.c Paolo Pisati 2018-04-16 @377 static const
struct of_device_id of_match[] = {
88fb3a00233073 drivers/fpga/machxo2-spi.c Paolo Pisati 2018-04-16 378 { .compatible =
"lattice,machxo2-slave-spi", },
88fb3a00233073 drivers/fpga/machxo2-spi.c Paolo Pisati 2018-04-16 379 {}
88fb3a00233073 drivers/fpga/machxo2-spi.c Paolo Pisati 2018-04-16 380 };
88fb3a00233073 drivers/fpga/machxo2-spi.c Paolo Pisati 2018-04-16 381
MODULE_DEVICE_TABLE(of, of_match);
88fb3a00233073 drivers/fpga/machxo2-spi.c Paolo Pisati 2018-04-16 382
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org