tree:
https://github.com/frank-w/BPI-R2-4.14 5.15-rc
head: cfa07bcc9a852f495b9aea8f324121854b40d13b
commit: e01c5f1b881458c2738c2ba42fe073bb1de045b3 [7/21] mt6625l: add changes outside
driver dir
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-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/e01c5f1b881458c2738c2ba42fe...
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.15-rc
git checkout e01c5f1b881458c2738c2ba42fe073bb1de045b3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc
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