lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 16 Jun 2022 20:33:48 +0800
From:   kernel test robot <lkp@...el.com>
To:     Sudeep Holla <sudeep.holla@....com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [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'

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