* Re: [PATCH] media: xilinx: vip: Make use of the devm_clk_get_enabled()
[not found] <abfe9f93f9f93d256b0d60d081e6111d7169c08f.1794994290.git.michal.simek@amd.com>
@ 2026-11-19 3:06 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-11-19 3:06 UTC (permalink / raw)
To: Michal Simek, linux-kernel, michal.simek, git
Cc: llvm, oe-kbuild-all, Laurent Pinchart, Mauro Carvalho Chehab,
linux-media, moderated list:ARM/ZYNQ ARCHITECTURE
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: loongarch-randconfig-1001-20261119 (https://download.01.org/0day-ci/archive/20261119/202611191027.Md4LUs3M-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 67ab6538dff0ed2593b90166214d93e992c74905)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261119/202611191027.Md4LUs3M-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202611191027.Md4LUs3M-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/media/platform/xilinx/xilinx-vip.c:215:14: error: call to undeclared function 'devm_clk_get_enable'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
215 | xvip->clk = devm_clk_get_enable(xvip->dev, NULL);
| ^
drivers/media/platform/xilinx/xilinx-vip.c:215:14: note: did you mean 'devm_clk_get_enabled'?
include/linux/clk.h:632:13: note: 'devm_clk_get_enabled' declared here
632 | struct clk *devm_clk_get_enabled(struct device *dev, const char *id);
| ^
>> drivers/media/platform/xilinx/xilinx-vip.c:215:12: error: incompatible integer to pointer conversion assigning to 'struct clk *' from 'int' [-Wint-conversion]
215 | xvip->clk = devm_clk_get_enable(xvip->dev, NULL);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
vim +/devm_clk_get_enable +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
^ permalink raw reply [flat|nested] only message in thread