All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Chen-Yu Tsai <wenst@chromium.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH v7 09/10] platform/chrome: Introduce device tree hardware prober
Date: Fri, 13 Sep 2024 22:24:41 +0800	[thread overview]
Message-ID: <202409132211.2wgNymJ2-lkp@intel.com> (raw)
In-Reply-To: <20240911072751.365361-10-wenst@chromium.org>

Hi Chen-Yu,

kernel test robot noticed the following build errors:

[auto build test ERROR on broonie-regulator/for-next]
[also build test ERROR on next-20240913]
[cannot apply to robh/for-next wsa/i2c/for-next linus/master v6.11-rc7]
[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/Chen-Yu-Tsai/of-dynamic-Add-of_changeset_update_prop_string/20240911-153237
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
patch link:    https://lore.kernel.org/r/20240911072751.365361-10-wenst%40chromium.org
patch subject: [PATCH v7 09/10] platform/chrome: Introduce device tree hardware prober
config: i386-buildonly-randconfig-002-20240913 (https://download.01.org/0day-ci/archive/20240913/202409132211.2wgNymJ2-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/20240913/202409132211.2wgNymJ2-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/202409132211.2wgNymJ2-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/platform/chrome/chromeos_of_hw_prober.c: In function 'chromeos_of_hw_prober_probe':
>> drivers/platform/chrome/chromeos_of_hw_prober.c:66:22: error: implicit declaration of function 'of_machine_is_compatible' [-Werror=implicit-function-declaration]
      66 |                 if (!of_machine_is_compatible(hw_prober_platforms[i].compatible))
         |                      ^~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/of_machine_is_compatible +66 drivers/platform/chrome/chromeos_of_hw_prober.c

    60	
    61	static int chromeos_of_hw_prober_probe(struct platform_device *pdev)
    62	{
    63		for (size_t i = 0; i < ARRAY_SIZE(hw_prober_platforms); i++) {
    64			int ret;
    65	
  > 66			if (!of_machine_is_compatible(hw_prober_platforms[i].compatible))
    67				continue;
    68	
    69			ret = hw_prober_platforms[i].prober(&pdev->dev, hw_prober_platforms[i].data);
    70			/* Ignore unrecoverable errors and keep going through other probers */
    71			if (ret == -EPROBE_DEFER)
    72				return ret;
    73		}
    74	
    75		return 0;
    76	}
    77	

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

  reply	other threads:[~2024-09-13 14:25 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-11  7:27 [PATCH v7 00/10] platform/chrome: Introduce DT hardware prober Chen-Yu Tsai
2024-09-11  7:27 ` [PATCH v7 01/10] of: dynamic: Add of_changeset_update_prop_string Chen-Yu Tsai
2024-09-11  7:27 ` [PATCH v7 02/10] of: base: Add for_each_child_of_node_with_prefix() Chen-Yu Tsai
2024-09-12 20:31   ` Rob Herring (Arm)
2024-09-11  7:27 ` [PATCH v7 03/10] regulator: Split up _regulator_get() Chen-Yu Tsai
2024-09-13 10:27   ` Andy Shevchenko
2024-09-11  7:27 ` [PATCH v7 04/10] regulator: Add of_regulator_get_optional() for pure DT regulator lookup Chen-Yu Tsai
2024-09-11  7:27 ` [PATCH v7 05/10] i2c: core: Remove extra space in Makefile Chen-Yu Tsai
2024-09-13 14:59   ` Andi Shyti
2024-09-11  7:27 ` [PATCH v7 06/10] i2c: Introduce OF component probe function Chen-Yu Tsai
2024-09-13 10:25   ` Andy Shevchenko
2024-09-15 10:44     ` Chen-Yu Tsai
2024-09-16 10:36       ` Andy Shevchenko
2024-09-16 10:55         ` Jonathan Cameron
2024-09-16 14:59         ` Chen-Yu Tsai
2024-09-16 15:22           ` Andy Shevchenko
2024-09-13 23:43   ` Doug Anderson
2024-09-15 11:32     ` Chen-Yu Tsai
2024-09-16 14:15       ` Doug Anderson
2024-09-16 14:31         ` Chen-Yu Tsai
2024-09-16 10:13     ` Andy Shevchenko
2024-09-15 10:09   ` Andrey Skvortsov
2024-09-11  7:27 ` [PATCH v7 07/10] i2c: of-prober: Add simple helpers for regulator support Chen-Yu Tsai
2024-09-13 10:46   ` Andy Shevchenko
2024-09-13 15:36   ` kernel test robot
2024-09-13 23:43   ` Doug Anderson
2024-09-11  7:27 ` [PATCH v7 08/10] i2c: of-prober: Add GPIO support to simple helpers Chen-Yu Tsai
2024-09-13 10:52   ` Andy Shevchenko
2024-09-13 23:43   ` Doug Anderson
2024-09-17 12:41     ` Chen-Yu Tsai
2024-09-23 19:11       ` Doug Anderson
2024-09-15  9:46   ` Andrey Skvortsov
2024-09-11  7:27 ` [PATCH v7 09/10] platform/chrome: Introduce device tree hardware prober Chen-Yu Tsai
2024-09-13 14:24   ` kernel test robot [this message]
2024-09-13 15:36   ` kernel test robot
2024-09-13 23:43   ` Doug Anderson
2024-09-16 14:58     ` Chen-Yu Tsai
2024-09-16 15:23       ` Andy Shevchenko
2024-09-11  7:27 ` [PATCH v7 10/10] arm64: dts: mediatek: mt8173-elm-hana: Mark touchscreens and trackpads as fail Chen-Yu Tsai
2024-09-13 18:08 ` (subset) [PATCH v7 00/10] platform/chrome: Introduce DT hardware prober Mark Brown

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=202409132211.2wgNymJ2-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=wenst@chromium.org \
    /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.