Re: [PATCH] media: mediatek: vcodec: unregister VPU watchdog handler

kernel test robot <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.ports.arm.kernel,gmane.linux.ports.arm.mediatek,gmane.linux.drivers.video-input-infrastructure
Message-ID <[email protected]>
Hi Guangshuo,

kernel test robot noticed the following build errors:

[auto build test ERROR on linuxtv-media-pending/master]
[also build test ERROR on media-tree/master linus/master v7.2-rc6 next-20260803]
[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/Guangshuo-Li/media-mediatek-vcodec-unregister-VPU-watchdog-handler/20260804-140933
base:   https://git.linuxtv.org/media-ci/media-pending.git master
patch link:    https://lore.kernel.org/r/20260708124235.763036-1-lgs201920130244%40gmail.com
patch subject: [PATCH] media: mediatek: vcodec: unregister VPU watchdog handler
config: alpha-allmodconfig (https://download.01.org/0day-ci/archive/20260804/[email protected]/config)
compiler: alpha-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260804/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> drivers/media/platform/mediatek/vpu/mtk_vpu.c:440:1: error: expected identifier or '(' before '+' token
     440 | +void vpu_wdt_unreg_handler(struct platform_device *pdev, enum rst_id id)
         | ^


vim +440 drivers/media/platform/mediatek/vpu/mtk_vpu.c

   439	
 > 440	+void vpu_wdt_unreg_handler(struct platform_device *pdev, enum rst_id id)
   441	{
   442		struct mtk_vpu *vpu = platform_get_drvdata(pdev);
   443	
   444		if (!vpu || id >= VPU_RST_MAX)
   445			return;
   446	
   447		mutex_lock(&vpu->vpu_mutex);
   448		vpu->wdt.handler[id].reset_func = NULL;
   449		vpu->wdt.handler[id].priv = NULL;
   450		mutex_unlock(&vpu->vpu_mutex);
   451	}
   452	EXPORT_SYMBOL_GPL(vpu_wdt_unreg_handler);
   453	
   454	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.