public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: oe-kbuild-all@lists.linux.dev, linux-acpi@vger.kernel.org,
	devel@acpica.org, linux-pm@vger.kernel.org
Subject: [rafael-pm:bleeding-edge 179/184] drivers/thermal/imx_thermal.c:385:26: error: initialization of 'int (*)(struct thermal_zone_device *, const struct thermal_trip *, int)' from incompatible pointer type 'int (*)(struct thermal_zone_device *, int,  int)'
Date: Wed, 10 Jul 2024 07:08:28 +0800	[thread overview]
Message-ID: <202407100628.3zCKg3YO-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head:   87efced4091268c3ec327c53829b5e375be155dd
commit: fac8bf59e782ac74bb54d8427581f725bba8a769 [179/184] thermal: trip: Pass trip pointer to .set_trip_temp() thermal zone callback
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20240710/202407100628.3zCKg3YO-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240710/202407100628.3zCKg3YO-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/202407100628.3zCKg3YO-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

>> drivers/thermal/imx_thermal.c:385:26: error: initialization of 'int (*)(struct thermal_zone_device *, const struct thermal_trip *, int)' from incompatible pointer type 'int (*)(struct thermal_zone_device *, int,  int)' [-Werror=incompatible-pointer-types]
     385 |         .set_trip_temp = imx_set_trip_temp,
         |                          ^~~~~~~~~~~~~~~~~
   drivers/thermal/imx_thermal.c:385:26: note: (near initialization for 'imx_tz_ops.set_trip_temp')
   cc1: some warnings being treated as errors
--
   drivers/thermal/tegra/soctherm.c: In function 'tegra_thermctl_set_trip_temp':
>> drivers/thermal/tegra/soctherm.c:592:13: warning: unused variable 'ret' [-Wunused-variable]
     592 |         int ret;
         |             ^~~


vim +385 drivers/thermal/imx_thermal.c

ca3de46b508090 Shawn Guo             2013-06-24  379  
cbb07bb35de6eb Eduardo Valentin      2014-01-06  380  static struct thermal_zone_device_ops imx_tz_ops = {
ca3de46b508090 Shawn Guo             2013-06-24  381  	.bind = imx_bind,
ca3de46b508090 Shawn Guo             2013-06-24  382  	.unbind = imx_unbind,
ca3de46b508090 Shawn Guo             2013-06-24  383  	.get_temp = imx_get_temp,
f5e50bf4d3ef0a Andrzej Pietrasiewicz 2020-06-29  384  	.change_mode = imx_change_mode,
017e51420cc440 Philipp Zabel         2013-08-01 @385  	.set_trip_temp = imx_set_trip_temp,
ca3de46b508090 Shawn Guo             2013-06-24  386  };
ca3de46b508090 Shawn Guo             2013-06-24  387  

:::::: The code at line 385 was first introduced by commit
:::::: 017e51420cc44098308b00dffd9d4e514ddf40f3 thermal: imx: dynamic passive and SoC specific critical trip points

:::::: TO: Philipp Zabel <p.zabel@pengutronix.de>
:::::: CC: Zhang Rui <rui.zhang@intel.com>

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

                 reply	other threads:[~2024-07-09 23:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202407100628.3zCKg3YO-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=devel@acpica.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=rjw@rjwysocki.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox