From: kernel test robot <lkp@intel.com>
To: Michal Simek <monstr@monstr.eu>,
linux-kernel@vger.kernel.org, michal.simek@amd.com, git@amd.com
Cc: oe-kbuild-all@lists.linux.dev,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
linux-media@vger.kernel.org,
"moderated list:ARM/ZYNQ ARCHITECTURE"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH] media: xilinx: vip: Make use of the devm_clk_get_enabled()
Date: Thu, 19 Nov 2026 12:39:16 +0800 [thread overview]
Message-ID: <202611191243.pxt5RLKL-lkp@intel.com> (raw)
In-Reply-To: <abfe9f93f9f93d256b0d60d081e6111d7169c08f.1794994290.git.michal.simek@amd.com>
Hi Michal,
kernel test robot noticed the following build warnings:
[auto build test WARNING on v7.4-rc3]
[also build test WARNING 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: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20261119/202611191243.pxt5RLKL-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261119/202611191243.pxt5RLKL-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/202611191243.pxt5RLKL-lkp@intel.com/
All warnings (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'? [-Werror=implicit-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: warning: 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);
| ^
cc1: some warnings being treated as errors
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
next prev parent reply other threads:[~2026-11-19 4:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-18 9:31 [PATCH] media: xilinx: vip: Make use of the devm_clk_get_enabled() Michal Simek
2026-11-19 1:28 ` kernel test robot
2026-11-19 3:06 ` kernel test robot
2026-11-19 4:39 ` kernel test robot [this message]
2026-11-19 9:46 ` Markus Elfring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202611191243.pxt5RLKL-lkp@intel.com \
--to=lkp@intel.com \
--cc=git@amd.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=michal.simek@amd.com \
--cc=monstr@monstr.eu \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.