Re: [PATCH 3/3] vmcore: Convert read_from_oldmem() to take an iov_iter
by kernel test robot
Hi "Matthew,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on tip/x86/core]
[also build test ERROR on arm64/for-next/core powerpc/next s390/features linus/master v5.16-rc5]
[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/Matthew-Wilcox-Oracle/Convert-vm...
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git e463a09af2f0677b9485a7e8e4e70b396b2ffb6f
config: riscv-randconfig-r012-20211213 (https://download.01.org/0day-ci/archive/20211213/202112131249.lfVULc7X-lk...)
compiler: riscv64-linux-gcc (GCC) 11.2.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/22576d6aef6fb4cffad0a4e85953662c1...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Matthew-Wilcox-Oracle/Convert-vmcore-to-use-an-iov_iter/20211213-080748
git checkout 22576d6aef6fb4cffad0a4e85953662c147dfe66
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=riscv SHELL=/bin/bash fs/proc/
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 >>):
fs/proc/vmcore.c: In function 'read_from_oldmem':
fs/proc/vmcore.c:157:31: error: implicit declaration of function 'iov_iter_zero' [-Werror=implicit-function-declaration]
157 | tmp = iov_iter_zero(nr_bytes, iter);
| ^~~~~~~~~~~~~
fs/proc/vmcore.c: In function 'elfcorehdr_read':
>> fs/proc/vmcore.c:202:16: error: variable 'kvec' has initializer but incomplete type
202 | struct kvec kvec = { .iov_base = buf, .iov_len = count };
| ^~~~
>> fs/proc/vmcore.c:202:31: error: 'struct kvec' has no member named 'iov_base'
202 | struct kvec kvec = { .iov_base = buf, .iov_len = count };
| ^~~~~~~~
>> fs/proc/vmcore.c:202:42: warning: excess elements in struct initializer
202 | struct kvec kvec = { .iov_base = buf, .iov_len = count };
| ^~~
fs/proc/vmcore.c:202:42: note: (near initialization for 'kvec')
>> fs/proc/vmcore.c:202:48: error: 'struct kvec' has no member named 'iov_len'
202 | struct kvec kvec = { .iov_base = buf, .iov_len = count };
| ^~~~~~~
fs/proc/vmcore.c:202:58: warning: excess elements in struct initializer
202 | struct kvec kvec = { .iov_base = buf, .iov_len = count };
| ^~~~~
fs/proc/vmcore.c:202:58: note: (near initialization for 'kvec')
fs/proc/vmcore.c:202:21: error: storage size of 'kvec' isn't known
202 | struct kvec kvec = { .iov_base = buf, .iov_len = count };
| ^~~~
fs/proc/vmcore.c:203:25: error: storage size of 'iter' isn't known
203 | struct iov_iter iter;
| ^~~~
fs/proc/vmcore.c:205:9: error: implicit declaration of function 'iov_iter_kvec' [-Werror=implicit-function-declaration]
205 | iov_iter_kvec(&iter, READ, &kvec, 1, count);
| ^~~~~~~~~~~~~
fs/proc/vmcore.c:203:25: warning: unused variable 'iter' [-Wunused-variable]
203 | struct iov_iter iter;
| ^~~~
fs/proc/vmcore.c:202:21: warning: unused variable 'kvec' [-Wunused-variable]
202 | struct kvec kvec = { .iov_base = buf, .iov_len = count };
| ^~~~
fs/proc/vmcore.c: In function 'elfcorehdr_read_notes':
fs/proc/vmcore.c:215:16: error: variable 'kvec' has initializer but incomplete type
215 | struct kvec kvec = { .iov_base = buf, .iov_len = count };
| ^~~~
fs/proc/vmcore.c:215:31: error: 'struct kvec' has no member named 'iov_base'
215 | struct kvec kvec = { .iov_base = buf, .iov_len = count };
| ^~~~~~~~
fs/proc/vmcore.c:215:42: warning: excess elements in struct initializer
215 | struct kvec kvec = { .iov_base = buf, .iov_len = count };
| ^~~
fs/proc/vmcore.c:215:42: note: (near initialization for 'kvec')
fs/proc/vmcore.c:215:48: error: 'struct kvec' has no member named 'iov_len'
215 | struct kvec kvec = { .iov_base = buf, .iov_len = count };
| ^~~~~~~
fs/proc/vmcore.c:215:58: warning: excess elements in struct initializer
215 | struct kvec kvec = { .iov_base = buf, .iov_len = count };
| ^~~~~
fs/proc/vmcore.c:215:58: note: (near initialization for 'kvec')
fs/proc/vmcore.c:215:21: error: storage size of 'kvec' isn't known
215 | struct kvec kvec = { .iov_base = buf, .iov_len = count };
| ^~~~
fs/proc/vmcore.c:216:25: error: storage size of 'iter' isn't known
216 | struct iov_iter iter;
| ^~~~
fs/proc/vmcore.c:216:25: warning: unused variable 'iter' [-Wunused-variable]
fs/proc/vmcore.c:215:21: warning: unused variable 'kvec' [-Wunused-variable]
215 | struct kvec kvec = { .iov_base = buf, .iov_len = count };
| ^~~~
fs/proc/vmcore.c: In function '__read_vmcore':
fs/proc/vmcore.c:327:17: error: invalid use of undefined type 'struct iov_iter'
327 | if (iter->count == 0 || *fpos >= vmcore_size)
| ^~
fs/proc/vmcore.c:331:17: error: invalid use of undefined type 'struct iov_iter'
331 | if (iter->count > vmcore_size - *fpos)
| ^~
fs/proc/vmcore.c:332:21: error: invalid use of undefined type 'struct iov_iter'
332 | iter->count = vmcore_size - *fpos;
| ^~
In file included from include/linux/kernel.h:17,
from include/linux/cpumask.h:10,
from include/linux/smp.h:13,
from include/linux/lockdep.h:14,
from include/linux/spinlock.h:62,
from include/linux/mmzone.h:8,
from include/linux/gfp.h:6,
from include/linux/mm.h:10,
from fs/proc/vmcore.c:11:
fs/proc/vmcore.c:336:62: error: invalid use of undefined type 'struct iov_iter'
336 | tsz = min(elfcorebuf_sz - (size_t)*fpos, iter->count);
| ^~
include/linux/minmax.h:20:46: note: in definition of macro '__typecheck'
20 | (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
| ^
include/linux/minmax.h:36:31: note: in expansion of macro '__safe_cmp'
36 | __builtin_choose_expr(__safe_cmp(x, y), \
| ^~~~~~~~~~
include/linux/minmax.h:45:25: note: in expansion of macro '__careful_cmp'
45 | #define min(x, y) __careful_cmp(x, y, <)
| ^~~~~~~~~~~~~
fs/proc/vmcore.c:336:23: note: in expansion of macro 'min'
336 | tsz = min(elfcorebuf_sz - (size_t)*fpos, iter->count);
| ^~~
In file included from arch/riscv/include/asm/bug.h:10,
from include/linux/bug.h:5,
from include/linux/mmdebug.h:5,
from include/linux/mm.h:9,
from fs/proc/vmcore.c:11:
fs/proc/vmcore.c:336:62: error: invalid use of undefined type 'struct iov_iter'
336 | tsz = min(elfcorebuf_sz - (size_t)*fpos, iter->count);
| ^~
include/linux/const.h:12:55: note: in definition of macro '__is_constexpr'
12 | (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8)))
| ^
include/linux/minmax.h:26:39: note: in expansion of macro '__no_side_effects'
26 | (__typecheck(x, y) && __no_side_effects(x, y))
| ^~~~~~~~~~~~~~~~~
include/linux/minmax.h:36:31: note: in expansion of macro '__safe_cmp'
36 | __builtin_choose_expr(__safe_cmp(x, y), \
| ^~~~~~~~~~
vim +/kvec +202 fs/proc/vmcore.c
196
197 /*
198 * Architectures may override this function to read from ELF header
199 */
200 ssize_t __weak elfcorehdr_read(char *buf, size_t count, u64 *ppos)
201 {
> 202 struct kvec kvec = { .iov_base = buf, .iov_len = count };
203 struct iov_iter iter;
204
205 iov_iter_kvec(&iter, READ, &kvec, 1, count);
206
207 return read_from_oldmem(&iter, count, ppos, false);
208 }
209
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
9 months, 1 week
Re: [PATCH 2/3] vmcore: Convert __read_vmcore to use an iov_iter
by kernel test robot
Hi "Matthew,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on tip/x86/core]
[also build test ERROR on arm64/for-next/core powerpc/next s390/features linus/master v5.16-rc5]
[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/Matthew-Wilcox-Oracle/Convert-vm...
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git e463a09af2f0677b9485a7e8e4e70b396b2ffb6f
config: riscv-randconfig-r012-20211213 (https://download.01.org/0day-ci/archive/20211213/202112131103.3ExA0BMN-lk...)
compiler: riscv64-linux-gcc (GCC) 11.2.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/687563a8e516282784ed87ca7ed3eca90...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Matthew-Wilcox-Oracle/Convert-vmcore-to-use-an-iov_iter/20211213-080748
git checkout 687563a8e516282784ed87ca7ed3eca900b42192
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=riscv SHELL=/bin/bash fs/proc/
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 >>):
fs/proc/vmcore.c:135:9: warning: no previous prototype for 'read_from_oldmem_iter' [-Wmissing-prototypes]
135 | ssize_t read_from_oldmem_iter(struct iov_iter *iter, size_t count,
| ^~~~~~~~~~~~~~~~~~~~~
fs/proc/vmcore.c: In function 'read_from_oldmem_iter':
fs/proc/vmcore.c:157:31: error: implicit declaration of function 'iov_iter_zero' [-Werror=implicit-function-declaration]
157 | tmp = iov_iter_zero(nr_bytes, iter);
| ^~~~~~~~~~~~~
fs/proc/vmcore.c: In function 'read_from_oldmem':
fs/proc/vmcore.c:187:25: error: storage size of 'iter' isn't known
187 | struct iov_iter iter;
| ^~~~
fs/proc/vmcore.c:188:22: error: storage size of 'iov' isn't known
188 | struct iovec iov;
| ^~~
fs/proc/vmcore.c:189:21: error: storage size of 'kvec' isn't known
189 | struct kvec kvec;
| ^~~~
fs/proc/vmcore.c:194:17: error: implicit declaration of function 'iov_iter_init'; did you mean 'klist_iter_init'? [-Werror=implicit-function-declaration]
194 | iov_iter_init(&iter, READ, &iov, 1, count);
| ^~~~~~~~~~~~~
| klist_iter_init
fs/proc/vmcore.c:198:17: error: implicit declaration of function 'iov_iter_kvec' [-Werror=implicit-function-declaration]
198 | iov_iter_kvec(&iter, READ, &kvec, 1, count);
| ^~~~~~~~~~~~~
fs/proc/vmcore.c:189:21: warning: unused variable 'kvec' [-Wunused-variable]
189 | struct kvec kvec;
| ^~~~
fs/proc/vmcore.c:188:22: warning: unused variable 'iov' [-Wunused-variable]
188 | struct iovec iov;
| ^~~
fs/proc/vmcore.c:187:25: warning: unused variable 'iter' [-Wunused-variable]
187 | struct iov_iter iter;
| ^~~~
fs/proc/vmcore.c: In function '__read_vmcore':
>> fs/proc/vmcore.c:337:17: error: invalid use of undefined type 'struct iov_iter'
337 | if (iter->count == 0 || *fpos >= vmcore_size)
| ^~
fs/proc/vmcore.c:341:17: error: invalid use of undefined type 'struct iov_iter'
341 | if (iter->count > vmcore_size - *fpos)
| ^~
fs/proc/vmcore.c:342:21: error: invalid use of undefined type 'struct iov_iter'
342 | iter->count = vmcore_size - *fpos;
| ^~
In file included from include/linux/kernel.h:17,
from include/linux/cpumask.h:10,
from include/linux/smp.h:13,
from include/linux/lockdep.h:14,
from include/linux/spinlock.h:62,
from include/linux/mmzone.h:8,
from include/linux/gfp.h:6,
from include/linux/mm.h:10,
from fs/proc/vmcore.c:11:
fs/proc/vmcore.c:346:62: error: invalid use of undefined type 'struct iov_iter'
346 | tsz = min(elfcorebuf_sz - (size_t)*fpos, iter->count);
| ^~
include/linux/minmax.h:20:46: note: in definition of macro '__typecheck'
20 | (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
| ^
include/linux/minmax.h:36:31: note: in expansion of macro '__safe_cmp'
36 | __builtin_choose_expr(__safe_cmp(x, y), \
| ^~~~~~~~~~
include/linux/minmax.h:45:25: note: in expansion of macro '__careful_cmp'
45 | #define min(x, y) __careful_cmp(x, y, <)
| ^~~~~~~~~~~~~
fs/proc/vmcore.c:346:23: note: in expansion of macro 'min'
346 | tsz = min(elfcorebuf_sz - (size_t)*fpos, iter->count);
| ^~~
In file included from arch/riscv/include/asm/bug.h:10,
from include/linux/bug.h:5,
from include/linux/mmdebug.h:5,
from include/linux/mm.h:9,
from fs/proc/vmcore.c:11:
fs/proc/vmcore.c:346:62: error: invalid use of undefined type 'struct iov_iter'
346 | tsz = min(elfcorebuf_sz - (size_t)*fpos, iter->count);
| ^~
include/linux/const.h:12:55: note: in definition of macro '__is_constexpr'
12 | (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8)))
| ^
include/linux/minmax.h:26:39: note: in expansion of macro '__no_side_effects'
26 | (__typecheck(x, y) && __no_side_effects(x, y))
| ^~~~~~~~~~~~~~~~~
include/linux/minmax.h:36:31: note: in expansion of macro '__safe_cmp'
36 | __builtin_choose_expr(__safe_cmp(x, y), \
| ^~~~~~~~~~
include/linux/minmax.h:45:25: note: in expansion of macro '__careful_cmp'
45 | #define min(x, y) __careful_cmp(x, y, <)
| ^~~~~~~~~~~~~
fs/proc/vmcore.c:346:23: note: in expansion of macro 'min'
346 | tsz = min(elfcorebuf_sz - (size_t)*fpos, iter->count);
| ^~~
In file included from include/linux/kernel.h:17,
from include/linux/cpumask.h:10,
from include/linux/smp.h:13,
from include/linux/lockdep.h:14,
from include/linux/spinlock.h:62,
from include/linux/mmzone.h:8,
from include/linux/gfp.h:6,
from include/linux/mm.h:10,
from fs/proc/vmcore.c:11:
fs/proc/vmcore.c:346:62: error: invalid use of undefined type 'struct iov_iter'
346 | tsz = min(elfcorebuf_sz - (size_t)*fpos, iter->count);
| ^~
include/linux/minmax.h:28:34: note: in definition of macro '__cmp'
28 | #define __cmp(x, y, op) ((x) op (y) ? (x) : (y))
| ^
include/linux/minmax.h:45:25: note: in expansion of macro '__careful_cmp'
45 | #define min(x, y) __careful_cmp(x, y, <)
| ^~~~~~~~~~~~~
fs/proc/vmcore.c:346:23: note: in expansion of macro 'min'
346 | tsz = min(elfcorebuf_sz - (size_t)*fpos, iter->count);
| ^~~
fs/proc/vmcore.c:346:62: error: invalid use of undefined type 'struct iov_iter'
346 | tsz = min(elfcorebuf_sz - (size_t)*fpos, iter->count);
| ^~
include/linux/minmax.h:28:46: note: in definition of macro '__cmp'
28 | #define __cmp(x, y, op) ((x) op (y) ? (x) : (y))
| ^
include/linux/minmax.h:45:25: note: in expansion of macro '__careful_cmp'
45 | #define min(x, y) __careful_cmp(x, y, <)
| ^~~~~~~~~~~~~
fs/proc/vmcore.c:346:23: note: in expansion of macro 'min'
346 | tsz = min(elfcorebuf_sz - (size_t)*fpos, iter->count);
| ^~~
fs/proc/vmcore.c:346:62: error: invalid use of undefined type 'struct iov_iter'
346 | tsz = min(elfcorebuf_sz - (size_t)*fpos, iter->count);
| ^~
include/linux/minmax.h:32:24: note: in definition of macro '__cmp_once'
32 | typeof(y) unique_y = (y); \
| ^
include/linux/minmax.h:45:25: note: in expansion of macro '__careful_cmp'
45 | #define min(x, y) __careful_cmp(x, y, <)
| ^~~~~~~~~~~~~
fs/proc/vmcore.c:346:23: note: in expansion of macro 'min'
346 | tsz = min(elfcorebuf_sz - (size_t)*fpos, iter->count);
| ^~~
fs/proc/vmcore.c:346:62: error: invalid use of undefined type 'struct iov_iter'
346 | tsz = min(elfcorebuf_sz - (size_t)*fpos, iter->count);
| ^~
include/linux/minmax.h:32:39: note: in definition of macro '__cmp_once'
32 | typeof(y) unique_y = (y); \
| ^
include/linux/minmax.h:45:25: note: in expansion of macro '__careful_cmp'
45 | #define min(x, y) __careful_cmp(x, y, <)
| ^~~~~~~~~~~~~
fs/proc/vmcore.c:346:23: note: in expansion of macro 'min'
346 | tsz = min(elfcorebuf_sz - (size_t)*fpos, iter->count);
| ^~~
include/linux/minmax.h:36:9: error: first argument to '__builtin_choose_expr' not a constant
36 | __builtin_choose_expr(__safe_cmp(x, y), \
| ^~~~~~~~~~~~~~~~~~~~~
include/linux/minmax.h:45:25: note: in expansion of macro '__careful_cmp'
45 | #define min(x, y) __careful_cmp(x, y, <)
| ^~~~~~~~~~~~~
fs/proc/vmcore.c:346:23: note: in expansion of macro 'min'
346 | tsz = min(elfcorebuf_sz - (size_t)*fpos, iter->count);
| ^~~
>> fs/proc/vmcore.c:347:21: error: implicit declaration of function 'copy_to_iter'; did you mean 'copy_to_user'? [-Werror=implicit-function-declaration]
347 | if (copy_to_iter(elfcorebuf + *fpos, tsz, iter) < tsz)
| ^~~~~~~~~~~~
| copy_to_user
fs/proc/vmcore.c:353:25: error: invalid use of undefined type 'struct iov_iter'
353 | if (iter->count == 0)
| ^~
In file included from include/linux/kernel.h:17,
from include/linux/cpumask.h:10,
from include/linux/smp.h:13,
from include/linux/lockdep.h:14,
from include/linux/spinlock.h:62,
from include/linux/mmzone.h:8,
from include/linux/gfp.h:6,
from include/linux/mm.h:10,
from fs/proc/vmcore.c:11:
fs/proc/vmcore.c:389:76: error: invalid use of undefined type 'struct iov_iter'
389 | tsz = min(elfcorebuf_sz + elfnotes_sz - (size_t)*fpos, iter->count);
| ^~
include/linux/minmax.h:20:46: note: in definition of macro '__typecheck'
20 | (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
| ^
include/linux/minmax.h:36:31: note: in expansion of macro '__safe_cmp'
36 | __builtin_choose_expr(__safe_cmp(x, y), \
| ^~~~~~~~~~
include/linux/minmax.h:45:25: note: in expansion of macro '__careful_cmp'
45 | #define min(x, y) __careful_cmp(x, y, <)
| ^~~~~~~~~~~~~
fs/proc/vmcore.c:389:23: note: in expansion of macro 'min'
389 | tsz = min(elfcorebuf_sz + elfnotes_sz - (size_t)*fpos, iter->count);
| ^~~
In file included from arch/riscv/include/asm/bug.h:10,
from include/linux/bug.h:5,
from include/linux/mmdebug.h:5,
from include/linux/mm.h:9,
from fs/proc/vmcore.c:11:
fs/proc/vmcore.c:389:76: error: invalid use of undefined type 'struct iov_iter'
389 | tsz = min(elfcorebuf_sz + elfnotes_sz - (size_t)*fpos, iter->count);
| ^~
include/linux/const.h:12:55: note: in definition of macro '__is_constexpr'
12 | (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8)))
| ^
include/linux/minmax.h:26:39: note: in expansion of macro '__no_side_effects'
26 | (__typecheck(x, y) && __no_side_effects(x, y))
| ^~~~~~~~~~~~~~~~~
include/linux/minmax.h:36:31: note: in expansion of macro '__safe_cmp'
36 | __builtin_choose_expr(__safe_cmp(x, y), \
| ^~~~~~~~~~
include/linux/minmax.h:45:25: note: in expansion of macro '__careful_cmp'
45 | #define min(x, y) __careful_cmp(x, y, <)
| ^~~~~~~~~~~~~
fs/proc/vmcore.c:389:23: note: in expansion of macro 'min'
389 | tsz = min(elfcorebuf_sz + elfnotes_sz - (size_t)*fpos, iter->count);
| ^~~
In file included from include/linux/kernel.h:17,
from include/linux/cpumask.h:10,
from include/linux/smp.h:13,
from include/linux/lockdep.h:14,
from include/linux/spinlock.h:62,
from include/linux/mmzone.h:8,
from include/linux/gfp.h:6,
from include/linux/mm.h:10,
from fs/proc/vmcore.c:11:
fs/proc/vmcore.c:389:76: error: invalid use of undefined type 'struct iov_iter'
389 | tsz = min(elfcorebuf_sz + elfnotes_sz - (size_t)*fpos, iter->count);
| ^~
include/linux/minmax.h:28:34: note: in definition of macro '__cmp'
28 | #define __cmp(x, y, op) ((x) op (y) ? (x) : (y))
| ^
include/linux/minmax.h:45:25: note: in expansion of macro '__careful_cmp'
45 | #define min(x, y) __careful_cmp(x, y, <)
| ^~~~~~~~~~~~~
fs/proc/vmcore.c:389:23: note: in expansion of macro 'min'
389 | tsz = min(elfcorebuf_sz + elfnotes_sz - (size_t)*fpos, iter->count);
| ^~~
fs/proc/vmcore.c:389:76: error: invalid use of undefined type 'struct iov_iter'
389 | tsz = min(elfcorebuf_sz + elfnotes_sz - (size_t)*fpos, iter->count);
| ^~
include/linux/minmax.h:28:46: note: in definition of macro '__cmp'
28 | #define __cmp(x, y, op) ((x) op (y) ? (x) : (y))
| ^
include/linux/minmax.h:45:25: note: in expansion of macro '__careful_cmp'
45 | #define min(x, y) __careful_cmp(x, y, <)
| ^~~~~~~~~~~~~
fs/proc/vmcore.c:389:23: note: in expansion of macro 'min'
389 | tsz = min(elfcorebuf_sz + elfnotes_sz - (size_t)*fpos, iter->count);
| ^~~
fs/proc/vmcore.c:389:76: error: invalid use of undefined type 'struct iov_iter'
389 | tsz = min(elfcorebuf_sz + elfnotes_sz - (size_t)*fpos, iter->count);
| ^~
include/linux/minmax.h:32:24: note: in definition of macro '__cmp_once'
32 | typeof(y) unique_y = (y); \
| ^
include/linux/minmax.h:45:25: note: in expansion of macro '__careful_cmp'
45 | #define min(x, y) __careful_cmp(x, y, <)
| ^~~~~~~~~~~~~
fs/proc/vmcore.c:389:23: note: in expansion of macro 'min'
389 | tsz = min(elfcorebuf_sz + elfnotes_sz - (size_t)*fpos, iter->count);
| ^~~
fs/proc/vmcore.c:389:76: error: invalid use of undefined type 'struct iov_iter'
389 | tsz = min(elfcorebuf_sz + elfnotes_sz - (size_t)*fpos, iter->count);
vim +337 fs/proc/vmcore.c
326
327 /* Read from the ELF header and then the crash dump. On error, negative value is
328 * returned otherwise number of bytes read are returned.
329 */
330 static ssize_t __read_vmcore(struct iov_iter *iter, loff_t *fpos)
331 {
332 ssize_t acc = 0, tmp;
333 size_t tsz;
334 u64 start;
335 struct vmcore *m = NULL;
336
> 337 if (iter->count == 0 || *fpos >= vmcore_size)
338 return 0;
339
340 /* trim iter to not go beyond EOF */
341 if (iter->count > vmcore_size - *fpos)
342 iter->count = vmcore_size - *fpos;
343
344 /* Read ELF core header */
345 if (*fpos < elfcorebuf_sz) {
346 tsz = min(elfcorebuf_sz - (size_t)*fpos, iter->count);
> 347 if (copy_to_iter(elfcorebuf + *fpos, tsz, iter) < tsz)
348 return -EFAULT;
349 *fpos += tsz;
350 acc += tsz;
351
352 /* leave now if filled buffer already */
353 if (iter->count == 0)
354 return acc;
355 }
356
357 /* Read Elf note segment */
358 if (*fpos < elfcorebuf_sz + elfnotes_sz) {
359 void *kaddr;
360
361 /* We add device dumps before other elf notes because the
362 * other elf notes may not fill the elf notes buffer
363 * completely and we will end up with zero-filled data
364 * between the elf notes and the device dumps. Tools will
365 * then try to decode this zero-filled data as valid notes
366 * and we don't want that. Hence, adding device dumps before
367 * the other elf notes ensure that zero-filled data can be
368 * avoided.
369 */
370 #ifdef CONFIG_PROC_VMCORE_DEVICE_DUMP
371 /* Read device dumps */
372 if (*fpos < elfcorebuf_sz + vmcoredd_orig_sz) {
373 tsz = min(elfcorebuf_sz + vmcoredd_orig_sz -
374 (size_t)*fpos, iter->count);
375 start = *fpos - elfcorebuf_sz;
376 if (vmcoredd_copy_dumps(iter, start, tsz))
377 return -EFAULT;
378
379 *fpos += tsz;
380 acc += tsz;
381
382 /* leave now if filled buffer already */
383 if (!iter->count)
384 return acc;
385 }
386 #endif /* CONFIG_PROC_VMCORE_DEVICE_DUMP */
387
388 /* Read remaining elf notes */
389 tsz = min(elfcorebuf_sz + elfnotes_sz - (size_t)*fpos, iter->count);
390 kaddr = elfnotes_buf + *fpos - elfcorebuf_sz - vmcoredd_orig_sz;
391 if (copy_to_iter(kaddr, tsz, iter) < tsz)
392 return -EFAULT;
393
394 *fpos += tsz;
395 acc += tsz;
396
397 /* leave now if filled buffer already */
398 if (iter->count == 0)
399 return acc;
400 }
401
402 list_for_each_entry(m, &vmcore_list, list) {
403 if (*fpos < m->offset + m->size) {
404 tsz = (size_t)min_t(unsigned long long,
405 m->offset + m->size - *fpos,
406 iter->count);
407 start = m->paddr + *fpos - m->offset;
408 tmp = read_from_oldmem_iter(iter, tsz, &start,
409 cc_platform_has(CC_ATTR_MEM_ENCRYPT));
410 if (tmp < 0)
411 return tmp;
412 *fpos += tsz;
413 acc += tsz;
414
415 /* leave now if filled buffer already */
416 if (iter->count == 0)
417 return acc;
418 }
419 }
420
421 return acc;
422 }
423
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
9 months, 1 week
Re: [PATCH 1/3] vmcore: Convert copy_oldmem_page() to take an iov_iter
by kernel test robot
Hi "Matthew,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on tip/x86/core]
[also build test ERROR on arm64/for-next/core powerpc/next s390/features linus/master v5.16-rc5]
[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/Matthew-Wilcox-Oracle/Convert-vm...
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git e463a09af2f0677b9485a7e8e4e70b396b2ffb6f
config: riscv-randconfig-r012-20211213 (https://download.01.org/0day-ci/archive/20211213/202112131020.pSJ77Cjj-lk...)
compiler: riscv64-linux-gcc (GCC) 11.2.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/e1684ad72e2cce57ac90ae1270668753f...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Matthew-Wilcox-Oracle/Convert-vmcore-to-use-an-iov_iter/20211213-080748
git checkout e1684ad72e2cce57ac90ae1270668753f1aa6c60
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=riscv SHELL=/bin/bash arch/riscv/kernel/ fs/proc/
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 >>):
arch/riscv/kernel/crash_dump.c: In function 'copy_oldmem_page':
>> arch/riscv/kernel/crash_dump.c:35:17: error: implicit declaration of function 'copy_to_iter'; did you mean 'copy_to_user'? [-Werror=implicit-function-declaration]
35 | csize = copy_to_iter(vaddr + offset, csize, iter);
| ^~~~~~~~~~~~
| copy_to_user
cc1: some warnings being treated as errors
--
fs/proc/vmcore.c:135:9: warning: no previous prototype for 'read_from_oldmem_iter' [-Wmissing-prototypes]
135 | ssize_t read_from_oldmem_iter(struct iov_iter *iter, size_t count,
| ^~~~~~~~~~~~~~~~~~~~~
fs/proc/vmcore.c: In function 'read_from_oldmem_iter':
>> fs/proc/vmcore.c:157:31: error: implicit declaration of function 'iov_iter_zero' [-Werror=implicit-function-declaration]
157 | tmp = iov_iter_zero(nr_bytes, iter);
| ^~~~~~~~~~~~~
fs/proc/vmcore.c: In function 'read_from_oldmem':
>> fs/proc/vmcore.c:187:25: error: storage size of 'iter' isn't known
187 | struct iov_iter iter;
| ^~~~
fs/proc/vmcore.c:188:22: error: storage size of 'iov' isn't known
188 | struct iovec iov;
| ^~~
>> fs/proc/vmcore.c:189:21: error: storage size of 'kvec' isn't known
189 | struct kvec kvec;
| ^~~~
fs/proc/vmcore.c:194:17: error: implicit declaration of function 'iov_iter_init'; did you mean 'klist_iter_init'? [-Werror=implicit-function-declaration]
194 | iov_iter_init(&iter, READ, &iov, 1, count);
| ^~~~~~~~~~~~~
| klist_iter_init
>> fs/proc/vmcore.c:198:17: error: implicit declaration of function 'iov_iter_kvec' [-Werror=implicit-function-declaration]
198 | iov_iter_kvec(&iter, READ, &kvec, 1, count);
| ^~~~~~~~~~~~~
fs/proc/vmcore.c:189:21: warning: unused variable 'kvec' [-Wunused-variable]
189 | struct kvec kvec;
| ^~~~
fs/proc/vmcore.c:188:22: warning: unused variable 'iov' [-Wunused-variable]
188 | struct iovec iov;
| ^~~
fs/proc/vmcore.c:187:25: warning: unused variable 'iter' [-Wunused-variable]
187 | struct iov_iter iter;
| ^~~~
fs/proc/vmcore.c:202:1: error: control reaches end of non-void function [-Werror=return-type]
202 | }
| ^
cc1: some warnings being treated as errors
vim +35 arch/riscv/kernel/crash_dump.c
10
11 /**
12 * copy_oldmem_page() - copy one page from old kernel memory
13 * @pfn: page frame number to be copied
14 * @buf: buffer where the copied page is placed
15 * @csize: number of bytes to copy
16 * @offset: offset in bytes into the page
17 * @userbuf: if set, @buf is in a user address space
18 *
19 * This function copies one page from old kernel memory into buffer pointed by
20 * @buf. If @buf is in userspace, set @userbuf to %1. Returns number of bytes
21 * copied or negative error in case of failure.
22 */
23 ssize_t copy_oldmem_page(struct iov_iter *iter, unsigned long pfn,
24 size_t csize, unsigned long offset)
25 {
26 void *vaddr;
27
28 if (!csize)
29 return 0;
30
31 vaddr = memremap(__pfn_to_phys(pfn), PAGE_SIZE, MEMREMAP_WB);
32 if (!vaddr)
33 return -ENOMEM;
34
> 35 csize = copy_to_iter(vaddr + offset, csize, iter);
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
9 months, 1 week
[jpirko-mlxsw:combined_queue 1009/1044] drivers/net/ethernet/mscc/ocelot_fdma.c:737:38: error: no member named 'dma_addr' in 'struct ocelot_fdma_tx_buf'
by kernel test robot
tree: https://github.com/jpirko/linux_mlxsw combined_queue
head: 69ba5a4da9c5d6bbf903d21503643ca69492e34c
commit: 753a026cfec1429c9e32e004ae4d4c2727cc0111 [1009/1044] net: ocelot: add FDMA support
config: i386-randconfig-r013-20211212 (https://download.01.org/0day-ci/archive/20211213/202112130911.uKvnwPy0-lk...)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 097a1cb1d5ebb3a0ec4bcaed8ba3ff6a8e33c00a)
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/jpirko/linux_mlxsw/commit/753a026cfec1429c9e32e004ae4d...
git remote add jpirko-mlxsw https://github.com/jpirko/linux_mlxsw
git fetch --no-tags jpirko-mlxsw combined_queue
git checkout 753a026cfec1429c9e32e004ae4d4c2727cc0111
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/drm/amd/display/dc/dce/ drivers/gpu/drm/amd/display/dc/dcn201/ drivers/gpu/drm/amd/display/dc/dcn21/ drivers/gpu/drm/amd/display/dc/dcn30/ drivers/net/ethernet/mscc/
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 >>):
>> drivers/net/ethernet/mscc/ocelot_fdma.c:737:38: error: no member named 'dma_addr' in 'struct ocelot_fdma_tx_buf'
dma_unmap_single(ocelot->dev, txb->dma_addr, skb->len,
~~~ ^
include/linux/dma-mapping.h:407:64: note: expanded from macro 'dma_unmap_single'
#define dma_unmap_single(d, a, s, r) dma_unmap_single_attrs(d, a, s, r, 0)
^
1 error generated.
vim +737 drivers/net/ethernet/mscc/ocelot_fdma.c
722
723 static void ocelot_fdma_free_tx_ring(struct ocelot *ocelot)
724 {
725 struct ocelot_fdma *fdma = ocelot->fdma;
726 struct ocelot_fdma_tx_ring *tx_ring;
727 struct ocelot_fdma_tx_buf *txb;
728 struct sk_buff *skb;
729 u16 idx;
730
731 tx_ring = &fdma->tx_ring;
732 idx = tx_ring->next_to_clean;
733
734 while (idx != tx_ring->next_to_use) {
735 txb = &tx_ring->bufs[idx];
736 skb = txb->skb;
> 737 dma_unmap_single(ocelot->dev, txb->dma_addr, skb->len,
738 DMA_TO_DEVICE);
739 dev_kfree_skb_any(skb);
740 idx = ocelot_fdma_idx_next(idx, OCELOT_FDMA_TX_RING_SIZE);
741 }
742 }
743
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
9 months, 1 week
drivers/interconnect/qcom/icc-rpmh.c:166:28: sparse: sparse: incorrect type in assignment (different base types)
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a763d5a5abd65797aec3dd1bf01fe2ccbec32967
commit: d991bb1c8da842a2a0b9dc83b1005e655783f861 include/linux/compiler-gcc.h: sparse can do constant folding of __builtin_bswap*()
date: 8 months ago
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20211213/202112130930.vtSMGUbI-lk...)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.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.4-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 d991bb1c8da842a2a0b9dc83b1005e655783f861
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm SHELL=/bin/bash drivers/dma/ drivers/gpu/drm/msm/ drivers/gpu/drm/tegra/ drivers/interconnect/qcom/ drivers/net/vmxnet3/ drivers/net/wireless/mediatek/mt76/mt7915/ drivers/remoteproc/ drivers/scsi/bnx2fc/ drivers/scsi/lpfc/ drivers/staging/ fs/proc/
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/interconnect/qcom/icc-rpmh.c:166:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] unit @@ got unsigned int [usertype] @@
drivers/interconnect/qcom/icc-rpmh.c:166:28: sparse: expected restricted __le32 [usertype] unit
drivers/interconnect/qcom/icc-rpmh.c:166:28: sparse: got unsigned int [usertype]
>> drivers/interconnect/qcom/icc-rpmh.c:167:29: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [usertype] width @@ got unsigned short [usertype] @@
drivers/interconnect/qcom/icc-rpmh.c:167:29: sparse: expected restricted __le16 [usertype] width
drivers/interconnect/qcom/icc-rpmh.c:167:29: sparse: got unsigned short [usertype]
--
>> drivers/net/vmxnet3/vmxnet3_drv.c:228:23: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le64 [usertype] addr @@ got unsigned long long [usertype] @@
drivers/net/vmxnet3/vmxnet3_drv.c:228:23: sparse: expected restricted __le64 [usertype] addr
drivers/net/vmxnet3/vmxnet3_drv.c:228:23: sparse: got unsigned long long [usertype]
drivers/net/vmxnet3/vmxnet3_drv.c:229:16: sparse: sparse: cast to restricted __le32
drivers/net/vmxnet3/vmxnet3_drv.c:230:25: sparse: sparse: cast to restricted __le32
drivers/net/vmxnet3/vmxnet3_drv.c:244:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/net/vmxnet3/vmxnet3_drv.c:244:22: sparse: expected unsigned int [usertype]
drivers/net/vmxnet3/vmxnet3_drv.c:244:22: sparse: got restricted __le32 [usertype]
drivers/net/vmxnet3/vmxnet3_drv.c:256:24: sparse: sparse: cast to restricted __le32
drivers/net/vmxnet3/vmxnet3_drv.c:1248:43: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __wsum [usertype] csum @@ got restricted __be16 [usertype] @@
drivers/net/vmxnet3/vmxnet3_drv.c:1248:43: sparse: expected restricted __wsum [usertype] csum
drivers/net/vmxnet3/vmxnet3_drv.c:1248:43: sparse: got restricted __be16 [usertype]
drivers/net/vmxnet3/vmxnet3_drv.c:1390:17: sparse: sparse: restricted __le64 degrades to integer
drivers/net/vmxnet3/vmxnet3_drv.c:1661:33: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected unsigned int [usertype] addr @@ got restricted __le64 [usertype] addr @@
drivers/net/vmxnet3/vmxnet3_drv.c:1661:33: sparse: expected unsigned int [usertype] addr
drivers/net/vmxnet3/vmxnet3_drv.c:1661:33: sparse: got restricted __le64 [usertype] addr
drivers/net/vmxnet3/vmxnet3_drv.c:1667:33: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected unsigned int [usertype] addr @@ got restricted __le64 [usertype] addr @@
drivers/net/vmxnet3/vmxnet3_drv.c:1667:33: sparse: expected unsigned int [usertype] addr
drivers/net/vmxnet3/vmxnet3_drv.c:1667:33: sparse: got restricted __le64 [usertype] addr
drivers/net/vmxnet3/vmxnet3_drv.c:2289:31: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned int [usertype] *vfTable @@ got restricted __le32 * @@
drivers/net/vmxnet3/vmxnet3_drv.c:2289:31: sparse: expected unsigned int [usertype] *vfTable
drivers/net/vmxnet3/vmxnet3_drv.c:2289:31: sparse: got restricted __le32 *
drivers/net/vmxnet3/vmxnet3_drv.c:2306:39: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned int [usertype] *vfTable @@ got restricted __le32 * @@
drivers/net/vmxnet3/vmxnet3_drv.c:2306:39: sparse: expected unsigned int [usertype] *vfTable
drivers/net/vmxnet3/vmxnet3_drv.c:2306:39: sparse: got restricted __le32 *
drivers/net/vmxnet3/vmxnet3_drv.c:2328:39: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned int [usertype] *vfTable @@ got restricted __le32 * @@
drivers/net/vmxnet3/vmxnet3_drv.c:2328:39: sparse: expected unsigned int [usertype] *vfTable
drivers/net/vmxnet3/vmxnet3_drv.c:2328:39: sparse: got restricted __le32 *
drivers/net/vmxnet3/vmxnet3_drv.c:2380:39: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned int [usertype] *vfTable @@ got restricted __le32 * @@
drivers/net/vmxnet3/vmxnet3_drv.c:2380:39: sparse: expected unsigned int [usertype] *vfTable
drivers/net/vmxnet3/vmxnet3_drv.c:2380:39: sparse: got restricted __le32 *
drivers/net/vmxnet3/vmxnet3_drv.c:2426:31: sparse: sparse: restricted __le32 degrades to integer
drivers/net/vmxnet3/vmxnet3_drv.c:2439:17: sparse: sparse: incorrect type in argument 3 (different base types) @@ expected unsigned int [usertype] size @@ got restricted __le16 [usertype] mfTableLen @@
drivers/net/vmxnet3/vmxnet3_drv.c:2439:17: sparse: expected unsigned int [usertype] size
drivers/net/vmxnet3/vmxnet3_drv.c:2439:17: sparse: got restricted __le16 [usertype] mfTableLen
drivers/net/vmxnet3/vmxnet3_drv.c:2476:49: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/net/vmxnet3/vmxnet3_drv.c:2476:49: sparse: expected unsigned int [usertype]
drivers/net/vmxnet3/vmxnet3_drv.c:2476:49: sparse: got restricted __le32 [usertype]
drivers/net/vmxnet3/vmxnet3_drv.c:2517:41: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [usertype] txDataRingDescSize @@ got restricted __le32 [usertype] @@
drivers/net/vmxnet3/vmxnet3_drv.c:2517:41: sparse: expected restricted __le16 [usertype] txDataRingDescSize
drivers/net/vmxnet3/vmxnet3_drv.c:2517:41: sparse: got restricted __le32 [usertype]
drivers/net/vmxnet3/vmxnet3_drv.c:2566:46: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] confVer @@ got int @@
drivers/net/vmxnet3/vmxnet3_drv.c:2566:46: sparse: expected restricted __le32 [usertype] confVer
drivers/net/vmxnet3/vmxnet3_drv.c:2566:46: sparse: got int
drivers/net/vmxnet3/vmxnet3_drv.c:2603:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] confVer @@ got int @@
drivers/net/vmxnet3/vmxnet3_drv.c:2603:34: sparse: expected restricted __le32 [usertype] confVer
drivers/net/vmxnet3/vmxnet3_drv.c:2603:34: sparse: got int
--
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:695: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:695:21: sparse: expected unsigned short [usertype] xid
drivers/scsi/bnx2fc/bnx2fc_hwi.c:695:21: sparse: got restricted __le16 [usertype] ox_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:727:27: sparse: sparse: cast from restricted __le32
drivers/scsi/bnx2fc/bnx2fc_hwi.c:728:26: sparse: sparse: cast from restricted __le32
drivers/scsi/bnx2fc/bnx2fc_hwi.c:807:23: sparse: sparse: cast from restricted __le16
drivers/scsi/bnx2fc/bnx2fc_hwi.c:807: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:807:21: sparse: expected unsigned short [usertype] xid
drivers/scsi/bnx2fc/bnx2fc_hwi.c:807:21: sparse: got restricted __be16 [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:821:27: sparse: sparse: cast from restricted __le32
drivers/scsi/bnx2fc/bnx2fc_hwi.c:822:26: sparse: sparse: cast from restricted __le32
drivers/scsi/bnx2fc/bnx2fc_hwi.c:886:45: sparse: sparse: restricted __le16 degrades to integer
drivers/scsi/bnx2fc/bnx2fc_hwi.c:963: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:963:33: sparse: expected restricted __le16 [usertype] doorbell_cq_cons
drivers/scsi/bnx2fc/bnx2fc_hwi.c:963:33: sparse: got int
drivers/scsi/bnx2fc/bnx2fc_hwi.c:966:9: sparse: sparse: cast from restricted __le32
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1019:43: sparse: sparse: restricted __le16 degrades to integer
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1089: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:1089:22: sparse: expected unsigned short [usertype] wqe
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1089:22: sparse: got restricted __le16 [usertype] wqe
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1253: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:1253:17: sparse: expected unsigned int [usertype] conn_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1253:17: sparse: got restricted __le32 [usertype] fcoe_conn_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1369: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:1369:53: sparse: expected unsigned int [usertype] err_code
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1369:53: sparse: got restricted __le32 [usertype] completion_status
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1420:18: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [usertype] wqe @@ got int @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1420:18: sparse: expected restricted __le16 [usertype] wqe
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1420:18: sparse: got int
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1421:18: sparse: sparse: invalid assignment: |=
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1421:18: sparse: left side has type restricted __le16
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1421:18: sparse: right side has type int
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1439:9: sparse: sparse: cast from restricted __le32
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1522: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:1522:46: sparse: expected restricted __le32 [usertype] init_flags
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1522:46: sparse: got unsigned int
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1524: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:1524:46: sparse: expected restricted __le32 [usertype] init_flags
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1524:46: sparse: got unsigned int
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1527: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:1527:63: sparse: expected restricted __le16 [usertype] cleaned_task_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1527:63: sparse: got unsigned short [usertype] orig_xid
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1530: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:1530:69: sparse: expected restricted __le32 [usertype] rolled_tx_data_offset
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1530:69: sparse: got unsigned int [usertype] offset
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1536:35: sparse: sparse: restricted __le16 degrades to integer
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1538:24: sparse: sparse: invalid assignment: -=
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1538:24: sparse: left side has type unsigned int
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1538:24: sparse: right side has type restricted __le16
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1543: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:1543:69: sparse: expected restricted __le32 [usertype] lo
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1543:69: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1545: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:1545:69: sparse: expected restricted __le32 [usertype] hi
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1545:69: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1549: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:1549:65: sparse: expected restricted __le16 [usertype] cur_sge_off
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1549:65: sparse: got unsigned int [usertype] offset
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1556:46: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] lo @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1556:46: sparse: expected restricted __le32 [usertype] lo
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1556:46: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1557:46: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] hi @@ got unsigned int [usertype] @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1557:46: sparse: expected restricted __le32 [usertype] hi
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1557:46: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1559:42: 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:42: sparse: expected restricted __le16 [usertype] cur_sge_off
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1559:42: sparse: got unsigned int [usertype] offset
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1564:55: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] low_exp_ro @@ got unsigned int [usertype] orig_offset @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1564:55: sparse: expected restricted __le32 [usertype] low_exp_ro
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1564:55: sparse: got unsigned int [usertype] orig_offset
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1565:56: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] high_exp_ro @@ got unsigned int [usertype] orig_offset @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1565:56: sparse: expected restricted __le32 [usertype] high_exp_ro
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1565:56: sparse: got unsigned int [usertype] orig_offset
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1592: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:1592:63: sparse: expected restricted __le16 [usertype] cleaned_task_id
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1592:63: sparse: got unsigned short [usertype] orig_xid
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1600: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:1600:46: sparse: expected restricted __le32 [usertype] init_flags
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1600:46: sparse: got unsigned int
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1602:42: sparse: sparse: invalid assignment: |=
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1602:42: sparse: left side has type restricted __le16
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1602:42: sparse: right side has type int
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1638: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:1638:69: sparse: expected restricted __le32 [usertype] lo
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1638:69: sparse: got unsigned int [usertype]
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1640: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:1640:69: sparse: expected restricted __le32 [usertype] hi
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1640:69: sparse: got unsigned int [usertype]
>> drivers/scsi/bnx2fc/bnx2fc_hwi.c:1665:47: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] data_2_trns @@ got unsigned int [usertype] data_xfer_len @@
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1665:47: sparse: expected restricted __le32 [usertype] data_2_trns
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1665:47: sparse: got unsigned int [usertype] data_xfer_len
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1668:42: sparse: sparse: invalid assignment: |=
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1668:42: sparse: left side has type restricted __le16
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1668:42: sparse: right side has type int
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1672:46: sparse: sparse: too many warnings
--
drivers/scsi/lpfc/lpfc_els.c:5527:28: sparse: got restricted __be16 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5529:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] flags @@ got restricted __be16 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5529:30: sparse: expected unsigned short [usertype] flags
drivers/scsi/lpfc/lpfc_els.c:5529:30: sparse: got restricted __be16 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5530:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] length @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5530:22: sparse: expected unsigned int [usertype] length
drivers/scsi/lpfc/lpfc_els.c:5530:22: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5541:19: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] tag @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5541:19: sparse: expected unsigned int [usertype] tag
drivers/scsi/lpfc/lpfc_els.c:5541:19: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5545:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] port_type @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5545:30: sparse: expected unsigned int [usertype] port_type
drivers/scsi/lpfc/lpfc_els.c:5545:30: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5547:49: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] link_failure_cnt @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5547:49: sparse: expected unsigned int [usertype] link_failure_cnt
drivers/scsi/lpfc/lpfc_els.c:5547:49: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5549:50: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] loss_of_synch_cnt @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5549:50: sparse: expected unsigned int [usertype] loss_of_synch_cnt
drivers/scsi/lpfc/lpfc_els.c:5549:50: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5551:51: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] loss_of_signal_cnt @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5551:51: sparse: expected unsigned int [usertype] loss_of_signal_cnt
drivers/scsi/lpfc/lpfc_els.c:5551:51: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5553:56: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] primitive_seq_proto_err @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5553:56: sparse: expected unsigned int [usertype] primitive_seq_proto_err
drivers/scsi/lpfc/lpfc_els.c:5553:56: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5555:51: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] invalid_trans_word @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5555:51: sparse: expected unsigned int [usertype] invalid_trans_word
drivers/scsi/lpfc/lpfc_els.c:5555:51: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5557:48: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] invalid_crc_cnt @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5557:48: sparse: expected unsigned int [usertype] invalid_crc_cnt
drivers/scsi/lpfc/lpfc_els.c:5557:48: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5559:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] length @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5559:22: sparse: expected unsigned int [usertype] length
drivers/scsi/lpfc/lpfc_els.c:5559:22: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5570:19: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] tag @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5570:19: sparse: expected unsigned int [usertype] tag
drivers/scsi/lpfc/lpfc_els.c:5570:19: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5574:33: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] port_bbc @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5574:33: sparse: expected unsigned int [usertype] port_bbc
drivers/scsi/lpfc/lpfc_els.c:5574:33: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5578:50: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] attached_port_bbc @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5578:50: sparse: expected unsigned int [usertype] attached_port_bbc
drivers/scsi/lpfc/lpfc_els.c:5578:50: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5584:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] length @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5584:22: sparse: expected unsigned int [usertype] length
drivers/scsi/lpfc/lpfc_els.c:5584:22: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5595:19: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] tag @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5595:19: sparse: expected unsigned int [usertype] tag
drivers/scsi/lpfc/lpfc_els.c:5595:19: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5612:39: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] function_flags @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5612:39: sparse: expected unsigned int [usertype] function_flags
drivers/scsi/lpfc/lpfc_els.c:5612:39: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5613:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] length @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5613:22: sparse: expected unsigned int [usertype] length
drivers/scsi/lpfc/lpfc_els.c:5613:22: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5624:19: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] tag @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5624:19: sparse: expected unsigned int [usertype] tag
drivers/scsi/lpfc/lpfc_els.c:5624:19: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5641:39: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] function_flags @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5641:39: sparse: expected unsigned int [usertype] function_flags
drivers/scsi/lpfc/lpfc_els.c:5641:39: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5642:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] length @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5642:22: sparse: expected unsigned int [usertype] length
drivers/scsi/lpfc/lpfc_els.c:5642:22: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5653:19: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] tag @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5653:19: sparse: expected unsigned int [usertype] tag
drivers/scsi/lpfc/lpfc_els.c:5653:19: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5670:39: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] function_flags @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5670:39: sparse: expected unsigned int [usertype] function_flags
drivers/scsi/lpfc/lpfc_els.c:5670:39: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5671:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] length @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5671:22: sparse: expected unsigned int [usertype] length
drivers/scsi/lpfc/lpfc_els.c:5671:22: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5682:19: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] tag @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5682:19: sparse: expected unsigned int [usertype] tag
drivers/scsi/lpfc/lpfc_els.c:5682:19: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5699:39: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] function_flags @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5699:39: sparse: expected unsigned int [usertype] function_flags
drivers/scsi/lpfc/lpfc_els.c:5699:39: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5700:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] length @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5700:22: sparse: expected unsigned int [usertype] length
drivers/scsi/lpfc/lpfc_els.c:5700:22: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5712:19: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] tag @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5712:19: sparse: expected unsigned int [usertype] tag
drivers/scsi/lpfc/lpfc_els.c:5712:19: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5729:39: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] function_flags @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5729:39: sparse: expected unsigned int [usertype] function_flags
drivers/scsi/lpfc/lpfc_els.c:5729:39: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5730:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] length @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5730:22: sparse: expected unsigned int [usertype] length
drivers/scsi/lpfc/lpfc_els.c:5730:22: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5738:19: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] tag @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5738:19: sparse: expected unsigned int [usertype] tag
drivers/scsi/lpfc/lpfc_els.c:5738:19: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5744:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] length @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5744:22: sparse: expected unsigned int [usertype] length
drivers/scsi/lpfc/lpfc_els.c:5744:22: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5753:19: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] tag @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5753:19: sparse: expected unsigned int [usertype] tag
drivers/scsi/lpfc/lpfc_els.c:5753:19: sparse: got restricted __be32 [usertype]
>> drivers/scsi/lpfc/lpfc_els.c:5755:36: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] CorrectedBlocks @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5755:36: sparse: expected unsigned int [usertype] CorrectedBlocks
drivers/scsi/lpfc/lpfc_els.c:5755:36: sparse: got restricted __be32 [usertype]
>> drivers/scsi/lpfc/lpfc_els.c:5757:40: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] UncorrectableBlocks @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5757:40: sparse: expected unsigned int [usertype] UncorrectableBlocks
drivers/scsi/lpfc/lpfc_els.c:5757:40: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5760:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] length @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5760:22: sparse: expected unsigned int [usertype] length
drivers/scsi/lpfc/lpfc_els.c:5760:22: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5771:19: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] tag @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5771:19: sparse: expected unsigned int [usertype] tag
drivers/scsi/lpfc/lpfc_els.c:5771:19: sparse: got restricted __be32 [usertype]
>> drivers/scsi/lpfc/lpfc_els.c:5803:37: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] speed @@ got restricted __be16 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5803:37: sparse: expected unsigned short [usertype] speed
drivers/scsi/lpfc/lpfc_els.c:5803:37: sparse: got restricted __be16 [usertype]
>> drivers/scsi/lpfc/lpfc_els.c:5829:44: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] capabilities @@ got restricted __be16 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5829:44: sparse: expected unsigned short [usertype] capabilities
drivers/scsi/lpfc/lpfc_els.c:5829:44: sparse: got restricted __be16 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5830:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] length @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5830:22: sparse: expected unsigned int [usertype] length
drivers/scsi/lpfc/lpfc_els.c:5830:22: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5839:19: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] tag @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5839:19: sparse: expected unsigned int [usertype] tag
drivers/scsi/lpfc/lpfc_els.c:5839:19: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5847:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] length @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5847:22: sparse: expected unsigned int [usertype] length
drivers/scsi/lpfc/lpfc_els.c:5847:22: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5856:19: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] tag @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5856:19: sparse: expected unsigned int [usertype] tag
drivers/scsi/lpfc/lpfc_els.c:5856:19: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5871:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] length @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5871:22: sparse: expected unsigned int [usertype] length
drivers/scsi/lpfc/lpfc_els.c:5871:22: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5962:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] length @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_els.c:5962:25: sparse: expected unsigned int [usertype] length
drivers/scsi/lpfc/lpfc_els.c:5962:25: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_els.c:5970:22: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_els.c:6101:9: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_els.c:6101:9: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_els.c:6101:9: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_els.c:6101:9: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_els.c:6101:9: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_els.c:6101:9: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_els.c:6101:9: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_els.c:6101:9: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_els.c:6110:25: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_els.c:6112:36: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_els.c:6115:25: sparse: sparse: cast to restricted __be32
>> drivers/scsi/lpfc/lpfc_els.c:6320:17: sparse: sparse: cast to restricted __be16
drivers/scsi/lpfc/lpfc_els.c:6325:21: sparse: sparse: cast to restricted __be16
drivers/scsi/lpfc/lpfc_els.c:6335:17: sparse: sparse: cast to restricted __be16
drivers/scsi/lpfc/lpfc_els.c:6380:9: sparse: sparse: cast to restricted __be16
drivers/scsi/lpfc/lpfc_els.c:6380:9: sparse: sparse: cast to restricted __be16
drivers/scsi/lpfc/lpfc_els.c:6524:31: sparse: sparse: too many warnings
--
drivers/scsi/lpfc/lpfc_sli.c:18587:38: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_sli.c:18588:38: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_sli.c:18589:38: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_sli.c:18590:38: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_sli.c:18591:38: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_sli.c:18592:38: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_sli.c:17344:47: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sgl_pg0_addr_lo @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:17344:47: sparse: expected unsigned int [usertype] sgl_pg0_addr_lo
drivers/scsi/lpfc/lpfc_sli.c:17344:47: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:17346:47: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sgl_pg0_addr_hi @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:17346:47: sparse: expected unsigned int [usertype] sgl_pg0_addr_hi
drivers/scsi/lpfc/lpfc_sli.c:17346:47: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:17348:47: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sgl_pg1_addr_lo @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:17348:47: sparse: expected unsigned int [usertype] sgl_pg1_addr_lo
drivers/scsi/lpfc/lpfc_sli.c:17348:47: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:17350:47: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sgl_pg1_addr_hi @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:17350:47: sparse: expected unsigned int [usertype] sgl_pg1_addr_hi
drivers/scsi/lpfc/lpfc_sli.c:17350:47: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:17363:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word0 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:17363:20: sparse: expected unsigned int [usertype] word0
drivers/scsi/lpfc/lpfc_sli.c:17363:20: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:14625:13: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:14626:17: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:14626:17: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:14626:17: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:14626:17: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:14635:16: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:8194:16: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:8197:21: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:8198:23: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:695:13: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:715:17: sparse: sparse: cast to restricted __le32
>> drivers/scsi/lpfc/lpfc_sli.c:715:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word3 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:715:17: sparse: expected unsigned int [usertype] word3
drivers/scsi/lpfc/lpfc_sli.c:715:17: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:454:13: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:580:17: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:580:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word0 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:580:17: sparse: expected unsigned int [usertype] word0
drivers/scsi/lpfc/lpfc_sli.c:580:17: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:602:24: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:2084:35: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:2186:38: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:2187:38: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:2190:35: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:2191:36: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:8648:33: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:8694:41: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:9582:38: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:9590:37: sparse: sparse: cast to restricted __le32
>> drivers/scsi/lpfc/lpfc_sli.c:9591:38: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sge_len @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:9591:38: sparse: expected unsigned int [usertype] sge_len
drivers/scsi/lpfc/lpfc_sli.c:9591:38: sparse: got restricted __le32 [usertype]
>> drivers/scsi/lpfc/lpfc_sli.c:9608:36: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word2 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:9608:36: sparse: expected unsigned int [usertype] word2
drivers/scsi/lpfc/lpfc_sli.c:9608:36: sparse: got restricted __le32 [usertype]
>> drivers/scsi/lpfc/lpfc_sli.c:9617:38: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_hi @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:9617:38: sparse: expected unsigned int [usertype] addr_hi
drivers/scsi/lpfc/lpfc_sli.c:9617:38: sparse: got restricted __le32 [usertype]
>> drivers/scsi/lpfc/lpfc_sli.c:9619:38: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_lo @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:9619:38: sparse: expected unsigned int [usertype] addr_lo
drivers/scsi/lpfc/lpfc_sli.c:9619:38: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:9621:38: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:9623:36: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word2 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:9623:36: sparse: expected unsigned int [usertype] word2
drivers/scsi/lpfc/lpfc_sli.c:9623:36: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:9624:38: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sge_len @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:9624:38: sparse: expected unsigned int [usertype] sge_len
drivers/scsi/lpfc/lpfc_sli.c:9624:38: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:9694:46: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:9695:45: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:9699:43: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:9703:38: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:10015:37: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:11347:25: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:11375:25: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_sli.c:13372:37: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:13384:45: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:14053:16: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:17156:57: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sgl_pg0_addr_lo @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:17156:57: sparse: expected unsigned int [usertype] sgl_pg0_addr_lo
drivers/scsi/lpfc/lpfc_sli.c:17156:57: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:17158:57: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sgl_pg0_addr_hi @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:17158:57: sparse: expected unsigned int [usertype] sgl_pg0_addr_hi
drivers/scsi/lpfc/lpfc_sli.c:17158:57: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:17161:57: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sgl_pg1_addr_lo @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:17161:57: sparse: expected unsigned int [usertype] sgl_pg1_addr_lo
drivers/scsi/lpfc/lpfc_sli.c:17161:57: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:17163:57: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sgl_pg1_addr_hi @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:17163:57: sparse: expected unsigned int [usertype] sgl_pg1_addr_hi
drivers/scsi/lpfc/lpfc_sli.c:17163:57: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:17456:47: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sgl_pg0_addr_lo @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:17456:47: sparse: expected unsigned int [usertype] sgl_pg0_addr_lo
drivers/scsi/lpfc/lpfc_sli.c:17456:47: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:17458:47: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sgl_pg0_addr_hi @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:17458:47: sparse: expected unsigned int [usertype] sgl_pg0_addr_hi
drivers/scsi/lpfc/lpfc_sli.c:17458:47: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:17465:47: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sgl_pg1_addr_lo @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:17465:47: sparse: expected unsigned int [usertype] sgl_pg1_addr_lo
drivers/scsi/lpfc/lpfc_sli.c:17465:47: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:17467:47: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sgl_pg1_addr_hi @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:17467:47: sparse: expected unsigned int [usertype] sgl_pg1_addr_hi
drivers/scsi/lpfc/lpfc_sli.c:17467:47: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:17478:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word0 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:17478:20: sparse: expected unsigned int [usertype] word0
drivers/scsi/lpfc/lpfc_sli.c:17478:20: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:17702:9: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_sli.c:17702:9: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_sli.c:17702:9: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_sli.c:17702:9: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_sli.c:17702:9: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_sli.c:17702:9: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_sli.c:17702:9: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_sli.c:17702:9: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_sli.c:17702:9: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_sli.c:17702:9: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_sli.c:17702:9: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_sli.c:17702:9: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_sli.c:17702:9: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_sli.c:17702:9: sparse: sparse: cast to restricted __be32
>> drivers/scsi/lpfc/lpfc_sli.c:18318:16: sparse: sparse: restricted __be16 degrades to integer
>> drivers/scsi/lpfc/lpfc_sli.c:20010:45: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:20010:45: sparse: expected unsigned int
drivers/scsi/lpfc/lpfc_sli.c:20010:45: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:20378:38: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:20386:37: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:20387:38: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sge_len @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:20387:38: sparse: expected unsigned int [usertype] sge_len
drivers/scsi/lpfc/lpfc_sli.c:20387:38: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:20421:36: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word2 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:20421:36: sparse: expected unsigned int [usertype] word2
drivers/scsi/lpfc/lpfc_sli.c:20421:36: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:20430:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_hi @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:20430:30: sparse: expected unsigned int [usertype] addr_hi
drivers/scsi/lpfc/lpfc_sli.c:20430:30: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:20431:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_lo @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:20431:30: sparse: expected unsigned int [usertype] addr_lo
drivers/scsi/lpfc/lpfc_sli.c:20431:30: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:20432:30: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_sli.c:20434:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word2 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:20434:28: sparse: expected unsigned int [usertype] word2
drivers/scsi/lpfc/lpfc_sli.c:20434:28: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:20435:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sge_len @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_sli.c:20435:30: sparse: expected unsigned int [usertype] sge_len
drivers/scsi/lpfc/lpfc_sli.c:20435:30: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_sli.c:12081:36: sparse: sparse: context imbalance in 'lpfc_sli_abort_taskmgmt' - different lock contexts for basic block
--
drivers/scsi/lpfc/lpfc_scsi.c:129:30: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:131:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word2 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:131:28: sparse: expected unsigned int [usertype] word2
drivers/scsi/lpfc/lpfc_scsi.c:131:28: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:399:35: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:400:34: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:403:32: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:406:35: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:407:34: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:410:32: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:695:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_hi @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:695:22: sparse: expected unsigned int [usertype] addr_hi
drivers/scsi/lpfc/lpfc_scsi.c:695:22: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:696:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_lo @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:696:22: sparse: expected unsigned int [usertype] addr_lo
drivers/scsi/lpfc/lpfc_scsi.c:696:22: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:697:22: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:699:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word2 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:699:20: sparse: expected unsigned int [usertype] word2
drivers/scsi/lpfc/lpfc_scsi.c:699:20: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:700:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sge_len @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:700:22: sparse: expected unsigned int [usertype] sge_len
drivers/scsi/lpfc/lpfc_scsi.c:700:22: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:705:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_hi @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:705:22: sparse: expected unsigned int [usertype] addr_hi
drivers/scsi/lpfc/lpfc_scsi.c:705:22: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:706:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_lo @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:706:22: sparse: expected unsigned int [usertype] addr_lo
drivers/scsi/lpfc/lpfc_scsi.c:706:22: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:707:22: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:709:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word2 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:709:20: sparse: expected unsigned int [usertype] word2
drivers/scsi/lpfc/lpfc_scsi.c:709:20: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:710:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sge_len @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:710:22: sparse: expected unsigned int [usertype] sge_len
drivers/scsi/lpfc/lpfc_scsi.c:710:22: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:825:39: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:825:39: sparse: expected unsigned int [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:825:39: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:913:46: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:915:41: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:917:41: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:958:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] fcpDl @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:958:25: sparse: expected unsigned int [usertype] fcpDl
drivers/scsi/lpfc/lpfc_scsi.c:958:25: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:1092:69: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] prot_data @@ got restricted __be32 [usertype] ref_tag @@
drivers/scsi/lpfc/lpfc_scsi.c:1092:69: sparse: expected unsigned int [usertype] prot_data
drivers/scsi/lpfc/lpfc_scsi.c:1092:69: sparse: got restricted __be32 [usertype] ref_tag
drivers/scsi/lpfc/lpfc_scsi.c:1213:69: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] prot_data @@ got restricted __be16 [usertype] app_tag @@
drivers/scsi/lpfc/lpfc_scsi.c:1213:69: sparse: expected unsigned int [usertype] prot_data
drivers/scsi/lpfc/lpfc_scsi.c:1213:69: sparse: got restricted __be16 [usertype] app_tag
drivers/scsi/lpfc/lpfc_scsi.c:1616:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word0 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:1616:21: sparse: expected unsigned int [usertype] word0
drivers/scsi/lpfc/lpfc_scsi.c:1616:21: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:1617:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] reftag @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:1617:22: sparse: expected unsigned int [usertype] reftag
drivers/scsi/lpfc/lpfc_scsi.c:1617:22: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:1650:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word0 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:1650:21: sparse: expected unsigned int [usertype] word0
drivers/scsi/lpfc/lpfc_scsi.c:1650:21: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:1651:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word1 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:1651:21: sparse: expected unsigned int [usertype] word1
drivers/scsi/lpfc/lpfc_scsi.c:1651:21: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:1652:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word2 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:1652:21: sparse: expected unsigned int [usertype] word2
drivers/scsi/lpfc/lpfc_scsi.c:1652:21: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:1661:32: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:1662:33: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:1668:30: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:1785:29: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word0 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:1785:29: sparse: expected unsigned int [usertype] word0
drivers/scsi/lpfc/lpfc_scsi.c:1785:29: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:1786:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] reftag @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:1786:30: sparse: expected unsigned int [usertype] reftag
drivers/scsi/lpfc/lpfc_scsi.c:1786:30: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:1814:29: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word0 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:1814:29: sparse: expected unsigned int [usertype] word0
drivers/scsi/lpfc/lpfc_scsi.c:1814:29: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:1815:29: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word1 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:1815:29: sparse: expected unsigned int [usertype] word1
drivers/scsi/lpfc/lpfc_scsi.c:1815:29: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:1816:29: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word2 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:1816:29: sparse: expected unsigned int [usertype] word2
drivers/scsi/lpfc/lpfc_scsi.c:1816:29: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:1833:34: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:1834:33: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:1868:40: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:1869:41: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:1892:38: sparse: sparse: cast to restricted __le32
>> drivers/scsi/lpfc/lpfc_scsi.c:2010:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] ref_tag @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2010:25: sparse: expected unsigned int [usertype] ref_tag
drivers/scsi/lpfc/lpfc_scsi.c:2010:25: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2037:23: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word2 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2037:23: sparse: expected unsigned int [usertype] word2
drivers/scsi/lpfc/lpfc_scsi.c:2037:23: sparse: got restricted __le32 [usertype]
>> drivers/scsi/lpfc/lpfc_scsi.c:2038:23: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word3 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2038:23: sparse: expected unsigned int [usertype] word3
drivers/scsi/lpfc/lpfc_scsi.c:2038:23: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2063:38: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_lo @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2063:38: sparse: expected unsigned int [usertype] addr_lo
drivers/scsi/lpfc/lpfc_scsi.c:2063:38: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2065:38: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_hi @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2065:38: sparse: expected unsigned int [usertype] addr_hi
drivers/scsi/lpfc/lpfc_scsi.c:2065:38: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2077:38: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_lo @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2077:38: sparse: expected unsigned int [usertype] addr_lo
drivers/scsi/lpfc/lpfc_scsi.c:2077:38: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2078:38: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_hi @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2078:38: sparse: expected unsigned int [usertype] addr_hi
drivers/scsi/lpfc/lpfc_scsi.c:2078:38: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2081:36: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word2 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2081:36: sparse: expected unsigned int [usertype] word2
drivers/scsi/lpfc/lpfc_scsi.c:2081:36: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2082:38: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sge_len @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2082:38: sparse: expected unsigned int [usertype] sge_len
drivers/scsi/lpfc/lpfc_scsi.c:2082:38: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2092:36: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word2 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2092:36: sparse: expected unsigned int [usertype] word2
drivers/scsi/lpfc/lpfc_scsi.c:2092:36: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2093:38: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sge_len @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2093:38: sparse: expected unsigned int [usertype] sge_len
drivers/scsi/lpfc/lpfc_scsi.c:2093:38: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2226:46: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_lo @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2226:46: sparse: expected unsigned int [usertype] addr_lo
drivers/scsi/lpfc/lpfc_scsi.c:2226:46: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2228:46: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_hi @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2228:46: sparse: expected unsigned int [usertype] addr_hi
drivers/scsi/lpfc/lpfc_scsi.c:2228:46: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2232:36: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word2 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2232:36: sparse: expected unsigned int [usertype] word2
drivers/scsi/lpfc/lpfc_scsi.c:2232:36: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2233:38: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sge_len @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2233:38: sparse: expected unsigned int [usertype] sge_len
drivers/scsi/lpfc/lpfc_scsi.c:2233:38: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2245:33: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] ref_tag @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2245:33: sparse: expected unsigned int [usertype] ref_tag
drivers/scsi/lpfc/lpfc_scsi.c:2245:33: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2280:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word2 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2280:31: sparse: expected unsigned int [usertype] word2
drivers/scsi/lpfc/lpfc_scsi.c:2280:31: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2281:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word3 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2281:31: sparse: expected unsigned int [usertype] word3
drivers/scsi/lpfc/lpfc_scsi.c:2281:31: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2299:32: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:2300:32: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:2301:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word2 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2301:28: sparse: expected unsigned int [usertype] word2
drivers/scsi/lpfc/lpfc_scsi.c:2301:28: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2353:54: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_lo @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2353:54: sparse: expected unsigned int [usertype] addr_lo
drivers/scsi/lpfc/lpfc_scsi.c:2353:54: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2355:54: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_hi @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2355:54: sparse: expected unsigned int [usertype] addr_hi
drivers/scsi/lpfc/lpfc_scsi.c:2355:54: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2359:44: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word2 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2359:44: sparse: expected unsigned int [usertype] word2
drivers/scsi/lpfc/lpfc_scsi.c:2359:44: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2360:46: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sge_len @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2360:46: sparse: expected unsigned int [usertype] sge_len
drivers/scsi/lpfc/lpfc_scsi.c:2360:46: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2389:46: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_lo @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2389:46: sparse: expected unsigned int [usertype] addr_lo
drivers/scsi/lpfc/lpfc_scsi.c:2389:46: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2391:46: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_hi @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2391:46: sparse: expected unsigned int [usertype] addr_hi
drivers/scsi/lpfc/lpfc_scsi.c:2391:46: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:2398:46: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sge_len @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2398:46: sparse: expected unsigned int [usertype] sge_len
drivers/scsi/lpfc/lpfc_scsi.c:2398:46: sparse: got restricted __le32 [usertype]
>> drivers/scsi/lpfc/lpfc_scsi.c:2663:27: sparse: sparse: cast to restricted __be32
>> drivers/scsi/lpfc/lpfc_scsi.c:2712:11: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] x @@ got restricted __be16 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:2712:11: sparse: expected unsigned short [usertype] x
drivers/scsi/lpfc/lpfc_scsi.c:2712:11: sparse: got restricted __be16 [usertype]
>> drivers/scsi/lpfc/lpfc_scsi.c:2726:13: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] ret @@ got restricted __sum16 @@
drivers/scsi/lpfc/lpfc_scsi.c:2726:13: sparse: expected unsigned short [usertype] ret
drivers/scsi/lpfc/lpfc_scsi.c:2726:13: sparse: got restricted __sum16
>> drivers/scsi/lpfc/lpfc_scsi.c:2788:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] start_app_tag @@ got restricted __be16 [usertype] app_tag @@
drivers/scsi/lpfc/lpfc_scsi.c:2788:31: sparse: expected unsigned short [usertype] start_app_tag
drivers/scsi/lpfc/lpfc_scsi.c:2788:31: sparse: got restricted __be16 [usertype] app_tag
>> drivers/scsi/lpfc/lpfc_scsi.c:2805:51: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [assigned] [usertype] guard_tag @@ got restricted __be16 [usertype] guard_tag @@
drivers/scsi/lpfc/lpfc_scsi.c:2805:51: sparse: expected unsigned short [assigned] [usertype] guard_tag
drivers/scsi/lpfc/lpfc_scsi.c:2805:51: sparse: got restricted __be16 [usertype] guard_tag
>> drivers/scsi/lpfc/lpfc_scsi.c:2827:41: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] app_tag @@ got restricted __be16 [usertype] app_tag @@
drivers/scsi/lpfc/lpfc_scsi.c:2827:41: sparse: expected unsigned short [usertype] app_tag
drivers/scsi/lpfc/lpfc_scsi.c:2827:41: sparse: got restricted __be16 [usertype] app_tag
drivers/scsi/lpfc/lpfc_scsi.c:3252:30: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:3254:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word2 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:3254:28: sparse: expected unsigned int [usertype] word2
drivers/scsi/lpfc/lpfc_scsi.c:3254:28: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:3310:54: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_lo @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:3310:54: sparse: expected unsigned int [usertype] addr_lo
drivers/scsi/lpfc/lpfc_scsi.c:3310:54: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:3312:54: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_hi @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:3312:54: sparse: expected unsigned int [usertype] addr_hi
drivers/scsi/lpfc/lpfc_scsi.c:3312:54: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:3328:46: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_lo @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:3328:46: sparse: expected unsigned int [usertype] addr_lo
drivers/scsi/lpfc/lpfc_scsi.c:3328:46: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:3330:46: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_hi @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:3330:46: sparse: expected unsigned int [usertype] addr_hi
drivers/scsi/lpfc/lpfc_scsi.c:3330:46: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:3334:44: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word2 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:3334:44: sparse: expected unsigned int [usertype] word2
drivers/scsi/lpfc/lpfc_scsi.c:3334:44: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:3335:46: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sge_len @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:3335:46: sparse: expected unsigned int [usertype] sge_len
drivers/scsi/lpfc/lpfc_scsi.c:3335:46: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:3344:44: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word2 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:3344:44: sparse: expected unsigned int [usertype] word2
drivers/scsi/lpfc/lpfc_scsi.c:3344:44: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:3345:46: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sge_len @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:3345:46: sparse: expected unsigned int [usertype] sge_len
drivers/scsi/lpfc/lpfc_scsi.c:3345:46: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:3368:41: sparse: sparse: cast to restricted __le32
>> drivers/scsi/lpfc/lpfc_scsi.c:3370:36: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] w @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:3370:36: sparse: expected unsigned int [usertype] w
drivers/scsi/lpfc/lpfc_scsi.c:3370:36: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:3378:30: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:3380:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word2 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:3380:28: sparse: expected unsigned int [usertype] word2
drivers/scsi/lpfc/lpfc_scsi.c:3380:28: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:3400:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] fcpDl @@ got restricted __be32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:3400:25: sparse: expected unsigned int [usertype] fcpDl
drivers/scsi/lpfc/lpfc_scsi.c:3400:25: sparse: got restricted __be32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:3407:29: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_scsi.c:3416:25: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_scsi.c:3492:30: sparse: sparse: cast to restricted __le32
drivers/scsi/lpfc/lpfc_scsi.c:3494:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word2 @@ got restricted __le32 [usertype] @@
drivers/scsi/lpfc/lpfc_scsi.c:3494:28: sparse: expected unsigned int [usertype] word2
drivers/scsi/lpfc/lpfc_scsi.c:3494:28: sparse: got restricted __le32 [usertype]
drivers/scsi/lpfc/lpfc_scsi.c:3595:27: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_scsi.c:3603:29: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_scsi.c:3612:25: sparse: sparse: cast to restricted __be32
drivers/scsi/lpfc/lpfc_scsi.c:3780:24: sparse: sparse: too many warnings
--
drivers/staging/rtl8712/rtl871x_mlme.c:458:28: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:459:37: sparse: sparse: cast to restricted __le32
>> drivers/staging/rtl8712/rtl871x_mlme.c:460:27: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] Privacy @@ got unsigned int [usertype] @@
drivers/staging/rtl8712/rtl871x_mlme.c:460:27: sparse: expected restricted __le32 [usertype] Privacy
drivers/staging/rtl8712/rtl871x_mlme.c:460:27: sparse: got unsigned int [usertype]
drivers/staging/rtl8712/rtl871x_mlme.c:461:26: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:462:38: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:464:18: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:466:18: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:468:18: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:470:18: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:472:18: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:474:18: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:476:18: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:478:18: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:480:18: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:481:30: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:677:30: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:678:34: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:679:36: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:681:18: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:682:35: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] Privacy @@ got unsigned int [usertype] @@
drivers/staging/rtl8712/rtl871x_mlme.c:682:35: sparse: expected restricted __le32 [usertype] Privacy
drivers/staging/rtl8712/rtl871x_mlme.c:682:35: sparse: got unsigned int [usertype]
drivers/staging/rtl8712/rtl871x_mlme.c:683:34: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:685:18: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:687:18: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:689:18: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:691:18: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:693:18: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:696:18: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:699:18: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:701:18: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:703:18: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:705:18: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_mlme.c:706:38: sparse: sparse: cast to restricted __le32
--
drivers/staging/rtl8712/rtl871x_cmd.c:438:29: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] Length @@ got restricted __le32 [usertype] @@
drivers/staging/rtl8712/rtl871x_cmd.c:438:29: sparse: expected unsigned int [usertype] Length
drivers/staging/rtl8712/rtl871x_cmd.c:438:29: sparse: got restricted __le32 [usertype]
drivers/staging/rtl8712/rtl871x_cmd.c:439:38: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] SsidLength @@ got restricted __le32 [usertype] @@
drivers/staging/rtl8712/rtl871x_cmd.c:439:38: sparse: expected unsigned int [usertype] SsidLength
drivers/staging/rtl8712/rtl871x_cmd.c:439:38: sparse: got restricted __le32 [usertype]
drivers/staging/rtl8712/rtl871x_cmd.c:441:32: sparse: sparse: cast from restricted __le32
drivers/staging/rtl8712/rtl871x_cmd.c:442:27: sparse: sparse: incorrect type in assignment (different base types) @@ expected signed int [usertype] Rssi @@ got restricted __le32 [usertype] @@
drivers/staging/rtl8712/rtl871x_cmd.c:442:27: sparse: expected signed int [usertype] Rssi
drivers/staging/rtl8712/rtl871x_cmd.c:442:27: sparse: got restricted __le32 [usertype]
drivers/staging/rtl8712/rtl871x_cmd.c:443:39: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int enum NDIS_802_11_NETWORK_TYPE NetworkTypeInUse @@ got restricted __le32 [usertype] @@
drivers/staging/rtl8712/rtl871x_cmd.c:443:39: sparse: expected unsigned int enum NDIS_802_11_NETWORK_TYPE NetworkTypeInUse
drivers/staging/rtl8712/rtl871x_cmd.c:443:39: sparse: got restricted __le32 [usertype]
drivers/staging/rtl8712/rtl871x_cmd.c:445:47: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] ATIMWindow @@ got restricted __le32 [usertype] @@
drivers/staging/rtl8712/rtl871x_cmd.c:445:47: sparse: expected unsigned int [usertype] ATIMWindow
drivers/staging/rtl8712/rtl871x_cmd.c:445:47: sparse: got restricted __le32 [usertype]
drivers/staging/rtl8712/rtl871x_cmd.c:447:49: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] BeaconPeriod @@ got restricted __le32 [usertype] @@
drivers/staging/rtl8712/rtl871x_cmd.c:447:49: sparse: expected unsigned int [usertype] BeaconPeriod
drivers/staging/rtl8712/rtl871x_cmd.c:447:49: sparse: got restricted __le32 [usertype]
drivers/staging/rtl8712/rtl871x_cmd.c:449:45: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] DSConfig @@ got restricted __le32 [usertype] @@
drivers/staging/rtl8712/rtl871x_cmd.c:449:45: sparse: expected unsigned int [usertype] DSConfig
drivers/staging/rtl8712/rtl871x_cmd.c:449:45: sparse: got restricted __le32 [usertype]
drivers/staging/rtl8712/rtl871x_cmd.c:451:55: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] DwellTime @@ got restricted __le32 [usertype] @@
drivers/staging/rtl8712/rtl871x_cmd.c:451:55: sparse: expected unsigned int [usertype] DwellTime
drivers/staging/rtl8712/rtl871x_cmd.c:451:55: sparse: got restricted __le32 [usertype]
drivers/staging/rtl8712/rtl871x_cmd.c:453:56: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] HopPattern @@ got restricted __le32 [usertype] @@
drivers/staging/rtl8712/rtl871x_cmd.c:453:56: sparse: expected unsigned int [usertype] HopPattern
drivers/staging/rtl8712/rtl871x_cmd.c:453:56: sparse: got restricted __le32 [usertype]
drivers/staging/rtl8712/rtl871x_cmd.c:455:52: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] HopSet @@ got restricted __le32 [usertype] @@
drivers/staging/rtl8712/rtl871x_cmd.c:455:52: sparse: expected unsigned int [usertype] HopSet
drivers/staging/rtl8712/rtl871x_cmd.c:455:52: sparse: got restricted __le32 [usertype]
drivers/staging/rtl8712/rtl871x_cmd.c:457:52: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] Length @@ got restricted __le32 [usertype] @@
drivers/staging/rtl8712/rtl871x_cmd.c:457:52: sparse: expected unsigned int [usertype] Length
drivers/staging/rtl8712/rtl871x_cmd.c:457:52: sparse: got restricted __le32 [usertype]
drivers/staging/rtl8712/rtl871x_cmd.c:459:43: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] Length @@ got restricted __le32 [usertype] @@
drivers/staging/rtl8712/rtl871x_cmd.c:459:43: sparse: expected unsigned int [usertype] Length
drivers/staging/rtl8712/rtl871x_cmd.c:459:43: sparse: got restricted __le32 [usertype]
drivers/staging/rtl8712/rtl871x_cmd.c:461:41: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int enum NDIS_802_11_NETWORK_INFRASTRUCTURE InfrastructureMode @@ got restricted __le32 [usertype] @@
drivers/staging/rtl8712/rtl871x_cmd.c:461:41: sparse: expected unsigned int enum NDIS_802_11_NETWORK_INFRASTRUCTURE InfrastructureMode
drivers/staging/rtl8712/rtl871x_cmd.c:461:41: sparse: got restricted __le32 [usertype]
drivers/staging/rtl8712/rtl871x_cmd.c:463:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] IELength @@ got restricted __le32 [usertype] @@
drivers/staging/rtl8712/rtl871x_cmd.c:463:31: sparse: expected unsigned int [usertype] IELength
drivers/staging/rtl8712/rtl871x_cmd.c:463:31: sparse: got restricted __le32 [usertype]
drivers/staging/rtl8712/rtl871x_cmd.c:668:28: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_cmd.c:669:37: sparse: sparse: cast to restricted __le32
>> drivers/staging/rtl8712/rtl871x_cmd.c:670:27: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] Privacy @@ got unsigned int [usertype] @@
drivers/staging/rtl8712/rtl871x_cmd.c:670:27: sparse: expected restricted __le32 [usertype] Privacy
drivers/staging/rtl8712/rtl871x_cmd.c:670:27: sparse: got unsigned int [usertype]
drivers/staging/rtl8712/rtl871x_cmd.c:671:26: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_cmd.c:672:38: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_cmd.c:674:17: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_cmd.c:676:17: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_cmd.c:678:17: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_cmd.c:680:17: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_cmd.c:682:17: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_cmd.c:684:17: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_cmd.c:686:17: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_cmd.c:688:17: sparse: sparse: cast to restricted __le32
drivers/staging/rtl8712/rtl871x_cmd.c:689:30: sparse: sparse: cast to restricted __le32
--
drivers/gpu/drm/msm/adreno/a6xx_gmu.c: note: in included file (through drivers/gpu/drm/msm/msm_gpu.h, drivers/gpu/drm/msm/adreno/adreno_gpu.h, drivers/gpu/drm/msm/adreno/a6xx_gpu.h):
include/linux/adreno-smmu-priv.h:36:33: sparse: sparse: no newline at end of file
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:224:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:224:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:224:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:224:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:224:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:224:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:240:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:240:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:240:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:240:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:240:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:240:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:320:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:320:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:320:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:320:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:320:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:320:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:362:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:362:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:362:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:362:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:362:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:362:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:387:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:387:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:387:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:387:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:387:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:387:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:460:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:460:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:460:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:460:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:460:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:460:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:467:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:467:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:467:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:467:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:467:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:467:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:493:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:493:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:493:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:493:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:493:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:493:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1395:31: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void [noderef] __iomem * @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1395:31: sparse: expected void [noderef] __iomem *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1395:31: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1401:31: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void [noderef] __iomem * @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1401:31: sparse: expected void [noderef] __iomem *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1401:31: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:845:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:845:9: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:845:9: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:845:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:845:9: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:845:9: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:847:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:847:9: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:847:9: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:847:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:847:9: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:847:9: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:849:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:849:9: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:849:9: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:849:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:849:9: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:849:9: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:851:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:851:9: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:851:9: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:851:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:851:9: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:851:9: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1052:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1052:23: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1052:23: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1052:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1052:23: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1052:23: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1441:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *iomem_cookie @@ got void *[noderef] mmio @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1441:20: sparse: expected void volatile [noderef] __iomem *iomem_cookie
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1441:20: sparse: got void *[noderef] mmio
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1443:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *iomem_cookie @@ got void *[noderef] rscc @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1443:28: sparse: expected void volatile [noderef] __iomem *iomem_cookie
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1443:28: sparse: got void *[noderef] rscc
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1527:19: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *[noderef] mmio @@ got void [noderef] __iomem * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1527:19: sparse: expected void *[noderef] mmio
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1527:19: sparse: got void [noderef] __iomem *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1534:27: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *[noderef] rscc @@ got void [noderef] __iomem * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1534:27: sparse: expected void *[noderef] rscc
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1534:27: sparse: got void [noderef] __iomem *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1565:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *iomem_cookie @@ got void *[noderef] mmio @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1565:20: sparse: expected void volatile [noderef] __iomem *iomem_cookie
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1565:20: sparse: got void *[noderef] mmio
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1567:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *iomem_cookie @@ got void *[noderef] rscc @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1567:28: sparse: expected void volatile [noderef] __iomem *iomem_cookie
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1567:28: sparse: got void *[noderef] rscc
drivers/gpu/drm/msm/adreno/a6xx_gmu.c: note: in included file (through drivers/gpu/drm/msm/adreno/a6xx_gpu.h):
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:26: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:34: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:26: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:26: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:34: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:26: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:26: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:34: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:34: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:34: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:26: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:26: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:26: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:34: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:34: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:34: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:224:15: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:224:15: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:224:15: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:224:15: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:34: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:240:15: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:240:15: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:240:15: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:240:15: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:44: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:97:34: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:320:15: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:320:15: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:320:15: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:320:15: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:92:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
vim +166 drivers/interconnect/qcom/icc-rpmh.c
6caa3070fd5955 Georgi Djakov 2020-09-03 128
976daac4a1c581 David Dai 2020-02-28 129 /**
976daac4a1c581 David Dai 2020-02-28 130 * qcom_icc_bcm_init - populates bcm aux data and connect qnodes
976daac4a1c581 David Dai 2020-02-28 131 * @bcm: bcm to be initialized
976daac4a1c581 David Dai 2020-02-28 132 * @dev: associated provider device
976daac4a1c581 David Dai 2020-02-28 133 *
976daac4a1c581 David Dai 2020-02-28 134 * Return: 0 on success, or an error code otherwise
976daac4a1c581 David Dai 2020-02-28 135 */
976daac4a1c581 David Dai 2020-02-28 136 int qcom_icc_bcm_init(struct qcom_icc_bcm *bcm, struct device *dev)
976daac4a1c581 David Dai 2020-02-28 137 {
976daac4a1c581 David Dai 2020-02-28 138 struct qcom_icc_node *qn;
976daac4a1c581 David Dai 2020-02-28 139 const struct bcm_db *data;
976daac4a1c581 David Dai 2020-02-28 140 size_t data_count;
976daac4a1c581 David Dai 2020-02-28 141 int i;
976daac4a1c581 David Dai 2020-02-28 142
976daac4a1c581 David Dai 2020-02-28 143 /* BCM is already initialised*/
976daac4a1c581 David Dai 2020-02-28 144 if (bcm->addr)
976daac4a1c581 David Dai 2020-02-28 145 return 0;
976daac4a1c581 David Dai 2020-02-28 146
976daac4a1c581 David Dai 2020-02-28 147 bcm->addr = cmd_db_read_addr(bcm->name);
976daac4a1c581 David Dai 2020-02-28 148 if (!bcm->addr) {
976daac4a1c581 David Dai 2020-02-28 149 dev_err(dev, "%s could not find RPMh address\n",
976daac4a1c581 David Dai 2020-02-28 150 bcm->name);
976daac4a1c581 David Dai 2020-02-28 151 return -EINVAL;
976daac4a1c581 David Dai 2020-02-28 152 }
976daac4a1c581 David Dai 2020-02-28 153
976daac4a1c581 David Dai 2020-02-28 154 data = cmd_db_read_aux_data(bcm->name, &data_count);
976daac4a1c581 David Dai 2020-02-28 155 if (IS_ERR(data)) {
976daac4a1c581 David Dai 2020-02-28 156 dev_err(dev, "%s command db read error (%ld)\n",
976daac4a1c581 David Dai 2020-02-28 157 bcm->name, PTR_ERR(data));
976daac4a1c581 David Dai 2020-02-28 158 return PTR_ERR(data);
976daac4a1c581 David Dai 2020-02-28 159 }
976daac4a1c581 David Dai 2020-02-28 160 if (!data_count) {
976daac4a1c581 David Dai 2020-02-28 161 dev_err(dev, "%s command db missing or partial aux data\n",
976daac4a1c581 David Dai 2020-02-28 162 bcm->name);
976daac4a1c581 David Dai 2020-02-28 163 return -EINVAL;
976daac4a1c581 David Dai 2020-02-28 164 }
976daac4a1c581 David Dai 2020-02-28 165
976daac4a1c581 David Dai 2020-02-28 @166 bcm->aux_data.unit = le32_to_cpu(data->unit);
976daac4a1c581 David Dai 2020-02-28 @167 bcm->aux_data.width = le16_to_cpu(data->width);
976daac4a1c581 David Dai 2020-02-28 168 bcm->aux_data.vcd = data->vcd;
976daac4a1c581 David Dai 2020-02-28 169 bcm->aux_data.reserved = data->reserved;
976daac4a1c581 David Dai 2020-02-28 170 INIT_LIST_HEAD(&bcm->list);
976daac4a1c581 David Dai 2020-02-28 171 INIT_LIST_HEAD(&bcm->ws_list);
976daac4a1c581 David Dai 2020-02-28 172
cb30e0292db258 Mike Tipton 2020-09-03 173 if (!bcm->vote_scale)
cb30e0292db258 Mike Tipton 2020-09-03 174 bcm->vote_scale = 1000;
cb30e0292db258 Mike Tipton 2020-09-03 175
976daac4a1c581 David Dai 2020-02-28 176 /* Link Qnodes to their respective BCMs */
976daac4a1c581 David Dai 2020-02-28 177 for (i = 0; i < bcm->num_nodes; i++) {
976daac4a1c581 David Dai 2020-02-28 178 qn = bcm->nodes[i];
976daac4a1c581 David Dai 2020-02-28 179 qn->bcms[qn->num_bcms] = bcm;
976daac4a1c581 David Dai 2020-02-28 180 qn->num_bcms++;
976daac4a1c581 David Dai 2020-02-28 181 }
976daac4a1c581 David Dai 2020-02-28 182
976daac4a1c581 David Dai 2020-02-28 183 return 0;
976daac4a1c581 David Dai 2020-02-28 184 }
976daac4a1c581 David Dai 2020-02-28 185 EXPORT_SYMBOL_GPL(qcom_icc_bcm_init);
976daac4a1c581 David Dai 2020-02-28 186
:::::: The code at line 166 was first introduced by commit
:::::: 976daac4a1c581e5d5fd64047519fd6fcde39738 interconnect: qcom: Consolidate interconnect RPMh support
:::::: TO: David Dai <daidavid1(a)codeaurora.org>
:::::: CC: Georgi Djakov <georgi.djakov(a)linaro.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
9 months, 1 week
Consulta
by SERYS
Buenos días
Desde SERYS ENERGIA estamos informando a todas las empresas, particulares y entidades públicas acerca del servicio de autoconsumo eléctrico mediante la instalación totalmente financidada de placas solares fotovoltaicas.
Por este motivo rogamos podáis respondernos indicando una de la siguientes respuestas:
1 - Precisamos recibir presupuesto personalizado y sin compromiso (Indicar por favor nombre y teléfono de contacto).
2 - No precisamos recibir información, disponemos ya de una instalación fotovoltaica.
3 - No precisamos recibir información, no nos interesa cambiar.
Gracias por vuestra colaboración, quedamos a la espera de vuestra respuesta.
Saludos cordiales.
Departamento de autoconsumo y renovables
SERYS CONSULTING ESPAÑA
Tel. 604213428
Email. info(a)serys-energia.com
www.serys-energia.com
Antes de imprimir este e-mail piense bien si es necesario hacerlo. De conformidad con lo dispuesto en el Reglamento Europeo del 2016/679, del 27 de Abril de 2016 le informamos que la información transmitida en este mensaje está dirigida solamente a las personas o entidades que figuran en el encabezamiento y contiene información confidencial, por lo que, si usted lo recibiera por error, por favor destrúyalo sin copiarlo, usarlo ni distribuirlo, comunicándolo inmediatamente al emisor del mensaje.
Puede solicitar BAJA en el envío de correos electrónicos "PULSANDO AQUI" <mailto:bajas@serys.net?Subject=BAJA%20CORREOS> y "ENVIAR".
9 months, 1 week
include/linux/compiler_types.h:319:45: error: call to '__compiletime_assert_224' declared with attribute error: BUILD_BUG_ON failed: FIX_KMAP_SLOTS > PTRS_PER_PTE
by kernel test robot
Hi Thomas,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 2585cf9dfaaddf00b069673f27bb3f8530e2039c
commit: 6e799cb69a70eedbb41561b750f7180c12cff280 mm/highmem: Provide and use CONFIG_DEBUG_KMAP_LOCAL
date: 1 year, 1 month ago
config: arc-randconfig-r011-20211212 (https://download.01.org/0day-ci/archive/20211213/202112130903.XTxjLBdl-lk...)
compiler: arc-elf-gcc (GCC) 11.2.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://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 6e799cb69a70eedbb41561b750f7180c12cff280
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash arch/arc/mm/
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 <command-line>:
arch/arc/mm/highmem.c: In function 'kmap_init':
>> include/linux/compiler_types.h:319:45: error: call to '__compiletime_assert_224' declared with attribute error: BUILD_BUG_ON failed: FIX_KMAP_SLOTS > PTRS_PER_PTE
319 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
include/linux/compiler_types.h:300:25: note: in definition of macro '__compiletime_assert'
300 | prefix ## suffix(); \
| ^~~~~~
include/linux/compiler_types.h:319:9: note: in expansion of macro '_compiletime_assert'
319 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_MSG'
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^~~~~~~~~~~~~~~~
arch/arc/mm/highmem.c:69:9: note: in expansion of macro 'BUILD_BUG_ON'
69 | BUILD_BUG_ON(FIX_KMAP_SLOTS > PTRS_PER_PTE);
| ^~~~~~~~~~~~
vim +/__compiletime_assert_224 +319 include/linux/compiler_types.h
eb5c2d4b45e3d2 Will Deacon 2020-07-21 305
eb5c2d4b45e3d2 Will Deacon 2020-07-21 306 #define _compiletime_assert(condition, msg, prefix, suffix) \
eb5c2d4b45e3d2 Will Deacon 2020-07-21 307 __compiletime_assert(condition, msg, prefix, suffix)
eb5c2d4b45e3d2 Will Deacon 2020-07-21 308
eb5c2d4b45e3d2 Will Deacon 2020-07-21 309 /**
eb5c2d4b45e3d2 Will Deacon 2020-07-21 310 * compiletime_assert - break build and emit msg if condition is false
eb5c2d4b45e3d2 Will Deacon 2020-07-21 311 * @condition: a compile-time constant condition to check
eb5c2d4b45e3d2 Will Deacon 2020-07-21 312 * @msg: a message to emit if condition is false
eb5c2d4b45e3d2 Will Deacon 2020-07-21 313 *
eb5c2d4b45e3d2 Will Deacon 2020-07-21 314 * In tradition of POSIX assert, this macro will break the build if the
eb5c2d4b45e3d2 Will Deacon 2020-07-21 315 * supplied condition is *false*, emitting the supplied error message if the
eb5c2d4b45e3d2 Will Deacon 2020-07-21 316 * compiler has support to do so.
eb5c2d4b45e3d2 Will Deacon 2020-07-21 317 */
eb5c2d4b45e3d2 Will Deacon 2020-07-21 318 #define compiletime_assert(condition, msg) \
eb5c2d4b45e3d2 Will Deacon 2020-07-21 @319 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
eb5c2d4b45e3d2 Will Deacon 2020-07-21 320
:::::: The code at line 319 was first introduced by commit
:::::: eb5c2d4b45e3d2d5d052ea6b8f1463976b1020d5 compiler.h: Move compiletime_assert() macros into compiler_types.h
:::::: TO: Will Deacon <will(a)kernel.org>
:::::: CC: Will Deacon <will(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
9 months, 1 week
[RFC PATCH ti] v4l: vxe-enc: fix duplicated inclusion
by kernel test robot
Generated by: scripts/checkincludes.pl
Reported-by: kernel test robot <lkp(a)intel.com>
Signed-off-by: kernel test robot <lkp(a)intel.com>
---
topaz_api.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/media/platform/vxe-vxd/encoder/topaz_api.c b/drivers/media/platform/vxe-vxd/encoder/topaz_api.c
index dbaaf047c21df..56db8d0e1f030 100644
--- a/drivers/media/platform/vxe-vxd/encoder/topaz_api.c
+++ b/drivers/media/platform/vxe-vxd/encoder/topaz_api.c
@@ -21,7 +21,6 @@
#include "fw_headers/coreflags.h"
#include "fw_headers/topazscfwif.h"
#include "header_gen.h"
-#include "img_errors.h"
#include "img_mem_man.h"
#include "lst.h"
#include "reg_headers/topaz_coreext_regs.h"
9 months, 1 week