arch/um/include/asm/delay.h:29:16: error: 'struct i2c_algo_bit_data' has no member named 'um_udelay'; did you mean 'udelay'?

From: kernel test robot
Date: Mon Aug 30 2021 - 20:33:58 EST


Hi Johannes,

First bad commit (maybe != root cause):

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 46f4945e2b39dda4b832909434785483e028419d
commit: 68f5d3f3b6543266b29e047cfaf9842333019b4c um: add PCI over virtio emulation driver
date: 2 months ago
config: um-allmodconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=68f5d3f3b6543266b29e047cfaf9842333019b4c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 68f5d3f3b6543266b29e047cfaf9842333019b4c
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=um SHELL=/bin/bash drivers/gpu/drm/amd/amdkfd/ drivers/gpu/drm/amd/display/dc/gpio/ drivers/gpu/drm/r128/ drivers/gpu/drm/ttm/ drivers/infiniband/hw/qib/ drivers/infiniband/sw/rdmavt/ drivers/media/pci/cx88/ drivers/media/pci/ivtv/ drivers/net/ethernet/dec/tulip/ drivers/net/ethernet/natsemi/ drivers/net/ethernet/via/ drivers/pci/controller/ drivers/tty/ drivers/vfio/pci/

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

All errors (new ones prefixed by >>):

>> drivers/tty/synclink_gt.c:442:13: error: conflicting types for 'set_signals'
442 | static void set_signals(struct slgt_info *info);
| ^~~~~~~~~~~
In file included from include/linux/irqflags.h:16,
from include/linux/spinlock.h:54,
from include/linux/mmzone.h:8,
from include/linux/gfp.h:6,
from include/linux/umh.h:4,
from include/linux/kmod.h:9,
from include/linux/module.h:16,
from drivers/tty/synclink_gt.c:46:
arch/um/include/asm/irqflags.h:6:5: note: previous declaration of 'set_signals' was here
6 | int set_signals(int enable);
| ^~~~~~~~~~~
--
from include/linux/dmapool.h:14,
from include/linux/pci.h:1463,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
arch/um/include/asm/pgtable.h:76: note: this is the location of the previous definition
76 | #define __P101 PAGE_READONLY
|
In file included from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
arch/x86/include/asm/pgtable_types.h:240: warning: "__P110" redefined
240 | #define __P110 PAGE_COPY_EXEC
|
In file included from include/linux/pgtable.h:6,
from include/linux/mm.h:33,
from include/linux/scatterlist.h:8,
from include/linux/dmapool.h:14,
from include/linux/pci.h:1463,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
arch/um/include/asm/pgtable.h:77: note: this is the location of the previous definition
77 | #define __P110 PAGE_COPY
|
In file included from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
arch/x86/include/asm/pgtable_types.h:241: warning: "__P111" redefined
241 | #define __P111 PAGE_COPY_EXEC
|
In file included from include/linux/pgtable.h:6,
from include/linux/mm.h:33,
from include/linux/scatterlist.h:8,
from include/linux/dmapool.h:14,
from include/linux/pci.h:1463,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
arch/um/include/asm/pgtable.h:78: note: this is the location of the previous definition
78 | #define __P111 PAGE_COPY
|
In file included from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
arch/x86/include/asm/pgtable_types.h:247: warning: "__S100" redefined
247 | #define __S100 PAGE_READONLY_EXEC
|
In file included from include/linux/pgtable.h:6,
from include/linux/mm.h:33,
from include/linux/scatterlist.h:8,
from include/linux/dmapool.h:14,
from include/linux/pci.h:1463,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
arch/um/include/asm/pgtable.h:84: note: this is the location of the previous definition
84 | #define __S100 PAGE_READONLY
|
In file included from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
arch/x86/include/asm/pgtable_types.h:248: warning: "__S101" redefined
248 | #define __S101 PAGE_READONLY_EXEC
|
In file included from include/linux/pgtable.h:6,
from include/linux/mm.h:33,
from include/linux/scatterlist.h:8,
from include/linux/dmapool.h:14,
from include/linux/pci.h:1463,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
arch/um/include/asm/pgtable.h:85: note: this is the location of the previous definition
85 | #define __S101 PAGE_READONLY
|
In file included from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
arch/x86/include/asm/pgtable_types.h:249: warning: "__S110" redefined
249 | #define __S110 PAGE_SHARED_EXEC
|
In file included from include/linux/pgtable.h:6,
from include/linux/mm.h:33,
from include/linux/scatterlist.h:8,
from include/linux/dmapool.h:14,
from include/linux/pci.h:1463,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
arch/um/include/asm/pgtable.h:86: note: this is the location of the previous definition
86 | #define __S110 PAGE_SHARED
|
In file included from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
arch/x86/include/asm/pgtable_types.h:250: warning: "__S111" redefined
250 | #define __S111 PAGE_SHARED_EXEC
|
In file included from include/linux/pgtable.h:6,
from include/linux/mm.h:33,
from include/linux/scatterlist.h:8,
from include/linux/dmapool.h:14,
from include/linux/pci.h:1463,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
arch/um/include/asm/pgtable.h:87: note: this is the location of the previous definition
87 | #define __S111 PAGE_SHARED
|
In file included from arch/x86/include/asm/pgtable_types.h:266,
from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
>> arch/x86/include/asm/pgtable_64_types.h:21:34: error: conflicting types for 'pte_t'
21 | typedef struct { pteval_t pte; } pte_t;
| ^~~~~
In file included from arch/um/include/asm/thread_info.h:15,
from include/linux/thread_info.h:59,
from include/asm-generic/current.h:5,
from ./arch/um/include/generated/asm/current.h:1,
from include/linux/mutex.h:14,
from include/linux/kernfs.h:12,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/pci.h:35,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
arch/um/include/asm/page.h:57:39: note: previous declaration of 'pte_t' was here
57 | typedef struct { unsigned long pte; } pte_t;
| ^~~~~
In file included from arch/x86/include/asm/pgtable_types.h:266,
from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
arch/x86/include/asm/pgtable_64_types.h:74: warning: "PGDIR_SHIFT" redefined
74 | #define PGDIR_SHIFT 39
|
In file included from arch/um/include/asm/pgtable.h:25,
from include/linux/pgtable.h:6,
from include/linux/mm.h:33,
from include/linux/scatterlist.h:8,
from include/linux/dmapool.h:14,
from include/linux/pci.h:1463,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
arch/um/include/asm/pgtable-3level.h:15: note: this is the location of the previous definition
15 | #define PGDIR_SHIFT 30
|
In file included from arch/x86/include/asm/pgtable_types.h:266,
from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
arch/x86/include/asm/pgtable_64_types.h:83: warning: "PUD_SHIFT" redefined
83 | #define PUD_SHIFT 30
|
In file included from arch/um/include/asm/pgtable-3level.h:10,
from arch/um/include/asm/pgtable.h:25,
from include/linux/pgtable.h:6,
from include/linux/mm.h:33,
from include/linux/scatterlist.h:8,
from include/linux/dmapool.h:14,
from include/linux/pci.h:1463,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
include/asm-generic/pgtable-nopud.h:18: note: this is the location of the previous definition
18 | #define PUD_SHIFT P4D_SHIFT
|
In file included from arch/x86/include/asm/pgtable_types.h:266,
from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
arch/x86/include/asm/pgtable_64_types.h:84: warning: "PTRS_PER_PUD" redefined
84 | #define PTRS_PER_PUD 512
|
In file included from arch/um/include/asm/pgtable-3level.h:10,
from arch/um/include/asm/pgtable.h:25,
from include/linux/pgtable.h:6,
from include/linux/mm.h:33,
from include/linux/scatterlist.h:8,
from include/linux/dmapool.h:14,
from include/linux/pci.h:1463,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
include/asm-generic/pgtable-nopud.h:19: note: this is the location of the previous definition
19 | #define PTRS_PER_PUD 1
|
In file included from arch/x86/include/asm/pgtable_types.h:266,
from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
arch/x86/include/asm/pgtable_64_types.h:98: warning: "PMD_SIZE" redefined
98 | #define PMD_SIZE (_AC(1, UL) << PMD_SHIFT)
|
In file included from arch/um/include/asm/pgtable.h:25,
from include/linux/pgtable.h:6,
from include/linux/mm.h:33,
from include/linux/scatterlist.h:8,
from include/linux/dmapool.h:14,
from include/linux/pci.h:1463,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
arch/um/include/asm/pgtable-3level.h:27: note: this is the location of the previous definition
27 | #define PMD_SIZE (1UL << PMD_SHIFT)
|
In file included from arch/x86/include/asm/pgtable_types.h:266,
from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
arch/x86/include/asm/pgtable_64_types.h:99: warning: "PMD_MASK" redefined
99 | #define PMD_MASK (~(PMD_SIZE - 1))
|
In file included from arch/um/include/asm/pgtable.h:25,
from include/linux/pgtable.h:6,
from include/linux/mm.h:33,
from include/linux/scatterlist.h:8,
from include/linux/dmapool.h:14,
from include/linux/pci.h:1463,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
arch/um/include/asm/pgtable-3level.h:28: note: this is the location of the previous definition
--
In file included from arch/x86/include/asm/pgtable_types.h:266,
from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
arch/x86/include/asm/pgtable_64_types.h:103: warning: "PGDIR_MASK" redefined
103 | #define PGDIR_MASK (~(PGDIR_SIZE - 1))
|
In file included from arch/um/include/asm/pgtable.h:25,
from include/linux/pgtable.h:6,
from include/linux/mm.h:33,
from include/linux/scatterlist.h:8,
from include/linux/dmapool.h:14,
from include/linux/pci.h:1463,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
arch/um/include/asm/pgtable-3level.h:20: note: this is the location of the previous definition
20 | #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
In file included from arch/x86/include/asm/pgtable_types.h:266,
from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
arch/x86/include/asm/pgtable_64_types.h:137: warning: "VMALLOC_START" redefined
137 | # define VMALLOC_START __VMALLOC_BASE_L4
|
In file included from include/linux/pgtable.h:6,
from include/linux/mm.h:33,
from include/linux/scatterlist.h:8,
from include/linux/dmapool.h:14,
from include/linux/pci.h:1463,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
arch/um/include/asm/pgtable.h:46: note: this is the location of the previous definition
46 | #define VMALLOC_START ((end_iomem + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
|
In file included from arch/x86/include/asm/pgtable_types.h:266,
from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
arch/x86/include/asm/pgtable_64_types.h:142: warning: "VMALLOC_END" redefined
142 | #define VMALLOC_END (VMALLOC_START + (VMALLOC_SIZE_TB << 40) - 1)
|
In file included from include/linux/pgtable.h:6,
from include/linux/mm.h:33,
from include/linux/scatterlist.h:8,
from include/linux/dmapool.h:14,
from include/linux/pci.h:1463,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
arch/um/include/asm/pgtable.h:48: note: this is the location of the previous definition
48 | #define VMALLOC_END (FIXADDR_START-2*PAGE_SIZE)
|
In file included from arch/x86/include/asm/pgtable_types.h:266,
from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
arch/x86/include/asm/pgtable_64_types.h:144: warning: "MODULES_VADDR" redefined
144 | #define MODULES_VADDR (__START_KERNEL_map + KERNEL_IMAGE_SIZE)
|
In file included from include/linux/pgtable.h:6,
from include/linux/mm.h:33,
from include/linux/scatterlist.h:8,
from include/linux/dmapool.h:14,
from include/linux/pci.h:1463,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
arch/um/include/asm/pgtable.h:49: note: this is the location of the previous definition
49 | #define MODULES_VADDR VMALLOC_START
|
In file included from arch/x86/include/asm/pgtable_types.h:266,
from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
arch/x86/include/asm/pgtable_64_types.h:147: warning: "MODULES_END" redefined
147 | # define MODULES_END _AC(0xffffffffff000000, UL)
|
In file included from include/linux/pgtable.h:6,
from include/linux/mm.h:33,
from include/linux/scatterlist.h:8,
from include/linux/dmapool.h:14,
from include/linux/pci.h:1463,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
arch/um/include/asm/pgtable.h:50: note: this is the location of the previous definition
50 | #define MODULES_END VMALLOC_END
|
In file included from arch/x86/include/asm/pgtable_types.h:266,
from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
arch/x86/include/asm/pgtable_64_types.h:151: warning: "MODULES_LEN" redefined
151 | #define MODULES_LEN (MODULES_END - MODULES_VADDR)
|
In file included from include/linux/pgtable.h:6,
from include/linux/mm.h:33,
from include/linux/scatterlist.h:8,
from include/linux/dmapool.h:14,
from include/linux/pci.h:1463,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
arch/um/include/asm/pgtable.h:51: note: this is the location of the previous definition
51 | #define MODULES_LEN (MODULES_VADDR - MODULES_END)
|
In file included from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
>> arch/x86/include/asm/pgtable_types.h:282:47: error: conflicting types for 'pgprot_t'
282 | typedef struct pgprot { pgprotval_t pgprot; } pgprot_t;
| ^~~~~~~~
In file included from arch/um/include/asm/thread_info.h:15,
from include/linux/thread_info.h:59,
from include/asm-generic/current.h:5,
from ./arch/um/include/generated/asm/current.h:1,
from include/linux/mutex.h:14,
from include/linux/kernfs.h:12,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/pci.h:35,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
arch/um/include/asm/page.h:80:42: note: previous declaration of 'pgprot_t' was here
80 | typedef struct { unsigned long pgprot; } pgprot_t;
| ^~~~~~~~
In file included from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
>> arch/x86/include/asm/pgtable_types.h:284:34: error: conflicting types for 'pgd_t'
284 | typedef struct { pgdval_t pgd; } pgd_t;
| ^~~~~
In file included from arch/um/include/asm/thread_info.h:15,
from include/linux/thread_info.h:59,
from include/asm-generic/current.h:5,
from ./arch/um/include/generated/asm/current.h:1,
from include/linux/mutex.h:14,
from include/linux/kernfs.h:12,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/pci.h:35,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
arch/um/include/asm/page.h:58:39: note: previous declaration of 'pgd_t' was here
58 | typedef struct { unsigned long pgd; } pgd_t;
| ^~~~~
In file included from include/linux/mm.h:33,
from include/linux/scatterlist.h:8,
from include/linux/dmapool.h:14,
from include/linux/pci.h:1463,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
>> arch/x86/include/asm/pgtable_types.h:286:43: error: expected ')' before 'prot'
286 | static inline pgprot_t pgprot_nx(pgprot_t prot)
| ^~~~
include/linux/pgtable.h:896:26: note: in definition of macro 'pgprot_nx'
896 | #define pgprot_nx(prot) (prot)
| ^~~~
In file included from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
arch/x86/include/asm/pgtable_types.h:290: warning: "pgprot_nx" redefined
290 | #define pgprot_nx pgprot_nx
|
In file included from include/linux/mm.h:33,
from include/linux/scatterlist.h:8,
from include/linux/dmapool.h:14,
from include/linux/pci.h:1463,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
include/linux/pgtable.h:896: note: this is the location of the previous definition
896 | #define pgprot_nx(prot) (prot)
|
In file included from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
arch/x86/include/asm/pgtable_types.h: In function 'native_make_p4d':
>> arch/x86/include/asm/pgtable_types.h:347:26: error: incompatible types when initializing type 'long unsigned int' using type 'pgd_t' {aka 'struct <anonymous>'}
347 | return (p4d_t) { .pgd = native_make_pgd((pgdval_t)val) };
| ^~~~~~~~~~~~~~~
arch/x86/include/asm/pgtable_types.h: In function 'native_p4d_val':
>> arch/x86/include/asm/pgtable_types.h:352:27: error: incompatible type for argument 1 of 'native_pgd_val'
352 | return native_pgd_val(p4d.pgd);
| ~~~^~~~
| |
| pgd_t {aka struct <anonymous>}
arch/x86/include/asm/pgtable_types.h:320:45: note: expected 'pgd_t' {aka 'struct <anonymous>'} but argument is of type 'pgd_t' {aka 'struct <anonymous>'}
320 | static inline pgdval_t native_pgd_val(pgd_t pgd)
| ~~~~~~^~~
arch/x86/include/asm/pgtable_types.h: In function 'native_make_pud':
arch/x86/include/asm/pgtable_types.h:373:30: error: incompatible types when initializing type 'long unsigned int' using type 'pgd_t' {aka 'struct <anonymous>'}
373 | return (pud_t) { .p4d.pgd = native_make_pgd(val) };
| ^~~~~~~~~~~~~~~
arch/x86/include/asm/pgtable_types.h: In function 'native_pud_val':
arch/x86/include/asm/pgtable_types.h:378:31: error: incompatible type for argument 1 of 'native_pgd_val'
378 | return native_pgd_val(pud.p4d.pgd);
| ~~~~~~~^~~~
| |
| pgd_t {aka struct <anonymous>}
arch/x86/include/asm/pgtable_types.h:320:45: note: expected 'pgd_t' {aka 'struct <anonymous>'} but argument is of type 'pgd_t' {aka 'struct <anonymous>'}
320 | static inline pgdval_t native_pgd_val(pgd_t pgd)
| ~~~~~~^~~
arch/x86/include/asm/pgtable_types.h: At top level:
>> arch/x86/include/asm/pgtable_types.h:383:34: error: conflicting types for 'pmd_t'
383 | typedef struct { pmdval_t pmd; } pmd_t;
| ^~~~~
In file included from arch/um/include/asm/thread_info.h:15,
from include/linux/thread_info.h:59,
from include/asm-generic/current.h:5,
from ./arch/um/include/generated/asm/current.h:1,
from include/linux/mutex.h:14,
from include/linux/kernfs.h:12,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/pci.h:35,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
arch/um/include/asm/page.h:61:39: note: previous declaration of 'pmd_t' was here
61 | typedef struct { unsigned long pmd; } pmd_t;
| ^~~~~
In file included from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
arch/x86/include/asm/pgtable_types.h:514: warning: "pgprot_writecombine" redefined
514 | #define pgprot_writecombine pgprot_writecombine
|
In file included from include/linux/mm.h:33,
from include/linux/scatterlist.h:8,
from include/linux/dmapool.h:14,
from include/linux/pci.h:1463,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
include/linux/pgtable.h:904: note: this is the location of the previous definition
904 | #define pgprot_writecombine pgprot_noncached
|
In file included from arch/x86/include/asm/memtype.h:6,
from arch/x86/include/asm/mtrr.h:27,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:41:
arch/x86/include/asm/pgtable_types.h:517: warning: "pgprot_writethrough" redefined
517 | #define pgprot_writethrough pgprot_writethrough
|
In file included from include/linux/mm.h:33,
from include/linux/scatterlist.h:8,
from include/linux/dmapool.h:14,
from include/linux/pci.h:1463,
from drivers/infiniband/hw/qib/qib_wc_x86_64.c:40:
include/linux/pgtable.h:908: note: this is the location of the previous definition
908 | #define pgprot_writethrough pgprot_noncached
|
drivers/infiniband/hw/qib/qib_wc_x86_64.c: In function 'qib_unordered_wc':
>> drivers/infiniband/hw/qib/qib_wc_x86_64.c:149:22: error: 'struct cpuinfo_um' has no member named 'x86_vendor'
149 | return boot_cpu_data.x86_vendor != X86_VENDOR_AMD;
| ^
>> drivers/infiniband/hw/qib/qib_wc_x86_64.c:149:37: error: 'X86_VENDOR_AMD' undeclared (first use in this function); did you mean 'X86_VENDOR_ANY'?
149 | return boot_cpu_data.x86_vendor != X86_VENDOR_AMD;
| ^~~~~~~~~~~~~~
| X86_VENDOR_ANY
drivers/infiniband/hw/qib/qib_wc_x86_64.c:149:37: note: each undeclared identifier is reported only once for each function it appears in
drivers/infiniband/hw/qib/qib_wc_x86_64.c:150:1: error: control reaches end of non-void function [-Werror=return-type]
150 | }
| ^
cc1: some warnings being treated as errors
..


vim +29 arch/um/include/asm/delay.h

0bc8fb4dda2b46 Johannes Berg 2020-02-13 18
0bc8fb4dda2b46 Johannes Berg 2020-02-13 19 static inline void um_udelay(unsigned long usecs)
0bc8fb4dda2b46 Johannes Berg 2020-02-13 20 {
0bc8fb4dda2b46 Johannes Berg 2020-02-13 21 if (time_travel_mode == TT_MODE_INFCPU ||
0bc8fb4dda2b46 Johannes Berg 2020-02-13 22 time_travel_mode == TT_MODE_EXTERNAL) {
0bc8fb4dda2b46 Johannes Berg 2020-02-13 23 time_travel_ndelay(1000 * usecs);
0bc8fb4dda2b46 Johannes Berg 2020-02-13 24 return;
0bc8fb4dda2b46 Johannes Berg 2020-02-13 25 }
0bc8fb4dda2b46 Johannes Berg 2020-02-13 26 udelay(usecs);
0bc8fb4dda2b46 Johannes Berg 2020-02-13 27 }
0bc8fb4dda2b46 Johannes Berg 2020-02-13 28 #undef udelay
0bc8fb4dda2b46 Johannes Berg 2020-02-13 @29 #define udelay um_udelay

:::::: The code at line 29 was first introduced by commit
:::::: 0bc8fb4dda2b461491ec567b2333d13897780d8c um: Implement ndelay/udelay in time-travel mode

:::::: TO: Johannes Berg <johannes.berg@xxxxxxxxx>
:::::: CC: Richard Weinberger <richard@xxxxxx>

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

Attachment: .config.gz
Description: application/gzip