[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202209150259.dx4CzR7v-lkp@intel.com>
Date: Thu, 15 Sep 2022 03:10:06 +0800
From: kernel test robot <lkp@...el.com>
To: Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>
Cc: llvm@...ts.linux.dev, 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 function '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: x86_64-randconfig-a005 (https://download.01.org/0day-ci/archive/20220915/202209150259.dx4CzR7v-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# 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
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 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 function 'idle_inject_end' [-Wmissing-prototypes]
void idle_inject_end(unsigned int cpu, unsigned int idle_duration, unsigned int run_duration)
^
drivers/thermal/intel/intel_powerclamp.c:449:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void idle_inject_end(unsigned int cpu, unsigned int idle_duration, unsigned int run_duration)
^
static
1 warning generated.
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
Powered by blists - more mailing lists