Linux Power Management development
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Christian Marangi <ansuelsmth@gmail.com>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	Zhang Rui <rui.zhang@intel.com>,
	Lukasz Luba <lukasz.luba@arm.com>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	linux-pm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH v6 2/2] thermal: Add support for Airoha EN7581 thermal sensor
Date: Sun, 11 May 2025 20:16:28 +0800	[thread overview]
Message-ID: <202505112056.HaqX6Bef-lkp@intel.com> (raw)
In-Reply-To: <20250510172509.2547273-2-ansuelsmth@gmail.com>

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@intel.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

  reply	other threads:[~2025-05-11 12:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-10 17:25 [PATCH v6 1/2] dt-bindings: thermal: Add support for Airoha EN7581 thermal sensor Christian Marangi
2025-05-10 17:25 ` [PATCH v6 2/2] " Christian Marangi
2025-05-11 12:16   ` kernel test robot [this message]
2025-05-12 21:26   ` kernel test robot
2025-05-13 16:59   ` kernel test robot
2025-05-13 19:49   ` ALOK TIWARI
2025-05-13 20:11     ` Christian Marangi (Ansuel)
2025-05-14  8:34       ` Daniel Lezcano

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=202505112056.HaqX6Bef-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=ansuelsmth@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=daniel.lezcano@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=lukasz.luba@arm.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=rafael@kernel.org \
    --cc=robh@kernel.org \
    --cc=rui.zhang@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox