From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH RESEND v8 1/2] ACPI / APEI: Add support to notify the vendor specific HW errors
Date: Mon, 01 Jun 2020 08:59:13 +0800 [thread overview]
Message-ID: <202006010824.guesejGS%lkp@intel.com> (raw)
In-Reply-To: <20200529200443.736-2-shiju.jose@huawei.com>
[-- Attachment #1: Type: text/plain, Size: 2936 bytes --]
Hi Shiju,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on pci/next]
[also build test WARNING on linus/master v5.7-rc7]
[cannot apply to pm/linux-next next-20200529]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Shiju-Jose/ACPI-APEI-Add-support-to-notify-the-vendor-specific-HW-errors/20200601-003936
base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 2388a096e7865c043e83ece4e26654bd3d1a20d5)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> drivers/acpi/apei/ghes.c:210:5: warning: no previous prototype for function 'ghes_gdata_pool_init' [-Wmissing-prototypes]
int ghes_gdata_pool_init(void)
^
drivers/acpi/apei/ghes.c:210:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int ghes_gdata_pool_init(void)
^
static
1 warning generated.
vim +/ghes_gdata_pool_init +210 drivers/acpi/apei/ghes.c
209
> 210 int ghes_gdata_pool_init(void)
211 {
212 unsigned long addr, len;
213 int rc;
214
215 ghes_gdata_pool = gen_pool_create(GHES_GDATA_POOL_MIN_ALLOC_ORDER, -1);
216 if (!ghes_gdata_pool)
217 return -ENOMEM;
218
219 if (ghes_gdata_pool_size_request < GHES_GDATA_POOL_MIN_SIZE)
220 ghes_gdata_pool_size_request = GHES_GDATA_POOL_MIN_SIZE;
221
222 len = ghes_gdata_pool_size_request;
223 addr = (unsigned long)vmalloc(PAGE_ALIGN(len));
224 if (!addr)
225 goto err_pool_alloc;
226
227 vmalloc_sync_mappings();
228
229 rc = gen_pool_add(ghes_gdata_pool, addr, PAGE_ALIGN(len), -1);
230 if (rc)
231 goto err_pool_add;
232
233 return 0;
234
235 err_pool_add:
236 vfree((void *)addr);
237
238 err_pool_alloc:
239 gen_pool_destroy(ghes_gdata_pool);
240
241 return -ENOMEM;
242 }
243
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 73483 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: Shiju Jose <shiju.jose@huawei.com>,
linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org,
linux-kernel@vger.kernel.org, rjw@rjwysocki.net, bp@alien8.de,
james.morse@arm.com, helgaas@kernel.org, lenb@kernel.org,
tony.luck@intel.com, dan.carpenter@oracle.com
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com
Subject: Re: [PATCH RESEND v8 1/2] ACPI / APEI: Add support to notify the vendor specific HW errors
Date: Mon, 1 Jun 2020 08:59:13 +0800 [thread overview]
Message-ID: <202006010824.guesejGS%lkp@intel.com> (raw)
In-Reply-To: <20200529200443.736-2-shiju.jose@huawei.com>
[-- Attachment #1: Type: text/plain, Size: 2858 bytes --]
Hi Shiju,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on pci/next]
[also build test WARNING on linus/master v5.7-rc7]
[cannot apply to pm/linux-next next-20200529]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Shiju-Jose/ACPI-APEI-Add-support-to-notify-the-vendor-specific-HW-errors/20200601-003936
base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 2388a096e7865c043e83ece4e26654bd3d1a20d5)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> drivers/acpi/apei/ghes.c:210:5: warning: no previous prototype for function 'ghes_gdata_pool_init' [-Wmissing-prototypes]
int ghes_gdata_pool_init(void)
^
drivers/acpi/apei/ghes.c:210:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int ghes_gdata_pool_init(void)
^
static
1 warning generated.
vim +/ghes_gdata_pool_init +210 drivers/acpi/apei/ghes.c
209
> 210 int ghes_gdata_pool_init(void)
211 {
212 unsigned long addr, len;
213 int rc;
214
215 ghes_gdata_pool = gen_pool_create(GHES_GDATA_POOL_MIN_ALLOC_ORDER, -1);
216 if (!ghes_gdata_pool)
217 return -ENOMEM;
218
219 if (ghes_gdata_pool_size_request < GHES_GDATA_POOL_MIN_SIZE)
220 ghes_gdata_pool_size_request = GHES_GDATA_POOL_MIN_SIZE;
221
222 len = ghes_gdata_pool_size_request;
223 addr = (unsigned long)vmalloc(PAGE_ALIGN(len));
224 if (!addr)
225 goto err_pool_alloc;
226
227 vmalloc_sync_mappings();
228
229 rc = gen_pool_add(ghes_gdata_pool, addr, PAGE_ALIGN(len), -1);
230 if (rc)
231 goto err_pool_add;
232
233 return 0;
234
235 err_pool_add:
236 vfree((void *)addr);
237
238 err_pool_alloc:
239 gen_pool_destroy(ghes_gdata_pool);
240
241 return -ENOMEM;
242 }
243
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 73483 bytes --]
next prev parent reply other threads:[~2020-06-01 0:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-29 20:04 [PATCH RESEND v8 1/2] ACPI / APEI: Add support to notify the vendor specific HW errors Shiju Jose
2020-06-01 0:59 ` kbuild test robot [this message]
2020-06-01 0:59 ` kbuild 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=202006010824.guesejGS%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.