All of lore.kernel.org
 help / color / mirror / Atom feed
* arch/x86/boot/compressed/acpi.c:25:1: warning: '__efi_get_rsdp_addr' defined but not used
@ 2026-06-24  2:14 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-06-24  2:14 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "only suspicious fbc files changed"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Thorsten Blum <thorsten.blum@linux.dev>
CC: 0day robot <lkp@intel.com>

tree:   https://github.com/intel-lab-lkp/linux/commits/Thorsten-Blum/x86-boot-compressed-Remove-unused-variables-in-EFI-helpers/20260622-190409
head:   0836935ce0e87c942b3f02ea8c134c1116593ebc
commit: 0836935ce0e87c942b3f02ea8c134c1116593ebc x86/boot/compressed: Enable -Wunused
date:   2 days ago
:::::: branch date: 2 days ago
:::::: commit date: 2 days ago
config: x86_64-randconfig-2005-20250721 (https://download.01.org/0day-ci/archive/20260624/202606240416.cXegPpiJ-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260624/202606240416.cXegPpiJ-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/r/202606240416.cXegPpiJ-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> arch/x86/boot/compressed/acpi.c:25:1: warning: '__efi_get_rsdp_addr' defined but not used [-Wunused-function]
      25 | __efi_get_rsdp_addr(unsigned long cfg_tbl_pa, unsigned int cfg_tbl_len)
         | ^~~~~~~~~~~~~~~~~~~


vim +/__efi_get_rsdp_addr +25 arch/x86/boot/compressed/acpi.c

02a3e3cdb7f12f Chao Fan       2019-01-23  23  
0a23ebc66a4678 Junichi Nomura 2019-04-11  24  static acpi_physical_address
dee602dd5d1489 Michael Roth   2022-02-24 @25  __efi_get_rsdp_addr(unsigned long cfg_tbl_pa, unsigned int cfg_tbl_len)
33f0df8d843deb Chao Fan       2019-01-23  26  {
33f0df8d843deb Chao Fan       2019-01-23  27  #ifdef CONFIG_EFI
dee602dd5d1489 Michael Roth   2022-02-24  28  	unsigned long rsdp_addr;
0a23ebc66a4678 Junichi Nomura 2019-04-11  29  
dee602dd5d1489 Michael Roth   2022-02-24  30  	/*
dee602dd5d1489 Michael Roth   2022-02-24  31  	 * Search EFI system tables for RSDP. Preferred is ACPI_20_TABLE_GUID to
dee602dd5d1489 Michael Roth   2022-02-24  32  	 * ACPI_TABLE_GUID because it has more features.
dee602dd5d1489 Michael Roth   2022-02-24  33  	 */
d55d5bc5d93774 Ard Biesheuvel 2023-10-17  34  	rsdp_addr = efi_find_vendor_table(boot_params_ptr, cfg_tbl_pa, cfg_tbl_len,
dee602dd5d1489 Michael Roth   2022-02-24  35  					  ACPI_20_TABLE_GUID);
dee602dd5d1489 Michael Roth   2022-02-24  36  	if (rsdp_addr)
dee602dd5d1489 Michael Roth   2022-02-24  37  		return (acpi_physical_address)rsdp_addr;
dee602dd5d1489 Michael Roth   2022-02-24  38  
dee602dd5d1489 Michael Roth   2022-02-24  39  	/* No ACPI_20_TABLE_GUID found, fallback to ACPI_TABLE_GUID. */
d55d5bc5d93774 Ard Biesheuvel 2023-10-17  40  	rsdp_addr = efi_find_vendor_table(boot_params_ptr, cfg_tbl_pa, cfg_tbl_len,
dee602dd5d1489 Michael Roth   2022-02-24  41  					  ACPI_TABLE_GUID);
dee602dd5d1489 Michael Roth   2022-02-24  42  	if (rsdp_addr)
dee602dd5d1489 Michael Roth   2022-02-24  43  		return (acpi_physical_address)rsdp_addr;
dee602dd5d1489 Michael Roth   2022-02-24  44  
dee602dd5d1489 Michael Roth   2022-02-24  45  	debug_putstr("Error getting RSDP address.\n");
0a23ebc66a4678 Junichi Nomura 2019-04-11  46  #endif
dee602dd5d1489 Michael Roth   2022-02-24  47  	return 0;
0a23ebc66a4678 Junichi Nomura 2019-04-11  48  }
0a23ebc66a4678 Junichi Nomura 2019-04-11  49  

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* arch/x86/boot/compressed/acpi.c:25:1: warning: '__efi_get_rsdp_addr' defined but not used
@ 2026-06-24  5:52 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-06-24  5:52 UTC (permalink / raw)
  To: Thorsten Blum; +Cc: oe-kbuild-all, 0day robot

tree:   https://github.com/intel-lab-lkp/linux/commits/Thorsten-Blum/x86-boot-compressed-Remove-unused-variables-in-EFI-helpers/20260622-190409
head:   0836935ce0e87c942b3f02ea8c134c1116593ebc
commit: 0836935ce0e87c942b3f02ea8c134c1116593ebc x86/boot/compressed: Enable -Wunused
config: x86_64-randconfig-2005-20250721 (https://download.01.org/0day-ci/archive/20260624/202606240416.cXegPpiJ-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260624/202606240416.cXegPpiJ-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/r/202606240416.cXegPpiJ-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> arch/x86/boot/compressed/acpi.c:25:1: warning: '__efi_get_rsdp_addr' defined but not used [-Wunused-function]
      25 | __efi_get_rsdp_addr(unsigned long cfg_tbl_pa, unsigned int cfg_tbl_len)
         | ^~~~~~~~~~~~~~~~~~~


vim +/__efi_get_rsdp_addr +25 arch/x86/boot/compressed/acpi.c

02a3e3cdb7f12f Chao Fan       2019-01-23  23  
0a23ebc66a4678 Junichi Nomura 2019-04-11  24  static acpi_physical_address
dee602dd5d1489 Michael Roth   2022-02-24 @25  __efi_get_rsdp_addr(unsigned long cfg_tbl_pa, unsigned int cfg_tbl_len)
33f0df8d843deb Chao Fan       2019-01-23  26  {
33f0df8d843deb Chao Fan       2019-01-23  27  #ifdef CONFIG_EFI
dee602dd5d1489 Michael Roth   2022-02-24  28  	unsigned long rsdp_addr;
0a23ebc66a4678 Junichi Nomura 2019-04-11  29  
dee602dd5d1489 Michael Roth   2022-02-24  30  	/*
dee602dd5d1489 Michael Roth   2022-02-24  31  	 * Search EFI system tables for RSDP. Preferred is ACPI_20_TABLE_GUID to
dee602dd5d1489 Michael Roth   2022-02-24  32  	 * ACPI_TABLE_GUID because it has more features.
dee602dd5d1489 Michael Roth   2022-02-24  33  	 */
d55d5bc5d93774 Ard Biesheuvel 2023-10-17  34  	rsdp_addr = efi_find_vendor_table(boot_params_ptr, cfg_tbl_pa, cfg_tbl_len,
dee602dd5d1489 Michael Roth   2022-02-24  35  					  ACPI_20_TABLE_GUID);
dee602dd5d1489 Michael Roth   2022-02-24  36  	if (rsdp_addr)
dee602dd5d1489 Michael Roth   2022-02-24  37  		return (acpi_physical_address)rsdp_addr;
dee602dd5d1489 Michael Roth   2022-02-24  38  
dee602dd5d1489 Michael Roth   2022-02-24  39  	/* No ACPI_20_TABLE_GUID found, fallback to ACPI_TABLE_GUID. */
d55d5bc5d93774 Ard Biesheuvel 2023-10-17  40  	rsdp_addr = efi_find_vendor_table(boot_params_ptr, cfg_tbl_pa, cfg_tbl_len,
dee602dd5d1489 Michael Roth   2022-02-24  41  					  ACPI_TABLE_GUID);
dee602dd5d1489 Michael Roth   2022-02-24  42  	if (rsdp_addr)
dee602dd5d1489 Michael Roth   2022-02-24  43  		return (acpi_physical_address)rsdp_addr;
dee602dd5d1489 Michael Roth   2022-02-24  44  
dee602dd5d1489 Michael Roth   2022-02-24  45  	debug_putstr("Error getting RSDP address.\n");
0a23ebc66a4678 Junichi Nomura 2019-04-11  46  #endif
dee602dd5d1489 Michael Roth   2022-02-24  47  	return 0;
0a23ebc66a4678 Junichi Nomura 2019-04-11  48  }
0a23ebc66a4678 Junichi Nomura 2019-04-11  49  

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-24  5:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-24  2:14 arch/x86/boot/compressed/acpi.c:25:1: warning: '__efi_get_rsdp_addr' defined but not used kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2026-06-24  5:52 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.