tree: git://people.freedesktop.org/~gabbayo/linux amdkfd-next head: ca4b21046ead9676f6ab665a8d4edd1e9f7d35f5 commit: 433ac687a018c5ed2572418a263f384c08d6ad18 [12375/12406] Merge branch 'akpm-current/current' config: xtensa-allyesconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 433ac687a018c5ed2572418a263f384c08d6ad18 # save the attached .config to linux build tree make.cross ARCH=xtensa All errors (new ones prefixed by >>): In file included from /kbuild/src/consumer/include/linux/slab.h:129:0, from /kbuild/src/consumer/include/linux/textsearch.h:9, from /kbuild/src/consumer/include/linux/skbuff.h:30, from /kbuild/src/consumer/include/linux/if_ether.h:23, from /kbuild/src/consumer/include/uapi/linux/ethtool.h:19, from /kbuild/src/consumer/include/linux/ethtool.h:18, from /kbuild/src/consumer/include/linux/netdevice.h:41, from /kbuild/src/consumer/drivers//net/arcnet/arcnet.c:49: /kbuild/src/consumer/include/linux/kasan.h: In function 'kasan_mem_to_shadow': >> /kbuild/src/consumer/include/linux/kasan.h:28:41: error: 'KASAN_SHADOW_SCALE_SHIFT' undeclared (first use in this function); did you mean 'KASAN_SHADOW_START'? return (void *)((unsigned long)addr >> KASAN_SHADOW_SCALE_SHIFT) ^~~~~~~~~~~~~~~~~~~~~~~~ KASAN_SHADOW_START /kbuild/src/consumer/include/linux/kasan.h:28:41: note: each undeclared identifier is reported only once for each function it appears in -- In file included from /kbuild/src/consumer/include/linux/slab.h:129:0, from /kbuild/src/consumer/drivers//net/usb/rtl8150.c:10: /kbuild/src/consumer/include/linux/kasan.h: In function 'kasan_mem_to_shadow': >> /kbuild/src/consumer/include/linux/kasan.h:28:41: error: 'KASAN_SHADOW_SCALE_SHIFT' undeclared (first use in this function); did you mean 'KASAN_SHADOW_START'? return (void *)((unsigned long)addr >> KASAN_SHADOW_SCALE_SHIFT) ^~~~~~~~~~~~~~~~~~~~~~~~ KASAN_SHADOW_START /kbuild/src/consumer/include/linux/kasan.h:28:41: note: each undeclared identifier is reported only once for each function it appears in /kbuild/src/consumer/drivers//net/usb/rtl8150.c: At top level: /kbuild/src/consumer/drivers//net/usb/rtl8150.c:30:0: warning: "RSR" redefined #define RSR 0x0133 In file included from /kbuild/src/consumer/arch/xtensa/include/asm/bitops.h:22:0, from /kbuild/src/consumer/include/linux/bitops.h:38, from /kbuild/src/consumer/include/linux/kernel.h:11, from /kbuild/src/consumer/include/asm-generic/bug.h:18, from ./arch/xtensa/include/generated/asm/bug.h:1, from /kbuild/src/consumer/include/linux/bug.h:5, from /kbuild/src/consumer/include/linux/signal.h:5, from /kbuild/src/consumer/drivers//net/usb/rtl8150.c:9: /kbuild/src/consumer/arch/xtensa/include/asm/processor.h:221:0: note: this is the location of the previous definition #define RSR(v,sr) __asm__ __volatile__ ("rsr %0,"__stringify(sr) : "=a"(v)); -- In file included from /kbuild/src/consumer/include/linux/slab.h:129:0, from /kbuild/src/consumer/drivers/input/joystick/analog.c:32: /kbuild/src/consumer/include/linux/kasan.h: In function 'kasan_mem_to_shadow': >> /kbuild/src/consumer/include/linux/kasan.h:28:41: error: 'KASAN_SHADOW_SCALE_SHIFT' undeclared (first use in this function); did you mean 'KASAN_SHADOW_START'? return (void *)((unsigned long)addr >> KASAN_SHADOW_SCALE_SHIFT) ^~~~~~~~~~~~~~~~~~~~~~~~ KASAN_SHADOW_START /kbuild/src/consumer/include/linux/kasan.h:28:41: note: each undeclared identifier is reported only once for each function it appears in /kbuild/src/consumer/drivers/input/joystick/analog.c: At top level: /kbuild/src/consumer/drivers/input/joystick/analog.c:176:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] #warning Precise timer not defined for this architecture. ^~~~~~~ -- In file included from /kbuild/src/consumer/include/linux/slab.h:129:0, from /kbuild/src/consumer/drivers/net/usb/rtl8150.c:10: /kbuild/src/consumer/include/linux/kasan.h: In function 'kasan_mem_to_shadow': >> /kbuild/src/consumer/include/linux/kasan.h:28:41: error: 'KASAN_SHADOW_SCALE_SHIFT' undeclared (first use in this function); did you mean 'KASAN_SHADOW_START'? return (void *)((unsigned long)addr >> KASAN_SHADOW_SCALE_SHIFT) ^~~~~~~~~~~~~~~~~~~~~~~~ KASAN_SHADOW_START /kbuild/src/consumer/include/linux/kasan.h:28:41: note: each undeclared identifier is reported only once for each function it appears in /kbuild/src/consumer/drivers/net/usb/rtl8150.c: At top level: /kbuild/src/consumer/drivers/net/usb/rtl8150.c:30:0: warning: "RSR" redefined #define RSR 0x0133 In file included from /kbuild/src/consumer/arch/xtensa/include/asm/bitops.h:22:0, from /kbuild/src/consumer/include/linux/bitops.h:38, from /kbuild/src/consumer/include/linux/kernel.h:11, from /kbuild/src/consumer/include/asm-generic/bug.h:18, from ./arch/xtensa/include/generated/asm/bug.h:1, from /kbuild/src/consumer/include/linux/bug.h:5, from /kbuild/src/consumer/include/linux/signal.h:5, from /kbuild/src/consumer/drivers/net/usb/rtl8150.c:9: /kbuild/src/consumer/arch/xtensa/include/asm/processor.h:221:0: note: this is the location of the previous definition #define RSR(v,sr) __asm__ __volatile__ ("rsr %0,"__stringify(sr) : "=a"(v)); -- In file included from /kbuild/src/consumer/include/linux/slab.h:129:0, from /kbuild/src/consumer/include/linux/irq.h:26, from /kbuild/src/consumer/include/asm-generic/hardirq.h:13, from ./arch/xtensa/include/generated/asm/hardirq.h:1, from /kbuild/src/consumer/include/linux/hardirq.h:9, from /kbuild/src/consumer/include/linux/interrupt.h:13, from /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/ib_verbs.c:39: /kbuild/src/consumer/include/linux/kasan.h: In function 'kasan_mem_to_shadow': >> /kbuild/src/consumer/include/linux/kasan.h:28:41: error: 'KASAN_SHADOW_SCALE_SHIFT' undeclared (first use in this function); did you mean 'KASAN_SHADOW_START'? return (void *)((unsigned long)addr >> KASAN_SHADOW_SCALE_SHIFT) ^~~~~~~~~~~~~~~~~~~~~~~~ KASAN_SHADOW_START /kbuild/src/consumer/include/linux/kasan.h:28:41: note: each undeclared identifier is reported only once for each function it appears in In file included from /kbuild/src/consumer/include/linux/kernel.h:11:0, from /kbuild/src/consumer/include/linux/interrupt.h:6, from /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/ib_verbs.c:39: /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/ib_verbs.c: In function 'bnxt_re_query_device': /kbuild/src/consumer/include/linux/bitops.h:7:24: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (1UL << (nr)) ^ /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/bnxt_re.h:61:34: note: in expansion of macro 'BIT' #define BNXT_RE_MAX_MR_SIZE_HIGH BIT(39) ^~~ /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/bnxt_re.h:62:30: note: in expansion of macro 'BNXT_RE_MAX_MR_SIZE_HIGH' #define BNXT_RE_MAX_MR_SIZE BNXT_RE_MAX_MR_SIZE_HIGH ^~~~~~~~~~~~~~~~~~~~~~~~ /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/ib_verbs.c:149:25: note: in expansion of macro 'BNXT_RE_MAX_MR_SIZE' ib_attr->max_mr_size = BNXT_RE_MAX_MR_SIZE; ^~~~~~~~~~~~~~~~~~~ /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/ib_verbs.c: In function 'bnxt_re_reg_user_mr': /kbuild/src/consumer/include/linux/bitops.h:7:24: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (1UL << (nr)) ^ /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/bnxt_re.h:61:34: note: in expansion of macro 'BIT' #define BNXT_RE_MAX_MR_SIZE_HIGH BIT(39) ^~~ /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/bnxt_re.h:62:30: note: in expansion of macro 'BNXT_RE_MAX_MR_SIZE_HIGH' #define BNXT_RE_MAX_MR_SIZE BNXT_RE_MAX_MR_SIZE_HIGH ^~~~~~~~~~~~~~~~~~~~~~~~ /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/ib_verbs.c:3553:15: note: in expansion of macro 'BNXT_RE_MAX_MR_SIZE' if (length > BNXT_RE_MAX_MR_SIZE) { ^~~~~~~~~~~~~~~~~~~ /kbuild/src/consumer/include/linux/bitops.h:7:24: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (1UL << (nr)) ^ /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/bnxt_re.h:61:34: note: in expansion of macro 'BIT' #define BNXT_RE_MAX_MR_SIZE_HIGH BIT(39) ^~~ /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/bnxt_re.h:62:30: note: in expansion of macro 'BNXT_RE_MAX_MR_SIZE_HIGH' #define BNXT_RE_MAX_MR_SIZE BNXT_RE_MAX_MR_SIZE_HIGH ^~~~~~~~~~~~~~~~~~~~~~~~ /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/ib_verbs.c:3555:12: note: in expansion of macro 'BNXT_RE_MAX_MR_SIZE' length, BNXT_RE_MAX_MR_SIZE); ^~~~~~~~~~~~~~~~~~~ -- In file included from /kbuild/src/consumer/include/linux/slab.h:129:0, from /kbuild/src/consumer/include/linux/irq.h:26, from /kbuild/src/consumer/include/asm-generic/hardirq.h:13, from ./arch/xtensa/include/generated/asm/hardirq.h:1, from /kbuild/src/consumer/include/linux/hardirq.h:9, from /kbuild/src/consumer/include/linux/interrupt.h:13, from /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/qplib_fp.c:39: /kbuild/src/consumer/include/linux/kasan.h: In function 'kasan_mem_to_shadow': >> /kbuild/src/consumer/include/linux/kasan.h:28:41: error: 'KASAN_SHADOW_SCALE_SHIFT' undeclared (first use in this function); did you mean 'KASAN_SHADOW_START'? return (void *)((unsigned long)addr >> KASAN_SHADOW_SCALE_SHIFT) ^~~~~~~~~~~~~~~~~~~~~~~~ KASAN_SHADOW_START /kbuild/src/consumer/include/linux/kasan.h:28:41: note: each undeclared identifier is reported only once for each function it appears in /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/qplib_fp.c: In function 'bnxt_qplib_service_nq': /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/qplib_fp.c:333:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] bnxt_qplib_arm_srq((struct bnxt_qplib_srq *)q_handle, ^ /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/qplib_fp.c:336:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (struct bnxt_qplib_srq *)q_handle, ^ In file included from /kbuild/src/consumer/include/linux/swab.h:5:0, from /kbuild/src/consumer/include/uapi/linux/byteorder/big_endian.h:13, from /kbuild/src/consumer/include/linux/byteorder/big_endian.h:5, from /kbuild/src/consumer/arch/xtensa/include/uapi/asm/byteorder.h:8, from /kbuild/src/consumer/arch/xtensa/include/asm/bitops.h:23, from /kbuild/src/consumer/include/linux/bitops.h:38, from /kbuild/src/consumer/include/linux/kernel.h:11, from /kbuild/src/consumer/include/linux/interrupt.h:6, from /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/qplib_fp.c:39: /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/qplib_fp.c: In function 'bnxt_qplib_create_srq': /kbuild/src/consumer/include/uapi/linux/swab.h:130:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (__builtin_constant_p((__u64)(x)) ? \ ^ /kbuild/src/consumer/include/uapi/linux/byteorder/big_endian.h:31:43: note: in expansion of macro '__swab64' #define __cpu_to_le64(x) ((__force __le64)__swab64((x))) ^~~~~~~~ /kbuild/src/consumer/include/linux/byteorder/generic.h:86:21: note: in expansion of macro '__cpu_to_le64' #define cpu_to_le64 __cpu_to_le64 ^~~~~~~~~~~~~ /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/qplib_fp.c:567:19: note: in expansion of macro 'cpu_to_le64' req.srq_handle = cpu_to_le64(srq); ^~~~~~~~~~~ /kbuild/src/consumer/include/uapi/linux/swab.h:24:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (((__u64)(x) & (__u64)0x00000000000000ffULL) << 56) | \ ^ /kbuild/src/consumer/include/uapi/linux/swab.h:131:2: note: in expansion of macro '___constant_swab64' ___constant_swab64(x) : \ ^~~~~~~~~~~~~~~~~~ /kbuild/src/consumer/include/uapi/linux/byteorder/big_endian.h:31:43: note: in expansion of macro '__swab64' #define __cpu_to_le64(x) ((__force __le64)__swab64((x))) ^~~~~~~~ /kbuild/src/consumer/include/linux/byteorder/generic.h:86:21: note: in expansion of macro '__cpu_to_le64' #define cpu_to_le64 __cpu_to_le64 ^~~~~~~~~~~~~ /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/qplib_fp.c:567:19: note: in expansion of macro 'cpu_to_le64' req.srq_handle = cpu_to_le64(srq); ^~~~~~~~~~~ /kbuild/src/consumer/include/uapi/linux/swab.h:25:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (((__u64)(x) & (__u64)0x000000000000ff00ULL) << 40) | \ ^ /kbuild/src/consumer/include/uapi/linux/swab.h:131:2: note: in expansion of macro '___constant_swab64' ___constant_swab64(x) : \ ^~~~~~~~~~~~~~~~~~ /kbuild/src/consumer/include/uapi/linux/byteorder/big_endian.h:31:43: note: in expansion of macro '__swab64' #define __cpu_to_le64(x) ((__force __le64)__swab64((x))) ^~~~~~~~ /kbuild/src/consumer/include/linux/byteorder/generic.h:86:21: note: in expansion of macro '__cpu_to_le64' #define cpu_to_le64 __cpu_to_le64 ^~~~~~~~~~~~~ /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/qplib_fp.c:567:19: note: in expansion of macro 'cpu_to_le64' req.srq_handle = cpu_to_le64(srq); ^~~~~~~~~~~ /kbuild/src/consumer/include/uapi/linux/swab.h:26:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (((__u64)(x) & (__u64)0x0000000000ff0000ULL) << 24) | \ ^ /kbuild/src/consumer/include/uapi/linux/swab.h:131:2: note: in expansion of macro '___constant_swab64' ___constant_swab64(x) : \ ^~~~~~~~~~~~~~~~~~ /kbuild/src/consumer/include/uapi/linux/byteorder/big_endian.h:31:43: note: in expansion of macro '__swab64' #define __cpu_to_le64(x) ((__force __le64)__swab64((x))) ^~~~~~~~ /kbuild/src/consumer/include/linux/byteorder/generic.h:86:21: note: in expansion of macro '__cpu_to_le64' #define cpu_to_le64 __cpu_to_le64 ^~~~~~~~~~~~~ /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/qplib_fp.c:567:19: note: in expansion of macro 'cpu_to_le64' req.srq_handle = cpu_to_le64(srq); ^~~~~~~~~~~ /kbuild/src/consumer/include/uapi/linux/swab.h:27:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (((__u64)(x) & (__u64)0x00000000ff000000ULL) << 8) | \ ^ /kbuild/src/consumer/include/uapi/linux/swab.h:131:2: note: in expansion of macro '___constant_swab64' ___constant_swab64(x) : \ ^~~~~~~~~~~~~~~~~~ /kbuild/src/consumer/include/uapi/linux/byteorder/big_endian.h:31:43: note: in expansion of macro '__swab64' #define __cpu_to_le64(x) ((__force __le64)__swab64((x))) ^~~~~~~~ /kbuild/src/consumer/include/linux/byteorder/generic.h:86:21: note: in expansion of macro '__cpu_to_le64' #define cpu_to_le64 __cpu_to_le64 ^~~~~~~~~~~~~ /kbuild/src/consumer/drivers//infiniband/hw/bnxt_re/qplib_fp.c:567:19: note: in expansion of macro 'cpu_to_le64' req.srq_handle = cpu_to_le64(srq); ^~~~~~~~~~~ /kbuild/src/consumer/include/uapi/linux/swab.h:28:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (((__u64)(x) & (__u64)0x000000ff00000000ULL) >> 8) | \ ^ /kbuild/src/consumer/include/uapi/linux/swab.h:131:2: note: in expansion of macro '___constant_swab64' ___constant_swab64(x) : \ ^~~~~~~~~~~~~~~~~~ /kbuild/src/consumer/include/uapi/linux/byteorder/big_endian.h:31:43: note: in expansion of macro '__swab64' -- In file included from /kbuild/src/consumer/include/linux/slab.h:129:0, from /kbuild/src/consumer/include/linux/irq.h:26, from /kbuild/src/consumer/include/asm-generic/hardirq.h:13, from ./arch/xtensa/include/generated/asm/hardirq.h:1, from /kbuild/src/consumer/include/linux/hardirq.h:9, from /kbuild/src/consumer/include/linux/interrupt.h:13, from /kbuild/src/consumer/include/linux/pci.h:32, from /kbuild/src/consumer/drivers//net/ethernet/intel/ixgbe/ixgbe_main.c:31: /kbuild/src/consumer/include/linux/kasan.h: In function 'kasan_mem_to_shadow': >> /kbuild/src/consumer/include/linux/kasan.h:28:41: error: 'KASAN_SHADOW_SCALE_SHIFT' undeclared (first use in this function); did you mean 'KASAN_SHADOW_START'? return (void *)((unsigned long)addr >> KASAN_SHADOW_SCALE_SHIFT) ^~~~~~~~~~~~~~~~~~~~~~~~ KASAN_SHADOW_START /kbuild/src/consumer/include/linux/kasan.h:28:41: note: each undeclared identifier is reported only once for each function it appears in In file included from /kbuild/src/consumer/arch/xtensa/include/asm/atomic.h:21:0, from /kbuild/src/consumer/include/linux/atomic.h:5, from /kbuild/src/consumer/include/linux/debug_locks.h:6, from /kbuild/src/consumer/include/linux/lockdep.h:28, from /kbuild/src/consumer/include/linux/spinlock_types.h:18, from /kbuild/src/consumer/include/linux/spinlock.h:82, from /kbuild/src/consumer/include/linux/seqlock.h:36, from /kbuild/src/consumer/include/linux/time.h:6, from /kbuild/src/consumer/include/linux/stat.h:19, from /kbuild/src/consumer/include/linux/module.h:10, from /kbuild/src/consumer/drivers//net/ethernet/intel/ixgbe/ixgbe_main.c:30: /kbuild/src/consumer/drivers//net/ethernet/intel/ixgbe/ixgbe_main.c: In function 'ixgbe_xdp_setup': /kbuild/src/consumer/arch/xtensa/include/asm/cmpxchg.h:139:3: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kbuild/src/consumer/drivers//net/ethernet/intel/ixgbe/ixgbe_main.c:9949:4: note: in expansion of macro 'xchg' xchg(&adapter->rx_ring[i]->xdp_prog, adapter->xdp_prog); ^~~~ -- In file included from /kbuild/src/consumer/include/linux/slab.h:129:0, from /kbuild/src/consumer/include/linux/irq.h:26, from /kbuild/src/consumer/include/asm-generic/hardirq.h:13, from ./arch/xtensa/include/generated/asm/hardirq.h:1, from /kbuild/src/consumer/include/linux/hardirq.h:9, from /kbuild/src/consumer/include/linux/interrupt.h:13, from /kbuild/src/consumer/drivers/infiniband/hw/bnxt_re/qplib_fp.c:39: /kbuild/src/consumer/include/linux/kasan.h: In function 'kasan_mem_to_shadow': >> /kbuild/src/consumer/include/linux/kasan.h:28:41: error: 'KASAN_SHADOW_SCALE_SHIFT' undeclared (first use in this function); did you mean 'KASAN_SHADOW_START'? return (void *)((unsigned long)addr >> KASAN_SHADOW_SCALE_SHIFT) ^~~~~~~~~~~~~~~~~~~~~~~~ KASAN_SHADOW_START /kbuild/src/consumer/include/linux/kasan.h:28:41: note: each undeclared identifier is reported only once for each function it appears in /kbuild/src/consumer/drivers/infiniband/hw/bnxt_re/qplib_fp.c: In function 'bnxt_qplib_service_nq': /kbuild/src/consumer/drivers/infiniband/hw/bnxt_re/qplib_fp.c:333:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] bnxt_qplib_arm_srq((struct bnxt_qplib_srq *)q_handle, ^ /kbuild/src/consumer/drivers/infiniband/hw/bnxt_re/qplib_fp.c:336:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (struct bnxt_qplib_srq *)q_handle, ^ In file included from /kbuild/src/consumer/include/linux/swab.h:5:0, from /kbuild/src/consumer/include/uapi/linux/byteorder/big_endian.h:13, from /kbuild/src/consumer/include/linux/byteorder/big_endian.h:5, from /kbuild/src/consumer/arch/xtensa/include/uapi/asm/byteorder.h:8, from /kbuild/src/consumer/arch/xtensa/include/asm/bitops.h:23, from /kbuild/src/consumer/include/linux/bitops.h:38, from /kbuild/src/consumer/include/linux/kernel.h:11, from /kbuild/src/consumer/include/linux/interrupt.h:6, from /kbuild/src/consumer/drivers/infiniband/hw/bnxt_re/qplib_fp.c:39: /kbuild/src/consumer/drivers/infiniband/hw/bnxt_re/qplib_fp.c: In function 'bnxt_qplib_create_srq': /kbuild/src/consumer/include/uapi/linux/swab.h:130:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (__builtin_constant_p((__u64)(x)) ? \ ^ /kbuild/src/consumer/include/uapi/linux/byteorder/big_endian.h:31:43: note: in expansion of macro '__swab64' #define __cpu_to_le64(x) ((__force __le64)__swab64((x))) ^~~~~~~~ /kbuild/src/consumer/include/linux/byteorder/generic.h:86:21: note: in expansion of macro '__cpu_to_le64' #define cpu_to_le64 __cpu_to_le64 ^~~~~~~~~~~~~ /kbuild/src/consumer/drivers/infiniband/hw/bnxt_re/qplib_fp.c:567:19: note: in expansion of macro 'cpu_to_le64' req.srq_handle = cpu_to_le64(srq); ^~~~~~~~~~~ /kbuild/src/consumer/include/uapi/linux/swab.h:24:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (((__u64)(x) & (__u64)0x00000000000000ffULL) << 56) | \ ^ /kbuild/src/consumer/include/uapi/linux/swab.h:131:2: note: in expansion of macro '___constant_swab64' ___constant_swab64(x) : \ ^~~~~~~~~~~~~~~~~~ /kbuild/src/consumer/include/uapi/linux/byteorder/big_endian.h:31:43: note: in expansion of macro '__swab64' #define __cpu_to_le64(x) ((__force __le64)__swab64((x))) ^~~~~~~~ /kbuild/src/consumer/include/linux/byteorder/generic.h:86:21: note: in expansion of macro '__cpu_to_le64' #define cpu_to_le64 __cpu_to_le64 ^~~~~~~~~~~~~ /kbuild/src/consumer/drivers/infiniband/hw/bnxt_re/qplib_fp.c:567:19: note: in expansion of macro 'cpu_to_le64' req.srq_handle = cpu_to_le64(srq); ^~~~~~~~~~~ /kbuild/src/consumer/include/uapi/linux/swab.h:25:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (((__u64)(x) & (__u64)0x000000000000ff00ULL) << 40) | \ ^ /kbuild/src/consumer/include/uapi/linux/swab.h:131:2: note: in expansion of macro '___constant_swab64' ___constant_swab64(x) : \ ^~~~~~~~~~~~~~~~~~ /kbuild/src/consumer/include/uapi/linux/byteorder/big_endian.h:31:43: note: in expansion of macro '__swab64' #define __cpu_to_le64(x) ((__force __le64)__swab64((x))) ^~~~~~~~ /kbuild/src/consumer/include/linux/byteorder/generic.h:86:21: note: in expansion of macro '__cpu_to_le64' #define cpu_to_le64 __cpu_to_le64 ^~~~~~~~~~~~~ /kbuild/src/consumer/drivers/infiniband/hw/bnxt_re/qplib_fp.c:567:19: note: in expansion of macro 'cpu_to_le64' req.srq_handle = cpu_to_le64(srq); ^~~~~~~~~~~ /kbuild/src/consumer/include/uapi/linux/swab.h:26:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (((__u64)(x) & (__u64)0x0000000000ff0000ULL) << 24) | \ ^ /kbuild/src/consumer/include/uapi/linux/swab.h:131:2: note: in expansion of macro '___constant_swab64' ___constant_swab64(x) : \ ^~~~~~~~~~~~~~~~~~ /kbuild/src/consumer/include/uapi/linux/byteorder/big_endian.h:31:43: note: in expansion of macro '__swab64' #define __cpu_to_le64(x) ((__force __le64)__swab64((x))) ^~~~~~~~ /kbuild/src/consumer/include/linux/byteorder/generic.h:86:21: note: in expansion of macro '__cpu_to_le64' #define cpu_to_le64 __cpu_to_le64 ^~~~~~~~~~~~~ /kbuild/src/consumer/drivers/infiniband/hw/bnxt_re/qplib_fp.c:567:19: note: in expansion of macro 'cpu_to_le64' req.srq_handle = cpu_to_le64(srq); ^~~~~~~~~~~ /kbuild/src/consumer/include/uapi/linux/swab.h:27:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (((__u64)(x) & (__u64)0x00000000ff000000ULL) << 8) | \ ^ /kbuild/src/consumer/include/uapi/linux/swab.h:131:2: note: in expansion of macro '___constant_swab64' ___constant_swab64(x) : \ ^~~~~~~~~~~~~~~~~~ /kbuild/src/consumer/include/uapi/linux/byteorder/big_endian.h:31:43: note: in expansion of macro '__swab64' #define __cpu_to_le64(x) ((__force __le64)__swab64((x))) ^~~~~~~~ /kbuild/src/consumer/include/linux/byteorder/generic.h:86:21: note: in expansion of macro '__cpu_to_le64' #define cpu_to_le64 __cpu_to_le64 ^~~~~~~~~~~~~ /kbuild/src/consumer/drivers/infiniband/hw/bnxt_re/qplib_fp.c:567:19: note: in expansion of macro 'cpu_to_le64' req.srq_handle = cpu_to_le64(srq); ^~~~~~~~~~~ /kbuild/src/consumer/include/uapi/linux/swab.h:28:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (((__u64)(x) & (__u64)0x000000ff00000000ULL) >> 8) | \ ^ /kbuild/src/consumer/include/uapi/linux/swab.h:131:2: note: in expansion of macro '___constant_swab64' ___constant_swab64(x) : \ ^~~~~~~~~~~~~~~~~~ /kbuild/src/consumer/include/uapi/linux/byteorder/big_endian.h:31:43: note: in expansion of macro '__swab64' .. --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel