mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [sudeep-holla:wip/acpi_ffh_opregion 2/3] drivers/acpi/acpi_ffh.c:16:12: warning: no previous prototype for 'acpi_ffh_address_space_arch_setup'
@ 2022-06-16 12:33 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-06-16 12:33 UTC (permalink / raw)
  To: Sudeep Holla; +Cc: kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git wip/acpi_ffh_opregion
head:   0ca2d8d167ffa471639fc885ecd9ca010cb04deb
commit: 42de507063eebc8c7d728fbac4012e35c8b854df [2/3] ACPI: Implement a generic FFH Opregion handler
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220616/202206162019.SclXvEpW-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git/commit/?id=42de507063eebc8c7d728fbac4012e35c8b854df
        git remote add sudeep-holla https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git
        git fetch --no-tags sudeep-holla wip/acpi_ffh_opregion
        git checkout 42de507063eebc8c7d728fbac4012e35c8b854df
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/acpi/ kernel/trace/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/acpi/acpi_ffh.c:16:12: warning: no previous prototype for 'acpi_ffh_address_space_arch_setup' [-Wmissing-prototypes]
      16 | int __weak acpi_ffh_address_space_arch_setup(void *handler_ctxt,
         |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/acpi/acpi_ffh.c:22:12: warning: no previous prototype for 'acpi_ffh_address_space_arch_handler' [-Wmissing-prototypes]
      22 | int __weak acpi_ffh_address_space_arch_handler(acpi_integer *value,
         |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/acpi_ffh_address_space_arch_setup +16 drivers/acpi/acpi_ffh.c

    15	
  > 16	int __weak acpi_ffh_address_space_arch_setup(void *handler_ctxt,
    17						     void **region_ctxt)
    18	{
    19		return -EOPNOTSUPP;
    20	}
    21	
  > 22	int __weak acpi_ffh_address_space_arch_handler(acpi_integer *value,
    23						       void *region_context)
    24	{
    25		return -EOPNOTSUPP;
    26	}
    27	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-16 12:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-16 12:33 [sudeep-holla:wip/acpi_ffh_opregion 2/3] drivers/acpi/acpi_ffh.c:16:12: warning: no previous prototype for 'acpi_ffh_address_space_arch_setup' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome