Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Usama Arif <usamaarif642@gmail.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC] efi/tpm: add efi.tpm_log as a reserved region in 820_table_firmware
Date: Sat, 14 Sep 2024 16:44:01 +0800	[thread overview]
Message-ID: <202409141653.Xws30k1b-lkp@intel.com> (raw)
In-Reply-To: <20240911104109.1831501-1-usamaarif642@gmail.com>

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

           reply	other threads:[~2024-09-14  8:44 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20240911104109.1831501-1-usamaarif642@gmail.com>]

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=202409141653.Xws30k1b-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=usamaarif642@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox