Re: [PATCH v3] acpi, apei: add Boot Error Record Table (BERT) support

From: kbuild test robot
Date: Thu Jan 07 2016 - 07:01:37 EST


Hi Huang,

[auto build test WARNING on pm/linux-next]
[also build test WARNING on v4.4-rc8 next-20160106]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/fu-wei-linaro-org/acpi-apei-add-Boot-Error-Record-Table-BERT-support/20160107-193040
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: x86_64-lkp (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All warnings (new ones prefixed by >>):

>> drivers/acpi/apei/bert.c:31:14: warning: extra tokens at end of #undef directive
#undef pr_fmt(fmt)
^

vim +31 drivers/acpi/apei/bert.c

15 *
16 * For more information about BERT, please refer to ACPI Specification
17 * version 4.0, section 17.3.1
18 *
19 * This file is licensed under GPLv2.
20 *
21 */
22
23 #include <linux/kernel.h>
24 #include <linux/module.h>
25 #include <linux/init.h>
26 #include <linux/acpi.h>
27 #include <linux/io.h>
28
29 #include "apei-internal.h"
30
> 31 #undef pr_fmt(fmt)
32 #define pr_fmt(fmt) "BERT: " fmt
33
34 static int bert_disable;
35
36 static void __init bert_print_all(struct acpi_bert_region *region,
37 unsigned int region_len)
38 {
39 /*

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data