[rafael-pm:bleeding-edge 22/40] drivers/acpi/internal.h:161:6: warning: no previous prototype for function 'acpi_early_processor_control_setup'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head:   4f9dd7927c1cdbaffb20fcdbcc2bdc6caa0b4736
commit: ca805e0f04a5f9a773875ad6de914e54e41d43c7 [22/40] ACPI: processor: Use _OSC to convey OSPM processor support information
config: arm64-randconfig-r021-20230714 (https://download.01.org/0day-ci/archive/20230715/202307150527.HDJ9XJMo-lkp@xxxxxxxxx/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce: (https://download.01.org/0day-ci/archive/20230715/202307150527.HDJ9XJMo-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202307150527.HDJ9XJMo-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

   In file included from drivers/acpi/acpi_processor.c:27:
>> drivers/acpi/internal.h:161:6: warning: no previous prototype for function 'acpi_early_processor_control_setup' [-Wmissing-prototypes]
     161 | void acpi_early_processor_control_setup(void) {}
         |      ^
   drivers/acpi/internal.h:161:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     161 | void acpi_early_processor_control_setup(void) {}
         | ^
         | static 
   1 warning generated.
--
   In file included from drivers/acpi/dptf/int340x_thermal.c:12:
>> drivers/acpi/dptf/../internal.h:161:6: warning: no previous prototype for function 'acpi_early_processor_control_setup' [-Wmissing-prototypes]
     161 | void acpi_early_processor_control_setup(void) {}
         |      ^
   drivers/acpi/dptf/../internal.h:161:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     161 | void acpi_early_processor_control_setup(void) {}
         | ^
         | static 
   1 warning generated.


vim +/acpi_early_processor_control_setup +161 drivers/acpi/internal.h

   157	
   158	void acpi_proc_quirk_mwait_check(void);
   159	bool processor_physically_present(acpi_handle handle);
   160	#else
 > 161	void acpi_early_processor_control_setup(void) {}
   162	#endif
   163	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux