All of lore.kernel.org
 help / color / mirror / Atom feed
* [thermal:thermal/cooling-device-with-id 18/25] include/linux/thermal.h:324:1: warning: no previous prototype for 'devm_thermal_cooling_device_register'
@ 2026-04-14 16:44 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-14 16:44 UTC (permalink / raw)
  To: Daniel Lezcano; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git thermal/cooling-device-with-id
head:   4fea531ae8a1095b1fc1122441fc173a33b93005
commit: 10ad4e2ee1d7bd68d2c7c0d50cb052920305f455 [18/25] thermal/core: Register cooling device non-OF drivers
config: arm64-randconfig-002-20260414 (https://download.01.org/0day-ci/archive/20260415/202604150051.NCeIXFbW-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260415/202604150051.NCeIXFbW-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/202604150051.NCeIXFbW-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from include/acpi/processor.h:11,
                    from drivers/hwtracing/coresight/coresight-platform.c:346:
>> include/linux/thermal.h:324:1: warning: no previous prototype for 'devm_thermal_cooling_device_register' [-Wmissing-prototypes]
     324 | devm_thermal_cooling_device_register(struct device *dev, const char *type,
         | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/devm_thermal_cooling_device_register +324 include/linux/thermal.h

   322	
   323	struct thermal_cooling_device *
 > 324	devm_thermal_cooling_device_register(struct device *dev, const char *type,
   325					     void *devdata, const struct thermal_cooling_device_ops *ops)
   326	{
   327		return ERR_PTR(-ENODEV);
   328	}
   329	

-- 
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-04-14 16:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-14 16:44 [thermal:thermal/cooling-device-with-id 18/25] include/linux/thermal.h:324:1: warning: no previous prototype for 'devm_thermal_cooling_device_register' 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.