All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Peng Fan <peng.fan@nxp.com>,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Sudeep Holla <sudeep.holla@arm.com>,
	Cristian Marussi <cristian.marussi@arm.com>,
	Sebin Francis <sebin.francis@ti.com>,
	Brian Masney <bmasney@redhat.com>
Cc: oe-kbuild-all@lists.linux.dev, Dan Carpenter <error27@gmail.com>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,
	devicetree@vger.kernel.org, arm-scmi@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, Peng Fan <peng.fan@nxp.com>
Subject: Re: [PATCH v5 4/6] clk: Add KUnit tests for assigned-clock-sscs
Date: Sat, 11 Oct 2025 02:41:35 +0800	[thread overview]
Message-ID: <202510110212.VLPx3MCC-lkp@intel.com> (raw)
In-Reply-To: <20251009-clk-ssc-v5-1-v5-4-d6447d76171e@nxp.com>

Hi Peng,

kernel test robot noticed the following build errors:

[auto build test ERROR on 7c3ba4249a3604477ea9c077e10089ba7ddcaa03]

url:    https://github.com/intel-lab-lkp/linux/commits/Peng-Fan/dt-bindings-clock-Add-spread-spectrum-definition/20251010-085803
base:   7c3ba4249a3604477ea9c077e10089ba7ddcaa03
patch link:    https://lore.kernel.org/r/20251009-clk-ssc-v5-1-v5-4-d6447d76171e%40nxp.com
patch subject: [PATCH v5 4/6] clk: Add KUnit tests for assigned-clock-sscs
config: s390-randconfig-002-20251011 (https://download.01.org/0day-ci/archive/20251011/202510110212.VLPx3MCC-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251011/202510110212.VLPx3MCC-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/202510110212.VLPx3MCC-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/clk/clk_test.c:115:32: error: initialization of 'int (*)(struct clk_hw *, const struct clk_spread_spectrum *)' from incompatible pointer type 'int (*)(struct clk_hw *, struct clk_spread_spectrum *)' [-Wincompatible-pointer-types]
     115 |         .set_spread_spectrum = clk_dummy_set_spread_spectrum,
         |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/clk/clk_test.c:115:32: note: (near initialization for 'clk_dummy_rate_ops.set_spread_spectrum')
   drivers/clk/clk_test.c:87:12: note: 'clk_dummy_set_spread_spectrum' declared here
      87 | static int clk_dummy_set_spread_spectrum(struct clk_hw *hw,
         |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/clk/clk_test.c:122:32: error: initialization of 'int (*)(struct clk_hw *, const struct clk_spread_spectrum *)' from incompatible pointer type 'int (*)(struct clk_hw *, struct clk_spread_spectrum *)' [-Wincompatible-pointer-types]
     122 |         .set_spread_spectrum = clk_dummy_set_spread_spectrum,
         |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/clk/clk_test.c:122:32: note: (near initialization for 'clk_dummy_maximize_rate_ops.set_spread_spectrum')
   drivers/clk/clk_test.c:87:12: note: 'clk_dummy_set_spread_spectrum' declared here
      87 | static int clk_dummy_set_spread_spectrum(struct clk_hw *hw,
         |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/clk/clk_test.c:129:32: error: initialization of 'int (*)(struct clk_hw *, const struct clk_spread_spectrum *)' from incompatible pointer type 'int (*)(struct clk_hw *, struct clk_spread_spectrum *)' [-Wincompatible-pointer-types]
     129 |         .set_spread_spectrum = clk_dummy_set_spread_spectrum,
         |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/clk/clk_test.c:129:32: note: (near initialization for 'clk_dummy_minimize_rate_ops.set_spread_spectrum')
   drivers/clk/clk_test.c:87:12: note: 'clk_dummy_set_spread_spectrum' declared here
      87 | static int clk_dummy_set_spread_spectrum(struct clk_hw *hw,
         |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +115 drivers/clk/clk_test.c

   110	
   111	static const struct clk_ops clk_dummy_rate_ops = {
   112		.recalc_rate = clk_dummy_recalc_rate,
   113		.determine_rate = clk_dummy_determine_rate,
   114		.set_rate = clk_dummy_set_rate,
 > 115		.set_spread_spectrum = clk_dummy_set_spread_spectrum,
   116	};
   117	

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

  reply	other threads:[~2025-10-10 18:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-09  3:48 [PATCH v5 0/6] clk: Support spread spectrum and use it in clk-scmi Peng Fan
2025-10-09  3:48 ` [PATCH v5 1/6] dt-bindings: clock: Add spread spectrum definition Peng Fan
2025-10-09  3:48 ` [PATCH v5 2/6] clk: Introduce clk_hw_set_spread_spectrum Peng Fan
2025-10-09  3:48 ` [PATCH v5 3/6] clk: conf: Support assigned-clock-sscs Peng Fan
2025-10-09  3:48 ` [PATCH v5 4/6] clk: Add KUnit tests for assigned-clock-sscs Peng Fan
2025-10-10 18:41   ` kernel test robot [this message]
2025-10-09  3:48 ` [PATCH v5 5/6] clk: scmi: Introduce common header for SCMI clock interface Peng Fan
2025-10-09  3:48 ` [PATCH v5 6/6] clk: scmi: Add i.MX95 OEM extension support for SCMI clock driver Peng Fan
2025-10-23 13:58   ` Geert Uytterhoeven
2025-10-23 14:46     ` Peng Fan
2025-10-23 14:48   ` Peng Fan
2025-11-04 12:30   ` Sebin Francis
2025-11-05 15:48     ` Peng Fan
2025-11-11 11:37       ` Sebin Francis

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=202510110212.VLPx3MCC-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=arm-scmi@vger.kernel.org \
    --cc=bmasney@redhat.com \
    --cc=conor+dt@kernel.org \
    --cc=cristian.marussi@arm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=error27@gmail.com \
    --cc=geert@linux-m68k.org \
    --cc=krzk@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=peng.fan@nxp.com \
    --cc=robh@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=sebin.francis@ti.com \
    --cc=sudeep.holla@arm.com \
    /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.