* [thermal:thermal/linux-next 14/26] drivers/thermal/qcom/qcom-spmi-mbg-tm.c:184:21: error: implicit declaration of function 'FIELD_GET'
@ 2026-08-08 1:16 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-08 1:16 UTC (permalink / raw)
To: Satya Priya Kakitapalli
Cc: oe-kbuild-all, Daniel Lezcano, Sachin Gupta, Konrad Dybcio
tree: https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git thermal/linux-next
head: 55c16e15ff9f91bc994a20124b83faf27f0e3690
commit: c3dce117333c0e2fbdb35228d4960442d2b1ef54 [14/26] thermal/drivers/qcom: Add support for Qualcomm MBG thermal monitoring
config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20260808/202608080800.RfxKb9uR-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260808/202608080800.RfxKb9uR-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/202608080800.RfxKb9uR-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/thermal/qcom/qcom-spmi-mbg-tm.c: In function 'mbg_tm_isr':
>> drivers/thermal/qcom/qcom-spmi-mbg-tm.c:184:21: error: implicit declaration of function 'FIELD_GET' [-Wimplicit-function-declaration]
184 | if (FIELD_GET(MON_FAULT_STATUS_MASK, val) == MON_FAULT_LVL1_UPR)
| ^~~~~~~~~
vim +/FIELD_GET +184 drivers/thermal/qcom/qcom-spmi-mbg-tm.c
174
175 static irqreturn_t mbg_tm_isr(int irq, void *data)
176 {
177 struct mbg_tm_chip *chip = data;
178 int ret, val;
179
180 scoped_guard(mutex, &chip->lock) {
181 ret = regmap_read(chip->map, chip->base + MBG_TEMP_MON2_FAULT_STATUS, &val);
182 if (ret < 0)
183 return IRQ_HANDLED;
> 184 if (FIELD_GET(MON_FAULT_STATUS_MASK, val) == MON_FAULT_LVL1_UPR)
185 chip->last_thres_crossed = true;
186 }
187
188 if (FIELD_GET(MON_FAULT_STATUS_MASK, val) == MON_FAULT_LVL1_UPR) {
189 dev_dbg(chip->dev, "Notifying Thermal, fault status=%d\n", val);
190 thermal_zone_device_update(chip->tz_dev, THERMAL_TRIP_VIOLATED);
191 } else {
192 dev_dbg(chip->dev, "Lvl1 upper threshold not violated, ignoring interrupt\n");
193 }
194
195 return IRQ_HANDLED;
196 }
197
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-08 1:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-08 1:16 [thermal:thermal/linux-next 14/26] drivers/thermal/qcom/qcom-spmi-mbg-tm.c:184:21: error: implicit declaration of function 'FIELD_GET' kernel test robot
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.