[PATCH 3/3] regulator: mt6323: Add OF match table

kernel test robot lkp at intel.com
Sat Jan 9 00:24:13 EST 2021


Hi,

I love your patch! Perhaps something to improve:

[auto build test WARNING on regulator/for-next]
[also build test WARNING on v5.11-rc2 next-20210108]
[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/matthias-bgg-kernel-org/regulator-mt6360-Add-OF-match-table/20210109-101451
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
config: mips-randconfig-r032-20210108 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project bc556e5685c0f97e79fb7b3c6f15cc5062db8e36)
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 mips cross compiling tool for clang build
        # apt-get install binutils-mips-linux-gnu
        # https://github.com/0day-ci/linux/commit/ad9188be3a1fb2710a943ed2ca794c7d0e82e983
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review matthias-bgg-kernel-org/regulator-mt6360-Add-OF-match-table/20210109-101451
        git checkout ad9188be3a1fb2710a943ed2ca794c7d0e82e983
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All warnings (new ones prefixed by >>):

>> drivers/regulator/mt6323-regulator.c:409:34: warning: unused variable 'mt6323_of_match' [-Wunused-const-variable]
   static const struct of_device_id mt6323_of_match[] = {
                                    ^
   1 warning generated.


vim +/mt6323_of_match +409 drivers/regulator/mt6323-regulator.c

   408	
 > 409	static const struct of_device_id mt6323_of_match[] = {
   410		{ .compatible = "mediatek,mt6323-regulator", },
   411		{ /* sentinel */ },
   412	};
   413	MODULE_DEVICE_TABLE(of, mt6323_of_match);
   414	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 33866 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210109/de3f9906/attachment-0001.gz>


More information about the linux-arm-kernel mailing list