All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Mehdi Djait <mehdi.djait@linux.intel.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH v2] media: v4l2-common: Add a helper for obtaining the clock producer
Date: Tue, 11 Mar 2025 22:51:42 +0800	[thread overview]
Message-ID: <202503112248.4yP7WmdR-lkp@intel.com> (raw)
In-Reply-To: <20250310122305.209534-1-mehdi.djait@linux.intel.com>

Hi Mehdi,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on linus/master]
[also build test ERROR on sailus-media-tree/master v6.14-rc6 next-20250311]
[cannot apply to sailus-media-tree/streams]
[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/Mehdi-Djait/media-v4l2-common-Add-a-helper-for-obtaining-the-clock-producer/20250310-202543
base:   linus/master
patch link:    https://lore.kernel.org/r/20250310122305.209534-1-mehdi.djait%40linux.intel.com
patch subject: [RFC PATCH v2] media: v4l2-common: Add a helper for obtaining the clock producer
config: i386-randconfig-054-20250311 (https://download.01.org/0day-ci/archive/20250311/202503112248.4yP7WmdR-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250311/202503112248.4yP7WmdR-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/202503112248.4yP7WmdR-lkp@intel.com/

All errors (new ones prefixed by >>):

   ld: drivers/media/v4l2-core/v4l2-common.o: in function `devm_v4l2_sensor_clk_get':
>> drivers/media/v4l2-core/v4l2-common.c:667: undefined reference to `__clk_hw_register_fixed_rate'


vim +667 drivers/media/v4l2-core/v4l2-common.c

   642	
   643	struct clk *devm_v4l2_sensor_clk_get(struct device *dev, const char *id)
   644	{
   645		struct clk_hw *clk_hw;
   646		struct clk *clk;
   647		u32 rate;
   648		int ret;
   649	
   650		clk = devm_clk_get_optional(dev, id);
   651		if (clk)
   652			return clk;
   653	
   654		if (!is_acpi_node(dev_fwnode(dev)))
   655			return ERR_PTR(-ENOENT);
   656	
   657		ret = device_property_read_u32(dev, "clock-frequency", &rate);
   658		if (ret)
   659			return ERR_PTR(ret);
   660	
   661		if (!id) {
   662			id = devm_kasprintf(dev, GFP_KERNEL, "clk-%s", dev_name(dev));
   663			if (!id)
   664				return ERR_PTR(-ENOMEM);
   665		}
   666	
 > 667		clk_hw = devm_clk_hw_register_fixed_rate(dev, id, NULL, 0, rate);

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  reply	other threads:[~2025-03-11 14:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-10 12:23 [RFC PATCH v2] media: v4l2-common: Add a helper for obtaining the clock producer Mehdi Djait
2025-03-11 14:51 ` kernel test robot [this message]
2025-03-11 16:46 ` kernel test robot
2025-05-10 12:56 ` Sakari Ailus
2025-05-12  8:21   ` Mehdi Djait
2025-05-12 15:41     ` Sakari Ailus
2025-05-14 11:43       ` Mehdi Djait

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=202503112248.4yP7WmdR-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=mehdi.djait@linux.intel.com \
    --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.