All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>,
	daniel.lezcano@linaro.org
Cc: oe-kbuild-all@lists.linux.dev, miquel.raynal@bootlin.com,
	rafael@kernel.org, rui.zhang@intel.com, lukasz.luba@arm.com,
	support.opensource@diasemi.com, shawnguo@kernel.org,
	s.hauer@pengutronix.de, kernel@pengutronix.de,
	festevam@gmail.com, linux-imx@nxp.com, andersson@kernel.org,
	konrad.dybcio@linaro.org, amitk@kernel.org,
	thara.gopinath@gmail.com, niklas.soderlund@ragnatech.se,
	srinivas.pandruvada@linux.intel.com,
	angelogioacchino.delregno@collabora.com,
	baolin.wang@linux.alibaba.com, u.kleine-koenig@pengutronix.de,
	hayashi.kunihiko@socionext.com, d-gole@ti.com,
	linus.walleij@linaro.org,
	DLG-Adam.Ward.opensource@dm.renesas.com, error27@gmail.com,
	heiko@sntech.de, hdegoede@redhat.com, jernej.skrabec@gmail.com,
	f.fainelli@gmail.com, bchihi@baylibre.com
Subject: Re: [PATCH v1 03/18] thermal: Directly use thermal_zone_platform_params for thermal_zone_device
Date: Wed, 31 Jan 2024 19:09:15 +0800	[thread overview]
Message-ID: <202401311855.eNllZc44-lkp@intel.com> (raw)
In-Reply-To: <20240130111250.185718-4-angelogioacchino.delregno@collabora.com>

Hi AngeloGioacchino,

kernel test robot noticed the following build warnings:

