tree:
https://github.com/frank-w/BPI-R2-4.14 5.17-r2pro-hdmiv5-gpu
head: d4f5988d6a247f2752e024d4ea103f7ea1d45716
commit: 15092117d05b81c9d7810a40500a11724c41205b [15/108] mt6625l: add changes outside
driver dir
config: m68k-allmodconfig
(
https://download.01.org/0day-ci/archive/20220213/202202131913.OqPfwWTy-lk...)
compiler: m68k-linux-gcc (GCC) 11.2.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/15092117d05b81c9d7810a40500...
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.17-r2pro-hdmiv5-gpu
git checkout 15092117d05b81c9d7810a40500a11724c41205b
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir
ARCH=m68k SHELL=/bin/bash drivers/soc/mediatek/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/soc/mediatek/mtk-pmic-wrap.c:2112:16: error: no previous
prototype for 'pwrap_node_to_regmap' [-Werror=missing-prototypes]
2112 |
struct regmap *pwrap_node_to_regmap(struct device_node *np)
| ^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/pwrap_node_to_regmap +2112 drivers/soc/mediatek/mtk-pmic-wrap.c
2111
2112 struct regmap *pwrap_node_to_regmap(struct device_node *np)
2113 {
2114 struct platform_device *pdev;
2115 struct pmic_wrapper *wrp;
2116 pdev = of_find_device_by_node(np);
2117 if (!pdev)
2118 return ERR_PTR(-ENODEV);
2119 wrp = platform_get_drvdata(pdev);
2120 return wrp->regmap;
2121 }
2122 EXPORT_SYMBOL_GPL(pwrap_node_to_regmap);
2123
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org