[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202505130415.DDziIQRY-lkp@intel.com>
Date: Tue, 13 May 2025 05:26:11 +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: 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-rc6 next-20250512]
[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: alpha-randconfig-r111-20250512 (https://download.01.org/0day-ci/archive/20250513/202505130415.DDziIQRY-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 12.4.0
reproduce: (https://download.01.org/0day-ci/archive/20250513/202505130415.DDziIQRY-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/202505130415.DDziIQRY-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/thermal/airoha_thermal.c:317:9: sparse: sparse: statement expected after case label
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