[auto build test WARNING on rafael-pm/thermal]
[also build test WARNING on linus/master v6.8-rc2 next-20240131]
[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/AngeloGioacchino-Del-Regno/thermal-core-Change-governor-name-to-const-char-pointer/20240130-192357
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git thermal
patch link:    https://lore.kernel.org/r/20240130111250.185718-4-angelogioacchino.delregno%40collabora.com
patch subject: [PATCH v1 03/18] thermal: Directly use thermal_zone_platform_params for thermal_zone_device
config: sh-allyesconfig (https://download.01.org/0day-ci/archive/20240131/202401311855.eNllZc44-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240131/202401311855.eNllZc44-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/202401311855.eNllZc44-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/thermal/gov_fair_share.c: In function 'get_target_state':
   drivers/thermal/gov_fair_share.c:44:72: error: 'struct thermal_zone_device' has no member named 'num_trips'
      44 |         return (long)(percentage * level * cdev->max_state) / (100 * tz->num_trips);
         |                                                                        ^~
>> drivers/thermal/gov_fair_share.c:45:1: warning: control reaches end of non-void function [-Wreturn-type]
      45 | }
         | ^


vim +45 drivers/thermal/gov_fair_share.c

4ccc5743ae7053 drivers/thermal/fair_share.c     Durgadoss R  2012-09-18  40  
4ccc5743ae7053 drivers/thermal/fair_share.c     Durgadoss R  2012-09-18  41  static long get_target_state(struct thermal_zone_device *tz,
bcdcbbc71125c3 drivers/thermal/fair_share.c     Javi Merino  2015-02-18  42  		struct thermal_cooling_device *cdev, int percentage, int level)
4ccc5743ae7053 drivers/thermal/fair_share.c     Durgadoss R  2012-09-18  43  {
c408b3d1d9bbc7 drivers/thermal/gov_fair_share.c Viresh Kumar 2022-10-17  44  	return (long)(percentage * level * cdev->max_state) / (100 * tz->num_trips);
4ccc5743ae7053 drivers/thermal/fair_share.c     Durgadoss R  2012-09-18 @45  }
4ccc5743ae7053 drivers/thermal/fair_share.c     Durgadoss R  2012-09-18  46  

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

  parent reply	other threads:[~2024-01-31 11:10 UTC|newest]

Thread overview: 79+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-30 11:12 [PATCH v1 00/18] Thermal: Part 1 - Introduce new structs and registration AngeloGioacchino Del Regno
2024-01-30 11:12 ` AngeloGioacchino Del Regno
2024-01-30 11:12 ` [PATCH v1 01/18] thermal: core: Change governor name to const char pointer AngeloGioacchino Del Regno
2024-01-30 11:12   ` AngeloGioacchino Del Regno
2024-02-01 18:37   ` Rafael J. Wysocki
2024-02-01 18:37     ` Rafael J. Wysocki
2024-02-02 10:01     ` AngeloGioacchino Del Regno
2024-02-02 10:01       ` AngeloGioacchino Del Regno
2024-02-02 18:14       ` Rafael J. Wysocki
2024-02-02 18:14         ` Rafael J. Wysocki
2024-01-30 11:12 ` [PATCH v1 02/18] thermal: Add new structures and thermal_zone_device_register() AngeloGioacchino Del Regno
2024-01-30 11:12   ` AngeloGioacchino Del Regno
2024-01-30 13:26   ` Geert Uytterhoeven
2024-01-30 13:26     ` Geert Uytterhoeven
2024-02-01 19:24   ` Rafael J. Wysocki
2024-02-01 19:24     ` Rafael J. Wysocki
2024-02-02  8:47     ` Dan Carpenter
2024-02-02  8:47       ` Dan Carpenter
2024-02-02 17:13       ` Rafael J. Wysocki
2024-02-02 17:13         ` Rafael J. Wysocki
2024-02-12 10:41         ` AngeloGioacchino Del Regno
2024-02-12 10:41           ` AngeloGioacchino Del Regno
2024-02-12 11:57           ` Rafael J. Wysocki
2024-02-12 11:57             ` Rafael J. Wysocki
2024-01-30 11:12 ` [PATCH v1 03/18] thermal: Directly use thermal_zone_platform_params for thermal_zone_device AngeloGioacchino Del Regno
2024-01-30 11:12   ` AngeloGioacchino Del Regno
2024-01-31  1:58   ` kernel test robot
2024-01-31  1:58   ` kernel test robot
2024-01-31 11:09   ` kernel test robot [this message]
2024-02-01 19:42   ` Rafael J. Wysocki
2024-02-01 19:42     ` Rafael J. Wysocki
2024-02-02 10:04     ` AngeloGioacchino Del Regno
2024-02-02 10:04       ` AngeloGioacchino Del Regno
2024-01-30 11:12 ` [PATCH v1 04/18] thermal/drivers/da9062: Migrate to thermal_zone_device_register() AngeloGioacchino Del Regno
2024-01-30 11:12   ` AngeloGioacchino Del Regno
2024-01-30 11:12 ` [PATCH v1 05/18] thermal/drivers/imx: " AngeloGioacchino Del Regno
2024-01-30 11:12   ` AngeloGioacchino Del Regno
2024-01-30 11:12 ` [PATCH v1 06/18] thermal/drivers/rcar: " AngeloGioacchino Del Regno
2024-01-30 11:12   ` AngeloGioacchino Del Regno
2024-01-30 13:34   ` Geert Uytterhoeven
2024-01-30 13:34     ` Geert Uytterhoeven
2024-01-30 15:08   ` Niklas Söderlund
2024-01-30 15:08     ` Niklas Söderlund
2024-01-30 11:12 ` [PATCH v1 07/18] thermal/drivers/st: " AngeloGioacchino Del Regno
2024-01-30 11:12   ` AngeloGioacchino Del Regno
2024-01-30 11:12 ` [PATCH v1 08/18] thermal: intel: pch_thermal: " AngeloGioacchino Del Regno
2024-01-30 11:12   ` AngeloGioacchino Del Regno
2024-02-01 19:51   ` Rafael J. Wysocki
2024-02-01 19:51     ` Rafael J. Wysocki
2024-02-02 10:10     ` AngeloGioacchino Del Regno
2024-02-02 10:10       ` AngeloGioacchino Del Regno
2024-02-02 17:44       ` Rafael J. Wysocki
2024-02-02 17:44         ` Rafael J. Wysocki
2024-01-30 11:12 ` [PATCH v1 09/18] thermal: intel: quark_dts: " AngeloGioacchino Del Regno
2024-01-30 11:12   ` AngeloGioacchino Del Regno
2024-01-30 11:12 ` [PATCH v1 10/18] thermal: intel: soc_dts_iosf: " AngeloGioacchino Del Regno
2024-01-30 11:12   ` AngeloGioacchino Del Regno
2024-01-30 11:12 ` [PATCH v1 11/18] thermal: intel: int340x: " AngeloGioacchino Del Regno
2024-01-30 11:12   ` AngeloGioacchino Del Regno
2024-01-30 11:12 ` [PATCH v1 12/18] thermal: int340x: processor: " AngeloGioacchino Del Regno
2024-01-30 11:12   ` AngeloGioacchino Del Regno
2024-01-30 11:12 ` [PATCH v1 13/18] thermal: intel: x86_pkg_temp: " AngeloGioacchino Del Regno
2024-01-30 11:12   ` AngeloGioacchino Del Regno
2024-01-30 11:12 ` [PATCH v1 14/18] thermal/drivers/armada: " AngeloGioacchino Del Regno
2024-01-30 11:12   ` AngeloGioacchino Del Regno
2024-01-30 14:11   ` Miquel Raynal
2024-01-30 14:11     ` Miquel Raynal
2024-01-30 11:12 ` [PATCH v1 15/18] thermal/drivers/dove: " AngeloGioacchino Del Regno
2024-01-30 11:12   ` AngeloGioacchino Del Regno
2024-01-30 11:12 ` [PATCH v1 16/18] thermal/drivers/kirkwood: " AngeloGioacchino Del Regno
2024-01-30 11:12   ` AngeloGioacchino Del Regno
2024-01-30 11:12 ` [PATCH v1 17/18] thermal/drivers/spear: " AngeloGioacchino Del Regno
2024-01-30 11:12   ` AngeloGioacchino Del Regno
2024-01-30 11:12 ` [PATCH v1 18/18] thermal/drivers/int340x: " AngeloGioacchino Del Regno
2024-01-30 11:12   ` AngeloGioacchino Del Regno
2024-02-01 18:35 ` [PATCH v1 00/18] Thermal: Part 1 - Introduce new structs and registration Rafael J. Wysocki
2024-02-01 18:35   ` Rafael J. Wysocki
2024-02-02  9:58   ` AngeloGioacchino Del Regno
2024-02-02  9:58     ` AngeloGioacchino Del Regno

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=202401311855.eNllZc44-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=DLG-Adam.Ward.opensource@dm.renesas.com \
    --cc=amitk@kernel.org \
    --cc=andersson@kernel.org \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=baolin.wang@linux.alibaba.com \
    --cc=bchihi@baylibre.com \
    --cc=d-gole@ti.com \
    --cc=daniel.lezcano@linaro.org \
    --cc=error27@gmail.com \
    --cc=f.fainelli@gmail.com \
    --cc=festevam@gmail.com \
    --cc=hayashi.kunihiko@socionext.com \
    --cc=hdegoede@redhat.com \
    --cc=heiko@sntech.de \
    --cc=jernej.skrabec@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=konrad.dybcio@linaro.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-imx@nxp.com \
    --cc=lukasz.luba@arm.com \
    --cc=miquel.raynal@bootlin.com \
    --cc=niklas.soderlund@ragnatech.se \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=rafael@kernel.org \
    --cc=rui.zhang@intel.com \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=srinivas.pandruvada@linux.intel.com \
    --cc=support.opensource@diasemi.com \
    --cc=thara.gopinath@gmail.com \
    --cc=u.kleine-koenig@pengutronix.de \
    /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.