Re: [PATCH] media: xilinx: vip: Make use of the devm_clk_get_enabled()
From: kernel test robot
Date: Wed Nov 18 2026 - 20:29:59 EST
Hi Michal,
kernel test robot noticed the following build errors:
[auto build test ERROR on v7.4-rc3]
[also build test ERROR on linus/master next-20261116]
[cannot apply to xilinx-xlnx/master]
[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/Michal-Simek/media-xilinx-vip-Make-use-of-the-devm_clk_get_enabled/20261118-103132
base: v7.4-rc3
patch link: https://lore.kernel.org/r/abfe9f93f9f93d256b0d60d081e6111d7169c08f.1794994290.git.michal.simek%40amd.com
patch subject: [PATCH] media: xilinx: vip: Make use of the devm_clk_get_enabled()
config: arm-randconfig-1000-20261119 (https://download.01.org/0day-ci/archive/20261119/202611190940.8mpjaLm0-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 15.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261119/202611190940.8mpjaLm0-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/202611190940.8mpjaLm0-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
drivers/media/platform/xilinx/xilinx-vip.c: In function 'xvip_init_resources':
>> drivers/media/platform/xilinx/xilinx-vip.c:215:21: error: implicit declaration of function 'devm_clk_get_enable'; did you mean 'devm_clk_get_enabled'? [-Wimplicit-function-declaration]
215 | xvip->clk = devm_clk_get_enable(xvip->dev, NULL);
| ^~~~~~~~~~~~~~~~~~~
| devm_clk_get_enabled
>> drivers/media/platform/xilinx/xilinx-vip.c:215:19: error: assignment to 'struct clk *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
215 | xvip->clk = devm_clk_get_enable(xvip->dev, NULL);
| ^
vim +215 drivers/media/platform/xilinx/xilinx-vip.c
206
207 int xvip_init_resources(struct xvip_device *xvip)
208 {
209 struct platform_device *pdev = to_platform_device(xvip->dev);
210
211 xvip->iomem = devm_platform_ioremap_resource(pdev, 0);
212 if (IS_ERR(xvip->iomem))
213 return PTR_ERR(xvip->iomem);
214
> 215 xvip->clk = devm_clk_get_enable(xvip->dev, NULL);
216 if (IS_ERR(xvip->clk))
217 return PTR_ERR(xvip->clk);
218
219 return 0;
220 }
221 EXPORT_SYMBOL_GPL(xvip_init_resources);
222
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki