Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [RFC] efi/tpm: add efi.tpm_log as a reserved region in 820_table_firmware
       [not found] <20240911104109.1831501-1-usamaarif642@gmail.com>
@ 2024-09-14  8:44 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-09-14  8:44 UTC (permalink / raw)
  To: Usama Arif; +Cc: llvm, oe-kbuild-all

Hi Usama,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on efi/next]
[also build test ERROR on tip/x86/core linus/master v6.11-rc7 next-20240913]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Usama-Arif/efi-tpm-add-efi-tpm_log-as-a-reserved-region-in-820_table_firmware/20240911-184309
base:   https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git next
patch link:    https://lore.kernel.org/r/20240911104109.1831501-1-usamaarif642%40gmail.com
patch subject: [RFC] efi/tpm: add efi.tpm_log as a reserved region in 820_table_firmware
config: i386-defconfig (https://download.01.org/0day-ci/archive/20240914/202409141653.Xws30k1b-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240914/202409141653.Xws30k1b-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/oe-kbuild-all/202409141653.Xws30k1b-lkp@intel.com/

All errors (new ones prefixed by >>):

>> arch/x86/platform/efi/efi.c:175:6: error: redefinition of 'arch_update_firmware_area'
     175 | void arch_update_firmware_area(u64 addr, u64 size)
         |      ^
   include/linux/efi.h:1375:27: note: previous definition is here
    1375 | static inline void __init arch_update_firmware_area(u64 addr, u64 size)
         |                           ^
   1 error generated.


vim +/arch_update_firmware_area +175 arch/x86/platform/efi/efi.c

   173	
   174	/* Reserve firmware area if it was marked as RAM */
 > 175	void arch_update_firmware_area(u64 addr, u64 size)
   176	{
   177		if (e820__get_entry_type(addr, addr + size) == E820_TYPE_RAM) {
   178			e820__range_update_firmware(addr, size, E820_TYPE_RAM, E820_TYPE_RESERVED);
   179			e820__update_table(e820_table_firmware);
   180		}
   181	}
   182	

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

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

only message in thread, other threads:[~2024-09-14  8:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20240911104109.1831501-1-usamaarif642@gmail.com>
2024-09-14  8:44 ` [RFC] efi/tpm: add efi.tpm_log as a reserved region in 820_table_firmware 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