[rafael-pm:bleeding-edge 33/47] drivers/acpi/internal.h:161:6: warning: no previous prototype for '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 [33/47] ACPI: processor: Use _OSC to convey OSPM processor support information
config: loongarch-allyesconfig (https://download.01.org/0day-ci/archive/20230715/202307150552.aLyOhzH2-lkp@xxxxxxxxx/config)
compiler: loongarch64-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230715/202307150552.aLyOhzH2-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/202307150552.aLyOhzH2-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

   In file included from drivers/acpi/tables.c:25:
>> drivers/acpi/internal.h:161:6: warning: no previous prototype for 'acpi_early_processor_control_setup' [-Wmissing-prototypes]
     161 | void acpi_early_processor_control_setup(void) {}
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from drivers/acpi/osl.c:39:
>> drivers/acpi/internal.h:161:6: warning: no previous prototype for 'acpi_early_processor_control_setup' [-Wmissing-prototypes]
     161 | void acpi_early_processor_control_setup(void) {}
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/acpi/osl.c: In function 'acpi_os_vprintf':
   drivers/acpi/osl.c:156:9: warning: function 'acpi_os_vprintf' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
     156 |         vsprintf(buffer, fmt, args);
         |         ^~~~~~~~
--
   In file included from drivers/acpi/dptf/int340x_thermal.c:12:
>> drivers/acpi/dptf/../internal.h:161:6: warning: no previous prototype for 'acpi_early_processor_control_setup' [-Wmissing-prototypes]
     161 | void acpi_early_processor_control_setup(void) {}
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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