Re: [PATCH v2 3/9] KVM: arm64: Enable UBSAN_BOUNDS for the both the kernel and hyp/nVHE
by kernel test robot
Hi Elena,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on arm64/for-next/core]
[cannot apply to kvmarm/next soc/for-next arm/for-next xlnx/master v5.11-rc3 next-20210115]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Elena-Petrova/UBSan-Enablement-f...
base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/c8a90dc1d55ba5e383a58cb48562cfdc8...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Elena-Petrova/UBSan-Enablement-for-hyp-nVHE-code/20210115-112509
git checkout c8a90dc1d55ba5e383a58cb48562cfdc803cb1b0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from arch/arm64/kvm/kvm_ubsan_buffer.c:12:
include/kvm/arm_pmu.h:52:15: warning: 'struct kvm_device_attr' declared inside parameter list will not be visible outside of this definition or declaration
52 | struct kvm_device_attr *attr);
| ^~~~~~~~~~~~~~~
include/kvm/arm_pmu.h:54:15: warning: 'struct kvm_device_attr' declared inside parameter list will not be visible outside of this definition or declaration
54 | struct kvm_device_attr *attr);
| ^~~~~~~~~~~~~~~
include/kvm/arm_pmu.h:56:15: warning: 'struct kvm_device_attr' declared inside parameter list will not be visible outside of this definition or declaration
56 | struct kvm_device_attr *attr);
| ^~~~~~~~~~~~~~~
>> arch/arm64/kvm/kvm_ubsan_buffer.c:20:6: warning: no previous prototype for '__kvm_check_ubsan_data' [-Wmissing-prototypes]
20 | void __kvm_check_ubsan_data(struct kvm_ubsan_info *slot)
| ^~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/kvm_ubsan_buffer.c:30:6: warning: no previous prototype for 'iterate_kvm_ubsan_buffer' [-Wmissing-prototypes]
30 | void iterate_kvm_ubsan_buffer(unsigned long left, unsigned long right)
| ^~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/kvm_ubsan_buffer.c:43:6: warning: no previous prototype for '__kvm_check_ubsan_buffer' [-Wmissing-prototypes]
43 | void __kvm_check_ubsan_buffer(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~
vim +/__kvm_check_ubsan_data +20 arch/arm64/kvm/kvm_ubsan_buffer.c
16
17 DECLARE_KVM_DEBUG_BUFFER(struct kvm_ubsan_info, kvm_ubsan_buffer,
18 kvm_ubsan_buff_wr_ind, KVM_UBSAN_BUFFER_SIZE);
19
> 20 void __kvm_check_ubsan_data(struct kvm_ubsan_info *slot)
21 {
22 switch (slot->type) {
23 case UBSAN_OUT_OF_BOUNDS:
24 __ubsan_handle_out_of_bounds(&slot->out_of_bounds_data,
25 slot->u_val.lval);
26 break;
27 }
28 }
29
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months
Re: [PATCH v4 03/10] drm: rcar-du: Convert to the new VSP atomic API
by kernel test robot
Hi Kieran,
I love your patch! Yet something to improve:
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on tegra-drm/drm/tegra/for-next drm-tip/drm-tip pinchartl-media/drm/du/next v5.11-rc3 next-20210115]
[cannot apply to linuxtv-media/master drm-exynos/exynos-drm-next drm/drm-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Kieran-Bingham/drm-rcar-du-Rewor...
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/54bcb2a6860ae79fb060b013775d9184b...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Kieran-Bingham/drm-rcar-du-Rework-CRTC-and-groups-for-atomic-commits/20210115-112237
git checkout 54bcb2a6860ae79fb060b013775d9184b312103d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
In file included from drivers/gpu/drm/rcar-du/rcar_du_drv.h:21,
from drivers/gpu/drm/rcar-du/rcar_du_crtc.c:27:
>> drivers/gpu/drm/rcar-du/rcar_du_vsp.h:78:14: error: expected ';' before 'void'
78 | static inlinc void rcar_du_vsp_modeset(struct rcar_du_crtc *crtc) { };
| ^~~~~
| ;
>> drivers/gpu/drm/rcar-du/rcar_du_vsp.h:78:20: warning: no previous prototype for 'rcar_du_vsp_modeset' [-Wmissing-prototypes]
78 | static inlinc void rcar_du_vsp_modeset(struct rcar_du_crtc *crtc) { };
| ^~~~~~~~~~~~~~~~~~~
vim +78 drivers/gpu/drm/rcar-du/rcar_du_vsp.h
77
> 78 static inlinc void rcar_du_vsp_modeset(struct rcar_du_crtc *crtc) { };
79 static inline void rcar_du_vsp_enable(struct rcar_du_crtc *crtc) { };
80 static inline void rcar_du_vsp_disable(struct rcar_du_crtc *crtc) { };
81 static inline void rcar_du_vsp_atomic_begin(struct rcar_du_crtc *crtc) { };
82 static inline void rcar_du_vsp_atomic_flush(struct rcar_du_crtc *crtc) { };
83 static inline int rcar_du_vsp_map_fb(struct rcar_du_vsp *vsp,
84 struct drm_framebuffer *fb,
85 struct sg_table sg_tables[3])
86 {
87 return -ENXIO;
88 }
89 static inline void rcar_du_vsp_unmap_fb(struct rcar_du_vsp *vsp,
90 struct drm_framebuffer *fb,
91 struct sg_table sg_tables[3])
92 {
93 }
94 #endif
95
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months
<stdin>:1532:2: warning: syscall ioctl32 not implemented
by kernel test robot
tree: https://github.com/0day-ci/linux/commits/UPDATE-20210115-152009/sonicadva...
head: c298fbb6a409fd8c375132c4be803d7921e2cc90
commit: c298fbb6a409fd8c375132c4be803d7921e2cc90 Adds a new ioctl32 syscall for backwards compatibility layers
date: 6 hours ago
config: powerpc64-randconfig-r021-20210115 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 5b42fd8dd4e7e29125a09a41a33af7c9cb57d144)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
# https://github.com/0day-ci/linux/commit/c298fbb6a409fd8c375132c4be803d792...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review UPDATE-20210115-152009/sonicadvance1-gmail-com/Adds-a-new-ioctl32-syscall-for-backwards-compatibility-layers/20210106-145354
git checkout c298fbb6a409fd8c375132c4be803d7921e2cc90
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> <stdin>:1532:2: warning: syscall ioctl32 not implemented [-W#warnings]
#warning syscall ioctl32 not implemented
^
1 warning generated.
--
>> <stdin>:1532:2: warning: syscall ioctl32 not implemented [-W#warnings]
#warning syscall ioctl32 not implemented
^
1 warning generated.
--
arch/powerpc/include/asm/io.h:557:56: note: expanded from macro '__do_insw'
#define __do_insw(p, b, n) readsw((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from arch/powerpc/kernel/asm-offsets.c:23:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:13:
In file included from include/linux/cgroup.h:26:
In file included from include/linux/kernel_stat.h:9:
In file included from include/linux/interrupt.h:11:
In file included from include/linux/hardirq.h:10:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:619:
arch/powerpc/include/asm/io-defs.h:47:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(insl, (unsigned long p, void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:616:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:67:1: note: expanded from here
__do_insl
^
arch/powerpc/include/asm/io.h:558:56: note: expanded from macro '__do_insl'
#define __do_insl(p, b, n) readsl((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from arch/powerpc/kernel/asm-offsets.c:23:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:13:
In file included from include/linux/cgroup.h:26:
In file included from include/linux/kernel_stat.h:9:
In file included from include/linux/interrupt.h:11:
In file included from include/linux/hardirq.h:10:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:619:
arch/powerpc/include/asm/io-defs.h:49:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsb, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:616:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:69:1: note: expanded from here
__do_outsb
^
arch/powerpc/include/asm/io.h:559:58: note: expanded from macro '__do_outsb'
#define __do_outsb(p, b, n) writesb((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from arch/powerpc/kernel/asm-offsets.c:23:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:13:
In file included from include/linux/cgroup.h:26:
In file included from include/linux/kernel_stat.h:9:
In file included from include/linux/interrupt.h:11:
In file included from include/linux/hardirq.h:10:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:619:
arch/powerpc/include/asm/io-defs.h:51:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsw, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:616:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:71:1: note: expanded from here
__do_outsw
^
arch/powerpc/include/asm/io.h:560:58: note: expanded from macro '__do_outsw'
#define __do_outsw(p, b, n) writesw((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from arch/powerpc/kernel/asm-offsets.c:23:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:13:
In file included from include/linux/cgroup.h:26:
In file included from include/linux/kernel_stat.h:9:
In file included from include/linux/interrupt.h:11:
In file included from include/linux/hardirq.h:10:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:619:
arch/powerpc/include/asm/io-defs.h:53:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsl, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:616:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:73:1: note: expanded from here
__do_outsl
^
arch/powerpc/include/asm/io.h:561:58: note: expanded from macro '__do_outsl'
#define __do_outsl(p, b, n) writesl((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
6 warnings generated.
>> <stdin>:1532:2: warning: syscall ioctl32 not implemented [-W#warnings]
#warning syscall ioctl32 not implemented
^
1 warning generated.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months
drivers/scsi/myrs.c:2449:13: sparse: sparse: incorrect type in assignment (different base types)
by kernel test robot
Hi Kefeng,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 5ee88057889bbca5f5bb96031b62b3756b33e164
commit: ed1ed4c0da5447c5e322481ce2ef9f03336c6ffb riscv: mmiowb: Fix implicit declaration of function 'smp_processor_id'
date: 8 months ago
config: riscv-randconfig-s032-20210115 (attached as .config)
compiler: riscv32-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-208-g46a52ca4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout ed1ed4c0da5447c5e322481ce2ef9f03336c6ffb
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
"sparse warnings: (new ones prefixed by >>)"
drivers/scsi/myrs.c:1532:5: sparse: sparse: symbol 'myrs_host_reset' was not declared. Should it be static?
drivers/scsi/myrs.c:1922:27: sparse: sparse: symbol 'myrs_template' was not declared. Should it be static?
drivers/scsi/myrs.c:2036:31: sparse: sparse: symbol 'myrs_raid_functions' was not declared. Should it be static?
drivers/scsi/myrs.c:2046:6: sparse: sparse: symbol 'myrs_flush_cache' was not declared. Should it be static?
drivers/scsi/myrs.c:2275:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] <asn:2> *base @@ got struct myrs_hba *cs @@
drivers/scsi/myrs.c:2275:34: sparse: expected void [noderef] <asn:2> *base
drivers/scsi/myrs.c:2275:34: sparse: got struct myrs_hba *cs
drivers/scsi/myrs.c:2434:9: sparse: sparse: cast from restricted __le32
drivers/scsi/myrs.c:2502:9: sparse: sparse: cast from restricted __le32
drivers/scsi/myrs.c:2427:9: sparse: sparse: cast from restricted __le32
drivers/scsi/myrs.c:2502:9: sparse: sparse: cast from restricted __le32
drivers/scsi/myrs.c:2413:9: sparse: sparse: cast from restricted __le32
>> drivers/scsi/myrs.c:2449:13: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] val @@ got unsigned int [assigned] [usertype] __v @@
drivers/scsi/myrs.c:2449:13: sparse: expected restricted __le32 [usertype] val
drivers/scsi/myrs.c:2449:13: sparse: got unsigned int [assigned] [usertype] __v
drivers/scsi/myrs.c:2549:13: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] val @@ got unsigned int [assigned] [usertype] __v @@
drivers/scsi/myrs.c:2549:13: sparse: expected restricted __le32 [usertype] val
drivers/scsi/myrs.c:2549:13: sparse: got unsigned int [assigned] [usertype] __v
drivers/scsi/myrs.c:2552:18: sparse: sparse: restricted __le32 degrades to integer
drivers/scsi/myrs.c:2427:9: sparse: sparse: cast from restricted __le32
drivers/scsi/myrs.c:2495:9: sparse: sparse: cast from restricted __le32
drivers/scsi/myrs.c:2472:9: sparse: sparse: cast from restricted __le32
drivers/scsi/myrs.c:2441:13: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] val @@ got unsigned int [assigned] [usertype] __v @@
drivers/scsi/myrs.c:2441:13: sparse: expected restricted __le32 [usertype] val
drivers/scsi/myrs.c:2441:13: sparse: got unsigned int [assigned] [usertype] __v
drivers/scsi/myrs.c:2406:9: sparse: sparse: cast from restricted __le32
drivers/scsi/myrs.c:2479:13: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] val @@ got unsigned int [assigned] [usertype] __v @@
drivers/scsi/myrs.c:2479:13: sparse: expected restricted __le32 [usertype] val
drivers/scsi/myrs.c:2479:13: sparse: got unsigned int [assigned] [usertype] __v
drivers/scsi/myrs.c:2457:9: sparse: sparse: cast from restricted __le32
drivers/scsi/myrs.c:2413:9: sparse: sparse: cast from restricted __le32
--
drivers/isdn/hardware/mISDN/avmfritz.c:175:9: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:175:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:175:9: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:175:9: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:176:16: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:176:16: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:176:16: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:176:16: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:185:9: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:185:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:185:9: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:185:9: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:186:9: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:186:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:186:9: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:186:9: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:194:9: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:194:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:194:9: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:194:9: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:203:9: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:203:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:203:9: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:203:9: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:212:9: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:212:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:212:9: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:212:9: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:213:23: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:213:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:213:23: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:213:23: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:221:9: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:221:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:221:9: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:221:9: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:222:9: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:222:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:222:9: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:222:9: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:231:9: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:231:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:231:9: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:231:9: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:233:34: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:233:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:233:34: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:233:34: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:242:9: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:242:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:242:9: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:242:9: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:244:17: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:244:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:244:17: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:244:17: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:325:9: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:325:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:325:9: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:325:9: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:332:9: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:332:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:332:9: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:332:9: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:417:17: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:417:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:417:17: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:417:17: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:421:23: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:421:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:421:23: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:421:23: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:421:23: sparse: sparse: cast to restricted __le32
drivers/isdn/hardware/mISDN/avmfritz.c:488:25: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:488:25: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:488:25: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:488:25: sparse: got void *
>> drivers/isdn/hardware/mISDN/avmfritz.c:494:25: sparse: sparse: cast from restricted __le32
drivers/isdn/hardware/mISDN/avmfritz.c:494:25: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:494:25: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:494:25: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:494:25: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:627:16: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:627:16: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:627:16: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:627:16: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:654:16: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:654:16: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:654:16: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:654:16: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:671:17: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:671:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:671:17: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:671:17: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:673:17: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:673:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:673:17: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:673:17: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:761:17: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:761:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:761:17: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:761:17: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:770:17: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:770:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:770:17: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:770:17: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:770:17: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:770:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:770:17: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:770:17: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:964:23: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:964:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:964:23: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:964:23: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:965:17: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:965:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:965:17: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:965:17: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:966:23: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:966:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:966:23: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:966:23: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:977:23: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:977:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:977:23: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:977:23: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:978:23: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:978:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:978:23: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:978:23: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:270:9: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:270:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:270:9: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:270:9: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:264:9: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:264:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:264:9: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:264:9: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:265:9: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:265:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:265:9: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:265:9: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:303:16: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:303:16: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:303:16: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:303:16: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:296:9: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:296:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:296:9: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:296:9: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:297:16: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:297:16: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:297:16: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:297:16: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:270:9: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:270:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:270:9: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:270:9: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:264:9: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:264:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:264:9: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:264:9: sparse: got void *
drivers/isdn/hardware/mISDN/avmfritz.c:265:9: sparse: sparse: cast removes address space '<asn:2>' of expression
drivers/isdn/hardware/mISDN/avmfritz.c:265:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got void * @@
drivers/isdn/hardware/mISDN/avmfritz.c:265:9: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/isdn/hardware/mISDN/avmfritz.c:265:9: sparse: got void *
--
drivers/scsi/bnx2fc/bnx2fc_hwi.c:87:41: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:88:41: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] dummy_buffer_addr_hi @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:88:41: sparse: expected restricted __le32 [addressable] [assigned] [usertype] dummy_buffer_addr_hi
drivers/scsi/bnx2fc/bnx2fc_hwi.c:88:41: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:89:42: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] task_list_pbl_addr_lo @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:89:42: sparse: expected restricted __le32 [addressable] [assigned] [usertype] task_list_pbl_addr_lo
drivers/scsi/bnx2fc/bnx2fc_hwi.c:89:42: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:90:42: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] task_list_pbl_addr_hi @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:90:42: sparse: expected restricted __le32 [addressable] [assigned] [usertype] task_list_pbl_addr_hi
drivers/scsi/bnx2fc/bnx2fc_hwi.c:90:42: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:92:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [addressable] [assigned] [usertype] mtu @@ got int @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:92:24: sparse: expected restricted __le16 [addressable] [assigned] [usertype] mtu
drivers/scsi/bnx2fc/bnx2fc_hwi.c:92:24: sparse: got int
drivers/scsi/bnx2fc/bnx2fc_hwi.c:109:41: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] hash_tbl_pbl_addr_lo @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:109:41: sparse: expected restricted __le32 [addressable] [assigned] [usertype] hash_tbl_pbl_addr_lo
drivers/scsi/bnx2fc/bnx2fc_hwi.c:109:41: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:110:41: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] hash_tbl_pbl_addr_hi @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:110:41: sparse: expected restricted __le32 [addressable] [assigned] [usertype] hash_tbl_pbl_addr_hi
drivers/scsi/bnx2fc/bnx2fc_hwi.c:110:41: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:113:40: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] t2_hash_tbl_addr_lo @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:113:40: sparse: expected restricted __le32 [addressable] [assigned] [usertype] t2_hash_tbl_addr_lo
drivers/scsi/bnx2fc/bnx2fc_hwi.c:113:40: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:114:40: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] t2_hash_tbl_addr_hi @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:114:40: sparse: expected restricted __le32 [addressable] [assigned] [usertype] t2_hash_tbl_addr_hi
drivers/scsi/bnx2fc/bnx2fc_hwi.c:114:40: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:117:44: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] t2_ptr_hash_tbl_addr_lo @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:117:44: sparse: expected restricted __le32 [addressable] [assigned] [usertype] t2_ptr_hash_tbl_addr_lo
drivers/scsi/bnx2fc/bnx2fc_hwi.c:117:44: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:118:44: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] t2_ptr_hash_tbl_addr_hi @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:118:44: sparse: expected restricted __le32 [addressable] [assigned] [usertype] t2_ptr_hash_tbl_addr_hi
drivers/scsi/bnx2fc/bnx2fc_hwi.c:118:44: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:121:36: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] free_list_count @@ got int @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:121:36: sparse: expected restricted __le32 [addressable] [assigned] [usertype] free_list_count
drivers/scsi/bnx2fc/bnx2fc_hwi.c:121:36: sparse: got int
drivers/scsi/bnx2fc/bnx2fc_hwi.c:128:37: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] error_bit_map_lo @@ got unsigned int @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:128:37: sparse: expected restricted __le32 [addressable] [assigned] [usertype] error_bit_map_lo
drivers/scsi/bnx2fc/bnx2fc_hwi.c:128:37: sparse: got unsigned int
drivers/scsi/bnx2fc/bnx2fc_hwi.c:129:37: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] error_bit_map_hi @@ got unsigned int @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:129:37: sparse: expected restricted __le32 [addressable] [assigned] [usertype] error_bit_map_hi
drivers/scsi/bnx2fc/bnx2fc_hwi.c:129:37: sparse: got unsigned int
drivers/scsi/bnx2fc/bnx2fc_hwi.c:199:32: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [addressable] [assigned] [usertype] fcoe_conn_id @@ got unsigned short [assigned] [usertype] conn_id @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:199:32: sparse: expected restricted __le16 [addressable] [assigned] [usertype] fcoe_conn_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:199:32: sparse: got unsigned short [assigned] [usertype] conn_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:202:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] sq_addr_lo @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:202:30: sparse: expected restricted __le32 [addressable] [assigned] [usertype] sq_addr_lo
drivers/scsi/bnx2fc/bnx2fc_hwi.c:202:30: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:203:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] sq_addr_hi @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:203:30: sparse: expected restricted __le32 [addressable] [assigned] [usertype] sq_addr_hi
drivers/scsi/bnx2fc/bnx2fc_hwi.c:203:30: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:205:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] rq_pbl_addr_lo @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:205:34: sparse: expected restricted __le32 [addressable] [assigned] [usertype] rq_pbl_addr_lo
drivers/scsi/bnx2fc/bnx2fc_hwi.c:205:34: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:206:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] rq_pbl_addr_hi @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:206:34: sparse: expected restricted __le32 [addressable] [assigned] [usertype] rq_pbl_addr_hi
drivers/scsi/bnx2fc/bnx2fc_hwi.c:206:34: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:208:40: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] rq_first_pbe_addr_lo @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:208:40: sparse: expected restricted __le32 [addressable] [assigned] [usertype] rq_first_pbe_addr_lo
drivers/scsi/bnx2fc/bnx2fc_hwi.c:208:40: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:209:40: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] rq_first_pbe_addr_hi @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:209:40: sparse: expected restricted __le32 [addressable] [assigned] [usertype] rq_first_pbe_addr_hi
drivers/scsi/bnx2fc/bnx2fc_hwi.c:209:40: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:212:27: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [addressable] [assigned] [usertype] rq_prod @@ got int @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:212:27: sparse: expected restricted __le16 [addressable] [assigned] [usertype] rq_prod
drivers/scsi/bnx2fc/bnx2fc_hwi.c:212:27: sparse: got int
drivers/scsi/bnx2fc/bnx2fc_hwi.c:221:37: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [addressable] [assigned] [usertype] tx_max_fc_pay_len @@ got unsigned short [usertype] maxframe_size @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:221:37: sparse: expected restricted __le16 [addressable] [assigned] [usertype] tx_max_fc_pay_len
drivers/scsi/bnx2fc/bnx2fc_hwi.c:221:37: sparse: got unsigned short [usertype] maxframe_size
drivers/scsi/bnx2fc/bnx2fc_hwi.c:223:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] cq_addr_lo @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:223:30: sparse: expected restricted __le32 [addressable] [assigned] [usertype] cq_addr_lo
drivers/scsi/bnx2fc/bnx2fc_hwi.c:223:30: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:224:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] cq_addr_hi @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:224:30: sparse: expected restricted __le32 [addressable] [assigned] [usertype] cq_addr_hi
drivers/scsi/bnx2fc/bnx2fc_hwi.c:224:30: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:226:33: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] xferq_addr_lo @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:226:33: sparse: expected restricted __le32 [addressable] [assigned] [usertype] xferq_addr_lo
drivers/scsi/bnx2fc/bnx2fc_hwi.c:226:33: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:227:33: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] xferq_addr_hi @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:227:33: sparse: expected restricted __le32 [addressable] [assigned] [usertype] xferq_addr_hi
drivers/scsi/bnx2fc/bnx2fc_hwi.c:227:33: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:229:35: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] conn_db_addr_lo @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:229:35: sparse: expected restricted __le32 [addressable] [assigned] [usertype] conn_db_addr_lo
drivers/scsi/bnx2fc/bnx2fc_hwi.c:229:35: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:230:35: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] conn_db_addr_hi @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:230:35: sparse: expected restricted __le32 [addressable] [assigned] [usertype] conn_db_addr_hi
drivers/scsi/bnx2fc/bnx2fc_hwi.c:230:35: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:239:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [addressable] [assigned] [usertype] vlan_tag @@ got int @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:239:28: sparse: expected restricted __le16 [addressable] [assigned] [usertype] vlan_tag
drivers/scsi/bnx2fc/bnx2fc_hwi.c:239:28: sparse: got int
drivers/scsi/bnx2fc/bnx2fc_hwi.c:241:28: sparse: sparse: invalid assignment: |=
drivers/scsi/bnx2fc/bnx2fc_hwi.c:241:28: sparse: left side has type restricted __le16
drivers/scsi/bnx2fc/bnx2fc_hwi.c:241:28: sparse: right side has type int
drivers/scsi/bnx2fc/bnx2fc_hwi.c:264:38: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [addressable] [assigned] [usertype] tx_total_conc_seqs @@ got unsigned short [usertype] max_seq @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:264:38: sparse: expected restricted __le16 [addressable] [assigned] [usertype] tx_total_conc_seqs
drivers/scsi/bnx2fc/bnx2fc_hwi.c:264:38: sparse: got unsigned short [usertype] max_seq
drivers/scsi/bnx2fc/bnx2fc_hwi.c:267:38: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [addressable] [assigned] [usertype] rx_max_fc_pay_len @@ got unsigned int [usertype] mfs @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:267:38: sparse: expected restricted __le16 [addressable] [assigned] [usertype] rx_max_fc_pay_len
drivers/scsi/bnx2fc/bnx2fc_hwi.c:267:38: sparse: got unsigned int [usertype] mfs
drivers/scsi/bnx2fc/bnx2fc_hwi.c:269:38: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [addressable] [assigned] [usertype] rx_total_conc_seqs @@ got int @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:269:38: sparse: expected restricted __le16 [addressable] [assigned] [usertype] rx_total_conc_seqs
drivers/scsi/bnx2fc/bnx2fc_hwi.c:269:38: sparse: got int
>> drivers/scsi/bnx2fc/bnx2fc_hwi.c:273:43: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] confq_first_pbe_addr_lo @@ got unsigned int [usertype] confq_dma @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:273:43: sparse: expected restricted __le32 [addressable] [assigned] [usertype] confq_first_pbe_addr_lo
drivers/scsi/bnx2fc/bnx2fc_hwi.c:273:43: sparse: got unsigned int [usertype] confq_dma
drivers/scsi/bnx2fc/bnx2fc_hwi.c:274:43: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] confq_first_pbe_addr_hi @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:274:43: sparse: expected restricted __le32 [addressable] [assigned] [usertype] confq_first_pbe_addr_hi
drivers/scsi/bnx2fc/bnx2fc_hwi.c:274:43: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:332:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] lcq_addr_lo @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:332:31: sparse: expected restricted __le32 [addressable] [assigned] [usertype] lcq_addr_lo
drivers/scsi/bnx2fc/bnx2fc_hwi.c:332:31: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:333:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] lcq_addr_hi @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:333:31: sparse: expected restricted __le32 [addressable] [assigned] [usertype] lcq_addr_hi
drivers/scsi/bnx2fc/bnx2fc_hwi.c:333:31: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:335:42: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] confq_pbl_base_addr_lo @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:335:42: sparse: expected restricted __le32 [addressable] [assigned] [usertype] confq_pbl_base_addr_lo
drivers/scsi/bnx2fc/bnx2fc_hwi.c:335:42: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:336:42: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] confq_pbl_base_addr_hi @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:336:42: sparse: expected restricted __le32 [addressable] [assigned] [usertype] confq_pbl_base_addr_hi
drivers/scsi/bnx2fc/bnx2fc_hwi.c:336:42: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:410:29: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] context_id @@ got unsigned int [usertype] context_id @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:410:29: sparse: expected restricted __le32 [addressable] [assigned] [usertype] context_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:410:29: sparse: got unsigned int [usertype] context_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:411:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] conn_id @@ got unsigned int [usertype] fcoe_conn_id @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:411:26: sparse: expected restricted __le32 [addressable] [assigned] [usertype] conn_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:411:26: sparse: got unsigned int [usertype] fcoe_conn_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:469:32: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] context_id @@ got unsigned int [usertype] context_id @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:469:32: sparse: expected restricted __le32 [addressable] [assigned] [usertype] context_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:469:32: sparse: got unsigned int [usertype] context_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:470:29: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] conn_id @@ got unsigned int [usertype] fcoe_conn_id @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:470:29: sparse: expected restricted __le32 [addressable] [assigned] [usertype] conn_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:470:29: sparse: got unsigned int [usertype] fcoe_conn_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:504:32: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] context_id @@ got unsigned int [usertype] context_id @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:504:32: sparse: expected restricted __le32 [addressable] [assigned] [usertype] context_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:504:32: sparse: got unsigned int [usertype] context_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:505:29: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] conn_id @@ got unsigned int [usertype] fcoe_conn_id @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:505:29: sparse: expected restricted __le32 [addressable] [assigned] [usertype] conn_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:505:29: sparse: got unsigned int [usertype] fcoe_conn_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:613:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] fr_crc @@ got restricted __le32 [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:613:28: sparse: expected unsigned int [usertype] fr_crc
drivers/scsi/bnx2fc/bnx2fc_hwi.c:613:28: sparse: got restricted __le32 [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:696:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] xid @@ got restricted __le16 [usertype] ox_id @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:696:21: sparse: expected unsigned short [usertype] xid
drivers/scsi/bnx2fc/bnx2fc_hwi.c:696:21: sparse: got restricted __le16 [usertype] ox_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:731:27: sparse: sparse: cast from restricted __le32
drivers/scsi/bnx2fc/bnx2fc_hwi.c:732:26: sparse: sparse: cast from restricted __le32
drivers/scsi/bnx2fc/bnx2fc_hwi.c:812:23: sparse: sparse: cast from restricted __le16
drivers/scsi/bnx2fc/bnx2fc_hwi.c:812:23: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] val @@ got restricted __le16 [usertype] ox_id @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:812:23: sparse: expected unsigned short [usertype] val
drivers/scsi/bnx2fc/bnx2fc_hwi.c:812:23: sparse: got restricted __le16 [usertype] ox_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:812:23: sparse: sparse: cast from restricted __le16
drivers/scsi/bnx2fc/bnx2fc_hwi.c:812:23: sparse: sparse: cast from restricted __le16
drivers/scsi/bnx2fc/bnx2fc_hwi.c:812:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] xid @@ got restricted __be16 [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:812:21: sparse: expected unsigned short [usertype] xid
drivers/scsi/bnx2fc/bnx2fc_hwi.c:812:21: sparse: got restricted __be16 [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:826:27: sparse: sparse: cast from restricted __le32
drivers/scsi/bnx2fc/bnx2fc_hwi.c:827:26: sparse: sparse: cast from restricted __le32
drivers/scsi/bnx2fc/bnx2fc_hwi.c:893:45: sparse: sparse: restricted __le16 degrades to integer
drivers/scsi/bnx2fc/bnx2fc_hwi.c:970:33: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [usertype] doorbell_cq_cons @@ got int @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:970:33: sparse: expected restricted __le16 [usertype] doorbell_cq_cons
drivers/scsi/bnx2fc/bnx2fc_hwi.c:970:33: sparse: got int
drivers/scsi/bnx2fc/bnx2fc_hwi.c:973:9: sparse: sparse: cast from restricted __le32
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1027:43: sparse: sparse: restricted __le16 degrades to integer
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1097:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] wqe @@ got restricted __le16 [usertype] wqe @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1097:22: sparse: expected unsigned short [usertype] wqe
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1097:22: sparse: got restricted __le16 [usertype] wqe
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1261:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] conn_id @@ got restricted __le32 [usertype] fcoe_conn_id @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1261:17: sparse: expected unsigned int [usertype] conn_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1261:17: sparse: got restricted __le32 [usertype] fcoe_conn_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1377:53: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected unsigned int [usertype] err_code @@ got restricted __le32 [usertype] completion_status @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1377:53: sparse: expected unsigned int [usertype] err_code
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1377:53: sparse: got restricted __le32 [usertype] completion_status
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1429:18: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [usertype] wqe @@ got int @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1429:18: sparse: expected restricted __le16 [usertype] wqe
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1429:18: sparse: got int
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1430:18: sparse: sparse: invalid assignment: |=
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1430:18: sparse: left side has type restricted __le16
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1430:18: sparse: right side has type int
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1448:9: sparse: sparse: cast from restricted __le32
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1532:46: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] init_flags @@ got unsigned int @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1532:46: sparse: expected restricted __le32 [usertype] init_flags
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1532:46: sparse: got unsigned int
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1534:46: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] init_flags @@ got unsigned int @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1534:46: sparse: expected restricted __le32 [usertype] init_flags
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1534:46: sparse: got unsigned int
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1537:63: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [usertype] cleaned_task_id @@ got unsigned short [usertype] orig_xid @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1537:63: sparse: expected restricted __le16 [usertype] cleaned_task_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1537:63: sparse: got unsigned short [usertype] orig_xid
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1540:69: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] rolled_tx_data_offset @@ got unsigned int [usertype] offset @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1540:69: sparse: expected restricted __le32 [usertype] rolled_tx_data_offset
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1540:69: sparse: got unsigned int [usertype] offset
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1546:35: sparse: sparse: restricted __le16 degrades to integer
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1548:24: sparse: sparse: invalid assignment: -=
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1548:24: sparse: left side has type unsigned int
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1548:24: sparse: right side has type restricted __le16
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1553:69: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] lo @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1553:69: sparse: expected restricted __le32 [usertype] lo
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1553:69: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1555:69: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] hi @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1555:69: sparse: expected restricted __le32 [usertype] hi
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1555:69: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1559:65: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [usertype] cur_sge_off @@ got unsigned int [usertype] offset @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1559:65: sparse: expected restricted __le16 [usertype] cur_sge_off
vim +2449 drivers/scsi/myrs.c
77266186397c6c78 Hannes Reinecke 2018-10-17 2444
77266186397c6c78 Hannes Reinecke 2018-10-17 2445 static inline bool DAC960_GEM_init_in_progress(void __iomem *base)
77266186397c6c78 Hannes Reinecke 2018-10-17 2446 {
77266186397c6c78 Hannes Reinecke 2018-10-17 2447 __le32 val;
77266186397c6c78 Hannes Reinecke 2018-10-17 2448
77266186397c6c78 Hannes Reinecke 2018-10-17 @2449 val = readl(base + DAC960_GEM_IDB_READ_OFFSET);
77266186397c6c78 Hannes Reinecke 2018-10-17 2450 return (le32_to_cpu(val) >> 24) & DAC960_GEM_IDB_INIT_IN_PROGRESS;
77266186397c6c78 Hannes Reinecke 2018-10-17 2451 }
77266186397c6c78 Hannes Reinecke 2018-10-17 2452
:::::: The code at line 2449 was first introduced by commit
:::::: 77266186397c6c782a3f670d32808a9671806ec5 scsi: myrs: Add Mylex RAID controller (SCSI interface)
:::::: TO: Hannes Reinecke <hare(a)suse.com>
:::::: CC: Martin K. Petersen <martin.petersen(a)oracle.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months
[jfern:coresched 12/12] kernel/sched/core.c:79:1: sparse: sparse: symbol 'sched_core_syscall_protected' was not declared. Should it be
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git coresched
head: 0cae4d526e66a8aa5f8b3626045be344860e9b8d
commit: 0cae4d526e66a8aa5f8b3626045be344860e9b8d [12/12] FIXUP: Add a ht_protect= kernel cmdline option.
config: i386-randconfig-s001-20210115 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-208-g46a52ca4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git/commit/?i...
git remote add jfern https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git
git fetch --no-tags jfern coresched
git checkout 0cae4d526e66a8aa5f8b3626045be344860e9b8d
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
"sparse warnings: (new ones prefixed by >>)"
>> kernel/sched/core.c:79:1: sparse: sparse: symbol 'sched_core_syscall_protected' was not declared. Should it be static?
>> kernel/sched/core.c:80:1: sparse: sparse: symbol 'sched_core_irq_protected' was not declared. Should it be static?
>> kernel/sched/core.c:81:1: sparse: sparse: symbol 'sched_core_kvm_protected' was not declared. Should it be static?
kernel/sched/core.c:649:48: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected struct task_struct *p @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/core.c:649:48: sparse: expected struct task_struct *p
kernel/sched/core.c:649:48: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/core.c:905:38: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct task_struct *curr @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/core.c:905:38: sparse: expected struct task_struct *curr
kernel/sched/core.c:905:38: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/core.c:1993:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct task_struct *p @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/core.c:1993:33: sparse: expected struct task_struct *p
kernel/sched/core.c:1993:33: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/core.c:1993:68: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct task_struct *tsk @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/core.c:1993:68: sparse: expected struct task_struct *tsk
kernel/sched/core.c:1993:68: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/core.c:3183:17: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/core.c:3183:17: sparse: expected struct sched_domain *[assigned] sd
kernel/sched/core.c:3183:17: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/core.c:3375:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct task_struct const *p @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/core.c:3375:36: sparse: expected struct task_struct const *p
kernel/sched/core.c:3375:36: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/core.c:8253:43: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct task_struct *push_task @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/core.c:8253:43: sparse: expected struct task_struct *push_task
kernel/sched/core.c:8253:43: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/core.c:4787:38: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct task_struct *curr @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/core.c:4787:38: sparse: expected struct task_struct *curr
kernel/sched/core.c:4787:38: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/core.c:5357:58: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct task_struct *t @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/core.c:5357:58: sparse: expected struct task_struct *t
kernel/sched/core.c:5357:58: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/core.c:5724:32: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/core.c:5724:32: sparse: struct task_struct [noderef] __rcu *
kernel/sched/core.c:5724:32: sparse: struct task_struct *
kernel/sched/core.c:5752:23: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/core.c:5752:23: sparse: struct task_struct [noderef] __rcu *
kernel/sched/core.c:5752:23: sparse: struct task_struct *
kernel/sched/core.c:5760:46: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/core.c:5760:46: sparse: struct task_struct *
kernel/sched/core.c:5760:46: sparse: struct task_struct [noderef] __rcu *
kernel/sched/core.c:5821:9: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/core.c:5821:9: sparse: expected struct sched_domain *[assigned] sd
kernel/sched/core.c:5821:9: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/core.c:5940:14: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct task_struct *prev @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/core.c:5940:14: sparse: expected struct task_struct *prev
kernel/sched/core.c:5940:14: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/core.c:6404:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/core.c:6404:17: sparse: struct task_struct *
kernel/sched/core.c:6404:17: sparse: struct task_struct [noderef] __rcu *
kernel/sched/core.c:6606:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/core.c:6606:22: sparse: struct task_struct [noderef] __rcu *
kernel/sched/core.c:6606:22: sparse: struct task_struct *
kernel/sched/core.c:9498:11: sparse: sparse: symbol 'max_cfs_quota_period' was not declared. Should it be static?
kernel/sched/core.c:10082:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct task_struct *p @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/core.c:10082:25: sparse: expected struct task_struct *p
kernel/sched/core.c:10082:25: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/core.c: note: in included file:
kernel/sched/pelt.h:85:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct task_struct const *p @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/pelt.h:85:13: sparse: expected struct task_struct const *p
kernel/sched/pelt.h:85:13: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/core.c:649:11: sparse: sparse: dereference of noderef expression
kernel/sched/core.c:1984:33: sparse: sparse: dereference of noderef expression
kernel/sched/core.c:1985:19: sparse: sparse: dereference of noderef expression
kernel/sched/core.c:1986:37: sparse: sparse: dereference of noderef expression
kernel/sched/core.c: note: in included file:
kernel/sched/sched.h:1149:30: sparse: sparse: context imbalance in 'move_queued_task' - unexpected unlock
kernel/sched/core.c:2305:9: sparse: sparse: context imbalance in 'push_cpu_stop' - different lock contexts for basic block
kernel/sched/sched.h:1967:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:1967:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:1967:25: sparse: struct task_struct *
kernel/sched/sched.h:2125:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2125:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2125:9: sparse: struct task_struct *
kernel/sched/core.c:1959:38: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/core.c:1959:38: sparse: struct task_struct [noderef] __rcu *
kernel/sched/core.c:1959:38: sparse: struct task_struct const *
kernel/sched/sched.h:1967:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:1967:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:1967:25: sparse: struct task_struct *
kernel/sched/sched.h:2125:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2125:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2125:9: sparse: struct task_struct *
kernel/sched/sched.h:2125:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2125:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2125:9: sparse: struct task_struct *
kernel/sched/sched.h:2125:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2125:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2125:9: sparse: struct task_struct *
kernel/sched/sched.h:2125:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2125:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2125:9: sparse: struct task_struct *
kernel/sched/sched.h:1967:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:1967:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:1967:25: sparse: struct task_struct *
kernel/sched/sched.h:2125:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2125:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2125:9: sparse: struct task_struct *
kernel/sched/sched.h:1967:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:1967:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:1967:25: sparse: struct task_struct *
kernel/sched/sched.h:2125:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2125:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2125:9: sparse: struct task_struct *
Please review and possibly fold the followup patch.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months
Re: [PATCH v2 2/9] KVM: arm64: Add a buffer that can pass UBSan data from hyp/nVHE to kernel
by kernel test robot
Hi Elena,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on arm64/for-next/core]
[cannot apply to kvmarm/next soc/for-next arm/for-next xlnx/master v5.11-rc3 next-20210115]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Elena-Petrova/UBSan-Enablement-f...
base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/aba3219bbab3bb5c7f037fe7b6c6c7839...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Elena-Petrova/UBSan-Enablement-for-hyp-nVHE-code/20210115-112509
git checkout aba3219bbab3bb5c7f037fe7b6c6c783942bc954
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from arch/arm64/kvm/hyp/nvhe/ubsan.c:9:
>> arch/arm64/kvm/hyp/nvhe/ubsan.c:18:48: error: conflicting types for 'kvm_ubsan_buffer'
18 | DEFINE_KVM_DEBUG_BUFFER(struct kvm_ubsan_info, kvm_ubsan_buffer,
| ^~~~~~~~~~~~~~~~
include/linux/percpu-defs.h:95:44: note: in definition of macro 'DEFINE_PER_CPU_SECTION'
95 | __PCPU_ATTRS(sec) __weak __typeof__(type) name
| ^~~~
arch/arm64/include/asm/kvm_debug_buffer.h:14:2: note: in expansion of macro 'DEFINE_PER_CPU'
14 | DEFINE_PER_CPU(type_name, buffer_name)[size]; \
| ^~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/ubsan.c:18:1: note: in expansion of macro 'DEFINE_KVM_DEBUG_BUFFER'
18 | DEFINE_KVM_DEBUG_BUFFER(struct kvm_ubsan_info, kvm_ubsan_buffer,
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/ubsan.c:18:48: note: previous declaration of 'kvm_ubsan_buffer' was here
18 | DEFINE_KVM_DEBUG_BUFFER(struct kvm_ubsan_info, kvm_ubsan_buffer,
| ^~~~~~~~~~~~~~~~
include/linux/percpu-defs.h:94:44: note: in definition of macro 'DEFINE_PER_CPU_SECTION'
94 | extern __PCPU_ATTRS(sec) __typeof__(type) name; \
| ^~~~
arch/arm64/include/asm/kvm_debug_buffer.h:14:2: note: in expansion of macro 'DEFINE_PER_CPU'
14 | DEFINE_PER_CPU(type_name, buffer_name)[size]; \
| ^~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/ubsan.c:18:1: note: in expansion of macro 'DEFINE_KVM_DEBUG_BUFFER'
18 | DEFINE_KVM_DEBUG_BUFFER(struct kvm_ubsan_info, kvm_ubsan_buffer,
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/ubsan.c:33:6: warning: no previous prototype for '__ubsan_handle_add_overflow' [-Wmissing-prototypes]
33 | void __ubsan_handle_add_overflow(void *_data, void *lhs, void *rhs) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/ubsan.c:35:6: warning: no previous prototype for '__ubsan_handle_sub_overflow' [-Wmissing-prototypes]
35 | void __ubsan_handle_sub_overflow(void *_data, void *lhs, void *rhs) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/ubsan.c:37:6: warning: no previous prototype for '__ubsan_handle_mul_overflow' [-Wmissing-prototypes]
37 | void __ubsan_handle_mul_overflow(void *_data, void *lhs, void *rhs) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/ubsan.c:39:6: warning: no previous prototype for '__ubsan_handle_negate_overflow' [-Wmissing-prototypes]
39 | void __ubsan_handle_negate_overflow(void *_data, void *old_val) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/ubsan.c:41:6: warning: no previous prototype for '__ubsan_handle_divrem_overflow' [-Wmissing-prototypes]
41 | void __ubsan_handle_divrem_overflow(void *_data, void *lhs, void *rhs) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/ubsan.c:43:6: warning: no previous prototype for '__ubsan_handle_type_mismatch' [-Wmissing-prototypes]
43 | void __ubsan_handle_type_mismatch(struct type_mismatch_data *data, void *ptr) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/ubsan.c:45:6: warning: no previous prototype for '__ubsan_handle_type_mismatch_v1' [-Wmissing-prototypes]
45 | void __ubsan_handle_type_mismatch_v1(void *_data, void *ptr) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/ubsan.c:47:6: warning: no previous prototype for '__ubsan_handle_out_of_bounds' [-Wmissing-prototypes]
47 | void __ubsan_handle_out_of_bounds(void *_data, void *index) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/ubsan.c:49:6: warning: no previous prototype for '__ubsan_handle_shift_out_of_bounds' [-Wmissing-prototypes]
49 | void __ubsan_handle_shift_out_of_bounds(void *_data, void *lhs, void *rhs) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/ubsan.c:51:6: warning: no previous prototype for '__ubsan_handle_builtin_unreachable' [-Wmissing-prototypes]
51 | void __ubsan_handle_builtin_unreachable(void *_data) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/ubsan.c:53:6: warning: no previous prototype for '__ubsan_handle_load_invalid_value' [-Wmissing-prototypes]
53 | void __ubsan_handle_load_invalid_value(void *_data, void *val) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/kvm_ubsan_buffer +18 arch/arm64/kvm/hyp/nvhe/ubsan.c
> 9 #include <linux/percpu-defs.h>
10 #include <linux/kvm_host.h>
11 #include <asm/kvm_arm.h>
12 #include <asm/kvm_asm.h>
13 #include <asm/kvm_ubsan.h>
14 #include <asm/kvm_debug_buffer.h>
15 #include <kvm/arm_pmu.h>
16 #include <ubsan.h>
17
> 18 DEFINE_KVM_DEBUG_BUFFER(struct kvm_ubsan_info, kvm_ubsan_buffer,
19 kvm_ubsan_buff_wr_ind, KVM_UBSAN_BUFFER_SIZE);
20
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months
drivers/net/ethernet/sfc/farch.c:1257:5: warning: stack frame size of 1072 bytes in function 'efx_farch_ev_process'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 5ee88057889bbca5f5bb96031b62b3756b33e164
commit: 35ff765f8d508e56d09ef470395324298550c415 sfc: fix W=1 warnings in efx_farch_handle_rx_not_ok
date: 5 months ago
config: powerpc64-randconfig-r025-20210115 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 6077d55381a6aa3e947ef7abdc36a7515c598c8a)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 35ff765f8d508e56d09ef470395324298550c415
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/sfc/farch.c:1257:5: warning: stack frame size of 1072 bytes in function 'efx_farch_ev_process' [-Wframe-larger-than=]
int efx_farch_ev_process(struct efx_channel *channel, int budget)
^
1 warning generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for ATA
Depends on HAS_IOMEM && BLOCK
Selected by
- AKEBONO && PPC_47x
WARNING: unmet direct dependencies detected for NETDEVICES
Depends on NET
Selected by
- AKEBONO && PPC_47x
WARNING: unmet direct dependencies detected for ETHERNET
Depends on NETDEVICES && NET
Selected by
- AKEBONO && PPC_47x
WARNING: unmet direct dependencies detected for HOTPLUG_CPU
Depends on SMP && (PPC_PSERIES || PPC_PMAC || PPC_POWERNV || FSL_SOC_BOOKE
Selected by
- PM_SLEEP_SMP && SMP && (ARCH_SUSPEND_POSSIBLE || ARCH_HIBERNATION_POSSIBLE && PM_SLEEP
WARNING: unmet direct dependencies detected for NET_DEVLINK
Depends on NET
Selected by
- ICE && NETDEVICES && ETHERNET && NET_VENDOR_INTEL && PCI_MSI
- MLX5_CORE && NETDEVICES && ETHERNET && NET_VENDOR_MELLANOX && PCI && (VXLAN || !VXLAN && (MLXFW || !MLXFW && (PTP_1588_CLOCK || !PTP_1588_CLOCK && (PCI_HYPERV_INTERFACE || !PCI_HYPERV_INTERFACE
- MLXSW_CORE && NETDEVICES && ETHERNET && NET_VENDOR_MELLANOX
- MLXFW && NETDEVICES && ETHERNET && NET_VENDOR_MELLANOX
WARNING: unmet direct dependencies detected for GRO_CELLS
Depends on NET
Selected by
- RMNET && NETDEVICES && ETHERNET && NET_VENDOR_QUALCOMM
WARNING: unmet direct dependencies detected for FAILOVER
Depends on NET
Selected by
- NET_FAILOVER && NETDEVICES
WARNING: unmet direct dependencies detected for PAGE_POOL
Depends on NET
Selected by
- STMMAC_ETH && NETDEVICES && ETHERNET && NET_VENDOR_STMICRO && HAS_IOMEM && HAS_DMA
vim +/efx_farch_ev_process +1257 drivers/net/ethernet/sfc/farch.c
86094f7f38ff711f Ben Hutchings 2013-08-21 1256
86094f7f38ff711f Ben Hutchings 2013-08-21 @1257 int efx_farch_ev_process(struct efx_channel *channel, int budget)
86094f7f38ff711f Ben Hutchings 2013-08-21 1258 {
86094f7f38ff711f Ben Hutchings 2013-08-21 1259 struct efx_nic *efx = channel->efx;
86094f7f38ff711f Ben Hutchings 2013-08-21 1260 unsigned int read_ptr;
86094f7f38ff711f Ben Hutchings 2013-08-21 1261 efx_qword_t event, *p_event;
86094f7f38ff711f Ben Hutchings 2013-08-21 1262 int ev_code;
86094f7f38ff711f Ben Hutchings 2013-08-21 1263 int spent = 0;
86094f7f38ff711f Ben Hutchings 2013-08-21 1264
75363a4676cdb046 Eric W. Biederman 2014-03-14 1265 if (budget <= 0)
75363a4676cdb046 Eric W. Biederman 2014-03-14 1266 return spent;
75363a4676cdb046 Eric W. Biederman 2014-03-14 1267
86094f7f38ff711f Ben Hutchings 2013-08-21 1268 read_ptr = channel->eventq_read_ptr;
86094f7f38ff711f Ben Hutchings 2013-08-21 1269
86094f7f38ff711f Ben Hutchings 2013-08-21 1270 for (;;) {
86094f7f38ff711f Ben Hutchings 2013-08-21 1271 p_event = efx_event(channel, read_ptr);
86094f7f38ff711f Ben Hutchings 2013-08-21 1272 event = *p_event;
86094f7f38ff711f Ben Hutchings 2013-08-21 1273
86094f7f38ff711f Ben Hutchings 2013-08-21 1274 if (!efx_event_present(&event))
86094f7f38ff711f Ben Hutchings 2013-08-21 1275 /* End of events */
86094f7f38ff711f Ben Hutchings 2013-08-21 1276 break;
86094f7f38ff711f Ben Hutchings 2013-08-21 1277
86094f7f38ff711f Ben Hutchings 2013-08-21 1278 netif_vdbg(channel->efx, intr, channel->efx->net_dev,
86094f7f38ff711f Ben Hutchings 2013-08-21 1279 "channel %d event is "EFX_QWORD_FMT"\n",
86094f7f38ff711f Ben Hutchings 2013-08-21 1280 channel->channel, EFX_QWORD_VAL(event));
86094f7f38ff711f Ben Hutchings 2013-08-21 1281
86094f7f38ff711f Ben Hutchings 2013-08-21 1282 /* Clear this event by marking it all ones */
86094f7f38ff711f Ben Hutchings 2013-08-21 1283 EFX_SET_QWORD(*p_event);
86094f7f38ff711f Ben Hutchings 2013-08-21 1284
86094f7f38ff711f Ben Hutchings 2013-08-21 1285 ++read_ptr;
86094f7f38ff711f Ben Hutchings 2013-08-21 1286
86094f7f38ff711f Ben Hutchings 2013-08-21 1287 ev_code = EFX_QWORD_FIELD(event, FSF_AZ_EV_CODE);
86094f7f38ff711f Ben Hutchings 2013-08-21 1288
86094f7f38ff711f Ben Hutchings 2013-08-21 1289 switch (ev_code) {
86094f7f38ff711f Ben Hutchings 2013-08-21 1290 case FSE_AZ_EV_CODE_RX_EV:
86094f7f38ff711f Ben Hutchings 2013-08-21 1291 efx_farch_handle_rx_event(channel, &event);
86094f7f38ff711f Ben Hutchings 2013-08-21 1292 if (++spent == budget)
86094f7f38ff711f Ben Hutchings 2013-08-21 1293 goto out;
86094f7f38ff711f Ben Hutchings 2013-08-21 1294 break;
86094f7f38ff711f Ben Hutchings 2013-08-21 1295 case FSE_AZ_EV_CODE_TX_EV:
5227ecccea2d645d Bert Kenward 2018-01-25 1296 efx_farch_handle_tx_event(channel, &event);
86094f7f38ff711f Ben Hutchings 2013-08-21 1297 break;
86094f7f38ff711f Ben Hutchings 2013-08-21 1298 case FSE_AZ_EV_CODE_DRV_GEN_EV:
86094f7f38ff711f Ben Hutchings 2013-08-21 1299 efx_farch_handle_generated_event(channel, &event);
86094f7f38ff711f Ben Hutchings 2013-08-21 1300 break;
86094f7f38ff711f Ben Hutchings 2013-08-21 1301 case FSE_AZ_EV_CODE_DRIVER_EV:
86094f7f38ff711f Ben Hutchings 2013-08-21 1302 efx_farch_handle_driver_event(channel, &event);
86094f7f38ff711f Ben Hutchings 2013-08-21 1303 break;
7fa8d547049aae54 Shradha Shah 2015-05-06 1304 #ifdef CONFIG_SFC_SRIOV
86094f7f38ff711f Ben Hutchings 2013-08-21 1305 case FSE_CZ_EV_CODE_USER_EV:
327c685eb745e3c5 Shradha Shah 2014-11-05 1306 efx_siena_sriov_event(channel, &event);
86094f7f38ff711f Ben Hutchings 2013-08-21 1307 break;
7fa8d547049aae54 Shradha Shah 2015-05-06 1308 #endif
86094f7f38ff711f Ben Hutchings 2013-08-21 1309 case FSE_CZ_EV_CODE_MCDI_EV:
86094f7f38ff711f Ben Hutchings 2013-08-21 1310 efx_mcdi_process_event(channel, &event);
86094f7f38ff711f Ben Hutchings 2013-08-21 1311 break;
86094f7f38ff711f Ben Hutchings 2013-08-21 1312 case FSE_AZ_EV_CODE_GLOBAL_EV:
86094f7f38ff711f Ben Hutchings 2013-08-21 1313 if (efx->type->handle_global_event &&
86094f7f38ff711f Ben Hutchings 2013-08-21 1314 efx->type->handle_global_event(channel, &event))
86094f7f38ff711f Ben Hutchings 2013-08-21 1315 break;
86094f7f38ff711f Ben Hutchings 2013-08-21 1316 /* else fall through */
86094f7f38ff711f Ben Hutchings 2013-08-21 1317 default:
86094f7f38ff711f Ben Hutchings 2013-08-21 1318 netif_err(channel->efx, hw, channel->efx->net_dev,
86094f7f38ff711f Ben Hutchings 2013-08-21 1319 "channel %d unknown event type %d (data "
86094f7f38ff711f Ben Hutchings 2013-08-21 1320 EFX_QWORD_FMT ")\n", channel->channel,
86094f7f38ff711f Ben Hutchings 2013-08-21 1321 ev_code, EFX_QWORD_VAL(event));
86094f7f38ff711f Ben Hutchings 2013-08-21 1322 }
86094f7f38ff711f Ben Hutchings 2013-08-21 1323 }
86094f7f38ff711f Ben Hutchings 2013-08-21 1324
86094f7f38ff711f Ben Hutchings 2013-08-21 1325 out:
86094f7f38ff711f Ben Hutchings 2013-08-21 1326 channel->eventq_read_ptr = read_ptr;
86094f7f38ff711f Ben Hutchings 2013-08-21 1327 return spent;
86094f7f38ff711f Ben Hutchings 2013-08-21 1328 }
86094f7f38ff711f Ben Hutchings 2013-08-21 1329
:::::: The code at line 1257 was first introduced by commit
:::::: 86094f7f38ff711f3db8497fcb4d2e109100f497 sfc: Move and rename Falcon/Siena common NIC operations
:::::: TO: Ben Hutchings <bhutchings(a)solarflare.com>
:::::: CC: Ben Hutchings <bhutchings(a)solarflare.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months