[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202209150354.GMjdA2UF-lkp@intel.com>
Date: Thu, 15 Sep 2022 03:41:14 +0800
From: kernel test robot <lkp@...el.com>
To: Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [spandruvada:idle-inject 10/13]
drivers/thermal/intel/intel_powerclamp.c:449:6: warning: no previous
prototype for 'idle_inject_end'
tree: https://github.com/spandruvada/linux-kernel idle-inject
head: adb26b2a9269625eac48c04d39443e741894a569
commit: 85a53ba91f9b1a7511239c5bb33a44d78fa5e4a5 [10/13] thermal/drivers/intel_powerclamp: Use powercap idle-inject framework
config: i386-randconfig-a001
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/spandruvada/linux-kernel/commit/85a53ba91f9b1a7511239c5bb33a44d78fa5e4a5
git remote add spandruvada https://github.com/spandruvada/linux-kernel
git fetch --no-tags spandruvada idle-inject
git checkout 85a53ba91f9b1a7511239c5bb33a44d78fa5e4a5
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/thermal/intel/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/thermal/intel/intel_powerclamp.c:449:6: warning: no previous prototype for 'idle_inject_end' [-Wmissing-prototypes]
449 | void idle_inject_end(unsigned int cpu, unsigned int idle_duration, unsigned int run_duration)
| ^~~~~~~~~~~~~~~
vim +/idle_inject_end +449 drivers/thermal/intel/intel_powerclamp.c
448
> 449 void idle_inject_end(unsigned int cpu, unsigned int idle_duration, unsigned int run_duration)
450 {
451 unsigned int runtime;
452
453 runtime = get_run_time(&powerclamp_data);
454 idle_inject_set_duration(ii_dev, runtime, idle_duration);
455 }
456
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (150326 bytes)
Powered by blists - more mailing lists