tree:
https://github.com/frank-w/BPI-R2-4.14 5.10-rc
head: 9cab5c0a19ff709f07113ec5bd8e8cedbfdf6b08
commit: 5618cb934d20e290d8e4ddaee3da1e02f901b1a3 [23/24] mt6625l: add changes outside
driver dir
config: nds32-randconfig-r005-20201212 (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/frank-w/BPI-R2-4.14/commit/5618cb934d20e290d8e4ddaee3d...
git remote add frank-w-bpi-r2-4.14
https://github.com/frank-w/BPI-R2-4.14
git fetch --no-tags frank-w-bpi-r2-4.14 5.10-rc
git checkout 5618cb934d20e290d8e4ddaee3da1e02f901b1a3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nds32
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/soc/mediatek/mtk-pmic-wrap.c:2022:16: warning: no
previous prototype for 'pwrap_node_to_regmap' [-Wmissing-prototypes]
2022 | struct regmap *pwrap_node_to_regmap(struct device_node *np)
| ^~~~~~~~~~~~~~~~~~~~
vim +/pwrap_node_to_regmap +2022 drivers/soc/mediatek/mtk-pmic-wrap.c
2021
2022 struct regmap *pwrap_node_to_regmap(struct device_node *np)
2023 {
2024 struct platform_device *pdev;
2025 struct pmic_wrapper *wrp;
2026 pdev = of_find_device_by_node(np);
2027 if (!pdev)
2028 return ERR_PTR(-ENODEV);
2029 wrp = platform_get_drvdata(pdev);
2030 return wrp->regmap;
2031 }
2032 EXPORT_SYMBOL_GPL(pwrap_node_to_regmap);
2033
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org