/kbuild/src/consumer/include/linux/kasan.h:28:41: error: 'KASAN_SHADOW_SCALE_SHIFT' undeclared; did you mean 'KASAN_SHADOW_START'?
From: kbuild test robot
Date: Sun Feb 11 2018 - 02:29:16 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d48fcbd864a008802a90c58a9ceddd9436d11a49
commit: 917538e212a2c080af95ccb4376c5387fac08176 kasan: clean up KASAN_SHADOW_SCALE_SHIFT usage
date: 4 days ago
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 917538e212a2c080af95ccb4376c5387fac08176
# 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/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//w1/masters/matrox_w1.c:30:
/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/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//scsi/sym53c8xx_2/sym_glue.h:45,
from /kbuild/src/consumer/drivers//scsi/sym53c8xx_2/sym_fw.c:40:
/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/drivers//scsi/sym53c8xx_2/sym_glue.h:64:0,
from /kbuild/src/consumer/drivers//scsi/sym53c8xx_2/sym_fw.c:40:
/kbuild/src/consumer/drivers//scsi/sym53c8xx_2/sym_defs.h: At top level:
/kbuild/src/consumer/drivers//scsi/sym53c8xx_2/sym_defs.h:109:0: warning: "WSR" redefined
#define WSR 0x01 /* sta: wide scsi received [W]*/
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/linux/list.h:9,
from /kbuild/src/consumer/include/linux/wait.h:7,
from /kbuild/src/consumer/include/linux/completion.h:12,
from /kbuild/src/consumer/drivers//scsi/sym53c8xx_2/sym_glue.h:43,
from /kbuild/src/consumer/drivers//scsi/sym53c8xx_2/sym_fw.c:40:
/kbuild/src/consumer/arch/xtensa/include/asm/processor.h:220:0: note: this is the location of the previous definition
#define WSR(v,sr) __asm__ __volatile__ ("wsr %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/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//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/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/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);
^~~~~~~~~~~~~~~~~~~
..
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip