tree:
https://github.com/frank-w/BPI-R2-4.14 5.13-rc
head: acf147972a65a0e50a52b63d878ed586649fad08
commit: d84e8ed39a547fa9516ba1c724345d171b74d8aa [7/18] mt6625l: add changes outside
driver dir
config: x86_64-randconfig-r002-20210622 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
7c8a507272587f181ec29401453949ebcd8fec65)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
#
https://github.com/frank-w/BPI-R2-4.14/commit/d84e8ed39a547fa9516ba1c7243...
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.13-rc
git checkout d84e8ed39a547fa9516ba1c724345d171b74d8aa
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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:2077:16: warning: no
previous prototype for function 'pwrap_node_to_regmap' [-Wmissing-prototypes]
struct regmap *pwrap_node_to_regmap(struct device_node *np)
^
drivers/soc/mediatek/mtk-pmic-wrap.c:2077:1: note: declare 'static' if the
function is not intended to be used outside of this translation unit
struct regmap *pwrap_node_to_regmap(struct device_node *np)
^
static
1 warning generated.
vim +/pwrap_node_to_regmap +2077 drivers/soc/mediatek/mtk-pmic-wrap.c
2076
2077 struct regmap *pwrap_node_to_regmap(struct device_node *np)
2078 {
2079 struct platform_device *pdev;
2080 struct pmic_wrapper *wrp;
2081 pdev = of_find_device_by_node(np);
2082 if (!pdev)
2083 return ERR_PTR(-ENODEV);
2084 wrp = platform_get_drvdata(pdev);
2085 return wrp->regmap;
2086 }
2087 EXPORT_SYMBOL_GPL(pwrap_node_to_regmap);
2088
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org