From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: arch/x86/boot/compressed/acpi.c:25:1: warning: '__efi_get_rsdp_addr' defined but not used
Date: Wed, 24 Jun 2026 04:14:04 +0200 [thread overview]
Message-ID: <202606240416.cXegPpiJ-lkp@intel.com> (raw)
::::::
:::::: 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
next reply other threads:[~2026-06-24 2:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-24 2:14 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-06-24 5:52 arch/x86/boot/compressed/acpi.c:25:1: warning: '__efi_get_rsdp_addr' defined but not used kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202606240416.cXegPpiJ-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.