[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202505112056.HaqX6Bef-lkp@intel.com>
Date: Sun, 11 May 2025 20:16:28 +0800
From: kernel test robot <lkp@...el.com>
To: Christian Marangi <ansuelsmth@...il.com>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Zhang Rui <rui.zhang@...el.com>, Lukasz Luba <lukasz.luba@....com>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, linux-pm@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev
Subject: Re: [PATCH v6 2/2] thermal: Add support for Airoha EN7581 thermal
sensor
Hi Christian,
kernel test robot noticed the following build warnings:
[auto build test WARNING on rafael-pm/thermal]
[also build test WARNING on linus/master v6.15-rc5 next-20250509]
[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/Christian-Marangi/thermal-Add-support-for-Airoha-EN7581-thermal-sensor/20250511-012647
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git thermal
patch link: https://lore.kernel.org/r/20250510172509.2547273-2-ansuelsmth%40gmail.com
patch subject: [PATCH v6 2/2] thermal: Add support for Airoha EN7581 thermal sensor
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20250511/202505112056.HaqX6Bef-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250511/202505112056.HaqX6Bef-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505112056.HaqX6Bef-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/thermal/airoha_thermal.c:317:2: warning: label at end of compound statement is a C23 extension [-Wc23-extensions]
317 | }
| ^
1 warning generated.
vim +317 drivers/thermal/airoha_thermal.c
297
298 static irqreturn_t airoha_thermal_irq(int irq, void *data)
299 {
300 struct airoha_thermal_priv *priv = data;
301 enum thermal_notify_event event;
302 bool update = false;
303 u32 status;
304
305 status = readl(priv->base + EN7581_TEMPMONINTSTS);
306 switch (status & (EN7581_HOFSINTSTS0 | EN7581_LOFSINTSTS0)) {
307 case EN7581_HOFSINTSTS0:
308 event = THERMAL_TRIP_VIOLATED;
309 update = true;
310 break;
311 case EN7581_LOFSINTSTS0:
312 event = THERMAL_EVENT_UNSPECIFIED;
313 update = true;
314 break;
315 /* Should be impossible as we enable only these interrupt */
316 default:
> 317 }
318
319 /* reset interrupt */
320 writel(status, priv->base + EN7581_TEMPMONINTSTS);
321
322 if (update)
323 thermal_zone_device_update(priv->tz, event);
324
325 return IRQ_HANDLED;
326 }
327
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists