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

From: kernel test robot
Date: Wed Jun 30 2021 - 13:53:24 EST


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: nds32-randconfig-r036-20210630 (attached as .config)
compiler: nds32le-linux-gcc (GCC) 9.3.0
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
# 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=gcc-9.3.0 make.cross O=build_dir ARCH=nds32 SHELL=/bin/bash drivers/

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

All errors (new ones prefixed by >>):

>> drivers/watchdog/mtk_wdt.c:12:10: fatal error: dt-bindings/reset-controller/mt2712-resets.h: No such file or directory
12 | #include <dt-bindings/reset-controller/mt2712-resets.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.


vim +12 drivers/watchdog/mtk_wdt.c

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

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

Attachment: .config.gz
Description: application/gzip