Messages in this thread | | | Date | Sun, 14 Feb 2016 12:22:23 +0800 | From | kbuild test robot <> | Subject | Re: [PATCH v2] x86/kernel: use pr_<level>() and dev_<level> |
| |
Hi Chen,
[auto build test WARNING on tip/x86/core] [also build test WARNING on v4.5-rc3 next-20160212] [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/Chen-Yucong/x86-kernel-use-pr_-level-and-dev_-level/20160214-121236 config: x86_64-randconfig-x012-201607 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64
All warnings (new ones prefixed by >>):
>> arch/x86/pci/mmconfig-shared.c:25:0: warning: "pr_fmt" redefined #define pr_fmt(fmt) "PCI: " fmt ^ In file included from include/linux/kernel.h:13:0, from include/linux/list.h:8, from include/linux/pci.h:25, from arch/x86/pci/mmconfig-shared.c:13: include/linux/printk.h:236:0: note: this is the location of the previous definition #define pr_fmt(fmt) fmt ^
vim +/pr_fmt +25 arch/x86/pci/mmconfig-shared.c
9 * Per-architecture code takes care of the mappings and accesses 10 * themselves. 11 */ 12 13 #include <linux/pci.h> 14 #include <linux/init.h> 15 #include <linux/sfi_acpi.h> 16 #include <linux/bitmap.h> 17 #include <linux/dmi.h> 18 #include <linux/slab.h> 19 #include <linux/mutex.h> 20 #include <linux/rculist.h> 21 #include <asm/e820.h> 22 #include <asm/pci_x86.h> 23 #include <asm/acpi.h> 24 > 25 #define pr_fmt(fmt) "PCI: " fmt 26 27 /* Indicate if the mmcfg resources have been placed into the resource table. */ 28 static bool pci_mmcfg_running_state; 29 static bool pci_mmcfg_arch_init_failed; 30 static DEFINE_MUTEX(pci_mmcfg_lock); 31 32 LIST_HEAD(pci_mmcfg_list); 33
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation [unhandled content-type:application/octet-stream] | |