All of lore.kernel.org
 help / color / mirror / Atom feed
* [frank-w-bpi-r2-4.14:6.5-dango-r4_3 19/19] drivers/thermal/mediatek/lvts_thermal.c:1198:13: warning: unused variable 'irq'
@ 2023-09-01 17:14 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-09-01 17:14 UTC (permalink / raw)
  To: Frank Wunderlich; +Cc: oe-kbuild-all

tree:   https://github.com/frank-w/BPI-R2-4.14 6.5-dango-r4_3
head:   cf7ba5ba41f644a2e26648583d3489c3f75245d0
commit: cf7ba5ba41f644a2e26648583d3489c3f75245d0 [19/19] lvts: disable interrupt in driver
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20230902/202309020114.sVLjReEh-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230902/202309020114.sVLjReEh-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/202309020114.sVLjReEh-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/thermal/mediatek/lvts_thermal.c: In function 'lvts_probe':
>> drivers/thermal/mediatek/lvts_thermal.c:1198:13: warning: unused variable 'irq' [-Wunused-variable]
    1198 |         int irq, ret;
         |             ^~~
   drivers/thermal/mediatek/lvts_thermal.c: At top level:
>> drivers/thermal/mediatek/lvts_thermal.c:514:20: warning: 'lvts_irq_handler' defined but not used [-Wunused-function]
     514 | static irqreturn_t lvts_irq_handler(int irq, void *data)
         |                    ^~~~~~~~~~~~~~~~


vim +/irq +1198 drivers/thermal/mediatek/lvts_thermal.c

f5f633b18234ce Balsam CHIHI 2023-02-09  1191  
f5f633b18234ce Balsam CHIHI 2023-02-09  1192  static int lvts_probe(struct platform_device *pdev)
f5f633b18234ce Balsam CHIHI 2023-02-09  1193  {
f5f633b18234ce Balsam CHIHI 2023-02-09  1194  	const struct lvts_data *lvts_data;
f5f633b18234ce Balsam CHIHI 2023-02-09  1195  	struct lvts_domain *lvts_td;
f5f633b18234ce Balsam CHIHI 2023-02-09  1196  	struct device *dev = &pdev->dev;
f5f633b18234ce Balsam CHIHI 2023-02-09  1197  	struct resource *res;
f5f633b18234ce Balsam CHIHI 2023-02-09 @1198  	int irq, ret;
f5f633b18234ce Balsam CHIHI 2023-02-09  1199  

:::::: The code at line 1198 was first introduced by commit
:::::: f5f633b18234cecb0e6ee6e5fbb358807dda15c3 thermal/drivers/mediatek: Add the Low Voltage Thermal Sensor driver

:::::: TO: Balsam CHIHI <bchihi@baylibre.com>
:::::: CC: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

-- 
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:[~2023-09-01 17:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-01 17:14 [frank-w-bpi-r2-4.14:6.5-dango-r4_3 19/19] drivers/thermal/mediatek/lvts_thermal.c:1198:13: warning: unused variable 'irq' 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.