All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v6 1/3] powerpc: Refactor kexec functions to move arch independent code to IMA
Date: Wed, 09 Sep 2020 15:31:28 +0800	[thread overview]
Message-ID: <202009091516.jVoS4Thp%lkp@intel.com> (raw)
In-Reply-To: <20200908230856.9799-2-nramas@linux.microsoft.com>

[-- Attachment #1: Type: text/plain, Size: 2643 bytes --]

Hi Lakshmi,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on arm64/for-next/core]
[also build test ERROR on powerpc/next integrity/next-integrity v5.9-rc4 next-20200908]
[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]

url:    https://github.com/0day-ci/linux/commits/Lakshmi-Ramasubramanian/Carry-forward-IMA-measurement-log-on-kexec-on-ARM64/20200909-122123
base:   https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core
config: powerpc-defconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from arch/powerpc/kexec/file_load.c:23:
   arch/powerpc/include/asm/ima.h: In function 'setup_ima_buffer':
>> arch/powerpc/include/asm/ima.h:16:2: error: implicit declaration of function 'ima_remove_kexec_buffer' [-Werror=implicit-function-declaration]
      16 |  ima_remove_kexec_buffer(fdt, chosen_node);
         |  ^~~~~~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors

# https://github.com/0day-ci/linux/commit/2d9181b7dc2aac775c161ce9641ee1d0d091f36b
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Lakshmi-Ramasubramanian/Carry-forward-IMA-measurement-log-on-kexec-on-ARM64/20200909-122123
git checkout 2d9181b7dc2aac775c161ce9641ee1d0d091f36b
vim +/ima_remove_kexec_buffer +16 arch/powerpc/include/asm/ima.h

     6	
     7	#ifdef CONFIG_IMA_KEXEC
     8	int arch_ima_add_kexec_buffer(struct kimage *image, unsigned long load_addr,
     9				      size_t size);
    10	
    11	int setup_ima_buffer(const struct kimage *image, void *fdt, int chosen_node);
    12	#else
    13	static inline int setup_ima_buffer(const struct kimage *image, void *fdt,
    14					   int chosen_node)
    15	{
  > 16		ima_remove_kexec_buffer(fdt, chosen_node);
    17		return 0;
    18	}
    19	#endif /* CONFIG_IMA_KEXEC */
    20	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 26315 bytes --]

  parent reply	other threads:[~2020-09-09  7:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-08 23:08 [PATCH v6 0/3] Carry forward IMA measurement log on kexec on ARM64 Lakshmi Ramasubramanian
2020-09-08 23:08 ` [PATCH v6 1/3] powerpc: Refactor kexec functions to move arch independent code to IMA Lakshmi Ramasubramanian
2020-09-09  5:48   ` kernel test robot
2020-09-09  7:09   ` kernel test robot
2020-09-09  7:31   ` kernel test robot [this message]
2020-09-12  3:18   ` Thiago Jung Bauermann
2020-09-08 23:08 ` [PATCH v6 2/3] arm64: Store IMA log information in kimage used for kexec Lakshmi Ramasubramanian
2020-09-08 23:08 ` [PATCH v6 3/3] arm64: Add IMA kexec buffer to DTB Lakshmi Ramasubramanian
2020-09-12  3:23   ` Thiago Jung Bauermann
2020-09-23 20:03 ` [PATCH v6 0/3] Carry forward IMA measurement log on kexec on ARM64 Mimi Zohar
2020-09-23 20:03   ` Mimi Zohar

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=202009091516.jVoS4Thp%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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.