Re: [PATCH] regulator: mtk-dvfsrc: remove non-existent configuration dependency "MTK_DVFSRC"

From: kernel test robot
Date: Tue Sep 12 2023 - 17:49:52 EST


Hi,

kernel test robot noticed the following build errors:

[auto build test ERROR on broonie-regulator/for-next]
[also build test ERROR on linus/master v6.6-rc1 next-20230912]
[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#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/sunying-nj-iscas-ac-cn/regulator-mtk-dvfsrc-remove-non-existent-configuration-dependency-MTK_DVFSRC/20230912-101109
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
patch link: https://lore.kernel.org/r/20230912013929.658-1-sunying%40nj.iscas.ac.cn
patch subject: [PATCH] regulator: mtk-dvfsrc: remove non-existent configuration dependency "MTK_DVFSRC"
config: sparc64-allyesconfig (https://download.01.org/0day-ci/archive/20230913/202309130559.z9VcY7Ak-lkp@xxxxxxxxx/config)
compiler: sparc64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230913/202309130559.z9VcY7Ak-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309130559.z9VcY7Ak-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/regulator/mtk-dvfsrc-regulator.c:9:10: fatal error: linux/of_.h: No such file or directory
9 | #include <linux/of_.h>
| ^~~~~~~~~~~~~
compilation terminated.


vim +9 drivers/regulator/mtk-dvfsrc-regulator.c

a0db6b0aa670ba henryc.chen 2020-12-24 4
a0db6b0aa670ba henryc.chen 2020-12-24 5 #include <linux/err.h>
a0db6b0aa670ba henryc.chen 2020-12-24 6 #include <linux/init.h>
a0db6b0aa670ba henryc.chen 2020-12-24 7 #include <linux/module.h>
a0db6b0aa670ba henryc.chen 2020-12-24 8 #include <linux/platform_device.h>
045a44d4c9b325 Rob Herring 2023-07-14 @9 #include <linux/of_.h>
a0db6b0aa670ba henryc.chen 2020-12-24 10 #include <linux/regulator/driver.h>
a0db6b0aa670ba henryc.chen 2020-12-24 11 #include <linux/regulator/of_regulator.h>
a0db6b0aa670ba henryc.chen 2020-12-24 12 #include <linux/soc/mediatek/mtk_dvfsrc.h>
a0db6b0aa670ba henryc.chen 2020-12-24 13

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki