Re: [PATCH v2 2/2] pinctrl: mediatek: add mt8196 driver
From: kernel test robot
Date: Sat Jan 11 2025 - 05:35:23 EST
Hi Cathy,
kernel test robot noticed the following build errors:
[auto build test ERROR on linusw-pinctrl/devel]
[also build test ERROR on linusw-pinctrl/for-next robh/for-next krzk-dt/for-next pinctrl-samsung/for-next linus/master v6.13-rc6 next-20250110]
[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/Cathy-Xu/dt-bindings-pinctrl-mediatek-add-support-for-mt8196/20250110-184846
base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
patch link: https://lore.kernel.org/r/20250110104703.13625-3-ot_cathy.xu%40mediatek.com
patch subject: [PATCH v2 2/2] pinctrl: mediatek: add mt8196 driver
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20250111/202501111834.dc1JHSLT-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250111/202501111834.dc1JHSLT-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/202501111834.dc1JHSLT-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
In file included from include/linux/cpumask.h:11,
from include/linux/smp.h:13,
from include/linux/lockdep.h:14,
from include/linux/spinlock.h:63,
from include/linux/mmzone.h:8,
from include/linux/gfp.h:7,
from include/linux/umh.h:4,
from include/linux/kmod.h:9,
from include/linux/module.h:17,
from drivers/pinctrl/mediatek/pinctrl-mt8196.c:7:
>> drivers/pinctrl/mediatek/pinctrl-mt8196.c:1753:37: error: 'mtk_eint_pm_ops' undeclared here (not in a function); did you mean 'mtk_eint_regs'?
1753 | .pm = pm_sleep_ptr(&mtk_eint_pm_ops),
| ^~~~~~~~~~~~~~~
include/linux/kernel.h:48:44: note: in definition of macro 'PTR_IF'
48 | #define PTR_IF(cond, ptr) ((cond) ? (ptr) : NULL)
| ^~~
drivers/pinctrl/mediatek/pinctrl-mt8196.c:1753:23: note: in expansion of macro 'pm_sleep_ptr'
1753 | .pm = pm_sleep_ptr(&mtk_eint_pm_ops),
| ^~~~~~~~~~~~
vim +1753 drivers/pinctrl/mediatek/pinctrl-mt8196.c
1748
1749 static struct platform_driver mt8196_pinctrl_driver = {
1750 .driver = {
1751 .name = "mt8196-pinctrl",
1752 .of_match_table = mt8196_pinctrl_of_match,
> 1753 .pm = pm_sleep_ptr(&mtk_eint_pm_ops),
1754 },
1755 .probe = mtk_paris_pinctrl_probe,
1756 };
1757
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki