[PATCH 1/6] arm64: dts: mediatek: Move reset controller constants into common location

kernel test robot lkp at intel.com
Wed Jun 30 18:06:27 PDT 2021


Hi Enric,

I love your patch! Yet something to improve:

[auto build test ERROR on robh/for-next]
[also build test ERROR on pza/reset/next linux/master linus/master v5.13 next-20210630]
[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/Enric-Balletbo-i-Serra/Add-support-to-the-mmsys-driver-to-be-a-reset-controller/20210630-224837
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: x86_64-randconfig-a012-20210630 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8d21d5472501460933e78aead04cf59579025ba4)
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 x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/0day-ci/linux/commit/d379d95430210479407b6123a1f2f39b5c116475
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Enric-Balletbo-i-Serra/Add-support-to-the-mmsys-driver-to-be-a-reset-controller/20210630-224837
        git checkout d379d95430210479407b6123a1f2f39b5c116475
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/watchdog/

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

All errors (new ones prefixed by >>):

>> drivers/watchdog/mtk_wdt.c:12:10: fatal error: 'dt-bindings/reset-controller/mt2712-resets.h' file not found
   #include <dt-bindings/reset-controller/mt2712-resets.h>
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1 error generated.


vim +12 drivers/watchdog/mtk_wdt.c

9e5236e7cec110 yong.liang       2020-01-15 @12  #include <dt-bindings/reset-controller/mt2712-resets.h>
c254e103082b74 yong.liang       2020-01-15  13  #include <dt-bindings/reset-controller/mt8183-resets.h>
adc318a3406681 Crystal Guo      2020-10-14  14  #include <dt-bindings/reset-controller/mt8192-resets.h>
c254e103082b74 yong.liang       2020-01-15  15  #include <linux/delay.h>
a44a45536f7bc2 Matthias Brugger 2015-01-13  16  #include <linux/err.h>
a44a45536f7bc2 Matthias Brugger 2015-01-13  17  #include <linux/init.h>
a44a45536f7bc2 Matthias Brugger 2015-01-13  18  #include <linux/io.h>
a44a45536f7bc2 Matthias Brugger 2015-01-13  19  #include <linux/kernel.h>
a44a45536f7bc2 Matthias Brugger 2015-01-13  20  #include <linux/module.h>
a44a45536f7bc2 Matthias Brugger 2015-01-13  21  #include <linux/moduleparam.h>
a44a45536f7bc2 Matthias Brugger 2015-01-13  22  #include <linux/of.h>
c254e103082b74 yong.liang       2020-01-15  23  #include <linux/of_device.h>
a44a45536f7bc2 Matthias Brugger 2015-01-13  24  #include <linux/platform_device.h>
c254e103082b74 yong.liang       2020-01-15  25  #include <linux/reset-controller.h>
a44a45536f7bc2 Matthias Brugger 2015-01-13  26  #include <linux/types.h>
a44a45536f7bc2 Matthias Brugger 2015-01-13  27  #include <linux/watchdog.h>
a44a45536f7bc2 Matthias Brugger 2015-01-13  28  

---
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: 38396 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20210701/7c321f60/attachment-0001.gz>


More information about the Linux-mediatek mailing list