* [PATCH] sparse: use static inline for __chk_{user,io}_ptr() @ 2020-08-28 8:53 Luc Van Oostenryck 2020-08-28 11:15 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot ` (11 more replies) 0 siblings, 12 replies; 32+ messages in thread From: Luc Van Oostenryck @ 2020-08-28 8:53 UTC (permalink / raw) To: Miguel Ojeda; +Cc: linux-kernel, Luc Van Oostenryck __chk_user_ptr() & __chk_io_ptr() are dummy extern functions which only exist to enforce the typechecking of __user or __iomem pointers in macros when using sparse. This typechecking is done by inserting a call to these functions. But the presence of these calls can inhibit some simplifications and so influence the result of sparse's analysis of context/locking. Fix this by changing these calls into static inline calls with an empty body. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> --- include/linux/compiler_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Hi Miguel, Could you also take this patch in your queue? It has already be sent twice but ignored by the other channels. Many thanks, -- Luc diff --git a/include/linux/compiler_types.h b/include/linux/compiler_types.h index aaa6f051e78e..01bc5e5ae06c 100644 --- a/include/linux/compiler_types.h +++ b/include/linux/compiler_types.h @@ -11,8 +11,8 @@ # define __iomem __attribute__((noderef, address_space(__iomem))) # define __percpu __attribute__((noderef, address_space(__percpu))) # define __rcu __attribute__((noderef, address_space(__rcu))) -extern void __chk_user_ptr(const volatile void __user *); -extern void __chk_io_ptr(const volatile void __iomem *); +static inline void __chk_user_ptr(const volatile void __user *ptr) { } +static inline void __chk_io_ptr(const volatile void __iomem *ptr) { } /* context/locking */ # define __must_hold(x) __attribute__((context(x,1,1))) # define __acquires(x) __attribute__((context(x,0,1))) base-commit: 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 -- 2.28.0 ^ permalink raw reply related [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user,io}_ptr() 2020-08-28 8:53 [PATCH] sparse: use static inline for __chk_{user,io}_ptr() Luc Van Oostenryck @ 2020-08-28 11:15 ` kernel test robot 2020-08-28 11:37 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot ` (10 subsequent siblings) 11 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-08-28 11:15 UTC (permalink / raw) To: Luc Van Oostenryck, Miguel Ojeda Cc: kbuild-all, linux-kernel, Luc Van Oostenryck [-- Attachment #1: Type: text/plain, Size: 4264 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 base: 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 config: i386-randconfig-s001-20200828 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-191-g10164920-dirty # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) >> drivers/w1/slaves/w1_ds28e04.c:342:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char *buf @@ >> drivers/w1/slaves/w1_ds28e04.c:342:13: sparse: expected void const volatile [noderef] __user *ptr drivers/w1/slaves/w1_ds28e04.c:342:13: sparse: got char *buf >> drivers/w1/slaves/w1_ds28e04.c:356:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *buf @@ drivers/w1/slaves/w1_ds28e04.c:356:13: sparse: expected void const volatile [noderef] __user *ptr drivers/w1/slaves/w1_ds28e04.c:356:13: sparse: got char const *buf # https://github.com/0day-ci/linux/commit/7d01c91ac34a64f0177bc6d058cc50e805f59102 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 git checkout 7d01c91ac34a64f0177bc6d058cc50e805f59102 vim +342 drivers/w1/slaves/w1_ds28e04.c fa33a65a9cf7e2 Greg Kroah-Hartman 2013-08-21 338 fa33a65a9cf7e2 Greg Kroah-Hartman 2013-08-21 339 static ssize_t crccheck_show(struct device *dev, struct device_attribute *attr, fa33a65a9cf7e2 Greg Kroah-Hartman 2013-08-21 340 char *buf) fbf7f7b4e2ae40 Markus Franke 2012-05-26 341 { fbf7f7b4e2ae40 Markus Franke 2012-05-26 @342 if (put_user(w1_enable_crccheck + 0x30, buf)) fbf7f7b4e2ae40 Markus Franke 2012-05-26 343 return -EFAULT; fbf7f7b4e2ae40 Markus Franke 2012-05-26 344 fbf7f7b4e2ae40 Markus Franke 2012-05-26 345 return sizeof(w1_enable_crccheck); fbf7f7b4e2ae40 Markus Franke 2012-05-26 346 } fbf7f7b4e2ae40 Markus Franke 2012-05-26 347 fa33a65a9cf7e2 Greg Kroah-Hartman 2013-08-21 348 static ssize_t crccheck_store(struct device *dev, struct device_attribute *attr, fbf7f7b4e2ae40 Markus Franke 2012-05-26 349 const char *buf, size_t count) fbf7f7b4e2ae40 Markus Franke 2012-05-26 350 { fbf7f7b4e2ae40 Markus Franke 2012-05-26 351 char val; fbf7f7b4e2ae40 Markus Franke 2012-05-26 352 fbf7f7b4e2ae40 Markus Franke 2012-05-26 353 if (count != 1 || !buf) fbf7f7b4e2ae40 Markus Franke 2012-05-26 354 return -EINVAL; fbf7f7b4e2ae40 Markus Franke 2012-05-26 355 fbf7f7b4e2ae40 Markus Franke 2012-05-26 @356 if (get_user(val, buf)) fbf7f7b4e2ae40 Markus Franke 2012-05-26 357 return -EFAULT; fbf7f7b4e2ae40 Markus Franke 2012-05-26 358 fbf7f7b4e2ae40 Markus Franke 2012-05-26 359 /* convert to decimal */ fbf7f7b4e2ae40 Markus Franke 2012-05-26 360 val = val - 0x30; fbf7f7b4e2ae40 Markus Franke 2012-05-26 361 if (val != 0 && val != 1) fbf7f7b4e2ae40 Markus Franke 2012-05-26 362 return -EINVAL; fbf7f7b4e2ae40 Markus Franke 2012-05-26 363 fbf7f7b4e2ae40 Markus Franke 2012-05-26 364 /* set the new value */ fbf7f7b4e2ae40 Markus Franke 2012-05-26 365 w1_enable_crccheck = val; fbf7f7b4e2ae40 Markus Franke 2012-05-26 366 fbf7f7b4e2ae40 Markus Franke 2012-05-26 367 return sizeof(w1_enable_crccheck); fbf7f7b4e2ae40 Markus Franke 2012-05-26 368 } fbf7f7b4e2ae40 Markus Franke 2012-05-26 369 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 33137 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user, io}_ptr() @ 2020-08-28 11:15 ` kernel test robot 0 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-08-28 11:15 UTC (permalink / raw) To: kbuild-all [-- Attachment #1: Type: text/plain, Size: 4337 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 base: 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 config: i386-randconfig-s001-20200828 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-191-g10164920-dirty # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) >> drivers/w1/slaves/w1_ds28e04.c:342:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char *buf @@ >> drivers/w1/slaves/w1_ds28e04.c:342:13: sparse: expected void const volatile [noderef] __user *ptr drivers/w1/slaves/w1_ds28e04.c:342:13: sparse: got char *buf >> drivers/w1/slaves/w1_ds28e04.c:356:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *buf @@ drivers/w1/slaves/w1_ds28e04.c:356:13: sparse: expected void const volatile [noderef] __user *ptr drivers/w1/slaves/w1_ds28e04.c:356:13: sparse: got char const *buf # https://github.com/0day-ci/linux/commit/7d01c91ac34a64f0177bc6d058cc50e805f59102 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 git checkout 7d01c91ac34a64f0177bc6d058cc50e805f59102 vim +342 drivers/w1/slaves/w1_ds28e04.c fa33a65a9cf7e2 Greg Kroah-Hartman 2013-08-21 338 fa33a65a9cf7e2 Greg Kroah-Hartman 2013-08-21 339 static ssize_t crccheck_show(struct device *dev, struct device_attribute *attr, fa33a65a9cf7e2 Greg Kroah-Hartman 2013-08-21 340 char *buf) fbf7f7b4e2ae40 Markus Franke 2012-05-26 341 { fbf7f7b4e2ae40 Markus Franke 2012-05-26 @342 if (put_user(w1_enable_crccheck + 0x30, buf)) fbf7f7b4e2ae40 Markus Franke 2012-05-26 343 return -EFAULT; fbf7f7b4e2ae40 Markus Franke 2012-05-26 344 fbf7f7b4e2ae40 Markus Franke 2012-05-26 345 return sizeof(w1_enable_crccheck); fbf7f7b4e2ae40 Markus Franke 2012-05-26 346 } fbf7f7b4e2ae40 Markus Franke 2012-05-26 347 fa33a65a9cf7e2 Greg Kroah-Hartman 2013-08-21 348 static ssize_t crccheck_store(struct device *dev, struct device_attribute *attr, fbf7f7b4e2ae40 Markus Franke 2012-05-26 349 const char *buf, size_t count) fbf7f7b4e2ae40 Markus Franke 2012-05-26 350 { fbf7f7b4e2ae40 Markus Franke 2012-05-26 351 char val; fbf7f7b4e2ae40 Markus Franke 2012-05-26 352 fbf7f7b4e2ae40 Markus Franke 2012-05-26 353 if (count != 1 || !buf) fbf7f7b4e2ae40 Markus Franke 2012-05-26 354 return -EINVAL; fbf7f7b4e2ae40 Markus Franke 2012-05-26 355 fbf7f7b4e2ae40 Markus Franke 2012-05-26 @356 if (get_user(val, buf)) fbf7f7b4e2ae40 Markus Franke 2012-05-26 357 return -EFAULT; fbf7f7b4e2ae40 Markus Franke 2012-05-26 358 fbf7f7b4e2ae40 Markus Franke 2012-05-26 359 /* convert to decimal */ fbf7f7b4e2ae40 Markus Franke 2012-05-26 360 val = val - 0x30; fbf7f7b4e2ae40 Markus Franke 2012-05-26 361 if (val != 0 && val != 1) fbf7f7b4e2ae40 Markus Franke 2012-05-26 362 return -EINVAL; fbf7f7b4e2ae40 Markus Franke 2012-05-26 363 fbf7f7b4e2ae40 Markus Franke 2012-05-26 364 /* set the new value */ fbf7f7b4e2ae40 Markus Franke 2012-05-26 365 w1_enable_crccheck = val; fbf7f7b4e2ae40 Markus Franke 2012-05-26 366 fbf7f7b4e2ae40 Markus Franke 2012-05-26 367 return sizeof(w1_enable_crccheck); fbf7f7b4e2ae40 Markus Franke 2012-05-26 368 } fbf7f7b4e2ae40 Markus Franke 2012-05-26 369 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 33137 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user,io}_ptr() 2020-08-28 8:53 [PATCH] sparse: use static inline for __chk_{user,io}_ptr() Luc Van Oostenryck @ 2020-08-28 11:37 ` kernel test robot 2020-08-28 11:37 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot ` (10 subsequent siblings) 11 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-08-28 11:37 UTC (permalink / raw) To: Luc Van Oostenryck, Miguel Ojeda Cc: kbuild-all, linux-kernel, Luc Van Oostenryck [-- Attachment #1: Type: text/plain, Size: 6388 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 base: 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 config: arc-randconfig-s031-20200828 (attached as .config) compiler: arceb-elf-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.2-191-g10164920-dirty # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=arc If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) >> arch/arc/kernel/process.c:70:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int *uaddr @@ >> arch/arc/kernel/process.c:70:15: sparse: expected void const volatile [noderef] __user *ptr arch/arc/kernel/process.c:70:15: sparse: got int *uaddr arch/arc/kernel/process.c:77:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int *uaddr @@ arch/arc/kernel/process.c:77:15: sparse: expected void const volatile [noderef] __user *ptr arch/arc/kernel/process.c:77:15: sparse: got int *uaddr # https://github.com/0day-ci/linux/commit/7d01c91ac34a64f0177bc6d058cc50e805f59102 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 git checkout 7d01c91ac34a64f0177bc6d058cc50e805f59102 vim +70 arch/arc/kernel/process.c bf90e1eab682dcb Vineet Gupta 2013-01-18 45 91e040a79df73d3 Vineet Gupta 2016-10-20 46 SYSCALL_DEFINE3(arc_usr_cmpxchg, int *, uaddr, int, expected, int, new) 91e040a79df73d3 Vineet Gupta 2016-10-20 47 { e6e335bf3a400bc Vineet Gupta 2016-11-07 48 struct pt_regs *regs = current_pt_regs(); e8708786d4fe21c Peter Zijlstra 2018-06-19 49 u32 uval; e8708786d4fe21c Peter Zijlstra 2018-06-19 50 int ret; 91e040a79df73d3 Vineet Gupta 2016-10-20 51 91e040a79df73d3 Vineet Gupta 2016-10-20 52 /* 91e040a79df73d3 Vineet Gupta 2016-10-20 53 * This is only for old cores lacking LLOCK/SCOND, which by defintion 91e040a79df73d3 Vineet Gupta 2016-10-20 54 * can't possibly be SMP. Thus doesn't need to be SMP safe. 91e040a79df73d3 Vineet Gupta 2016-10-20 55 * And this also helps reduce the overhead for serializing in 91e040a79df73d3 Vineet Gupta 2016-10-20 56 * the UP case 91e040a79df73d3 Vineet Gupta 2016-10-20 57 */ 91e040a79df73d3 Vineet Gupta 2016-10-20 58 WARN_ON_ONCE(IS_ENABLED(CONFIG_SMP)); 91e040a79df73d3 Vineet Gupta 2016-10-20 59 e6e335bf3a400bc Vineet Gupta 2016-11-07 60 /* Z indicates to userspace if operation succeded */ e6e335bf3a400bc Vineet Gupta 2016-11-07 61 regs->status32 &= ~STATUS_Z_MASK; e6e335bf3a400bc Vineet Gupta 2016-11-07 62 96d4f267e40f950 Linus Torvalds 2019-01-03 63 ret = access_ok(uaddr, sizeof(*uaddr)); e8708786d4fe21c Peter Zijlstra 2018-06-19 64 if (!ret) e8708786d4fe21c Peter Zijlstra 2018-06-19 65 goto fail; 91e040a79df73d3 Vineet Gupta 2016-10-20 66 e8708786d4fe21c Peter Zijlstra 2018-06-19 67 again: 91e040a79df73d3 Vineet Gupta 2016-10-20 68 preempt_disable(); 91e040a79df73d3 Vineet Gupta 2016-10-20 69 e8708786d4fe21c Peter Zijlstra 2018-06-19 @70 ret = __get_user(uval, uaddr); e8708786d4fe21c Peter Zijlstra 2018-06-19 71 if (ret) e8708786d4fe21c Peter Zijlstra 2018-06-19 72 goto fault; e8708786d4fe21c Peter Zijlstra 2018-06-19 73 e8708786d4fe21c Peter Zijlstra 2018-06-19 74 if (uval != expected) e8708786d4fe21c Peter Zijlstra 2018-06-19 75 goto out; e8708786d4fe21c Peter Zijlstra 2018-06-19 76 e8708786d4fe21c Peter Zijlstra 2018-06-19 77 ret = __put_user(new, uaddr); e8708786d4fe21c Peter Zijlstra 2018-06-19 78 if (ret) e8708786d4fe21c Peter Zijlstra 2018-06-19 79 goto fault; 91e040a79df73d3 Vineet Gupta 2016-10-20 80 e6e335bf3a400bc Vineet Gupta 2016-11-07 81 regs->status32 |= STATUS_Z_MASK; 91e040a79df73d3 Vineet Gupta 2016-10-20 82 e8708786d4fe21c Peter Zijlstra 2018-06-19 83 out: 91e040a79df73d3 Vineet Gupta 2016-10-20 84 preempt_enable(); e6e335bf3a400bc Vineet Gupta 2016-11-07 85 return uval; e8708786d4fe21c Peter Zijlstra 2018-06-19 86 e8708786d4fe21c Peter Zijlstra 2018-06-19 87 fault: e8708786d4fe21c Peter Zijlstra 2018-06-19 88 preempt_enable(); e8708786d4fe21c Peter Zijlstra 2018-06-19 89 e8708786d4fe21c Peter Zijlstra 2018-06-19 90 if (unlikely(ret != -EFAULT)) e8708786d4fe21c Peter Zijlstra 2018-06-19 91 goto fail; e8708786d4fe21c Peter Zijlstra 2018-06-19 92 d8ed45c5dcd455f Michel Lespinasse 2020-06-08 93 mmap_read_lock(current->mm); 64019a2e467a288 Peter Xu 2020-08-11 94 ret = fixup_user_fault(current->mm, (unsigned long) uaddr, e8708786d4fe21c Peter Zijlstra 2018-06-19 95 FAULT_FLAG_WRITE, NULL); d8ed45c5dcd455f Michel Lespinasse 2020-06-08 96 mmap_read_unlock(current->mm); e8708786d4fe21c Peter Zijlstra 2018-06-19 97 e8708786d4fe21c Peter Zijlstra 2018-06-19 98 if (likely(!ret)) e8708786d4fe21c Peter Zijlstra 2018-06-19 99 goto again; e8708786d4fe21c Peter Zijlstra 2018-06-19 100 e8708786d4fe21c Peter Zijlstra 2018-06-19 101 fail: 3cf5d076fb4d489 Eric W. Biederman 2019-05-23 102 force_sig(SIGSEGV); e8708786d4fe21c Peter Zijlstra 2018-06-19 103 return ret; 91e040a79df73d3 Vineet Gupta 2016-10-20 104 } 91e040a79df73d3 Vineet Gupta 2016-10-20 105 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 30133 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user, io}_ptr() @ 2020-08-28 11:37 ` kernel test robot 0 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-08-28 11:37 UTC (permalink / raw) To: kbuild-all [-- Attachment #1: Type: text/plain, Size: 6492 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 base: 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 config: arc-randconfig-s031-20200828 (attached as .config) compiler: arceb-elf-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.2-191-g10164920-dirty # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=arc If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) >> arch/arc/kernel/process.c:70:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int *uaddr @@ >> arch/arc/kernel/process.c:70:15: sparse: expected void const volatile [noderef] __user *ptr arch/arc/kernel/process.c:70:15: sparse: got int *uaddr arch/arc/kernel/process.c:77:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int *uaddr @@ arch/arc/kernel/process.c:77:15: sparse: expected void const volatile [noderef] __user *ptr arch/arc/kernel/process.c:77:15: sparse: got int *uaddr # https://github.com/0day-ci/linux/commit/7d01c91ac34a64f0177bc6d058cc50e805f59102 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 git checkout 7d01c91ac34a64f0177bc6d058cc50e805f59102 vim +70 arch/arc/kernel/process.c bf90e1eab682dcb Vineet Gupta 2013-01-18 45 91e040a79df73d3 Vineet Gupta 2016-10-20 46 SYSCALL_DEFINE3(arc_usr_cmpxchg, int *, uaddr, int, expected, int, new) 91e040a79df73d3 Vineet Gupta 2016-10-20 47 { e6e335bf3a400bc Vineet Gupta 2016-11-07 48 struct pt_regs *regs = current_pt_regs(); e8708786d4fe21c Peter Zijlstra 2018-06-19 49 u32 uval; e8708786d4fe21c Peter Zijlstra 2018-06-19 50 int ret; 91e040a79df73d3 Vineet Gupta 2016-10-20 51 91e040a79df73d3 Vineet Gupta 2016-10-20 52 /* 91e040a79df73d3 Vineet Gupta 2016-10-20 53 * This is only for old cores lacking LLOCK/SCOND, which by defintion 91e040a79df73d3 Vineet Gupta 2016-10-20 54 * can't possibly be SMP. Thus doesn't need to be SMP safe. 91e040a79df73d3 Vineet Gupta 2016-10-20 55 * And this also helps reduce the overhead for serializing in 91e040a79df73d3 Vineet Gupta 2016-10-20 56 * the UP case 91e040a79df73d3 Vineet Gupta 2016-10-20 57 */ 91e040a79df73d3 Vineet Gupta 2016-10-20 58 WARN_ON_ONCE(IS_ENABLED(CONFIG_SMP)); 91e040a79df73d3 Vineet Gupta 2016-10-20 59 e6e335bf3a400bc Vineet Gupta 2016-11-07 60 /* Z indicates to userspace if operation succeded */ e6e335bf3a400bc Vineet Gupta 2016-11-07 61 regs->status32 &= ~STATUS_Z_MASK; e6e335bf3a400bc Vineet Gupta 2016-11-07 62 96d4f267e40f950 Linus Torvalds 2019-01-03 63 ret = access_ok(uaddr, sizeof(*uaddr)); e8708786d4fe21c Peter Zijlstra 2018-06-19 64 if (!ret) e8708786d4fe21c Peter Zijlstra 2018-06-19 65 goto fail; 91e040a79df73d3 Vineet Gupta 2016-10-20 66 e8708786d4fe21c Peter Zijlstra 2018-06-19 67 again: 91e040a79df73d3 Vineet Gupta 2016-10-20 68 preempt_disable(); 91e040a79df73d3 Vineet Gupta 2016-10-20 69 e8708786d4fe21c Peter Zijlstra 2018-06-19 @70 ret = __get_user(uval, uaddr); e8708786d4fe21c Peter Zijlstra 2018-06-19 71 if (ret) e8708786d4fe21c Peter Zijlstra 2018-06-19 72 goto fault; e8708786d4fe21c Peter Zijlstra 2018-06-19 73 e8708786d4fe21c Peter Zijlstra 2018-06-19 74 if (uval != expected) e8708786d4fe21c Peter Zijlstra 2018-06-19 75 goto out; e8708786d4fe21c Peter Zijlstra 2018-06-19 76 e8708786d4fe21c Peter Zijlstra 2018-06-19 77 ret = __put_user(new, uaddr); e8708786d4fe21c Peter Zijlstra 2018-06-19 78 if (ret) e8708786d4fe21c Peter Zijlstra 2018-06-19 79 goto fault; 91e040a79df73d3 Vineet Gupta 2016-10-20 80 e6e335bf3a400bc Vineet Gupta 2016-11-07 81 regs->status32 |= STATUS_Z_MASK; 91e040a79df73d3 Vineet Gupta 2016-10-20 82 e8708786d4fe21c Peter Zijlstra 2018-06-19 83 out: 91e040a79df73d3 Vineet Gupta 2016-10-20 84 preempt_enable(); e6e335bf3a400bc Vineet Gupta 2016-11-07 85 return uval; e8708786d4fe21c Peter Zijlstra 2018-06-19 86 e8708786d4fe21c Peter Zijlstra 2018-06-19 87 fault: e8708786d4fe21c Peter Zijlstra 2018-06-19 88 preempt_enable(); e8708786d4fe21c Peter Zijlstra 2018-06-19 89 e8708786d4fe21c Peter Zijlstra 2018-06-19 90 if (unlikely(ret != -EFAULT)) e8708786d4fe21c Peter Zijlstra 2018-06-19 91 goto fail; e8708786d4fe21c Peter Zijlstra 2018-06-19 92 d8ed45c5dcd455f Michel Lespinasse 2020-06-08 93 mmap_read_lock(current->mm); 64019a2e467a288 Peter Xu 2020-08-11 94 ret = fixup_user_fault(current->mm, (unsigned long) uaddr, e8708786d4fe21c Peter Zijlstra 2018-06-19 95 FAULT_FLAG_WRITE, NULL); d8ed45c5dcd455f Michel Lespinasse 2020-06-08 96 mmap_read_unlock(current->mm); e8708786d4fe21c Peter Zijlstra 2018-06-19 97 e8708786d4fe21c Peter Zijlstra 2018-06-19 98 if (likely(!ret)) e8708786d4fe21c Peter Zijlstra 2018-06-19 99 goto again; e8708786d4fe21c Peter Zijlstra 2018-06-19 100 e8708786d4fe21c Peter Zijlstra 2018-06-19 101 fail: 3cf5d076fb4d489 Eric W. Biederman 2019-05-23 102 force_sig(SIGSEGV); e8708786d4fe21c Peter Zijlstra 2018-06-19 103 return ret; 91e040a79df73d3 Vineet Gupta 2016-10-20 104 } 91e040a79df73d3 Vineet Gupta 2016-10-20 105 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 30133 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user,io}_ptr() 2020-08-28 8:53 [PATCH] sparse: use static inline for __chk_{user,io}_ptr() Luc Van Oostenryck @ 2020-08-28 12:20 ` kernel test robot 2020-08-28 11:37 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot ` (10 subsequent siblings) 11 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-08-28 12:20 UTC (permalink / raw) To: Luc Van Oostenryck, Miguel Ojeda Cc: kbuild-all, linux-kernel, Luc Van Oostenryck [-- Attachment #1: Type: text/plain, Size: 38331 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 base: 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 config: x86_64-randconfig-s021-20200828 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-191-g10164920-dirty # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) >> drivers/firmware/efi/test/efi_test.c:157:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long *[addressable] data_size @@ >> drivers/firmware/efi/test/efi_test.c:157:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:157:13: sparse: got unsigned long *[addressable] data_size drivers/firmware/efi/test/efi_test.c:160:61: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got struct guid_t [usertype] *[addressable] vendor_guid @@ drivers/firmware/efi/test/efi_test.c:160:61: sparse: expected void const [noderef] __user *from drivers/firmware/efi/test/efi_test.c:160:61: sparse: got struct guid_t [usertype] *[addressable] vendor_guid drivers/firmware/efi/test/efi_test.c:167:60: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected unsigned short [noderef] [usertype] __user *src @@ got unsigned short [usertype] *[addressable] variable_name @@ drivers/firmware/efi/test/efi_test.c:167:60: sparse: expected unsigned short [noderef] [usertype] __user *src drivers/firmware/efi/test/efi_test.c:167:60: sparse: got unsigned short [usertype] *[addressable] variable_name >> drivers/firmware/efi/test/efi_test.c:187:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long [usertype] *[addressable] status @@ drivers/firmware/efi/test/efi_test.c:187:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:187:13: sparse: got unsigned long [usertype] *[addressable] status drivers/firmware/efi/test/efi_test.c:194:35: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long *[addressable] data_size @@ drivers/firmware/efi/test/efi_test.c:194:35: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:194:35: sparse: got unsigned long *[addressable] data_size drivers/firmware/efi/test/efi_test.c:209:45: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got void *[addressable] data @@ drivers/firmware/efi/test/efi_test.c:209:45: sparse: expected void [noderef] __user *to drivers/firmware/efi/test/efi_test.c:209:45: sparse: got void *[addressable] data >> drivers/firmware/efi/test/efi_test.c:215:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] *[addressable] attributes @@ drivers/firmware/efi/test/efi_test.c:215:19: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:215:19: sparse: got unsigned int [usertype] *[addressable] attributes drivers/firmware/efi/test/efi_test.c:220:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long *[addressable] data_size @@ drivers/firmware/efi/test/efi_test.c:220:19: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:220:19: sparse: got unsigned long *[addressable] data_size drivers/firmware/efi/test/efi_test.c:243:53: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got struct guid_t [usertype] *[addressable] vendor_guid @@ drivers/firmware/efi/test/efi_test.c:243:53: sparse: expected void const [noderef] __user *from drivers/firmware/efi/test/efi_test.c:243:53: sparse: got struct guid_t [usertype] *[addressable] vendor_guid drivers/firmware/efi/test/efi_test.c:248:60: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected unsigned short [noderef] [usertype] __user *src @@ got unsigned short [usertype] *[addressable] variable_name @@ drivers/firmware/efi/test/efi_test.c:248:60: sparse: expected unsigned short [noderef] [usertype] __user *src drivers/firmware/efi/test/efi_test.c:248:60: sparse: got unsigned short [usertype] *[addressable] variable_name drivers/firmware/efi/test/efi_test.c:253:39: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __user * @@ got void *[addressable] data @@ drivers/firmware/efi/test/efi_test.c:253:39: sparse: expected void const [noderef] __user * drivers/firmware/efi/test/efi_test.c:253:39: sparse: got void *[addressable] data drivers/firmware/efi/test/efi_test.c:263:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long [usertype] *[addressable] status @@ drivers/firmware/efi/test/efi_test.c:263:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:263:13: sparse: got unsigned long [usertype] *[addressable] status drivers/firmware/efi/test/efi_test.c:292:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long [usertype] *[addressable] status @@ drivers/firmware/efi/test/efi_test.c:292:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:292:13: sparse: got unsigned long [usertype] *[addressable] status drivers/firmware/efi/test/efi_test.c:301:27: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct efi_time_cap_t [noderef] [usertype] __user *cap_local @@ got struct efi_time_cap_t [usertype] * @@ drivers/firmware/efi/test/efi_test.c:301:27: sparse: expected struct efi_time_cap_t [noderef] [usertype] __user *cap_local drivers/firmware/efi/test/efi_test.c:301:27: sparse: got struct efi_time_cap_t [usertype] * drivers/firmware/efi/test/efi_test.c:308:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got struct efi_time_t [usertype] *[addressable] time @@ drivers/firmware/efi/test/efi_test.c:308:41: sparse: expected void [noderef] __user *to drivers/firmware/efi/test/efi_test.c:308:41: sparse: got struct efi_time_t [usertype] *[addressable] time drivers/firmware/efi/test/efi_test.c:325:46: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got struct efi_time_t [usertype] *[addressable] time @@ drivers/firmware/efi/test/efi_test.c:325:46: sparse: expected void const [noderef] __user *from drivers/firmware/efi/test/efi_test.c:325:46: sparse: got struct efi_time_t [usertype] *[addressable] time drivers/firmware/efi/test/efi_test.c:330:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long [usertype] *[addressable] status @@ drivers/firmware/efi/test/efi_test.c:330:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:330:13: sparse: got unsigned long [usertype] *[addressable] status drivers/firmware/efi/test/efi_test.c:354:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long [usertype] *[addressable] status @@ drivers/firmware/efi/test/efi_test.c:354:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:354:13: sparse: got unsigned long [usertype] *[addressable] status >> drivers/firmware/efi/test/efi_test.c:360:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char [usertype] *[addressable] enabled @@ drivers/firmware/efi/test/efi_test.c:360:38: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:360:38: sparse: got unsigned char [usertype] *[addressable] enabled drivers/firmware/efi/test/efi_test.c:365:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got struct efi_time_t [usertype] *[addressable] time @@ drivers/firmware/efi/test/efi_test.c:365:47: sparse: expected void [noderef] __user *to drivers/firmware/efi/test/efi_test.c:365:47: sparse: got struct efi_time_t [usertype] *[addressable] time drivers/firmware/efi/test/efi_test.c:389:60: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got struct efi_time_t [usertype] *[addressable] time @@ drivers/firmware/efi/test/efi_test.c:389:60: sparse: expected void const [noderef] __user *from drivers/firmware/efi/test/efi_test.c:389:60: sparse: got struct efi_time_t [usertype] *[addressable] time drivers/firmware/efi/test/efi_test.c:397:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long [usertype] *[addressable] status @@ drivers/firmware/efi/test/efi_test.c:397:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:397:13: sparse: got unsigned long [usertype] *[addressable] status >> drivers/firmware/efi/test/efi_test.c:421:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long *[addressable] variable_name_size @@ drivers/firmware/efi/test/efi_test.c:421:21: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:421:21: sparse: got unsigned long *[addressable] variable_name_size drivers/firmware/efi/test/efi_test.c:429:52: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got struct guid_t [usertype] *[addressable] vendor_guid @@ drivers/firmware/efi/test/efi_test.c:429:52: sparse: expected void const [noderef] __user *from drivers/firmware/efi/test/efi_test.c:429:52: sparse: got struct guid_t [usertype] *[addressable] vendor_guid drivers/firmware/efi/test/efi_test.c:439:52: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected unsigned short [noderef] [usertype] __user *src @@ got unsigned short [usertype] *[addressable] variable_name @@ drivers/firmware/efi/test/efi_test.c:439:52: sparse: expected unsigned short [noderef] [usertype] __user *src drivers/firmware/efi/test/efi_test.c:439:52: sparse: got unsigned short [usertype] *[addressable] variable_name drivers/firmware/efi/test/efi_test.c:452:52: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected unsigned short [noderef] [usertype] __user *src @@ got unsigned short [usertype] *[addressable] variable_name @@ drivers/firmware/efi/test/efi_test.c:452:52: sparse: expected unsigned short [noderef] [usertype] __user *src drivers/firmware/efi/test/efi_test.c:452:52: sparse: got unsigned short [usertype] *[addressable] variable_name drivers/firmware/efi/test/efi_test.c:461:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long [usertype] *[addressable] status @@ drivers/firmware/efi/test/efi_test.c:461:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:461:13: sparse: got unsigned long [usertype] *[addressable] status drivers/firmware/efi/test/efi_test.c:468:35: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long *[addressable] variable_name_size @@ drivers/firmware/efi/test/efi_test.c:468:35: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:468:35: sparse: got unsigned long *[addressable] variable_name_size drivers/firmware/efi/test/efi_test.c:479:62: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected unsigned short [noderef] [usertype] __user *dst @@ got unsigned short [usertype] *[addressable] variable_name @@ drivers/firmware/efi/test/efi_test.c:479:62: sparse: expected unsigned short [noderef] [usertype] __user *dst drivers/firmware/efi/test/efi_test.c:479:62: sparse: got unsigned short [usertype] *[addressable] variable_name drivers/firmware/efi/test/efi_test.c:487:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long *[addressable] variable_name_size @@ drivers/firmware/efi/test/efi_test.c:487:21: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:487:21: sparse: got unsigned long *[addressable] variable_name_size drivers/firmware/efi/test/efi_test.c:494:53: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got struct guid_t [usertype] *[addressable] vendor_guid @@ drivers/firmware/efi/test/efi_test.c:494:53: sparse: expected void [noderef] __user *to drivers/firmware/efi/test/efi_test.c:494:53: sparse: got struct guid_t [usertype] *[addressable] vendor_guid drivers/firmware/efi/test/efi_test.c:522:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long [usertype] *[addressable] status @@ drivers/firmware/efi/test/efi_test.c:522:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:522:13: sparse: got unsigned long [usertype] *[addressable] status >> drivers/firmware/efi/test/efi_test.c:529:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] *[addressable] high_count @@ drivers/firmware/efi/test/efi_test.c:529:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:529:13: sparse: got unsigned int [usertype] *[addressable] high_count drivers/firmware/efi/test/efi_test.c:546:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __user * @@ got void * @@ drivers/firmware/efi/test/efi_test.c:546:37: sparse: expected void const [noderef] __user * drivers/firmware/efi/test/efi_test.c:546:37: sparse: got void * drivers/firmware/efi/test/efi_test.c:575:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long [usertype] *[addressable] status @@ drivers/firmware/efi/test/efi_test.c:575:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:575:13: sparse: got unsigned long [usertype] *[addressable] status >> drivers/firmware/efi/test/efi_test.c:581:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long long [usertype] *[addressable] maximum_variable_storage_size @@ drivers/firmware/efi/test/efi_test.c:581:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:581:13: sparse: got unsigned long long [usertype] *[addressable] maximum_variable_storage_size >> drivers/firmware/efi/test/efi_test.c:585:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long long [usertype] *[addressable] remaining_variable_storage_size @@ drivers/firmware/efi/test/efi_test.c:585:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:585:13: sparse: got unsigned long long [usertype] *[addressable] remaining_variable_storage_size drivers/firmware/efi/test/efi_test.c:589:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long long [usertype] *[addressable] maximum_variable_size @@ drivers/firmware/efi/test/efi_test.c:589:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:589:13: sparse: got unsigned long long [usertype] *[addressable] maximum_variable_size >> drivers/firmware/efi/test/efi_test.c:625:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got struct efi_capsule_header_t [usertype] ** @@ drivers/firmware/efi/test/efi_test.c:625:21: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:625:21: sparse: got struct efi_capsule_header_t [usertype] ** drivers/firmware/efi/test/efi_test.c:629:50: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got struct efi_capsule_header_t [usertype] *[assigned] c @@ drivers/firmware/efi/test/efi_test.c:629:50: sparse: expected void const [noderef] __user *from drivers/firmware/efi/test/efi_test.c:629:50: sparse: got struct efi_capsule_header_t [usertype] *[assigned] c >> drivers/firmware/efi/test/efi_test.c:643:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long [usertype] *[addressable] [assigned] status @@ drivers/firmware/efi/test/efi_test.c:643:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:643:13: sparse: got unsigned long [usertype] *[addressable] [assigned] status >> drivers/firmware/efi/test/efi_test.c:653:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long long [usertype] *[addressable] [assigned] maximum_capsule_size @@ drivers/firmware/efi/test/efi_test.c:653:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:653:13: sparse: got unsigned long long [usertype] *[addressable] [assigned] maximum_capsule_size >> drivers/firmware/efi/test/efi_test.c:658:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int *[addressable] [assigned] reset_type @@ drivers/firmware/efi/test/efi_test.c:658:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:658:13: sparse: got int *[addressable] [assigned] reset_type drivers/firmware/efi/test/efi_test.c:35:27: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short [usertype] *s @@ got unsigned short [noderef] [usertype] __user *str @@ drivers/firmware/efi/test/efi_test.c:35:27: sparse: expected unsigned short [usertype] *s drivers/firmware/efi/test/efi_test.c:35:27: sparse: got unsigned short [noderef] [usertype] __user *str >> drivers/firmware/efi/test/efi_test.c:44:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short [usertype] * @@ drivers/firmware/efi/test/efi_test.c:44:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:44:13: sparse: got unsigned short [usertype] * drivers/firmware/efi/test/efi_test.c:50:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short [usertype] * @@ drivers/firmware/efi/test/efi_test.c:50:21: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:50:21: sparse: got unsigned short [usertype] * drivers/firmware/efi/test/efi_test.c:35:27: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short [usertype] *[assigned] s @@ got unsigned short [noderef] [usertype] __user *str @@ drivers/firmware/efi/test/efi_test.c:35:27: sparse: expected unsigned short [usertype] *[assigned] s drivers/firmware/efi/test/efi_test.c:35:27: sparse: got unsigned short [noderef] [usertype] __user *str >> drivers/firmware/efi/test/efi_test.c:44:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short [usertype] * @@ drivers/firmware/efi/test/efi_test.c:44:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:44:13: sparse: got unsigned short [usertype] * drivers/firmware/efi/test/efi_test.c:50:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short [usertype] * @@ drivers/firmware/efi/test/efi_test.c:50:21: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:50:21: sparse: got unsigned short [usertype] * drivers/firmware/efi/test/efi_test.c:35:27: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short [usertype] *[assigned] s @@ got unsigned short [noderef] [usertype] __user *str @@ drivers/firmware/efi/test/efi_test.c:35:27: sparse: expected unsigned short [usertype] *[assigned] s drivers/firmware/efi/test/efi_test.c:35:27: sparse: got unsigned short [noderef] [usertype] __user *str >> drivers/firmware/efi/test/efi_test.c:44:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short [usertype] * @@ drivers/firmware/efi/test/efi_test.c:44:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:44:13: sparse: got unsigned short [usertype] * drivers/firmware/efi/test/efi_test.c:50:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short [usertype] * @@ drivers/firmware/efi/test/efi_test.c:50:21: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:50:21: sparse: got unsigned short [usertype] * # https://github.com/0day-ci/linux/commit/7d01c91ac34a64f0177bc6d058cc50e805f59102 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 git checkout 7d01c91ac34a64f0177bc6d058cc50e805f59102 vim +157 drivers/firmware/efi/test/efi_test.c ff6301dabc3ca20 Ivan Hu 2016-08-25 26 ff6301dabc3ca20 Ivan Hu 2016-08-25 27 /* ff6301dabc3ca20 Ivan Hu 2016-08-25 28 * Count the bytes in 'str', including the terminating NULL. ff6301dabc3ca20 Ivan Hu 2016-08-25 29 * ff6301dabc3ca20 Ivan Hu 2016-08-25 30 * Note this function returns the number of *bytes*, not the number of ff6301dabc3ca20 Ivan Hu 2016-08-25 31 * ucs2 characters. ff6301dabc3ca20 Ivan Hu 2016-08-25 32 */ ff6301dabc3ca20 Ivan Hu 2016-08-25 33 static inline size_t user_ucs2_strsize(efi_char16_t __user *str) ff6301dabc3ca20 Ivan Hu 2016-08-25 34 { ff6301dabc3ca20 Ivan Hu 2016-08-25 35 efi_char16_t *s = str, c; ff6301dabc3ca20 Ivan Hu 2016-08-25 36 size_t len; ff6301dabc3ca20 Ivan Hu 2016-08-25 37 ff6301dabc3ca20 Ivan Hu 2016-08-25 38 if (!str) ff6301dabc3ca20 Ivan Hu 2016-08-25 39 return 0; ff6301dabc3ca20 Ivan Hu 2016-08-25 40 ff6301dabc3ca20 Ivan Hu 2016-08-25 41 /* Include terminating NULL */ ff6301dabc3ca20 Ivan Hu 2016-08-25 42 len = sizeof(efi_char16_t); ff6301dabc3ca20 Ivan Hu 2016-08-25 43 ff6301dabc3ca20 Ivan Hu 2016-08-25 @44 if (get_user(c, s++)) { ff6301dabc3ca20 Ivan Hu 2016-08-25 45 /* Can't read userspace memory for size */ ff6301dabc3ca20 Ivan Hu 2016-08-25 46 return 0; ff6301dabc3ca20 Ivan Hu 2016-08-25 47 } ff6301dabc3ca20 Ivan Hu 2016-08-25 48 ff6301dabc3ca20 Ivan Hu 2016-08-25 49 while (c != 0) { ff6301dabc3ca20 Ivan Hu 2016-08-25 50 if (get_user(c, s++)) { ff6301dabc3ca20 Ivan Hu 2016-08-25 51 /* Can't read userspace memory for size */ ff6301dabc3ca20 Ivan Hu 2016-08-25 52 return 0; ff6301dabc3ca20 Ivan Hu 2016-08-25 53 } ff6301dabc3ca20 Ivan Hu 2016-08-25 54 len += sizeof(efi_char16_t); ff6301dabc3ca20 Ivan Hu 2016-08-25 55 } ff6301dabc3ca20 Ivan Hu 2016-08-25 56 return len; ff6301dabc3ca20 Ivan Hu 2016-08-25 57 } ff6301dabc3ca20 Ivan Hu 2016-08-25 58 ff6301dabc3ca20 Ivan Hu 2016-08-25 59 /* ff6301dabc3ca20 Ivan Hu 2016-08-25 60 * Allocate a buffer and copy a ucs2 string from user space into it. ff6301dabc3ca20 Ivan Hu 2016-08-25 61 */ ff6301dabc3ca20 Ivan Hu 2016-08-25 62 static inline int ff6301dabc3ca20 Ivan Hu 2016-08-25 63 copy_ucs2_from_user_len(efi_char16_t **dst, efi_char16_t __user *src, ff6301dabc3ca20 Ivan Hu 2016-08-25 64 size_t len) ff6301dabc3ca20 Ivan Hu 2016-08-25 65 { ff6301dabc3ca20 Ivan Hu 2016-08-25 66 efi_char16_t *buf; ff6301dabc3ca20 Ivan Hu 2016-08-25 67 ff6301dabc3ca20 Ivan Hu 2016-08-25 68 if (!src) { ff6301dabc3ca20 Ivan Hu 2016-08-25 69 *dst = NULL; ff6301dabc3ca20 Ivan Hu 2016-08-25 70 return 0; ff6301dabc3ca20 Ivan Hu 2016-08-25 71 } ff6301dabc3ca20 Ivan Hu 2016-08-25 72 5f72cad65cfaac5 Geliang Tang 2017-06-02 73 buf = memdup_user(src, len); 5f72cad65cfaac5 Geliang Tang 2017-06-02 74 if (IS_ERR(buf)) { ff6301dabc3ca20 Ivan Hu 2016-08-25 75 *dst = NULL; 5f72cad65cfaac5 Geliang Tang 2017-06-02 76 return PTR_ERR(buf); ff6301dabc3ca20 Ivan Hu 2016-08-25 77 } ff6301dabc3ca20 Ivan Hu 2016-08-25 78 *dst = buf; ff6301dabc3ca20 Ivan Hu 2016-08-25 79 ff6301dabc3ca20 Ivan Hu 2016-08-25 80 return 0; ff6301dabc3ca20 Ivan Hu 2016-08-25 81 } ff6301dabc3ca20 Ivan Hu 2016-08-25 82 ff6301dabc3ca20 Ivan Hu 2016-08-25 83 /* ff6301dabc3ca20 Ivan Hu 2016-08-25 84 * Count the bytes in 'str', including the terminating NULL. ff6301dabc3ca20 Ivan Hu 2016-08-25 85 * ff6301dabc3ca20 Ivan Hu 2016-08-25 86 * Just a wrap for user_ucs2_strsize ff6301dabc3ca20 Ivan Hu 2016-08-25 87 */ ff6301dabc3ca20 Ivan Hu 2016-08-25 88 static inline int ff6301dabc3ca20 Ivan Hu 2016-08-25 89 get_ucs2_strsize_from_user(efi_char16_t __user *src, size_t *len) ff6301dabc3ca20 Ivan Hu 2016-08-25 90 { ff6301dabc3ca20 Ivan Hu 2016-08-25 91 *len = user_ucs2_strsize(src); ff6301dabc3ca20 Ivan Hu 2016-08-25 92 if (*len == 0) ff6301dabc3ca20 Ivan Hu 2016-08-25 93 return -EFAULT; ff6301dabc3ca20 Ivan Hu 2016-08-25 94 ff6301dabc3ca20 Ivan Hu 2016-08-25 95 return 0; ff6301dabc3ca20 Ivan Hu 2016-08-25 96 } ff6301dabc3ca20 Ivan Hu 2016-08-25 97 ff6301dabc3ca20 Ivan Hu 2016-08-25 98 /* ff6301dabc3ca20 Ivan Hu 2016-08-25 99 * Calculate the required buffer allocation size and copy a ucs2 string ff6301dabc3ca20 Ivan Hu 2016-08-25 100 * from user space into it. ff6301dabc3ca20 Ivan Hu 2016-08-25 101 * ff6301dabc3ca20 Ivan Hu 2016-08-25 102 * This function differs from copy_ucs2_from_user_len() because it ff6301dabc3ca20 Ivan Hu 2016-08-25 103 * calculates the size of the buffer to allocate by taking the length of ff6301dabc3ca20 Ivan Hu 2016-08-25 104 * the string 'src'. ff6301dabc3ca20 Ivan Hu 2016-08-25 105 * ff6301dabc3ca20 Ivan Hu 2016-08-25 106 * If a non-zero value is returned, the caller MUST NOT access 'dst'. ff6301dabc3ca20 Ivan Hu 2016-08-25 107 * ff6301dabc3ca20 Ivan Hu 2016-08-25 108 * It is the caller's responsibility to free 'dst'. ff6301dabc3ca20 Ivan Hu 2016-08-25 109 */ ff6301dabc3ca20 Ivan Hu 2016-08-25 110 static inline int ff6301dabc3ca20 Ivan Hu 2016-08-25 111 copy_ucs2_from_user(efi_char16_t **dst, efi_char16_t __user *src) ff6301dabc3ca20 Ivan Hu 2016-08-25 112 { ff6301dabc3ca20 Ivan Hu 2016-08-25 113 size_t len; ff6301dabc3ca20 Ivan Hu 2016-08-25 114 ff6301dabc3ca20 Ivan Hu 2016-08-25 115 len = user_ucs2_strsize(src); ff6301dabc3ca20 Ivan Hu 2016-08-25 116 if (len == 0) ff6301dabc3ca20 Ivan Hu 2016-08-25 117 return -EFAULT; ff6301dabc3ca20 Ivan Hu 2016-08-25 118 return copy_ucs2_from_user_len(dst, src, len); ff6301dabc3ca20 Ivan Hu 2016-08-25 119 } ff6301dabc3ca20 Ivan Hu 2016-08-25 120 ff6301dabc3ca20 Ivan Hu 2016-08-25 121 /* ff6301dabc3ca20 Ivan Hu 2016-08-25 122 * Copy a ucs2 string to a user buffer. ff6301dabc3ca20 Ivan Hu 2016-08-25 123 * ff6301dabc3ca20 Ivan Hu 2016-08-25 124 * This function is a simple wrapper around copy_to_user() that does ff6301dabc3ca20 Ivan Hu 2016-08-25 125 * nothing if 'src' is NULL, which is useful for reducing the amount of ff6301dabc3ca20 Ivan Hu 2016-08-25 126 * NULL checking the caller has to do. ff6301dabc3ca20 Ivan Hu 2016-08-25 127 * ff6301dabc3ca20 Ivan Hu 2016-08-25 128 * 'len' specifies the number of bytes to copy. ff6301dabc3ca20 Ivan Hu 2016-08-25 129 */ ff6301dabc3ca20 Ivan Hu 2016-08-25 130 static inline int ff6301dabc3ca20 Ivan Hu 2016-08-25 131 copy_ucs2_to_user_len(efi_char16_t __user *dst, efi_char16_t *src, size_t len) ff6301dabc3ca20 Ivan Hu 2016-08-25 132 { ff6301dabc3ca20 Ivan Hu 2016-08-25 133 if (!src) ff6301dabc3ca20 Ivan Hu 2016-08-25 134 return 0; ff6301dabc3ca20 Ivan Hu 2016-08-25 135 ff6301dabc3ca20 Ivan Hu 2016-08-25 136 return copy_to_user(dst, src, len); ff6301dabc3ca20 Ivan Hu 2016-08-25 137 } ff6301dabc3ca20 Ivan Hu 2016-08-25 138 ff6301dabc3ca20 Ivan Hu 2016-08-25 139 static long efi_runtime_get_variable(unsigned long arg) ff6301dabc3ca20 Ivan Hu 2016-08-25 140 { ff6301dabc3ca20 Ivan Hu 2016-08-25 141 struct efi_getvariable __user *getvariable_user; ff6301dabc3ca20 Ivan Hu 2016-08-25 142 struct efi_getvariable getvariable; 46b9b7135332d1e Ivan Hu 2016-10-18 143 unsigned long datasize = 0, prev_datasize, *dz; ff6301dabc3ca20 Ivan Hu 2016-08-25 144 efi_guid_t vendor_guid, *vd = NULL; ff6301dabc3ca20 Ivan Hu 2016-08-25 145 efi_status_t status; ff6301dabc3ca20 Ivan Hu 2016-08-25 146 efi_char16_t *name = NULL; ff6301dabc3ca20 Ivan Hu 2016-08-25 147 u32 attr, *at; ff6301dabc3ca20 Ivan Hu 2016-08-25 148 void *data = NULL; ff6301dabc3ca20 Ivan Hu 2016-08-25 149 int rv = 0; ff6301dabc3ca20 Ivan Hu 2016-08-25 150 ff6301dabc3ca20 Ivan Hu 2016-08-25 151 getvariable_user = (struct efi_getvariable __user *)arg; ff6301dabc3ca20 Ivan Hu 2016-08-25 152 ff6301dabc3ca20 Ivan Hu 2016-08-25 153 if (copy_from_user(&getvariable, getvariable_user, ff6301dabc3ca20 Ivan Hu 2016-08-25 154 sizeof(getvariable))) ff6301dabc3ca20 Ivan Hu 2016-08-25 155 return -EFAULT; ff6301dabc3ca20 Ivan Hu 2016-08-25 156 if (getvariable.data_size && ff6301dabc3ca20 Ivan Hu 2016-08-25 @157 get_user(datasize, getvariable.data_size)) ff6301dabc3ca20 Ivan Hu 2016-08-25 158 return -EFAULT; ff6301dabc3ca20 Ivan Hu 2016-08-25 159 if (getvariable.vendor_guid) { ff6301dabc3ca20 Ivan Hu 2016-08-25 160 if (copy_from_user(&vendor_guid, getvariable.vendor_guid, ff6301dabc3ca20 Ivan Hu 2016-08-25 161 sizeof(vendor_guid))) ff6301dabc3ca20 Ivan Hu 2016-08-25 162 return -EFAULT; ff6301dabc3ca20 Ivan Hu 2016-08-25 163 vd = &vendor_guid; ff6301dabc3ca20 Ivan Hu 2016-08-25 164 } ff6301dabc3ca20 Ivan Hu 2016-08-25 165 ff6301dabc3ca20 Ivan Hu 2016-08-25 166 if (getvariable.variable_name) { ff6301dabc3ca20 Ivan Hu 2016-08-25 167 rv = copy_ucs2_from_user(&name, getvariable.variable_name); ff6301dabc3ca20 Ivan Hu 2016-08-25 168 if (rv) ff6301dabc3ca20 Ivan Hu 2016-08-25 169 return rv; ff6301dabc3ca20 Ivan Hu 2016-08-25 170 } ff6301dabc3ca20 Ivan Hu 2016-08-25 171 ff6301dabc3ca20 Ivan Hu 2016-08-25 172 at = getvariable.attributes ? &attr : NULL; ff6301dabc3ca20 Ivan Hu 2016-08-25 173 dz = getvariable.data_size ? &datasize : NULL; ff6301dabc3ca20 Ivan Hu 2016-08-25 174 ff6301dabc3ca20 Ivan Hu 2016-08-25 175 if (getvariable.data_size && getvariable.data) { ff6301dabc3ca20 Ivan Hu 2016-08-25 176 data = kmalloc(datasize, GFP_KERNEL); ff6301dabc3ca20 Ivan Hu 2016-08-25 177 if (!data) { ff6301dabc3ca20 Ivan Hu 2016-08-25 178 kfree(name); ff6301dabc3ca20 Ivan Hu 2016-08-25 179 return -ENOMEM; ff6301dabc3ca20 Ivan Hu 2016-08-25 180 } ff6301dabc3ca20 Ivan Hu 2016-08-25 181 } ff6301dabc3ca20 Ivan Hu 2016-08-25 182 ff6301dabc3ca20 Ivan Hu 2016-08-25 183 prev_datasize = datasize; ff6301dabc3ca20 Ivan Hu 2016-08-25 184 status = efi.get_variable(name, vd, at, dz, data); ff6301dabc3ca20 Ivan Hu 2016-08-25 185 kfree(name); ff6301dabc3ca20 Ivan Hu 2016-08-25 186 ff6301dabc3ca20 Ivan Hu 2016-08-25 @187 if (put_user(status, getvariable.status)) { ff6301dabc3ca20 Ivan Hu 2016-08-25 188 rv = -EFAULT; ff6301dabc3ca20 Ivan Hu 2016-08-25 189 goto out; ff6301dabc3ca20 Ivan Hu 2016-08-25 190 } ff6301dabc3ca20 Ivan Hu 2016-08-25 191 ff6301dabc3ca20 Ivan Hu 2016-08-25 192 if (status != EFI_SUCCESS) { ff6301dabc3ca20 Ivan Hu 2016-08-25 193 if (status == EFI_BUFFER_TOO_SMALL) { ff6301dabc3ca20 Ivan Hu 2016-08-25 194 if (dz && put_user(datasize, getvariable.data_size)) { ff6301dabc3ca20 Ivan Hu 2016-08-25 195 rv = -EFAULT; ff6301dabc3ca20 Ivan Hu 2016-08-25 196 goto out; ff6301dabc3ca20 Ivan Hu 2016-08-25 197 } ff6301dabc3ca20 Ivan Hu 2016-08-25 198 } ff6301dabc3ca20 Ivan Hu 2016-08-25 199 rv = -EINVAL; ff6301dabc3ca20 Ivan Hu 2016-08-25 200 goto out; ff6301dabc3ca20 Ivan Hu 2016-08-25 201 } ff6301dabc3ca20 Ivan Hu 2016-08-25 202 ff6301dabc3ca20 Ivan Hu 2016-08-25 203 if (prev_datasize < datasize) { ff6301dabc3ca20 Ivan Hu 2016-08-25 204 rv = -EINVAL; ff6301dabc3ca20 Ivan Hu 2016-08-25 205 goto out; ff6301dabc3ca20 Ivan Hu 2016-08-25 206 } ff6301dabc3ca20 Ivan Hu 2016-08-25 207 ff6301dabc3ca20 Ivan Hu 2016-08-25 208 if (data) { ff6301dabc3ca20 Ivan Hu 2016-08-25 209 if (copy_to_user(getvariable.data, data, datasize)) { ff6301dabc3ca20 Ivan Hu 2016-08-25 210 rv = -EFAULT; ff6301dabc3ca20 Ivan Hu 2016-08-25 211 goto out; ff6301dabc3ca20 Ivan Hu 2016-08-25 212 } ff6301dabc3ca20 Ivan Hu 2016-08-25 213 } ff6301dabc3ca20 Ivan Hu 2016-08-25 214 ff6301dabc3ca20 Ivan Hu 2016-08-25 @215 if (at && put_user(attr, getvariable.attributes)) { ff6301dabc3ca20 Ivan Hu 2016-08-25 216 rv = -EFAULT; ff6301dabc3ca20 Ivan Hu 2016-08-25 217 goto out; ff6301dabc3ca20 Ivan Hu 2016-08-25 218 } ff6301dabc3ca20 Ivan Hu 2016-08-25 219 ff6301dabc3ca20 Ivan Hu 2016-08-25 220 if (dz && put_user(datasize, getvariable.data_size)) ff6301dabc3ca20 Ivan Hu 2016-08-25 221 rv = -EFAULT; ff6301dabc3ca20 Ivan Hu 2016-08-25 222 ff6301dabc3ca20 Ivan Hu 2016-08-25 223 out: ff6301dabc3ca20 Ivan Hu 2016-08-25 224 kfree(data); ff6301dabc3ca20 Ivan Hu 2016-08-25 225 return rv; ff6301dabc3ca20 Ivan Hu 2016-08-25 226 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 36305 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user, io}_ptr() @ 2020-08-28 12:20 ` kernel test robot 0 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-08-28 12:20 UTC (permalink / raw) To: kbuild-all [-- Attachment #1: Type: text/plain, Size: 38721 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 base: 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 config: x86_64-randconfig-s021-20200828 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-191-g10164920-dirty # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) >> drivers/firmware/efi/test/efi_test.c:157:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long *[addressable] data_size @@ >> drivers/firmware/efi/test/efi_test.c:157:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:157:13: sparse: got unsigned long *[addressable] data_size drivers/firmware/efi/test/efi_test.c:160:61: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got struct guid_t [usertype] *[addressable] vendor_guid @@ drivers/firmware/efi/test/efi_test.c:160:61: sparse: expected void const [noderef] __user *from drivers/firmware/efi/test/efi_test.c:160:61: sparse: got struct guid_t [usertype] *[addressable] vendor_guid drivers/firmware/efi/test/efi_test.c:167:60: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected unsigned short [noderef] [usertype] __user *src @@ got unsigned short [usertype] *[addressable] variable_name @@ drivers/firmware/efi/test/efi_test.c:167:60: sparse: expected unsigned short [noderef] [usertype] __user *src drivers/firmware/efi/test/efi_test.c:167:60: sparse: got unsigned short [usertype] *[addressable] variable_name >> drivers/firmware/efi/test/efi_test.c:187:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long [usertype] *[addressable] status @@ drivers/firmware/efi/test/efi_test.c:187:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:187:13: sparse: got unsigned long [usertype] *[addressable] status drivers/firmware/efi/test/efi_test.c:194:35: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long *[addressable] data_size @@ drivers/firmware/efi/test/efi_test.c:194:35: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:194:35: sparse: got unsigned long *[addressable] data_size drivers/firmware/efi/test/efi_test.c:209:45: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got void *[addressable] data @@ drivers/firmware/efi/test/efi_test.c:209:45: sparse: expected void [noderef] __user *to drivers/firmware/efi/test/efi_test.c:209:45: sparse: got void *[addressable] data >> drivers/firmware/efi/test/efi_test.c:215:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] *[addressable] attributes @@ drivers/firmware/efi/test/efi_test.c:215:19: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:215:19: sparse: got unsigned int [usertype] *[addressable] attributes drivers/firmware/efi/test/efi_test.c:220:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long *[addressable] data_size @@ drivers/firmware/efi/test/efi_test.c:220:19: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:220:19: sparse: got unsigned long *[addressable] data_size drivers/firmware/efi/test/efi_test.c:243:53: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got struct guid_t [usertype] *[addressable] vendor_guid @@ drivers/firmware/efi/test/efi_test.c:243:53: sparse: expected void const [noderef] __user *from drivers/firmware/efi/test/efi_test.c:243:53: sparse: got struct guid_t [usertype] *[addressable] vendor_guid drivers/firmware/efi/test/efi_test.c:248:60: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected unsigned short [noderef] [usertype] __user *src @@ got unsigned short [usertype] *[addressable] variable_name @@ drivers/firmware/efi/test/efi_test.c:248:60: sparse: expected unsigned short [noderef] [usertype] __user *src drivers/firmware/efi/test/efi_test.c:248:60: sparse: got unsigned short [usertype] *[addressable] variable_name drivers/firmware/efi/test/efi_test.c:253:39: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __user * @@ got void *[addressable] data @@ drivers/firmware/efi/test/efi_test.c:253:39: sparse: expected void const [noderef] __user * drivers/firmware/efi/test/efi_test.c:253:39: sparse: got void *[addressable] data drivers/firmware/efi/test/efi_test.c:263:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long [usertype] *[addressable] status @@ drivers/firmware/efi/test/efi_test.c:263:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:263:13: sparse: got unsigned long [usertype] *[addressable] status drivers/firmware/efi/test/efi_test.c:292:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long [usertype] *[addressable] status @@ drivers/firmware/efi/test/efi_test.c:292:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:292:13: sparse: got unsigned long [usertype] *[addressable] status drivers/firmware/efi/test/efi_test.c:301:27: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct efi_time_cap_t [noderef] [usertype] __user *cap_local @@ got struct efi_time_cap_t [usertype] * @@ drivers/firmware/efi/test/efi_test.c:301:27: sparse: expected struct efi_time_cap_t [noderef] [usertype] __user *cap_local drivers/firmware/efi/test/efi_test.c:301:27: sparse: got struct efi_time_cap_t [usertype] * drivers/firmware/efi/test/efi_test.c:308:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got struct efi_time_t [usertype] *[addressable] time @@ drivers/firmware/efi/test/efi_test.c:308:41: sparse: expected void [noderef] __user *to drivers/firmware/efi/test/efi_test.c:308:41: sparse: got struct efi_time_t [usertype] *[addressable] time drivers/firmware/efi/test/efi_test.c:325:46: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got struct efi_time_t [usertype] *[addressable] time @@ drivers/firmware/efi/test/efi_test.c:325:46: sparse: expected void const [noderef] __user *from drivers/firmware/efi/test/efi_test.c:325:46: sparse: got struct efi_time_t [usertype] *[addressable] time drivers/firmware/efi/test/efi_test.c:330:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long [usertype] *[addressable] status @@ drivers/firmware/efi/test/efi_test.c:330:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:330:13: sparse: got unsigned long [usertype] *[addressable] status drivers/firmware/efi/test/efi_test.c:354:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long [usertype] *[addressable] status @@ drivers/firmware/efi/test/efi_test.c:354:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:354:13: sparse: got unsigned long [usertype] *[addressable] status >> drivers/firmware/efi/test/efi_test.c:360:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char [usertype] *[addressable] enabled @@ drivers/firmware/efi/test/efi_test.c:360:38: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:360:38: sparse: got unsigned char [usertype] *[addressable] enabled drivers/firmware/efi/test/efi_test.c:365:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got struct efi_time_t [usertype] *[addressable] time @@ drivers/firmware/efi/test/efi_test.c:365:47: sparse: expected void [noderef] __user *to drivers/firmware/efi/test/efi_test.c:365:47: sparse: got struct efi_time_t [usertype] *[addressable] time drivers/firmware/efi/test/efi_test.c:389:60: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got struct efi_time_t [usertype] *[addressable] time @@ drivers/firmware/efi/test/efi_test.c:389:60: sparse: expected void const [noderef] __user *from drivers/firmware/efi/test/efi_test.c:389:60: sparse: got struct efi_time_t [usertype] *[addressable] time drivers/firmware/efi/test/efi_test.c:397:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long [usertype] *[addressable] status @@ drivers/firmware/efi/test/efi_test.c:397:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:397:13: sparse: got unsigned long [usertype] *[addressable] status >> drivers/firmware/efi/test/efi_test.c:421:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long *[addressable] variable_name_size @@ drivers/firmware/efi/test/efi_test.c:421:21: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:421:21: sparse: got unsigned long *[addressable] variable_name_size drivers/firmware/efi/test/efi_test.c:429:52: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got struct guid_t [usertype] *[addressable] vendor_guid @@ drivers/firmware/efi/test/efi_test.c:429:52: sparse: expected void const [noderef] __user *from drivers/firmware/efi/test/efi_test.c:429:52: sparse: got struct guid_t [usertype] *[addressable] vendor_guid drivers/firmware/efi/test/efi_test.c:439:52: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected unsigned short [noderef] [usertype] __user *src @@ got unsigned short [usertype] *[addressable] variable_name @@ drivers/firmware/efi/test/efi_test.c:439:52: sparse: expected unsigned short [noderef] [usertype] __user *src drivers/firmware/efi/test/efi_test.c:439:52: sparse: got unsigned short [usertype] *[addressable] variable_name drivers/firmware/efi/test/efi_test.c:452:52: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected unsigned short [noderef] [usertype] __user *src @@ got unsigned short [usertype] *[addressable] variable_name @@ drivers/firmware/efi/test/efi_test.c:452:52: sparse: expected unsigned short [noderef] [usertype] __user *src drivers/firmware/efi/test/efi_test.c:452:52: sparse: got unsigned short [usertype] *[addressable] variable_name drivers/firmware/efi/test/efi_test.c:461:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long [usertype] *[addressable] status @@ drivers/firmware/efi/test/efi_test.c:461:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:461:13: sparse: got unsigned long [usertype] *[addressable] status drivers/firmware/efi/test/efi_test.c:468:35: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long *[addressable] variable_name_size @@ drivers/firmware/efi/test/efi_test.c:468:35: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:468:35: sparse: got unsigned long *[addressable] variable_name_size drivers/firmware/efi/test/efi_test.c:479:62: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected unsigned short [noderef] [usertype] __user *dst @@ got unsigned short [usertype] *[addressable] variable_name @@ drivers/firmware/efi/test/efi_test.c:479:62: sparse: expected unsigned short [noderef] [usertype] __user *dst drivers/firmware/efi/test/efi_test.c:479:62: sparse: got unsigned short [usertype] *[addressable] variable_name drivers/firmware/efi/test/efi_test.c:487:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long *[addressable] variable_name_size @@ drivers/firmware/efi/test/efi_test.c:487:21: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:487:21: sparse: got unsigned long *[addressable] variable_name_size drivers/firmware/efi/test/efi_test.c:494:53: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got struct guid_t [usertype] *[addressable] vendor_guid @@ drivers/firmware/efi/test/efi_test.c:494:53: sparse: expected void [noderef] __user *to drivers/firmware/efi/test/efi_test.c:494:53: sparse: got struct guid_t [usertype] *[addressable] vendor_guid drivers/firmware/efi/test/efi_test.c:522:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long [usertype] *[addressable] status @@ drivers/firmware/efi/test/efi_test.c:522:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:522:13: sparse: got unsigned long [usertype] *[addressable] status >> drivers/firmware/efi/test/efi_test.c:529:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] *[addressable] high_count @@ drivers/firmware/efi/test/efi_test.c:529:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:529:13: sparse: got unsigned int [usertype] *[addressable] high_count drivers/firmware/efi/test/efi_test.c:546:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __user * @@ got void * @@ drivers/firmware/efi/test/efi_test.c:546:37: sparse: expected void const [noderef] __user * drivers/firmware/efi/test/efi_test.c:546:37: sparse: got void * drivers/firmware/efi/test/efi_test.c:575:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long [usertype] *[addressable] status @@ drivers/firmware/efi/test/efi_test.c:575:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:575:13: sparse: got unsigned long [usertype] *[addressable] status >> drivers/firmware/efi/test/efi_test.c:581:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long long [usertype] *[addressable] maximum_variable_storage_size @@ drivers/firmware/efi/test/efi_test.c:581:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:581:13: sparse: got unsigned long long [usertype] *[addressable] maximum_variable_storage_size >> drivers/firmware/efi/test/efi_test.c:585:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long long [usertype] *[addressable] remaining_variable_storage_size @@ drivers/firmware/efi/test/efi_test.c:585:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:585:13: sparse: got unsigned long long [usertype] *[addressable] remaining_variable_storage_size drivers/firmware/efi/test/efi_test.c:589:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long long [usertype] *[addressable] maximum_variable_size @@ drivers/firmware/efi/test/efi_test.c:589:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:589:13: sparse: got unsigned long long [usertype] *[addressable] maximum_variable_size >> drivers/firmware/efi/test/efi_test.c:625:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got struct efi_capsule_header_t [usertype] ** @@ drivers/firmware/efi/test/efi_test.c:625:21: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:625:21: sparse: got struct efi_capsule_header_t [usertype] ** drivers/firmware/efi/test/efi_test.c:629:50: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got struct efi_capsule_header_t [usertype] *[assigned] c @@ drivers/firmware/efi/test/efi_test.c:629:50: sparse: expected void const [noderef] __user *from drivers/firmware/efi/test/efi_test.c:629:50: sparse: got struct efi_capsule_header_t [usertype] *[assigned] c >> drivers/firmware/efi/test/efi_test.c:643:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long [usertype] *[addressable] [assigned] status @@ drivers/firmware/efi/test/efi_test.c:643:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:643:13: sparse: got unsigned long [usertype] *[addressable] [assigned] status >> drivers/firmware/efi/test/efi_test.c:653:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long long [usertype] *[addressable] [assigned] maximum_capsule_size @@ drivers/firmware/efi/test/efi_test.c:653:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:653:13: sparse: got unsigned long long [usertype] *[addressable] [assigned] maximum_capsule_size >> drivers/firmware/efi/test/efi_test.c:658:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int *[addressable] [assigned] reset_type @@ drivers/firmware/efi/test/efi_test.c:658:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:658:13: sparse: got int *[addressable] [assigned] reset_type drivers/firmware/efi/test/efi_test.c:35:27: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short [usertype] *s @@ got unsigned short [noderef] [usertype] __user *str @@ drivers/firmware/efi/test/efi_test.c:35:27: sparse: expected unsigned short [usertype] *s drivers/firmware/efi/test/efi_test.c:35:27: sparse: got unsigned short [noderef] [usertype] __user *str >> drivers/firmware/efi/test/efi_test.c:44:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short [usertype] * @@ drivers/firmware/efi/test/efi_test.c:44:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:44:13: sparse: got unsigned short [usertype] * drivers/firmware/efi/test/efi_test.c:50:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short [usertype] * @@ drivers/firmware/efi/test/efi_test.c:50:21: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:50:21: sparse: got unsigned short [usertype] * drivers/firmware/efi/test/efi_test.c:35:27: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short [usertype] *[assigned] s @@ got unsigned short [noderef] [usertype] __user *str @@ drivers/firmware/efi/test/efi_test.c:35:27: sparse: expected unsigned short [usertype] *[assigned] s drivers/firmware/efi/test/efi_test.c:35:27: sparse: got unsigned short [noderef] [usertype] __user *str >> drivers/firmware/efi/test/efi_test.c:44:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short [usertype] * @@ drivers/firmware/efi/test/efi_test.c:44:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:44:13: sparse: got unsigned short [usertype] * drivers/firmware/efi/test/efi_test.c:50:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short [usertype] * @@ drivers/firmware/efi/test/efi_test.c:50:21: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:50:21: sparse: got unsigned short [usertype] * drivers/firmware/efi/test/efi_test.c:35:27: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short [usertype] *[assigned] s @@ got unsigned short [noderef] [usertype] __user *str @@ drivers/firmware/efi/test/efi_test.c:35:27: sparse: expected unsigned short [usertype] *[assigned] s drivers/firmware/efi/test/efi_test.c:35:27: sparse: got unsigned short [noderef] [usertype] __user *str >> drivers/firmware/efi/test/efi_test.c:44:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short [usertype] * @@ drivers/firmware/efi/test/efi_test.c:44:13: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:44:13: sparse: got unsigned short [usertype] * drivers/firmware/efi/test/efi_test.c:50:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short [usertype] * @@ drivers/firmware/efi/test/efi_test.c:50:21: sparse: expected void const volatile [noderef] __user *ptr drivers/firmware/efi/test/efi_test.c:50:21: sparse: got unsigned short [usertype] * # https://github.com/0day-ci/linux/commit/7d01c91ac34a64f0177bc6d058cc50e805f59102 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 git checkout 7d01c91ac34a64f0177bc6d058cc50e805f59102 vim +157 drivers/firmware/efi/test/efi_test.c ff6301dabc3ca20 Ivan Hu 2016-08-25 26 ff6301dabc3ca20 Ivan Hu 2016-08-25 27 /* ff6301dabc3ca20 Ivan Hu 2016-08-25 28 * Count the bytes in 'str', including the terminating NULL. ff6301dabc3ca20 Ivan Hu 2016-08-25 29 * ff6301dabc3ca20 Ivan Hu 2016-08-25 30 * Note this function returns the number of *bytes*, not the number of ff6301dabc3ca20 Ivan Hu 2016-08-25 31 * ucs2 characters. ff6301dabc3ca20 Ivan Hu 2016-08-25 32 */ ff6301dabc3ca20 Ivan Hu 2016-08-25 33 static inline size_t user_ucs2_strsize(efi_char16_t __user *str) ff6301dabc3ca20 Ivan Hu 2016-08-25 34 { ff6301dabc3ca20 Ivan Hu 2016-08-25 35 efi_char16_t *s = str, c; ff6301dabc3ca20 Ivan Hu 2016-08-25 36 size_t len; ff6301dabc3ca20 Ivan Hu 2016-08-25 37 ff6301dabc3ca20 Ivan Hu 2016-08-25 38 if (!str) ff6301dabc3ca20 Ivan Hu 2016-08-25 39 return 0; ff6301dabc3ca20 Ivan Hu 2016-08-25 40 ff6301dabc3ca20 Ivan Hu 2016-08-25 41 /* Include terminating NULL */ ff6301dabc3ca20 Ivan Hu 2016-08-25 42 len = sizeof(efi_char16_t); ff6301dabc3ca20 Ivan Hu 2016-08-25 43 ff6301dabc3ca20 Ivan Hu 2016-08-25 @44 if (get_user(c, s++)) { ff6301dabc3ca20 Ivan Hu 2016-08-25 45 /* Can't read userspace memory for size */ ff6301dabc3ca20 Ivan Hu 2016-08-25 46 return 0; ff6301dabc3ca20 Ivan Hu 2016-08-25 47 } ff6301dabc3ca20 Ivan Hu 2016-08-25 48 ff6301dabc3ca20 Ivan Hu 2016-08-25 49 while (c != 0) { ff6301dabc3ca20 Ivan Hu 2016-08-25 50 if (get_user(c, s++)) { ff6301dabc3ca20 Ivan Hu 2016-08-25 51 /* Can't read userspace memory for size */ ff6301dabc3ca20 Ivan Hu 2016-08-25 52 return 0; ff6301dabc3ca20 Ivan Hu 2016-08-25 53 } ff6301dabc3ca20 Ivan Hu 2016-08-25 54 len += sizeof(efi_char16_t); ff6301dabc3ca20 Ivan Hu 2016-08-25 55 } ff6301dabc3ca20 Ivan Hu 2016-08-25 56 return len; ff6301dabc3ca20 Ivan Hu 2016-08-25 57 } ff6301dabc3ca20 Ivan Hu 2016-08-25 58 ff6301dabc3ca20 Ivan Hu 2016-08-25 59 /* ff6301dabc3ca20 Ivan Hu 2016-08-25 60 * Allocate a buffer and copy a ucs2 string from user space into it. ff6301dabc3ca20 Ivan Hu 2016-08-25 61 */ ff6301dabc3ca20 Ivan Hu 2016-08-25 62 static inline int ff6301dabc3ca20 Ivan Hu 2016-08-25 63 copy_ucs2_from_user_len(efi_char16_t **dst, efi_char16_t __user *src, ff6301dabc3ca20 Ivan Hu 2016-08-25 64 size_t len) ff6301dabc3ca20 Ivan Hu 2016-08-25 65 { ff6301dabc3ca20 Ivan Hu 2016-08-25 66 efi_char16_t *buf; ff6301dabc3ca20 Ivan Hu 2016-08-25 67 ff6301dabc3ca20 Ivan Hu 2016-08-25 68 if (!src) { ff6301dabc3ca20 Ivan Hu 2016-08-25 69 *dst = NULL; ff6301dabc3ca20 Ivan Hu 2016-08-25 70 return 0; ff6301dabc3ca20 Ivan Hu 2016-08-25 71 } ff6301dabc3ca20 Ivan Hu 2016-08-25 72 5f72cad65cfaac5 Geliang Tang 2017-06-02 73 buf = memdup_user(src, len); 5f72cad65cfaac5 Geliang Tang 2017-06-02 74 if (IS_ERR(buf)) { ff6301dabc3ca20 Ivan Hu 2016-08-25 75 *dst = NULL; 5f72cad65cfaac5 Geliang Tang 2017-06-02 76 return PTR_ERR(buf); ff6301dabc3ca20 Ivan Hu 2016-08-25 77 } ff6301dabc3ca20 Ivan Hu 2016-08-25 78 *dst = buf; ff6301dabc3ca20 Ivan Hu 2016-08-25 79 ff6301dabc3ca20 Ivan Hu 2016-08-25 80 return 0; ff6301dabc3ca20 Ivan Hu 2016-08-25 81 } ff6301dabc3ca20 Ivan Hu 2016-08-25 82 ff6301dabc3ca20 Ivan Hu 2016-08-25 83 /* ff6301dabc3ca20 Ivan Hu 2016-08-25 84 * Count the bytes in 'str', including the terminating NULL. ff6301dabc3ca20 Ivan Hu 2016-08-25 85 * ff6301dabc3ca20 Ivan Hu 2016-08-25 86 * Just a wrap for user_ucs2_strsize ff6301dabc3ca20 Ivan Hu 2016-08-25 87 */ ff6301dabc3ca20 Ivan Hu 2016-08-25 88 static inline int ff6301dabc3ca20 Ivan Hu 2016-08-25 89 get_ucs2_strsize_from_user(efi_char16_t __user *src, size_t *len) ff6301dabc3ca20 Ivan Hu 2016-08-25 90 { ff6301dabc3ca20 Ivan Hu 2016-08-25 91 *len = user_ucs2_strsize(src); ff6301dabc3ca20 Ivan Hu 2016-08-25 92 if (*len == 0) ff6301dabc3ca20 Ivan Hu 2016-08-25 93 return -EFAULT; ff6301dabc3ca20 Ivan Hu 2016-08-25 94 ff6301dabc3ca20 Ivan Hu 2016-08-25 95 return 0; ff6301dabc3ca20 Ivan Hu 2016-08-25 96 } ff6301dabc3ca20 Ivan Hu 2016-08-25 97 ff6301dabc3ca20 Ivan Hu 2016-08-25 98 /* ff6301dabc3ca20 Ivan Hu 2016-08-25 99 * Calculate the required buffer allocation size and copy a ucs2 string ff6301dabc3ca20 Ivan Hu 2016-08-25 100 * from user space into it. ff6301dabc3ca20 Ivan Hu 2016-08-25 101 * ff6301dabc3ca20 Ivan Hu 2016-08-25 102 * This function differs from copy_ucs2_from_user_len() because it ff6301dabc3ca20 Ivan Hu 2016-08-25 103 * calculates the size of the buffer to allocate by taking the length of ff6301dabc3ca20 Ivan Hu 2016-08-25 104 * the string 'src'. ff6301dabc3ca20 Ivan Hu 2016-08-25 105 * ff6301dabc3ca20 Ivan Hu 2016-08-25 106 * If a non-zero value is returned, the caller MUST NOT access 'dst'. ff6301dabc3ca20 Ivan Hu 2016-08-25 107 * ff6301dabc3ca20 Ivan Hu 2016-08-25 108 * It is the caller's responsibility to free 'dst'. ff6301dabc3ca20 Ivan Hu 2016-08-25 109 */ ff6301dabc3ca20 Ivan Hu 2016-08-25 110 static inline int ff6301dabc3ca20 Ivan Hu 2016-08-25 111 copy_ucs2_from_user(efi_char16_t **dst, efi_char16_t __user *src) ff6301dabc3ca20 Ivan Hu 2016-08-25 112 { ff6301dabc3ca20 Ivan Hu 2016-08-25 113 size_t len; ff6301dabc3ca20 Ivan Hu 2016-08-25 114 ff6301dabc3ca20 Ivan Hu 2016-08-25 115 len = user_ucs2_strsize(src); ff6301dabc3ca20 Ivan Hu 2016-08-25 116 if (len == 0) ff6301dabc3ca20 Ivan Hu 2016-08-25 117 return -EFAULT; ff6301dabc3ca20 Ivan Hu 2016-08-25 118 return copy_ucs2_from_user_len(dst, src, len); ff6301dabc3ca20 Ivan Hu 2016-08-25 119 } ff6301dabc3ca20 Ivan Hu 2016-08-25 120 ff6301dabc3ca20 Ivan Hu 2016-08-25 121 /* ff6301dabc3ca20 Ivan Hu 2016-08-25 122 * Copy a ucs2 string to a user buffer. ff6301dabc3ca20 Ivan Hu 2016-08-25 123 * ff6301dabc3ca20 Ivan Hu 2016-08-25 124 * This function is a simple wrapper around copy_to_user() that does ff6301dabc3ca20 Ivan Hu 2016-08-25 125 * nothing if 'src' is NULL, which is useful for reducing the amount of ff6301dabc3ca20 Ivan Hu 2016-08-25 126 * NULL checking the caller has to do. ff6301dabc3ca20 Ivan Hu 2016-08-25 127 * ff6301dabc3ca20 Ivan Hu 2016-08-25 128 * 'len' specifies the number of bytes to copy. ff6301dabc3ca20 Ivan Hu 2016-08-25 129 */ ff6301dabc3ca20 Ivan Hu 2016-08-25 130 static inline int ff6301dabc3ca20 Ivan Hu 2016-08-25 131 copy_ucs2_to_user_len(efi_char16_t __user *dst, efi_char16_t *src, size_t len) ff6301dabc3ca20 Ivan Hu 2016-08-25 132 { ff6301dabc3ca20 Ivan Hu 2016-08-25 133 if (!src) ff6301dabc3ca20 Ivan Hu 2016-08-25 134 return 0; ff6301dabc3ca20 Ivan Hu 2016-08-25 135 ff6301dabc3ca20 Ivan Hu 2016-08-25 136 return copy_to_user(dst, src, len); ff6301dabc3ca20 Ivan Hu 2016-08-25 137 } ff6301dabc3ca20 Ivan Hu 2016-08-25 138 ff6301dabc3ca20 Ivan Hu 2016-08-25 139 static long efi_runtime_get_variable(unsigned long arg) ff6301dabc3ca20 Ivan Hu 2016-08-25 140 { ff6301dabc3ca20 Ivan Hu 2016-08-25 141 struct efi_getvariable __user *getvariable_user; ff6301dabc3ca20 Ivan Hu 2016-08-25 142 struct efi_getvariable getvariable; 46b9b7135332d1e Ivan Hu 2016-10-18 143 unsigned long datasize = 0, prev_datasize, *dz; ff6301dabc3ca20 Ivan Hu 2016-08-25 144 efi_guid_t vendor_guid, *vd = NULL; ff6301dabc3ca20 Ivan Hu 2016-08-25 145 efi_status_t status; ff6301dabc3ca20 Ivan Hu 2016-08-25 146 efi_char16_t *name = NULL; ff6301dabc3ca20 Ivan Hu 2016-08-25 147 u32 attr, *at; ff6301dabc3ca20 Ivan Hu 2016-08-25 148 void *data = NULL; ff6301dabc3ca20 Ivan Hu 2016-08-25 149 int rv = 0; ff6301dabc3ca20 Ivan Hu 2016-08-25 150 ff6301dabc3ca20 Ivan Hu 2016-08-25 151 getvariable_user = (struct efi_getvariable __user *)arg; ff6301dabc3ca20 Ivan Hu 2016-08-25 152 ff6301dabc3ca20 Ivan Hu 2016-08-25 153 if (copy_from_user(&getvariable, getvariable_user, ff6301dabc3ca20 Ivan Hu 2016-08-25 154 sizeof(getvariable))) ff6301dabc3ca20 Ivan Hu 2016-08-25 155 return -EFAULT; ff6301dabc3ca20 Ivan Hu 2016-08-25 156 if (getvariable.data_size && ff6301dabc3ca20 Ivan Hu 2016-08-25 @157 get_user(datasize, getvariable.data_size)) ff6301dabc3ca20 Ivan Hu 2016-08-25 158 return -EFAULT; ff6301dabc3ca20 Ivan Hu 2016-08-25 159 if (getvariable.vendor_guid) { ff6301dabc3ca20 Ivan Hu 2016-08-25 160 if (copy_from_user(&vendor_guid, getvariable.vendor_guid, ff6301dabc3ca20 Ivan Hu 2016-08-25 161 sizeof(vendor_guid))) ff6301dabc3ca20 Ivan Hu 2016-08-25 162 return -EFAULT; ff6301dabc3ca20 Ivan Hu 2016-08-25 163 vd = &vendor_guid; ff6301dabc3ca20 Ivan Hu 2016-08-25 164 } ff6301dabc3ca20 Ivan Hu 2016-08-25 165 ff6301dabc3ca20 Ivan Hu 2016-08-25 166 if (getvariable.variable_name) { ff6301dabc3ca20 Ivan Hu 2016-08-25 167 rv = copy_ucs2_from_user(&name, getvariable.variable_name); ff6301dabc3ca20 Ivan Hu 2016-08-25 168 if (rv) ff6301dabc3ca20 Ivan Hu 2016-08-25 169 return rv; ff6301dabc3ca20 Ivan Hu 2016-08-25 170 } ff6301dabc3ca20 Ivan Hu 2016-08-25 171 ff6301dabc3ca20 Ivan Hu 2016-08-25 172 at = getvariable.attributes ? &attr : NULL; ff6301dabc3ca20 Ivan Hu 2016-08-25 173 dz = getvariable.data_size ? &datasize : NULL; ff6301dabc3ca20 Ivan Hu 2016-08-25 174 ff6301dabc3ca20 Ivan Hu 2016-08-25 175 if (getvariable.data_size && getvariable.data) { ff6301dabc3ca20 Ivan Hu 2016-08-25 176 data = kmalloc(datasize, GFP_KERNEL); ff6301dabc3ca20 Ivan Hu 2016-08-25 177 if (!data) { ff6301dabc3ca20 Ivan Hu 2016-08-25 178 kfree(name); ff6301dabc3ca20 Ivan Hu 2016-08-25 179 return -ENOMEM; ff6301dabc3ca20 Ivan Hu 2016-08-25 180 } ff6301dabc3ca20 Ivan Hu 2016-08-25 181 } ff6301dabc3ca20 Ivan Hu 2016-08-25 182 ff6301dabc3ca20 Ivan Hu 2016-08-25 183 prev_datasize = datasize; ff6301dabc3ca20 Ivan Hu 2016-08-25 184 status = efi.get_variable(name, vd, at, dz, data); ff6301dabc3ca20 Ivan Hu 2016-08-25 185 kfree(name); ff6301dabc3ca20 Ivan Hu 2016-08-25 186 ff6301dabc3ca20 Ivan Hu 2016-08-25 @187 if (put_user(status, getvariable.status)) { ff6301dabc3ca20 Ivan Hu 2016-08-25 188 rv = -EFAULT; ff6301dabc3ca20 Ivan Hu 2016-08-25 189 goto out; ff6301dabc3ca20 Ivan Hu 2016-08-25 190 } ff6301dabc3ca20 Ivan Hu 2016-08-25 191 ff6301dabc3ca20 Ivan Hu 2016-08-25 192 if (status != EFI_SUCCESS) { ff6301dabc3ca20 Ivan Hu 2016-08-25 193 if (status == EFI_BUFFER_TOO_SMALL) { ff6301dabc3ca20 Ivan Hu 2016-08-25 194 if (dz && put_user(datasize, getvariable.data_size)) { ff6301dabc3ca20 Ivan Hu 2016-08-25 195 rv = -EFAULT; ff6301dabc3ca20 Ivan Hu 2016-08-25 196 goto out; ff6301dabc3ca20 Ivan Hu 2016-08-25 197 } ff6301dabc3ca20 Ivan Hu 2016-08-25 198 } ff6301dabc3ca20 Ivan Hu 2016-08-25 199 rv = -EINVAL; ff6301dabc3ca20 Ivan Hu 2016-08-25 200 goto out; ff6301dabc3ca20 Ivan Hu 2016-08-25 201 } ff6301dabc3ca20 Ivan Hu 2016-08-25 202 ff6301dabc3ca20 Ivan Hu 2016-08-25 203 if (prev_datasize < datasize) { ff6301dabc3ca20 Ivan Hu 2016-08-25 204 rv = -EINVAL; ff6301dabc3ca20 Ivan Hu 2016-08-25 205 goto out; ff6301dabc3ca20 Ivan Hu 2016-08-25 206 } ff6301dabc3ca20 Ivan Hu 2016-08-25 207 ff6301dabc3ca20 Ivan Hu 2016-08-25 208 if (data) { ff6301dabc3ca20 Ivan Hu 2016-08-25 209 if (copy_to_user(getvariable.data, data, datasize)) { ff6301dabc3ca20 Ivan Hu 2016-08-25 210 rv = -EFAULT; ff6301dabc3ca20 Ivan Hu 2016-08-25 211 goto out; ff6301dabc3ca20 Ivan Hu 2016-08-25 212 } ff6301dabc3ca20 Ivan Hu 2016-08-25 213 } ff6301dabc3ca20 Ivan Hu 2016-08-25 214 ff6301dabc3ca20 Ivan Hu 2016-08-25 @215 if (at && put_user(attr, getvariable.attributes)) { ff6301dabc3ca20 Ivan Hu 2016-08-25 216 rv = -EFAULT; ff6301dabc3ca20 Ivan Hu 2016-08-25 217 goto out; ff6301dabc3ca20 Ivan Hu 2016-08-25 218 } ff6301dabc3ca20 Ivan Hu 2016-08-25 219 ff6301dabc3ca20 Ivan Hu 2016-08-25 220 if (dz && put_user(datasize, getvariable.data_size)) ff6301dabc3ca20 Ivan Hu 2016-08-25 221 rv = -EFAULT; ff6301dabc3ca20 Ivan Hu 2016-08-25 222 ff6301dabc3ca20 Ivan Hu 2016-08-25 223 out: ff6301dabc3ca20 Ivan Hu 2016-08-25 224 kfree(data); ff6301dabc3ca20 Ivan Hu 2016-08-25 225 return rv; ff6301dabc3ca20 Ivan Hu 2016-08-25 226 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 36305 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user,io}_ptr() 2020-08-28 8:53 [PATCH] sparse: use static inline for __chk_{user,io}_ptr() Luc Van Oostenryck @ 2020-08-28 14:21 ` kernel test robot 2020-08-28 11:37 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot ` (10 subsequent siblings) 11 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-08-28 14:21 UTC (permalink / raw) To: Luc Van Oostenryck, Miguel Ojeda Cc: kbuild-all, linux-kernel, Luc Van Oostenryck [-- Attachment #1: Type: text/plain, Size: 40474 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 base: 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 config: x86_64-randconfig-s022-20200828 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-191-g10164920-dirty # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression >> drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ >> drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression -- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:828:42: sparse: sparse: cast removes address space '__iomem' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2389:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2389:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2389:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2389:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2389:21: sparse: sparse: cast removes address space '__user' of expression >> drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2389:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ >> drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2389:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2389:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2389:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2389:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2389:21: sparse: sparse: cast removes address space '__user' of expression -- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression >> drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ >> drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression -- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:138:17: sparse: sparse: incorrect type in initializer (different base types) @@ expected restricted __poll_t ( *poll )( ... ) @@ got unsigned int ( * )( ... ) @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:138:17: sparse: expected restricted __poll_t ( *poll )( ... ) drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:138:17: sparse: got unsigned int ( * )( ... ) drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression >> drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ >> drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: expected void const volatile [noderef] __user *ptr -- arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression >> arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long long [usertype] * @@ >> arch/x86/ia32/ia32_signal.c:350:9: sparse: expected void const volatile [noderef] __user *ptr arch/x86/ia32/ia32_signal.c:350:9: sparse: got unsigned long long [usertype] * arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression # https://github.com/0day-ci/linux/commit/7d01c91ac34a64f0177bc6d058cc50e805f59102 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 git checkout 7d01c91ac34a64f0177bc6d058cc50e805f59102 vim +969 drivers/gpu/drm/radeon/radeon_ttm.c 771fe6b912fca5 Jerome Glisse 2009-06-05 772 771fe6b912fca5 Jerome Glisse 2009-06-05 @773 int radeon_ttm_init(struct radeon_device *rdev) 771fe6b912fca5 Jerome Glisse 2009-06-05 774 { 771fe6b912fca5 Jerome Glisse 2009-06-05 775 int r; 771fe6b912fca5 Jerome Glisse 2009-06-05 776 771fe6b912fca5 Jerome Glisse 2009-06-05 777 /* No others user of address space so set it to 0 */ 771fe6b912fca5 Jerome Glisse 2009-06-05 778 r = ttm_bo_device_init(&rdev->mman.bdev, 44d847b7439bde David Herrmann 2013-08-13 779 &radeon_bo_driver, 44d847b7439bde David Herrmann 2013-08-13 780 rdev->ddev->anon_inode->i_mapping, 8b53e1cb2728b6 Gerd Hoffmann 2019-09-05 781 rdev->ddev->vma_offset_manager, 33b3ad3788aba8 Christoph Hellwig 2019-08-15 782 dma_addressing_limited(&rdev->pdev->dev)); 771fe6b912fca5 Jerome Glisse 2009-06-05 783 if (r) { 771fe6b912fca5 Jerome Glisse 2009-06-05 784 DRM_ERROR("failed initializing buffer object driver(%d).\n", r); 771fe6b912fca5 Jerome Glisse 2009-06-05 785 return r; 771fe6b912fca5 Jerome Glisse 2009-06-05 786 } 0a0c7596c64323 Jerome Glisse 2009-12-11 787 rdev->mman.initialized = true; 4c7886791264f0 Jerome Glisse 2009-11-20 788 r = ttm_bo_init_mm(&rdev->mman.bdev, TTM_PL_VRAM, 312ea8da049a18 Jerome Glisse 2009-12-07 789 rdev->mc.real_vram_size >> PAGE_SHIFT); 771fe6b912fca5 Jerome Glisse 2009-06-05 790 if (r) { 771fe6b912fca5 Jerome Glisse 2009-06-05 791 DRM_ERROR("Failed initializing VRAM heap.\n"); 771fe6b912fca5 Jerome Glisse 2009-06-05 792 return r; 771fe6b912fca5 Jerome Glisse 2009-06-05 793 } 14eedc32a3c0ec Lauri Kasanen 2014-02-28 794 /* Change the size here instead of the init above so only lpfn is affected */ 14eedc32a3c0ec Lauri Kasanen 2014-02-28 795 radeon_ttm_set_active_vram_size(rdev, rdev->mc.visible_vram_size); 14eedc32a3c0ec Lauri Kasanen 2014-02-28 796 441921d5309cfe Daniel Vetter 2011-02-18 797 r = radeon_bo_create(rdev, 256 * 1024, PAGE_SIZE, true, 831b6966a60fe7 Maarten Lankhorst 2014-09-18 798 RADEON_GEM_DOMAIN_VRAM, 0, NULL, 4aa5b92fd48f88 Kent Russell 2017-08-08 799 NULL, &rdev->stolen_vga_memory); 771fe6b912fca5 Jerome Glisse 2009-06-05 800 if (r) { 771fe6b912fca5 Jerome Glisse 2009-06-05 801 return r; 771fe6b912fca5 Jerome Glisse 2009-06-05 802 } 4aa5b92fd48f88 Kent Russell 2017-08-08 803 r = radeon_bo_reserve(rdev->stolen_vga_memory, false); 4c7886791264f0 Jerome Glisse 2009-11-20 804 if (r) 4c7886791264f0 Jerome Glisse 2009-11-20 805 return r; 4aa5b92fd48f88 Kent Russell 2017-08-08 806 r = radeon_bo_pin(rdev->stolen_vga_memory, RADEON_GEM_DOMAIN_VRAM, NULL); 4aa5b92fd48f88 Kent Russell 2017-08-08 807 radeon_bo_unreserve(rdev->stolen_vga_memory); 771fe6b912fca5 Jerome Glisse 2009-06-05 808 if (r) { 4aa5b92fd48f88 Kent Russell 2017-08-08 809 radeon_bo_unref(&rdev->stolen_vga_memory); 771fe6b912fca5 Jerome Glisse 2009-06-05 810 return r; 771fe6b912fca5 Jerome Glisse 2009-06-05 811 } 771fe6b912fca5 Jerome Glisse 2009-06-05 812 DRM_INFO("radeon: %uM of VRAM memory ready\n", fc986034540102 Niels Ole Salscheider 2013-05-18 813 (unsigned) (rdev->mc.real_vram_size / (1024 * 1024))); 4c7886791264f0 Jerome Glisse 2009-11-20 814 r = ttm_bo_init_mm(&rdev->mman.bdev, TTM_PL_TT, 312ea8da049a18 Jerome Glisse 2009-12-07 815 rdev->mc.gtt_size >> PAGE_SHIFT); 771fe6b912fca5 Jerome Glisse 2009-06-05 816 if (r) { 771fe6b912fca5 Jerome Glisse 2009-06-05 817 DRM_ERROR("Failed initializing GTT heap.\n"); 771fe6b912fca5 Jerome Glisse 2009-06-05 818 return r; 771fe6b912fca5 Jerome Glisse 2009-06-05 819 } 771fe6b912fca5 Jerome Glisse 2009-06-05 820 DRM_INFO("radeon: %uM of GTT memory ready.\n", 3ce0a23d2d2531 Jerome Glisse 2009-09-08 821 (unsigned)(rdev->mc.gtt_size / (1024 * 1024))); fa8a123855e200 Dave Airlie 2009-08-26 822 fa8a123855e200 Dave Airlie 2009-08-26 823 r = radeon_ttm_debugfs_init(rdev); fa8a123855e200 Dave Airlie 2009-08-26 824 if (r) { fa8a123855e200 Dave Airlie 2009-08-26 825 DRM_ERROR("Failed to init debugfs\n"); fa8a123855e200 Dave Airlie 2009-08-26 826 return r; fa8a123855e200 Dave Airlie 2009-08-26 827 } 771fe6b912fca5 Jerome Glisse 2009-06-05 828 return 0; 771fe6b912fca5 Jerome Glisse 2009-06-05 829 } 771fe6b912fca5 Jerome Glisse 2009-06-05 830 771fe6b912fca5 Jerome Glisse 2009-06-05 831 void radeon_ttm_fini(struct radeon_device *rdev) 771fe6b912fca5 Jerome Glisse 2009-06-05 832 { 4c7886791264f0 Jerome Glisse 2009-11-20 833 int r; 4c7886791264f0 Jerome Glisse 2009-11-20 834 0a0c7596c64323 Jerome Glisse 2009-12-11 835 if (!rdev->mman.initialized) 0a0c7596c64323 Jerome Glisse 2009-12-11 836 return; 2014b5694182b5 Christian König 2013-12-18 837 radeon_ttm_debugfs_fini(rdev); 4aa5b92fd48f88 Kent Russell 2017-08-08 838 if (rdev->stolen_vga_memory) { 4aa5b92fd48f88 Kent Russell 2017-08-08 839 r = radeon_bo_reserve(rdev->stolen_vga_memory, false); 4c7886791264f0 Jerome Glisse 2009-11-20 840 if (r == 0) { 4aa5b92fd48f88 Kent Russell 2017-08-08 841 radeon_bo_unpin(rdev->stolen_vga_memory); 4aa5b92fd48f88 Kent Russell 2017-08-08 842 radeon_bo_unreserve(rdev->stolen_vga_memory); 4c7886791264f0 Jerome Glisse 2009-11-20 843 } 4aa5b92fd48f88 Kent Russell 2017-08-08 844 radeon_bo_unref(&rdev->stolen_vga_memory); 771fe6b912fca5 Jerome Glisse 2009-06-05 845 } 771fe6b912fca5 Jerome Glisse 2009-06-05 846 ttm_bo_clean_mm(&rdev->mman.bdev, TTM_PL_VRAM); 771fe6b912fca5 Jerome Glisse 2009-06-05 847 ttm_bo_clean_mm(&rdev->mman.bdev, TTM_PL_TT); 771fe6b912fca5 Jerome Glisse 2009-06-05 848 ttm_bo_device_release(&rdev->mman.bdev); 771fe6b912fca5 Jerome Glisse 2009-06-05 849 radeon_gart_fini(rdev); 0a0c7596c64323 Jerome Glisse 2009-12-11 850 rdev->mman.initialized = false; 771fe6b912fca5 Jerome Glisse 2009-06-05 851 DRM_INFO("radeon: ttm finalized\n"); 771fe6b912fca5 Jerome Glisse 2009-06-05 852 } 771fe6b912fca5 Jerome Glisse 2009-06-05 853 5359533801e3dd Dave Airlie 2011-03-14 854 /* this should only be called at bootup or when userspace 5359533801e3dd Dave Airlie 2011-03-14 855 * isn't running */ 5359533801e3dd Dave Airlie 2011-03-14 856 void radeon_ttm_set_active_vram_size(struct radeon_device *rdev, u64 size) 5359533801e3dd Dave Airlie 2011-03-14 857 { 5359533801e3dd Dave Airlie 2011-03-14 858 struct ttm_mem_type_manager *man; 5359533801e3dd Dave Airlie 2011-03-14 859 5359533801e3dd Dave Airlie 2011-03-14 860 if (!rdev->mman.initialized) 5359533801e3dd Dave Airlie 2011-03-14 861 return; 5359533801e3dd Dave Airlie 2011-03-14 862 5359533801e3dd Dave Airlie 2011-03-14 863 man = &rdev->mman.bdev.man[TTM_PL_VRAM]; 5359533801e3dd Dave Airlie 2011-03-14 864 /* this just adjusts TTM size idea, which sets lpfn to the correct value */ 5359533801e3dd Dave Airlie 2011-03-14 865 man->size = size >> PAGE_SHIFT; 5359533801e3dd Dave Airlie 2011-03-14 866 } 5359533801e3dd Dave Airlie 2011-03-14 867 2bfb0b678e48de Souptick Joarder 2018-04-16 868 static vm_fault_t radeon_ttm_fault(struct vm_fault *vmf) 771fe6b912fca5 Jerome Glisse 2009-06-05 869 { 771fe6b912fca5 Jerome Glisse 2009-06-05 870 struct ttm_buffer_object *bo; 5876dd249e8e47 Matthew Garrett 2010-04-26 871 struct radeon_device *rdev; 2bfb0b678e48de Souptick Joarder 2018-04-16 872 vm_fault_t ret; 771fe6b912fca5 Jerome Glisse 2009-06-05 873 11bac80004499e Dave Jiang 2017-02-24 874 bo = (struct ttm_buffer_object *)vmf->vma->vm_private_data; 165d3448a1a0e8 Christian König 2019-09-27 875 if (bo == NULL) 771fe6b912fca5 Jerome Glisse 2009-06-05 876 return VM_FAULT_NOPAGE; 165d3448a1a0e8 Christian König 2019-09-27 877 5876dd249e8e47 Matthew Garrett 2010-04-26 878 rdev = radeon_get_rdev(bo->bdev); db7fce3983ad9b Christian König 2012-05-11 879 down_read(&rdev->pm.mclk_lock); 165d3448a1a0e8 Christian König 2019-09-27 880 ret = ttm_bo_vm_fault(vmf); db7fce3983ad9b Christian König 2012-05-11 881 up_read(&rdev->pm.mclk_lock); 2bfb0b678e48de Souptick Joarder 2018-04-16 882 return ret; 771fe6b912fca5 Jerome Glisse 2009-06-05 883 } 771fe6b912fca5 Jerome Glisse 2009-06-05 884 165d3448a1a0e8 Christian König 2019-09-27 885 static struct vm_operations_struct radeon_ttm_vm_ops = { 165d3448a1a0e8 Christian König 2019-09-27 886 .fault = radeon_ttm_fault, 165d3448a1a0e8 Christian König 2019-09-27 887 .open = ttm_bo_vm_open, 165d3448a1a0e8 Christian König 2019-09-27 888 .close = ttm_bo_vm_close, 165d3448a1a0e8 Christian König 2019-09-27 889 .access = ttm_bo_vm_access 165d3448a1a0e8 Christian König 2019-09-27 890 }; 165d3448a1a0e8 Christian König 2019-09-27 891 771fe6b912fca5 Jerome Glisse 2009-06-05 892 int radeon_mmap(struct file *filp, struct vm_area_struct *vma) 771fe6b912fca5 Jerome Glisse 2009-06-05 893 { 771fe6b912fca5 Jerome Glisse 2009-06-05 894 int r; bed2dd84212eb0 Thomas Zimmermann 2019-02-07 895 struct drm_file *file_priv = filp->private_data; bed2dd84212eb0 Thomas Zimmermann 2019-02-07 896 struct radeon_device *rdev = file_priv->minor->dev->dev_private; 771fe6b912fca5 Jerome Glisse 2009-06-05 897 165d3448a1a0e8 Christian König 2019-09-27 898 if (rdev == NULL) 771fe6b912fca5 Jerome Glisse 2009-06-05 899 return -EINVAL; 165d3448a1a0e8 Christian König 2019-09-27 900 771fe6b912fca5 Jerome Glisse 2009-06-05 901 r = ttm_bo_mmap(filp, vma, &rdev->mman.bdev); 165d3448a1a0e8 Christian König 2019-09-27 902 if (unlikely(r != 0)) 771fe6b912fca5 Jerome Glisse 2009-06-05 903 return r; 165d3448a1a0e8 Christian König 2019-09-27 904 771fe6b912fca5 Jerome Glisse 2009-06-05 905 vma->vm_ops = &radeon_ttm_vm_ops; 771fe6b912fca5 Jerome Glisse 2009-06-05 906 return 0; 771fe6b912fca5 Jerome Glisse 2009-06-05 907 } 771fe6b912fca5 Jerome Glisse 2009-06-05 908 fa8a123855e200 Dave Airlie 2009-08-26 909 #if defined(CONFIG_DEBUG_FS) 893d6e6e122386 Christian König 2013-12-12 910 fa8a123855e200 Dave Airlie 2009-08-26 911 static int radeon_mm_dump_table(struct seq_file *m, void *data) fa8a123855e200 Dave Airlie 2009-08-26 912 { fa8a123855e200 Dave Airlie 2009-08-26 913 struct drm_info_node *node = (struct drm_info_node *)m->private; 893d6e6e122386 Christian König 2013-12-12 914 unsigned ttm_pl = *(int*)node->info_ent->data; fa8a123855e200 Dave Airlie 2009-08-26 915 struct drm_device *dev = node->minor->dev; fa8a123855e200 Dave Airlie 2009-08-26 916 struct radeon_device *rdev = dev->dev_private; bbbb29efa20d55 Christian König 2017-08-07 917 struct ttm_mem_type_manager *man = &rdev->mman.bdev.man[ttm_pl]; b5c3714fe87897 Daniel Vetter 2016-12-29 918 struct drm_printer p = drm_seq_file_printer(m); fa8a123855e200 Dave Airlie 2009-08-26 919 bbbb29efa20d55 Christian König 2017-08-07 920 man->func->debug(man, &p); b5c3714fe87897 Daniel Vetter 2016-12-29 921 return 0; fa8a123855e200 Dave Airlie 2009-08-26 922 } 893d6e6e122386 Christian König 2013-12-12 923 bbbb29efa20d55 Christian König 2017-08-07 924 893d6e6e122386 Christian König 2013-12-12 925 static int ttm_pl_vram = TTM_PL_VRAM; 893d6e6e122386 Christian König 2013-12-12 926 static int ttm_pl_tt = TTM_PL_TT; 893d6e6e122386 Christian König 2013-12-12 927 893d6e6e122386 Christian König 2013-12-12 928 static struct drm_info_list radeon_ttm_debugfs_list[] = { 893d6e6e122386 Christian König 2013-12-12 929 {"radeon_vram_mm", radeon_mm_dump_table, 0, &ttm_pl_vram}, 893d6e6e122386 Christian König 2013-12-12 930 {"radeon_gtt_mm", radeon_mm_dump_table, 0, &ttm_pl_tt}, 893d6e6e122386 Christian König 2013-12-12 931 {"ttm_page_pool", ttm_page_alloc_debugfs, 0, NULL}, 893d6e6e122386 Christian König 2013-12-12 932 #ifdef CONFIG_SWIOTLB 893d6e6e122386 Christian König 2013-12-12 933 {"ttm_dma_page_pool", ttm_dma_page_alloc_debugfs, 0, NULL} 893d6e6e122386 Christian König 2013-12-12 934 #endif 893d6e6e122386 Christian König 2013-12-12 935 }; 893d6e6e122386 Christian König 2013-12-12 936 2014b5694182b5 Christian König 2013-12-18 937 static int radeon_ttm_vram_open(struct inode *inode, struct file *filep) 2014b5694182b5 Christian König 2013-12-18 938 { 2014b5694182b5 Christian König 2013-12-18 939 struct radeon_device *rdev = inode->i_private; 2014b5694182b5 Christian König 2013-12-18 940 i_size_write(inode, rdev->mc.mc_vram_size); 2014b5694182b5 Christian König 2013-12-18 941 filep->private_data = inode->i_private; 2014b5694182b5 Christian König 2013-12-18 942 return 0; 2014b5694182b5 Christian König 2013-12-18 943 } 2014b5694182b5 Christian König 2013-12-18 944 2014b5694182b5 Christian König 2013-12-18 945 static ssize_t radeon_ttm_vram_read(struct file *f, char __user *buf, 2014b5694182b5 Christian König 2013-12-18 946 size_t size, loff_t *pos) 2014b5694182b5 Christian König 2013-12-18 947 { 2014b5694182b5 Christian König 2013-12-18 948 struct radeon_device *rdev = f->private_data; 2014b5694182b5 Christian König 2013-12-18 949 ssize_t result = 0; 2014b5694182b5 Christian König 2013-12-18 950 int r; 2014b5694182b5 Christian König 2013-12-18 951 2014b5694182b5 Christian König 2013-12-18 952 if (size & 0x3 || *pos & 0x3) 2014b5694182b5 Christian König 2013-12-18 953 return -EINVAL; 2014b5694182b5 Christian König 2013-12-18 954 2014b5694182b5 Christian König 2013-12-18 955 while (size) { 2014b5694182b5 Christian König 2013-12-18 956 unsigned long flags; 2014b5694182b5 Christian König 2013-12-18 957 uint32_t value; 2014b5694182b5 Christian König 2013-12-18 958 2014b5694182b5 Christian König 2013-12-18 959 if (*pos >= rdev->mc.mc_vram_size) 2014b5694182b5 Christian König 2013-12-18 960 return result; 2014b5694182b5 Christian König 2013-12-18 961 2014b5694182b5 Christian König 2013-12-18 962 spin_lock_irqsave(&rdev->mmio_idx_lock, flags); 2014b5694182b5 Christian König 2013-12-18 963 WREG32(RADEON_MM_INDEX, ((uint32_t)*pos) | 0x80000000); 2014b5694182b5 Christian König 2013-12-18 964 if (rdev->family >= CHIP_CEDAR) 2014b5694182b5 Christian König 2013-12-18 965 WREG32(EVERGREEN_MM_INDEX_HI, *pos >> 31); 2014b5694182b5 Christian König 2013-12-18 966 value = RREG32(RADEON_MM_DATA); 2014b5694182b5 Christian König 2013-12-18 967 spin_unlock_irqrestore(&rdev->mmio_idx_lock, flags); 2014b5694182b5 Christian König 2013-12-18 968 2014b5694182b5 Christian König 2013-12-18 @969 r = put_user(value, (uint32_t *)buf); 2014b5694182b5 Christian König 2013-12-18 970 if (r) 2014b5694182b5 Christian König 2013-12-18 971 return r; 2014b5694182b5 Christian König 2013-12-18 972 2014b5694182b5 Christian König 2013-12-18 973 result += 4; 2014b5694182b5 Christian König 2013-12-18 974 buf += 4; 2014b5694182b5 Christian König 2013-12-18 975 *pos += 4; 2014b5694182b5 Christian König 2013-12-18 976 size -= 4; 2014b5694182b5 Christian König 2013-12-18 977 } 2014b5694182b5 Christian König 2013-12-18 978 2014b5694182b5 Christian König 2013-12-18 979 return result; 2014b5694182b5 Christian König 2013-12-18 980 } 2014b5694182b5 Christian König 2013-12-18 981 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 35138 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user, io}_ptr() @ 2020-08-28 14:21 ` kernel test robot 0 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-08-28 14:21 UTC (permalink / raw) To: kbuild-all [-- Attachment #1: Type: text/plain, Size: 40983 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 base: 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 config: x86_64-randconfig-s022-20200828 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-191-g10164920-dirty # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression >> drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ >> drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:969:21: sparse: sparse: cast removes address space '__user' of expression -- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:828:42: sparse: sparse: cast removes address space '__iomem' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2389:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2389:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2389:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2389:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2389:21: sparse: sparse: cast removes address space '__user' of expression >> drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2389:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ >> drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2389:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2389:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2389:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2389:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2389:21: sparse: sparse: cast removes address space '__user' of expression -- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression >> drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ >> drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression -- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:138:17: sparse: sparse: incorrect type in initializer (different base types) @@ expected restricted __poll_t ( *poll )( ... ) @@ got unsigned int ( * )( ... ) @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:138:17: sparse: expected restricted __poll_t ( *poll )( ... ) drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:138:17: sparse: got unsigned int ( * )( ... ) drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression >> drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ >> drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: expected void const volatile [noderef] __user *ptr -- arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression >> arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long long [usertype] * @@ >> arch/x86/ia32/ia32_signal.c:350:9: sparse: expected void const volatile [noderef] __user *ptr arch/x86/ia32/ia32_signal.c:350:9: sparse: got unsigned long long [usertype] * arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression # https://github.com/0day-ci/linux/commit/7d01c91ac34a64f0177bc6d058cc50e805f59102 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 git checkout 7d01c91ac34a64f0177bc6d058cc50e805f59102 vim +969 drivers/gpu/drm/radeon/radeon_ttm.c 771fe6b912fca5 Jerome Glisse 2009-06-05 772 771fe6b912fca5 Jerome Glisse 2009-06-05 @773 int radeon_ttm_init(struct radeon_device *rdev) 771fe6b912fca5 Jerome Glisse 2009-06-05 774 { 771fe6b912fca5 Jerome Glisse 2009-06-05 775 int r; 771fe6b912fca5 Jerome Glisse 2009-06-05 776 771fe6b912fca5 Jerome Glisse 2009-06-05 777 /* No others user of address space so set it to 0 */ 771fe6b912fca5 Jerome Glisse 2009-06-05 778 r = ttm_bo_device_init(&rdev->mman.bdev, 44d847b7439bde David Herrmann 2013-08-13 779 &radeon_bo_driver, 44d847b7439bde David Herrmann 2013-08-13 780 rdev->ddev->anon_inode->i_mapping, 8b53e1cb2728b6 Gerd Hoffmann 2019-09-05 781 rdev->ddev->vma_offset_manager, 33b3ad3788aba8 Christoph Hellwig 2019-08-15 782 dma_addressing_limited(&rdev->pdev->dev)); 771fe6b912fca5 Jerome Glisse 2009-06-05 783 if (r) { 771fe6b912fca5 Jerome Glisse 2009-06-05 784 DRM_ERROR("failed initializing buffer object driver(%d).\n", r); 771fe6b912fca5 Jerome Glisse 2009-06-05 785 return r; 771fe6b912fca5 Jerome Glisse 2009-06-05 786 } 0a0c7596c64323 Jerome Glisse 2009-12-11 787 rdev->mman.initialized = true; 4c7886791264f0 Jerome Glisse 2009-11-20 788 r = ttm_bo_init_mm(&rdev->mman.bdev, TTM_PL_VRAM, 312ea8da049a18 Jerome Glisse 2009-12-07 789 rdev->mc.real_vram_size >> PAGE_SHIFT); 771fe6b912fca5 Jerome Glisse 2009-06-05 790 if (r) { 771fe6b912fca5 Jerome Glisse 2009-06-05 791 DRM_ERROR("Failed initializing VRAM heap.\n"); 771fe6b912fca5 Jerome Glisse 2009-06-05 792 return r; 771fe6b912fca5 Jerome Glisse 2009-06-05 793 } 14eedc32a3c0ec Lauri Kasanen 2014-02-28 794 /* Change the size here instead of the init above so only lpfn is affected */ 14eedc32a3c0ec Lauri Kasanen 2014-02-28 795 radeon_ttm_set_active_vram_size(rdev, rdev->mc.visible_vram_size); 14eedc32a3c0ec Lauri Kasanen 2014-02-28 796 441921d5309cfe Daniel Vetter 2011-02-18 797 r = radeon_bo_create(rdev, 256 * 1024, PAGE_SIZE, true, 831b6966a60fe7 Maarten Lankhorst 2014-09-18 798 RADEON_GEM_DOMAIN_VRAM, 0, NULL, 4aa5b92fd48f88 Kent Russell 2017-08-08 799 NULL, &rdev->stolen_vga_memory); 771fe6b912fca5 Jerome Glisse 2009-06-05 800 if (r) { 771fe6b912fca5 Jerome Glisse 2009-06-05 801 return r; 771fe6b912fca5 Jerome Glisse 2009-06-05 802 } 4aa5b92fd48f88 Kent Russell 2017-08-08 803 r = radeon_bo_reserve(rdev->stolen_vga_memory, false); 4c7886791264f0 Jerome Glisse 2009-11-20 804 if (r) 4c7886791264f0 Jerome Glisse 2009-11-20 805 return r; 4aa5b92fd48f88 Kent Russell 2017-08-08 806 r = radeon_bo_pin(rdev->stolen_vga_memory, RADEON_GEM_DOMAIN_VRAM, NULL); 4aa5b92fd48f88 Kent Russell 2017-08-08 807 radeon_bo_unreserve(rdev->stolen_vga_memory); 771fe6b912fca5 Jerome Glisse 2009-06-05 808 if (r) { 4aa5b92fd48f88 Kent Russell 2017-08-08 809 radeon_bo_unref(&rdev->stolen_vga_memory); 771fe6b912fca5 Jerome Glisse 2009-06-05 810 return r; 771fe6b912fca5 Jerome Glisse 2009-06-05 811 } 771fe6b912fca5 Jerome Glisse 2009-06-05 812 DRM_INFO("radeon: %uM of VRAM memory ready\n", fc986034540102 Niels Ole Salscheider 2013-05-18 813 (unsigned) (rdev->mc.real_vram_size / (1024 * 1024))); 4c7886791264f0 Jerome Glisse 2009-11-20 814 r = ttm_bo_init_mm(&rdev->mman.bdev, TTM_PL_TT, 312ea8da049a18 Jerome Glisse 2009-12-07 815 rdev->mc.gtt_size >> PAGE_SHIFT); 771fe6b912fca5 Jerome Glisse 2009-06-05 816 if (r) { 771fe6b912fca5 Jerome Glisse 2009-06-05 817 DRM_ERROR("Failed initializing GTT heap.\n"); 771fe6b912fca5 Jerome Glisse 2009-06-05 818 return r; 771fe6b912fca5 Jerome Glisse 2009-06-05 819 } 771fe6b912fca5 Jerome Glisse 2009-06-05 820 DRM_INFO("radeon: %uM of GTT memory ready.\n", 3ce0a23d2d2531 Jerome Glisse 2009-09-08 821 (unsigned)(rdev->mc.gtt_size / (1024 * 1024))); fa8a123855e200 Dave Airlie 2009-08-26 822 fa8a123855e200 Dave Airlie 2009-08-26 823 r = radeon_ttm_debugfs_init(rdev); fa8a123855e200 Dave Airlie 2009-08-26 824 if (r) { fa8a123855e200 Dave Airlie 2009-08-26 825 DRM_ERROR("Failed to init debugfs\n"); fa8a123855e200 Dave Airlie 2009-08-26 826 return r; fa8a123855e200 Dave Airlie 2009-08-26 827 } 771fe6b912fca5 Jerome Glisse 2009-06-05 828 return 0; 771fe6b912fca5 Jerome Glisse 2009-06-05 829 } 771fe6b912fca5 Jerome Glisse 2009-06-05 830 771fe6b912fca5 Jerome Glisse 2009-06-05 831 void radeon_ttm_fini(struct radeon_device *rdev) 771fe6b912fca5 Jerome Glisse 2009-06-05 832 { 4c7886791264f0 Jerome Glisse 2009-11-20 833 int r; 4c7886791264f0 Jerome Glisse 2009-11-20 834 0a0c7596c64323 Jerome Glisse 2009-12-11 835 if (!rdev->mman.initialized) 0a0c7596c64323 Jerome Glisse 2009-12-11 836 return; 2014b5694182b5 Christian König 2013-12-18 837 radeon_ttm_debugfs_fini(rdev); 4aa5b92fd48f88 Kent Russell 2017-08-08 838 if (rdev->stolen_vga_memory) { 4aa5b92fd48f88 Kent Russell 2017-08-08 839 r = radeon_bo_reserve(rdev->stolen_vga_memory, false); 4c7886791264f0 Jerome Glisse 2009-11-20 840 if (r == 0) { 4aa5b92fd48f88 Kent Russell 2017-08-08 841 radeon_bo_unpin(rdev->stolen_vga_memory); 4aa5b92fd48f88 Kent Russell 2017-08-08 842 radeon_bo_unreserve(rdev->stolen_vga_memory); 4c7886791264f0 Jerome Glisse 2009-11-20 843 } 4aa5b92fd48f88 Kent Russell 2017-08-08 844 radeon_bo_unref(&rdev->stolen_vga_memory); 771fe6b912fca5 Jerome Glisse 2009-06-05 845 } 771fe6b912fca5 Jerome Glisse 2009-06-05 846 ttm_bo_clean_mm(&rdev->mman.bdev, TTM_PL_VRAM); 771fe6b912fca5 Jerome Glisse 2009-06-05 847 ttm_bo_clean_mm(&rdev->mman.bdev, TTM_PL_TT); 771fe6b912fca5 Jerome Glisse 2009-06-05 848 ttm_bo_device_release(&rdev->mman.bdev); 771fe6b912fca5 Jerome Glisse 2009-06-05 849 radeon_gart_fini(rdev); 0a0c7596c64323 Jerome Glisse 2009-12-11 850 rdev->mman.initialized = false; 771fe6b912fca5 Jerome Glisse 2009-06-05 851 DRM_INFO("radeon: ttm finalized\n"); 771fe6b912fca5 Jerome Glisse 2009-06-05 852 } 771fe6b912fca5 Jerome Glisse 2009-06-05 853 5359533801e3dd Dave Airlie 2011-03-14 854 /* this should only be called at bootup or when userspace 5359533801e3dd Dave Airlie 2011-03-14 855 * isn't running */ 5359533801e3dd Dave Airlie 2011-03-14 856 void radeon_ttm_set_active_vram_size(struct radeon_device *rdev, u64 size) 5359533801e3dd Dave Airlie 2011-03-14 857 { 5359533801e3dd Dave Airlie 2011-03-14 858 struct ttm_mem_type_manager *man; 5359533801e3dd Dave Airlie 2011-03-14 859 5359533801e3dd Dave Airlie 2011-03-14 860 if (!rdev->mman.initialized) 5359533801e3dd Dave Airlie 2011-03-14 861 return; 5359533801e3dd Dave Airlie 2011-03-14 862 5359533801e3dd Dave Airlie 2011-03-14 863 man = &rdev->mman.bdev.man[TTM_PL_VRAM]; 5359533801e3dd Dave Airlie 2011-03-14 864 /* this just adjusts TTM size idea, which sets lpfn to the correct value */ 5359533801e3dd Dave Airlie 2011-03-14 865 man->size = size >> PAGE_SHIFT; 5359533801e3dd Dave Airlie 2011-03-14 866 } 5359533801e3dd Dave Airlie 2011-03-14 867 2bfb0b678e48de Souptick Joarder 2018-04-16 868 static vm_fault_t radeon_ttm_fault(struct vm_fault *vmf) 771fe6b912fca5 Jerome Glisse 2009-06-05 869 { 771fe6b912fca5 Jerome Glisse 2009-06-05 870 struct ttm_buffer_object *bo; 5876dd249e8e47 Matthew Garrett 2010-04-26 871 struct radeon_device *rdev; 2bfb0b678e48de Souptick Joarder 2018-04-16 872 vm_fault_t ret; 771fe6b912fca5 Jerome Glisse 2009-06-05 873 11bac80004499e Dave Jiang 2017-02-24 874 bo = (struct ttm_buffer_object *)vmf->vma->vm_private_data; 165d3448a1a0e8 Christian König 2019-09-27 875 if (bo == NULL) 771fe6b912fca5 Jerome Glisse 2009-06-05 876 return VM_FAULT_NOPAGE; 165d3448a1a0e8 Christian König 2019-09-27 877 5876dd249e8e47 Matthew Garrett 2010-04-26 878 rdev = radeon_get_rdev(bo->bdev); db7fce3983ad9b Christian König 2012-05-11 879 down_read(&rdev->pm.mclk_lock); 165d3448a1a0e8 Christian König 2019-09-27 880 ret = ttm_bo_vm_fault(vmf); db7fce3983ad9b Christian König 2012-05-11 881 up_read(&rdev->pm.mclk_lock); 2bfb0b678e48de Souptick Joarder 2018-04-16 882 return ret; 771fe6b912fca5 Jerome Glisse 2009-06-05 883 } 771fe6b912fca5 Jerome Glisse 2009-06-05 884 165d3448a1a0e8 Christian König 2019-09-27 885 static struct vm_operations_struct radeon_ttm_vm_ops = { 165d3448a1a0e8 Christian König 2019-09-27 886 .fault = radeon_ttm_fault, 165d3448a1a0e8 Christian König 2019-09-27 887 .open = ttm_bo_vm_open, 165d3448a1a0e8 Christian König 2019-09-27 888 .close = ttm_bo_vm_close, 165d3448a1a0e8 Christian König 2019-09-27 889 .access = ttm_bo_vm_access 165d3448a1a0e8 Christian König 2019-09-27 890 }; 165d3448a1a0e8 Christian König 2019-09-27 891 771fe6b912fca5 Jerome Glisse 2009-06-05 892 int radeon_mmap(struct file *filp, struct vm_area_struct *vma) 771fe6b912fca5 Jerome Glisse 2009-06-05 893 { 771fe6b912fca5 Jerome Glisse 2009-06-05 894 int r; bed2dd84212eb0 Thomas Zimmermann 2019-02-07 895 struct drm_file *file_priv = filp->private_data; bed2dd84212eb0 Thomas Zimmermann 2019-02-07 896 struct radeon_device *rdev = file_priv->minor->dev->dev_private; 771fe6b912fca5 Jerome Glisse 2009-06-05 897 165d3448a1a0e8 Christian König 2019-09-27 898 if (rdev == NULL) 771fe6b912fca5 Jerome Glisse 2009-06-05 899 return -EINVAL; 165d3448a1a0e8 Christian König 2019-09-27 900 771fe6b912fca5 Jerome Glisse 2009-06-05 901 r = ttm_bo_mmap(filp, vma, &rdev->mman.bdev); 165d3448a1a0e8 Christian König 2019-09-27 902 if (unlikely(r != 0)) 771fe6b912fca5 Jerome Glisse 2009-06-05 903 return r; 165d3448a1a0e8 Christian König 2019-09-27 904 771fe6b912fca5 Jerome Glisse 2009-06-05 905 vma->vm_ops = &radeon_ttm_vm_ops; 771fe6b912fca5 Jerome Glisse 2009-06-05 906 return 0; 771fe6b912fca5 Jerome Glisse 2009-06-05 907 } 771fe6b912fca5 Jerome Glisse 2009-06-05 908 fa8a123855e200 Dave Airlie 2009-08-26 909 #if defined(CONFIG_DEBUG_FS) 893d6e6e122386 Christian König 2013-12-12 910 fa8a123855e200 Dave Airlie 2009-08-26 911 static int radeon_mm_dump_table(struct seq_file *m, void *data) fa8a123855e200 Dave Airlie 2009-08-26 912 { fa8a123855e200 Dave Airlie 2009-08-26 913 struct drm_info_node *node = (struct drm_info_node *)m->private; 893d6e6e122386 Christian König 2013-12-12 914 unsigned ttm_pl = *(int*)node->info_ent->data; fa8a123855e200 Dave Airlie 2009-08-26 915 struct drm_device *dev = node->minor->dev; fa8a123855e200 Dave Airlie 2009-08-26 916 struct radeon_device *rdev = dev->dev_private; bbbb29efa20d55 Christian König 2017-08-07 917 struct ttm_mem_type_manager *man = &rdev->mman.bdev.man[ttm_pl]; b5c3714fe87897 Daniel Vetter 2016-12-29 918 struct drm_printer p = drm_seq_file_printer(m); fa8a123855e200 Dave Airlie 2009-08-26 919 bbbb29efa20d55 Christian König 2017-08-07 920 man->func->debug(man, &p); b5c3714fe87897 Daniel Vetter 2016-12-29 921 return 0; fa8a123855e200 Dave Airlie 2009-08-26 922 } 893d6e6e122386 Christian König 2013-12-12 923 bbbb29efa20d55 Christian König 2017-08-07 924 893d6e6e122386 Christian König 2013-12-12 925 static int ttm_pl_vram = TTM_PL_VRAM; 893d6e6e122386 Christian König 2013-12-12 926 static int ttm_pl_tt = TTM_PL_TT; 893d6e6e122386 Christian König 2013-12-12 927 893d6e6e122386 Christian König 2013-12-12 928 static struct drm_info_list radeon_ttm_debugfs_list[] = { 893d6e6e122386 Christian König 2013-12-12 929 {"radeon_vram_mm", radeon_mm_dump_table, 0, &ttm_pl_vram}, 893d6e6e122386 Christian König 2013-12-12 930 {"radeon_gtt_mm", radeon_mm_dump_table, 0, &ttm_pl_tt}, 893d6e6e122386 Christian König 2013-12-12 931 {"ttm_page_pool", ttm_page_alloc_debugfs, 0, NULL}, 893d6e6e122386 Christian König 2013-12-12 932 #ifdef CONFIG_SWIOTLB 893d6e6e122386 Christian König 2013-12-12 933 {"ttm_dma_page_pool", ttm_dma_page_alloc_debugfs, 0, NULL} 893d6e6e122386 Christian König 2013-12-12 934 #endif 893d6e6e122386 Christian König 2013-12-12 935 }; 893d6e6e122386 Christian König 2013-12-12 936 2014b5694182b5 Christian König 2013-12-18 937 static int radeon_ttm_vram_open(struct inode *inode, struct file *filep) 2014b5694182b5 Christian König 2013-12-18 938 { 2014b5694182b5 Christian König 2013-12-18 939 struct radeon_device *rdev = inode->i_private; 2014b5694182b5 Christian König 2013-12-18 940 i_size_write(inode, rdev->mc.mc_vram_size); 2014b5694182b5 Christian König 2013-12-18 941 filep->private_data = inode->i_private; 2014b5694182b5 Christian König 2013-12-18 942 return 0; 2014b5694182b5 Christian König 2013-12-18 943 } 2014b5694182b5 Christian König 2013-12-18 944 2014b5694182b5 Christian König 2013-12-18 945 static ssize_t radeon_ttm_vram_read(struct file *f, char __user *buf, 2014b5694182b5 Christian König 2013-12-18 946 size_t size, loff_t *pos) 2014b5694182b5 Christian König 2013-12-18 947 { 2014b5694182b5 Christian König 2013-12-18 948 struct radeon_device *rdev = f->private_data; 2014b5694182b5 Christian König 2013-12-18 949 ssize_t result = 0; 2014b5694182b5 Christian König 2013-12-18 950 int r; 2014b5694182b5 Christian König 2013-12-18 951 2014b5694182b5 Christian König 2013-12-18 952 if (size & 0x3 || *pos & 0x3) 2014b5694182b5 Christian König 2013-12-18 953 return -EINVAL; 2014b5694182b5 Christian König 2013-12-18 954 2014b5694182b5 Christian König 2013-12-18 955 while (size) { 2014b5694182b5 Christian König 2013-12-18 956 unsigned long flags; 2014b5694182b5 Christian König 2013-12-18 957 uint32_t value; 2014b5694182b5 Christian König 2013-12-18 958 2014b5694182b5 Christian König 2013-12-18 959 if (*pos >= rdev->mc.mc_vram_size) 2014b5694182b5 Christian König 2013-12-18 960 return result; 2014b5694182b5 Christian König 2013-12-18 961 2014b5694182b5 Christian König 2013-12-18 962 spin_lock_irqsave(&rdev->mmio_idx_lock, flags); 2014b5694182b5 Christian König 2013-12-18 963 WREG32(RADEON_MM_INDEX, ((uint32_t)*pos) | 0x80000000); 2014b5694182b5 Christian König 2013-12-18 964 if (rdev->family >= CHIP_CEDAR) 2014b5694182b5 Christian König 2013-12-18 965 WREG32(EVERGREEN_MM_INDEX_HI, *pos >> 31); 2014b5694182b5 Christian König 2013-12-18 966 value = RREG32(RADEON_MM_DATA); 2014b5694182b5 Christian König 2013-12-18 967 spin_unlock_irqrestore(&rdev->mmio_idx_lock, flags); 2014b5694182b5 Christian König 2013-12-18 968 2014b5694182b5 Christian König 2013-12-18 @969 r = put_user(value, (uint32_t *)buf); 2014b5694182b5 Christian König 2013-12-18 970 if (r) 2014b5694182b5 Christian König 2013-12-18 971 return r; 2014b5694182b5 Christian König 2013-12-18 972 2014b5694182b5 Christian König 2013-12-18 973 result += 4; 2014b5694182b5 Christian König 2013-12-18 974 buf += 4; 2014b5694182b5 Christian König 2013-12-18 975 *pos += 4; 2014b5694182b5 Christian König 2013-12-18 976 size -= 4; 2014b5694182b5 Christian König 2013-12-18 977 } 2014b5694182b5 Christian König 2013-12-18 978 2014b5694182b5 Christian König 2013-12-18 979 return result; 2014b5694182b5 Christian König 2013-12-18 980 } 2014b5694182b5 Christian König 2013-12-18 981 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 35138 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user,io}_ptr() 2020-08-28 8:53 [PATCH] sparse: use static inline for __chk_{user,io}_ptr() Luc Van Oostenryck @ 2020-08-28 15:11 ` kernel test robot 2020-08-28 11:37 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot ` (10 subsequent siblings) 11 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-08-28 15:11 UTC (permalink / raw) To: Luc Van Oostenryck, Miguel Ojeda Cc: kbuild-all, linux-kernel, Luc Van Oostenryck [-- Attachment #1: Type: text/plain, Size: 10044 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 base: 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 config: i386-randconfig-s002-20200828 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-191-g10164920-dirty # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) arch/x86/kernel/signal.c:338:9: sparse: sparse: cast removes address space '__user' of expression >> arch/x86/kernel/signal.c:338:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long long [usertype] * @@ >> arch/x86/kernel/signal.c:338:9: sparse: expected void const volatile [noderef] __user *ptr arch/x86/kernel/signal.c:338:9: sparse: got unsigned long long [usertype] * arch/x86/kernel/signal.c:338:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:338:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:338:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:338:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:338:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:338:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:338:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:338:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:338:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:398:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:398:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long long [usertype] * @@ arch/x86/kernel/signal.c:398:9: sparse: expected void const volatile [noderef] __user *ptr arch/x86/kernel/signal.c:398:9: sparse: got unsigned long long [usertype] * arch/x86/kernel/signal.c:398:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:398:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:398:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:398:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:398:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:398:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:398:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:398:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:398:9: sparse: sparse: cast removes address space '__user' of expression # https://github.com/0day-ci/linux/commit/7d01c91ac34a64f0177bc6d058cc50e805f59102 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 git checkout 7d01c91ac34a64f0177bc6d058cc50e805f59102 vim +338 arch/x86/kernel/signal.c 75779f05264b996 arch/x86/kernel/signal.c Hiroshi Shimamoto 2009-02-27 303 7e907f48980d666 arch/x86/kernel/signal_32.c Ingo Molnar 2008-03-06 304 static int 235b80226b986da arch/x86/kernel/signal.c Al Viro 2012-11-09 305 __setup_frame(int sig, struct ksignal *ksig, sigset_t *set, 7e907f48980d666 arch/x86/kernel/signal_32.c Ingo Molnar 2008-03-06 306 struct pt_regs *regs) ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 307 { ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 308 struct sigframe __user *frame; 7e907f48980d666 arch/x86/kernel/signal_32.c Ingo Molnar 2008-03-06 309 void __user *restorer; b00d8f8f0b2b392 arch/x86/kernel/signal.c Al Viro 2020-02-15 310 void __user *fp = NULL; ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 311 b00d8f8f0b2b392 arch/x86/kernel/signal.c Al Viro 2020-02-15 312 frame = get_sigframe(&ksig->ka, regs, sizeof(*frame), &fp); ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 313 5c1f178094631e8 arch/x86/kernel/signal.c Al Viro 2020-02-15 314 if (!user_access_begin(frame, sizeof(*frame))) 3d0aedd9538e6be arch/x86/kernel/signal_32.c Hiroshi Shimamoto 2008-09-12 315 return -EFAULT; ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 316 5c1f178094631e8 arch/x86/kernel/signal.c Al Viro 2020-02-15 317 unsafe_put_user(sig, &frame->sig, Efault); b00d8f8f0b2b392 arch/x86/kernel/signal.c Al Viro 2020-02-15 318 unsafe_put_sigcontext(&frame->sc, fp, regs, set, Efault); 5c1f178094631e8 arch/x86/kernel/signal.c Al Viro 2020-02-15 319 unsafe_put_user(set->sig[1], &frame->extramask[0], Efault); 1a3e4ca41c5a389 arch/x86/kernel/signal_32.c Roland McGrath 2008-04-09 320 if (current->mm->context.vdso) 6f121e548f83674 arch/x86/kernel/signal.c Andy Lutomirski 2014-05-05 321 restorer = current->mm->context.vdso + 0a6d1fa0d2b48fb arch/x86/kernel/signal.c Andy Lutomirski 2015-10-05 322 vdso_image_32.sym___kernel_sigreturn; 9fbbd4dd17d0712 arch/i386/kernel/signal.c Andi Kleen 2007-02-13 323 else ade1af77129dea6 arch/x86/kernel/signal_32.c Jan Engelhardt 2008-01-30 324 restorer = &frame->retcode; 235b80226b986da arch/x86/kernel/signal.c Al Viro 2012-11-09 325 if (ksig->ka.sa.sa_flags & SA_RESTORER) 235b80226b986da arch/x86/kernel/signal.c Al Viro 2012-11-09 326 restorer = ksig->ka.sa.sa_restorer; ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 327 ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 328 /* Set up to return from userspace. */ 5c1f178094631e8 arch/x86/kernel/signal.c Al Viro 2020-02-15 329 unsafe_put_user(restorer, &frame->pretcode, Efault); ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 330 ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 331 /* 7e907f48980d666 arch/x86/kernel/signal_32.c Ingo Molnar 2008-03-06 332 * This is popl %eax ; movl $__NR_sigreturn, %eax ; int $0x80 ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 333 * ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 334 * WE DO NOT USE IT ANY MORE! It's only left here for historical ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 335 * reasons and because gdb uses it as a signature to notice ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 336 * signal handler stack frames. ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 337 */ 5c1f178094631e8 arch/x86/kernel/signal.c Al Viro 2020-02-15 @338 unsafe_put_user(*((u64 *)&retcode), (u64 *)frame->retcode, Efault); 5c1f178094631e8 arch/x86/kernel/signal.c Al Viro 2020-02-15 339 user_access_end(); ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 340 ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 341 /* Set up registers for signal handler */ 65ea5b034990358 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 342 regs->sp = (unsigned long)frame; 235b80226b986da arch/x86/kernel/signal.c Al Viro 2012-11-09 343 regs->ip = (unsigned long)ksig->ka.sa.sa_handler; 65ea5b034990358 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 344 regs->ax = (unsigned long)sig; 92bc2056855b325 arch/x86/kernel/signal_32.c Harvey Harrison 2008-02-08 345 regs->dx = 0; 92bc2056855b325 arch/x86/kernel/signal_32.c Harvey Harrison 2008-02-08 346 regs->cx = 0; ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 347 65ea5b034990358 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 348 regs->ds = __USER_DS; 65ea5b034990358 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 349 regs->es = __USER_DS; 65ea5b034990358 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 350 regs->ss = __USER_DS; 65ea5b034990358 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 351 regs->cs = __USER_CS; ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 352 283828f3c19ceb3 arch/i386/kernel/signal.c David Howells 2006-01-18 353 return 0; b00d8f8f0b2b392 arch/x86/kernel/signal.c Al Viro 2020-02-15 354 b00d8f8f0b2b392 arch/x86/kernel/signal.c Al Viro 2020-02-15 355 Efault: b00d8f8f0b2b392 arch/x86/kernel/signal.c Al Viro 2020-02-15 356 user_access_end(); b00d8f8f0b2b392 arch/x86/kernel/signal.c Al Viro 2020-02-15 357 return -EFAULT; ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 358 } ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 359 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 42879 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user, io}_ptr() @ 2020-08-28 15:11 ` kernel test robot 0 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-08-28 15:11 UTC (permalink / raw) To: kbuild-all [-- Attachment #1: Type: text/plain, Size: 10162 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 base: 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 config: i386-randconfig-s002-20200828 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-191-g10164920-dirty # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) arch/x86/kernel/signal.c:338:9: sparse: sparse: cast removes address space '__user' of expression >> arch/x86/kernel/signal.c:338:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long long [usertype] * @@ >> arch/x86/kernel/signal.c:338:9: sparse: expected void const volatile [noderef] __user *ptr arch/x86/kernel/signal.c:338:9: sparse: got unsigned long long [usertype] * arch/x86/kernel/signal.c:338:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:338:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:338:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:338:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:338:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:338:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:338:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:338:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:338:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:398:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:398:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long long [usertype] * @@ arch/x86/kernel/signal.c:398:9: sparse: expected void const volatile [noderef] __user *ptr arch/x86/kernel/signal.c:398:9: sparse: got unsigned long long [usertype] * arch/x86/kernel/signal.c:398:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:398:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:398:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:398:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:398:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:398:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:398:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:398:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:398:9: sparse: sparse: cast removes address space '__user' of expression # https://github.com/0day-ci/linux/commit/7d01c91ac34a64f0177bc6d058cc50e805f59102 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 git checkout 7d01c91ac34a64f0177bc6d058cc50e805f59102 vim +338 arch/x86/kernel/signal.c 75779f05264b996 arch/x86/kernel/signal.c Hiroshi Shimamoto 2009-02-27 303 7e907f48980d666 arch/x86/kernel/signal_32.c Ingo Molnar 2008-03-06 304 static int 235b80226b986da arch/x86/kernel/signal.c Al Viro 2012-11-09 305 __setup_frame(int sig, struct ksignal *ksig, sigset_t *set, 7e907f48980d666 arch/x86/kernel/signal_32.c Ingo Molnar 2008-03-06 306 struct pt_regs *regs) ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 307 { ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 308 struct sigframe __user *frame; 7e907f48980d666 arch/x86/kernel/signal_32.c Ingo Molnar 2008-03-06 309 void __user *restorer; b00d8f8f0b2b392 arch/x86/kernel/signal.c Al Viro 2020-02-15 310 void __user *fp = NULL; ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 311 b00d8f8f0b2b392 arch/x86/kernel/signal.c Al Viro 2020-02-15 312 frame = get_sigframe(&ksig->ka, regs, sizeof(*frame), &fp); ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 313 5c1f178094631e8 arch/x86/kernel/signal.c Al Viro 2020-02-15 314 if (!user_access_begin(frame, sizeof(*frame))) 3d0aedd9538e6be arch/x86/kernel/signal_32.c Hiroshi Shimamoto 2008-09-12 315 return -EFAULT; ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 316 5c1f178094631e8 arch/x86/kernel/signal.c Al Viro 2020-02-15 317 unsafe_put_user(sig, &frame->sig, Efault); b00d8f8f0b2b392 arch/x86/kernel/signal.c Al Viro 2020-02-15 318 unsafe_put_sigcontext(&frame->sc, fp, regs, set, Efault); 5c1f178094631e8 arch/x86/kernel/signal.c Al Viro 2020-02-15 319 unsafe_put_user(set->sig[1], &frame->extramask[0], Efault); 1a3e4ca41c5a389 arch/x86/kernel/signal_32.c Roland McGrath 2008-04-09 320 if (current->mm->context.vdso) 6f121e548f83674 arch/x86/kernel/signal.c Andy Lutomirski 2014-05-05 321 restorer = current->mm->context.vdso + 0a6d1fa0d2b48fb arch/x86/kernel/signal.c Andy Lutomirski 2015-10-05 322 vdso_image_32.sym___kernel_sigreturn; 9fbbd4dd17d0712 arch/i386/kernel/signal.c Andi Kleen 2007-02-13 323 else ade1af77129dea6 arch/x86/kernel/signal_32.c Jan Engelhardt 2008-01-30 324 restorer = &frame->retcode; 235b80226b986da arch/x86/kernel/signal.c Al Viro 2012-11-09 325 if (ksig->ka.sa.sa_flags & SA_RESTORER) 235b80226b986da arch/x86/kernel/signal.c Al Viro 2012-11-09 326 restorer = ksig->ka.sa.sa_restorer; ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 327 ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 328 /* Set up to return from userspace. */ 5c1f178094631e8 arch/x86/kernel/signal.c Al Viro 2020-02-15 329 unsafe_put_user(restorer, &frame->pretcode, Efault); ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 330 ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 331 /* 7e907f48980d666 arch/x86/kernel/signal_32.c Ingo Molnar 2008-03-06 332 * This is popl %eax ; movl $__NR_sigreturn, %eax ; int $0x80 ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 333 * ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 334 * WE DO NOT USE IT ANY MORE! It's only left here for historical ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 335 * reasons and because gdb uses it as a signature to notice ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 336 * signal handler stack frames. ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 337 */ 5c1f178094631e8 arch/x86/kernel/signal.c Al Viro 2020-02-15 @338 unsafe_put_user(*((u64 *)&retcode), (u64 *)frame->retcode, Efault); 5c1f178094631e8 arch/x86/kernel/signal.c Al Viro 2020-02-15 339 user_access_end(); ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 340 ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 341 /* Set up registers for signal handler */ 65ea5b034990358 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 342 regs->sp = (unsigned long)frame; 235b80226b986da arch/x86/kernel/signal.c Al Viro 2012-11-09 343 regs->ip = (unsigned long)ksig->ka.sa.sa_handler; 65ea5b034990358 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 344 regs->ax = (unsigned long)sig; 92bc2056855b325 arch/x86/kernel/signal_32.c Harvey Harrison 2008-02-08 345 regs->dx = 0; 92bc2056855b325 arch/x86/kernel/signal_32.c Harvey Harrison 2008-02-08 346 regs->cx = 0; ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 347 65ea5b034990358 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 348 regs->ds = __USER_DS; 65ea5b034990358 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 349 regs->es = __USER_DS; 65ea5b034990358 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 350 regs->ss = __USER_DS; 65ea5b034990358 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 351 regs->cs = __USER_CS; ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 352 283828f3c19ceb3 arch/i386/kernel/signal.c David Howells 2006-01-18 353 return 0; b00d8f8f0b2b392 arch/x86/kernel/signal.c Al Viro 2020-02-15 354 b00d8f8f0b2b392 arch/x86/kernel/signal.c Al Viro 2020-02-15 355 Efault: b00d8f8f0b2b392 arch/x86/kernel/signal.c Al Viro 2020-02-15 356 user_access_end(); b00d8f8f0b2b392 arch/x86/kernel/signal.c Al Viro 2020-02-15 357 return -EFAULT; ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 358 } ^1da177e4c3f415 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 359 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 42879 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user,io}_ptr() 2020-08-28 8:53 [PATCH] sparse: use static inline for __chk_{user,io}_ptr() Luc Van Oostenryck ` (4 preceding siblings ...) 2020-08-28 15:11 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot @ 2020-08-28 19:04 ` Miguel Ojeda 2020-08-28 20:15 ` Luc Van Oostenryck 2020-09-01 0:57 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot ` (5 subsequent siblings) 11 siblings, 1 reply; 32+ messages in thread From: Miguel Ojeda @ 2020-08-28 19:04 UTC (permalink / raw) To: Luc Van Oostenryck; +Cc: linux-kernel Hi Luc, On Fri, Aug 28, 2020 at 10:53 AM Luc Van Oostenryck <luc.vanoostenryck@gmail.com> wrote: > > Hi Miguel, > > Could you also take this patch in your queue? > It has already be sent twice but ignored by the other channels. Yeah, no problem. However, what about all those emails from the test bot? Is the bot using an old version of sparse or something like that? Cheers, Miguel ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user,io}_ptr() 2020-08-28 19:04 ` [PATCH] sparse: use static inline for __chk_{user,io}_ptr() Miguel Ojeda @ 2020-08-28 20:15 ` Luc Van Oostenryck 2020-08-29 7:33 ` Miguel Ojeda 0 siblings, 1 reply; 32+ messages in thread From: Luc Van Oostenryck @ 2020-08-28 20:15 UTC (permalink / raw) To: Miguel Ojeda; +Cc: linux-kernel On Fri, Aug 28, 2020 at 09:04:28PM +0200, Miguel Ojeda wrote: > Hi Luc, > > On Fri, Aug 28, 2020 at 10:53 AM Luc Van Oostenryck > <luc.vanoostenryck@gmail.com> wrote: > > > > Hi Miguel, > > > > Could you also take this patch in your queue? > > It has already be sent twice but ignored by the other channels. > > Yeah, no problem. However, what about all those emails from the test > bot? Is the bot using an old version of sparse or something like that? Thanks. The bot uses the very latest sparse version (which is very nice) but is giving here false warnings. The change in the patch has as consequence to change related warnings: : ... : expected void const volatile [noderef] __user * : got ... into: : ... : expected void const volatile [noderef] __user *ptr : got ... But to the bot, any change to the content of the warning itself or its associated info is presented as a new warning. I've talked to the bot's guys about this problem and they've replied that they're seriously considering to change this behaviour. Best regards, -- Luc ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user,io}_ptr() 2020-08-28 20:15 ` Luc Van Oostenryck @ 2020-08-29 7:33 ` Miguel Ojeda 0 siblings, 0 replies; 32+ messages in thread From: Miguel Ojeda @ 2020-08-29 7:33 UTC (permalink / raw) To: Luc Van Oostenryck; +Cc: linux-kernel Hi Luc, On Fri, Aug 28, 2020 at 10:15 PM Luc Van Oostenryck <luc.vanoostenryck@gmail.com> wrote: > > But to the bot, any change to the content of the warning itself > or its associated info is presented as a new warning. > I've talked to the bot's guys about this problem and they've > replied that they're seriously considering to change this behaviour. I see! Well, I guess having a "false positive" is OK in that case. It makes us look twice. Thanks, queued! Cheers, Miguel ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user, io}_ptr() 2020-08-28 8:53 [PATCH] sparse: use static inline for __chk_{user,io}_ptr() Luc Van Oostenryck ` (5 preceding siblings ...) 2020-08-28 19:04 ` [PATCH] sparse: use static inline for __chk_{user,io}_ptr() Miguel Ojeda @ 2020-09-01 0:57 ` kernel test robot 2020-09-01 5:33 ` kernel test robot ` (4 subsequent siblings) 11 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-09-01 0:57 UTC (permalink / raw) To: kbuild-all [-- Attachment #1: Type: text/plain, Size: 9882 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 base: 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 config: x86_64-randconfig-s021-20200831 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-191-g10164920-dirty # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) >> drivers/watchdog/sbc_fitpc2_wdt.c:99:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const * @@ >> drivers/watchdog/sbc_fitpc2_wdt.c:99:21: sparse: expected void const volatile [noderef] __user *ptr drivers/watchdog/sbc_fitpc2_wdt.c:99:21: sparse: got char const * drivers/watchdog/sbc_fitpc2_wdt.c:128:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got struct watchdog_info * @@ drivers/watchdog/sbc_fitpc2_wdt.c:128:37: sparse: expected void [noderef] __user *to drivers/watchdog/sbc_fitpc2_wdt.c:128:37: sparse: got struct watchdog_info * >> drivers/watchdog/sbc_fitpc2_wdt.c:133:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int * @@ drivers/watchdog/sbc_fitpc2_wdt.c:133:23: sparse: expected void const volatile [noderef] __user *ptr drivers/watchdog/sbc_fitpc2_wdt.c:133:23: sparse: got int * drivers/watchdog/sbc_fitpc2_wdt.c:137:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int * @@ drivers/watchdog/sbc_fitpc2_wdt.c:137:23: sparse: expected void const volatile [noderef] __user *ptr drivers/watchdog/sbc_fitpc2_wdt.c:137:23: sparse: got int * drivers/watchdog/sbc_fitpc2_wdt.c:146:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int * @@ drivers/watchdog/sbc_fitpc2_wdt.c:146:23: sparse: expected void const volatile [noderef] __user *ptr drivers/watchdog/sbc_fitpc2_wdt.c:146:23: sparse: got int * drivers/watchdog/sbc_fitpc2_wdt.c:160:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int * @@ drivers/watchdog/sbc_fitpc2_wdt.c:160:23: sparse: expected void const volatile [noderef] __user *ptr drivers/watchdog/sbc_fitpc2_wdt.c:160:23: sparse: got int * drivers/watchdog/sbc_fitpc2_wdt.c:187:27: sparse: sparse: incorrect type in initializer (incompatible argument 2 (different address spaces)) @@ expected long ( *write )( ... ) @@ got long ( * )( ... ) @@ drivers/watchdog/sbc_fitpc2_wdt.c:187:27: sparse: expected long ( *write )( ... ) drivers/watchdog/sbc_fitpc2_wdt.c:187:27: sparse: got long ( * )( ... ) # https://github.com/0day-ci/linux/commit/7d01c91ac34a64f0177bc6d058cc50e805f59102 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 git checkout 7d01c91ac34a64f0177bc6d058cc50e805f59102 vim +99 drivers/watchdog/sbc_fitpc2_wdt.c 3a5f90002e9d08 Denis Turischev 2009-07-21 80 3a5f90002e9d08 Denis Turischev 2009-07-21 81 static ssize_t fitpc2_wdt_write(struct file *file, const char *data, 3a5f90002e9d08 Denis Turischev 2009-07-21 82 size_t len, loff_t *ppos) 3a5f90002e9d08 Denis Turischev 2009-07-21 83 { 3a5f90002e9d08 Denis Turischev 2009-07-21 84 size_t i; 3a5f90002e9d08 Denis Turischev 2009-07-21 85 3a5f90002e9d08 Denis Turischev 2009-07-21 86 if (!len) 3a5f90002e9d08 Denis Turischev 2009-07-21 87 return 0; 3a5f90002e9d08 Denis Turischev 2009-07-21 88 3a5f90002e9d08 Denis Turischev 2009-07-21 89 if (nowayout) { 3a5f90002e9d08 Denis Turischev 2009-07-21 90 len = 0; 3a5f90002e9d08 Denis Turischev 2009-07-21 91 goto out; 3a5f90002e9d08 Denis Turischev 2009-07-21 92 } 3a5f90002e9d08 Denis Turischev 2009-07-21 93 3a5f90002e9d08 Denis Turischev 2009-07-21 94 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 3a5f90002e9d08 Denis Turischev 2009-07-21 95 3a5f90002e9d08 Denis Turischev 2009-07-21 96 for (i = 0; i != len; i++) { 3a5f90002e9d08 Denis Turischev 2009-07-21 97 char c; 3a5f90002e9d08 Denis Turischev 2009-07-21 98 3a5f90002e9d08 Denis Turischev 2009-07-21 @99 if (get_user(c, data + i)) 3a5f90002e9d08 Denis Turischev 2009-07-21 100 return -EFAULT; 3a5f90002e9d08 Denis Turischev 2009-07-21 101 3a5f90002e9d08 Denis Turischev 2009-07-21 102 if (c == 'V') 3a5f90002e9d08 Denis Turischev 2009-07-21 103 set_bit(WDT_OK_TO_CLOSE, &wdt_status); 3a5f90002e9d08 Denis Turischev 2009-07-21 104 } 3a5f90002e9d08 Denis Turischev 2009-07-21 105 3a5f90002e9d08 Denis Turischev 2009-07-21 106 out: 3a5f90002e9d08 Denis Turischev 2009-07-21 107 wdt_enable(); 3a5f90002e9d08 Denis Turischev 2009-07-21 108 3a5f90002e9d08 Denis Turischev 2009-07-21 109 return len; 3a5f90002e9d08 Denis Turischev 2009-07-21 110 } 3a5f90002e9d08 Denis Turischev 2009-07-21 111 3a5f90002e9d08 Denis Turischev 2009-07-21 112 42747d712de56c Wim Van Sebroeck 2009-12-26 113 static const struct watchdog_info ident = { 3a5f90002e9d08 Denis Turischev 2009-07-21 114 .options = WDIOF_MAGICCLOSE | WDIOF_SETTIMEOUT | 3a5f90002e9d08 Denis Turischev 2009-07-21 115 WDIOF_KEEPALIVEPING, 3a5f90002e9d08 Denis Turischev 2009-07-21 116 .identity = WATCHDOG_NAME, 3a5f90002e9d08 Denis Turischev 2009-07-21 117 }; 3a5f90002e9d08 Denis Turischev 2009-07-21 118 3a5f90002e9d08 Denis Turischev 2009-07-21 119 3a5f90002e9d08 Denis Turischev 2009-07-21 120 static long fitpc2_wdt_ioctl(struct file *file, unsigned int cmd, 3a5f90002e9d08 Denis Turischev 2009-07-21 121 unsigned long arg) 3a5f90002e9d08 Denis Turischev 2009-07-21 122 { 3a5f90002e9d08 Denis Turischev 2009-07-21 123 int ret = -ENOTTY; 3a5f90002e9d08 Denis Turischev 2009-07-21 124 int time; 3a5f90002e9d08 Denis Turischev 2009-07-21 125 3a5f90002e9d08 Denis Turischev 2009-07-21 126 switch (cmd) { 3a5f90002e9d08 Denis Turischev 2009-07-21 127 case WDIOC_GETSUPPORT: 3a5f90002e9d08 Denis Turischev 2009-07-21 128 ret = copy_to_user((struct watchdog_info *)arg, &ident, 3a5f90002e9d08 Denis Turischev 2009-07-21 129 sizeof(ident)) ? -EFAULT : 0; 3a5f90002e9d08 Denis Turischev 2009-07-21 130 break; 3a5f90002e9d08 Denis Turischev 2009-07-21 131 3a5f90002e9d08 Denis Turischev 2009-07-21 132 case WDIOC_GETSTATUS: 3a5f90002e9d08 Denis Turischev 2009-07-21 @133 ret = put_user(0, (int *)arg); 3a5f90002e9d08 Denis Turischev 2009-07-21 134 break; 3a5f90002e9d08 Denis Turischev 2009-07-21 135 3a5f90002e9d08 Denis Turischev 2009-07-21 136 case WDIOC_GETBOOTSTATUS: 3a5f90002e9d08 Denis Turischev 2009-07-21 137 ret = put_user(0, (int *)arg); 3a5f90002e9d08 Denis Turischev 2009-07-21 138 break; 3a5f90002e9d08 Denis Turischev 2009-07-21 139 3a5f90002e9d08 Denis Turischev 2009-07-21 140 case WDIOC_KEEPALIVE: 3a5f90002e9d08 Denis Turischev 2009-07-21 141 wdt_enable(); 3a5f90002e9d08 Denis Turischev 2009-07-21 142 ret = 0; 3a5f90002e9d08 Denis Turischev 2009-07-21 143 break; 3a5f90002e9d08 Denis Turischev 2009-07-21 144 3a5f90002e9d08 Denis Turischev 2009-07-21 145 case WDIOC_SETTIMEOUT: 3a5f90002e9d08 Denis Turischev 2009-07-21 146 ret = get_user(time, (int *)arg); 3a5f90002e9d08 Denis Turischev 2009-07-21 147 if (ret) 3a5f90002e9d08 Denis Turischev 2009-07-21 148 break; 3a5f90002e9d08 Denis Turischev 2009-07-21 149 3a5f90002e9d08 Denis Turischev 2009-07-21 150 if (time < 31 || time > 255) { 3a5f90002e9d08 Denis Turischev 2009-07-21 151 ret = -EINVAL; 3a5f90002e9d08 Denis Turischev 2009-07-21 152 break; 3a5f90002e9d08 Denis Turischev 2009-07-21 153 } 3a5f90002e9d08 Denis Turischev 2009-07-21 154 3a5f90002e9d08 Denis Turischev 2009-07-21 155 margin = time; 3a5f90002e9d08 Denis Turischev 2009-07-21 156 wdt_enable(); bd490f8222510d Gustavo A. R. Silva 2020-07-07 157 fallthrough; 3a5f90002e9d08 Denis Turischev 2009-07-21 158 3a5f90002e9d08 Denis Turischev 2009-07-21 159 case WDIOC_GETTIMEOUT: 3a5f90002e9d08 Denis Turischev 2009-07-21 160 ret = put_user(margin, (int *)arg); 3a5f90002e9d08 Denis Turischev 2009-07-21 161 break; 3a5f90002e9d08 Denis Turischev 2009-07-21 162 } 3a5f90002e9d08 Denis Turischev 2009-07-21 163 3a5f90002e9d08 Denis Turischev 2009-07-21 164 return ret; 3a5f90002e9d08 Denis Turischev 2009-07-21 165 } 3a5f90002e9d08 Denis Turischev 2009-07-21 166 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 37535 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user, io}_ptr() 2020-08-28 8:53 [PATCH] sparse: use static inline for __chk_{user,io}_ptr() Luc Van Oostenryck ` (6 preceding siblings ...) 2020-09-01 0:57 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot @ 2020-09-01 5:33 ` kernel test robot 2020-09-01 21:37 ` kernel test robot ` (3 subsequent siblings) 11 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-09-01 5:33 UTC (permalink / raw) To: kbuild-all [-- Attachment #1: Type: text/plain, Size: 78239 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 base: 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 config: sh-randconfig-s031-20200831 (attached as .config) compiler: sh4-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.2-191-g10164920-dirty # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=sh If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) drivers/char/ipmi/ipmi_watchdog.c:767:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/char/ipmi/ipmi_watchdog.c:767:37: sparse: expected char const *__gu_addr drivers/char/ipmi/ipmi_watchdog.c:767:37: sparse: got char const [noderef] __user * >> drivers/char/ipmi/ipmi_watchdog.c:767:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/char/ipmi/ipmi_watchdog.c:767:37: sparse: expected void const volatile [noderef] __user *ptr drivers/char/ipmi/ipmi_watchdog.c:767:37: sparse: got char const *__gu_addr -- sound/core/control.c:776:17: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:776:26: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:777:17: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:777:26: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:796:48: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:1462:40: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:1565:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ptr @@ sound/core/control.c:1565:13: sparse: expected int const *__gu_addr sound/core/control.c:1565:13: sparse: got int [noderef] __user *ptr >> sound/core/control.c:1565:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/control.c:1565:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/control.c:1565:13: sparse: got int const *__gu_addr -- sound/core/pcm.c:92:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:92:29: sparse: expected int const *__gu_addr sound/core/pcm.c:92:29: sparse: got int [noderef] __user * >> sound/core/pcm.c:92:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/pcm.c:92:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:92:29: sparse: got int const *__gu_addr sound/core/pcm.c:112:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm.c:112:29: sparse: expected unsigned int const *__gu_addr sound/core/pcm.c:112:29: sparse: got unsigned int [noderef] __user * >> sound/core/pcm.c:112:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm.c:112:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:112:29: sparse: got unsigned int const *__gu_addr sound/core/pcm.c:114:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:114:29: sparse: expected int const *__gu_addr sound/core/pcm.c:114:29: sparse: got int [noderef] __user * sound/core/pcm.c:114:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm.c:114:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:114:29: sparse: got int const *__gu_addr sound/core/pcm.c:119:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm.c:119:29: sparse: expected unsigned int const *__gu_addr sound/core/pcm.c:119:29: sparse: got unsigned int [noderef] __user * sound/core/pcm.c:119:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm.c:119:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:119:29: sparse: got unsigned int const *__gu_addr sound/core/pcm.c:155:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:155:29: sparse: expected int const *__gu_addr sound/core/pcm.c:155:29: sparse: got int [noderef] __user * sound/core/pcm.c:155:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm.c:155:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:155:29: sparse: got int const *__gu_addr sound/core/pcm.c:999:9: sparse: sparse: context imbalance in 'snd_pcm_detach_substream' - different lock contexts for basic block -- sound/core/timer.c:2045:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/timer.c:2045:13: sparse: expected int const *__gu_addr sound/core/timer.c:2045:13: sparse: got int [noderef] __user *p >> sound/core/timer.c:2045:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/timer.c:2045:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/timer.c:2045:13: sparse: got int const *__gu_addr sound/core/timer.c:790:25: sparse: sparse: context imbalance in 'snd_timer_process_callbacks' - unexpected unlock -- sound/core/pcm_native.c:1010:20: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ sound/core/pcm_native.c:1010:20: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:1010:20: sparse: got unsigned int [noderef] [usertype] __user * >> sound/core/pcm_native.c:1010:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> sound/core/pcm_native.c:1010:20: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:1010:20: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:1036:20: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ sound/core/pcm_native.c:1036:20: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:1036:20: sparse: got unsigned int [noderef] [usertype] __user * sound/core/pcm_native.c:1036:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:1036:20: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:1036:20: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:2944:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:2944:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:2944:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:2944:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:2944:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:2944:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3037:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3037:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3037:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3037:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3037:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3037:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3038:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3038:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3038:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3038:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3038:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3038:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3039:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3039:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3039:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3039:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3039:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3039:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3087:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *_arg @@ sound/core/pcm_native.c:3087:13: sparse: expected int const *__gu_addr sound/core/pcm_native.c:3087:13: sparse: got int [noderef] __user *_arg >> sound/core/pcm_native.c:3087:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm_native.c:3087:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3087:13: sparse: got int const *__gu_addr sound/core/pcm_native.c:3153:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@ sound/core/pcm_native.c:3153:13: sparse: expected unsigned long const *__gu_addr sound/core/pcm_native.c:3153:13: sparse: got unsigned long [noderef] [usertype] __user *_frames >> sound/core/pcm_native.c:3153:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ sound/core/pcm_native.c:3153:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3153:13: sparse: got unsigned long const *__gu_addr sound/core/pcm_native.c:3169:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@ sound/core/pcm_native.c:3169:13: sparse: expected unsigned long const *__gu_addr sound/core/pcm_native.c:3169:13: sparse: got unsigned long [noderef] [usertype] __user *_frames sound/core/pcm_native.c:3169:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ sound/core/pcm_native.c:3169:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3169:13: sparse: got unsigned long const *__gu_addr sound/core/pcm_native.c:3203:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3203:21: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3203:21: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3203:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3203:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3203:21: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:95:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock' - different lock contexts for basic block sound/core/pcm_native.c: note: in included file (through include/linux/ipc.h, include/uapi/linux/sem.h, include/linux/sem.h, ...): include/linux/spinlock.h:394:9: sparse: sparse: context imbalance in 'snd_pcm_group_unlock' - unexpected unlock sound/core/pcm_native.c:97:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock_irq' - different lock contexts for basic block sound/core/pcm_native.c: note: in included file (through arch/sh/include/asm/irqflags.h, include/linux/irqflags.h, arch/sh/include/asm/cmpxchg-irq.h, ...): include/asm-generic/irqflags.h:47:9: sparse: sparse: context imbalance in 'snd_pcm_group_unlock_irq' - unexpected unlock sound/core/pcm_native.c:145:9: sparse: sparse: context imbalance in 'snd_pcm_stream_lock_nested' - different lock contexts for basic block sound/core/pcm_native.c:171:9: sparse: sparse: context imbalance in '_snd_pcm_stream_lock_irqsave' - different lock contexts for basic block sound/core/pcm_native.c: note: in included file (through include/linux/ipc.h, include/uapi/linux/sem.h, include/linux/sem.h, ...): include/linux/spinlock.h:409:9: sparse: sparse: context imbalance in 'snd_pcm_stream_unlock_irqrestore' - unexpected unlock include/linux/spinlock.h:394:9: sparse: sparse: context imbalance in 'snd_pcm_action_group' - unexpected unlock sound/core/pcm_native.c:1273:9: sparse: sparse: context imbalance in 'snd_pcm_stream_group_ref' - different lock contexts for basic block -- sound/core/rawmidi.c:654:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/rawmidi.c:654:13: sparse: expected unsigned int const *__gu_addr sound/core/rawmidi.c:654:13: sparse: got unsigned int [noderef] __user * >> sound/core/rawmidi.c:654:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> sound/core/rawmidi.c:654:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:654:13: sparse: got unsigned int const *__gu_addr sound/core/rawmidi.c:656:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:656:13: sparse: expected int const *__gu_addr sound/core/rawmidi.c:656:13: sparse: got int [noderef] __user * >> sound/core/rawmidi.c:656:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:656:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:656:13: sparse: got int const *__gu_addr sound/core/rawmidi.c:658:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/rawmidi.c:658:13: sparse: expected unsigned int const *__gu_addr sound/core/rawmidi.c:658:13: sparse: got unsigned int [noderef] __user * sound/core/rawmidi.c:658:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/rawmidi.c:658:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:658:13: sparse: got unsigned int const *__gu_addr sound/core/rawmidi.c:836:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:836:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:836:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:836:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:836:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:836:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:874:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:874:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:874:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:874:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:874:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:874:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:889:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:889:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:889:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:889:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:889:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:889:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:923:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:923:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:923:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:923:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:923:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:923:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:945:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:945:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:945:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:945:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:945:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:945:21: sparse: got int const *__gu_addr -- sound/core/oss/mixer_oss.c:312:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/oss/mixer_oss.c:312:29: sparse: expected int const *__gu_addr sound/core/oss/mixer_oss.c:312:29: sparse: got int [noderef] __user *p >> sound/core/oss/mixer_oss.c:312:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/oss/mixer_oss.c:312:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/oss/mixer_oss.c:312:29: sparse: got int const *__gu_addr sound/core/oss/mixer_oss.c:350:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/oss/mixer_oss.c:350:21: sparse: expected int const *__gu_addr sound/core/oss/mixer_oss.c:350:21: sparse: got int [noderef] __user *p sound/core/oss/mixer_oss.c:350:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/oss/mixer_oss.c:350:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/oss/mixer_oss.c:350:21: sparse: got int const *__gu_addr -- sound/core/oss/pcm_oss.c:884:53: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected int format @@ got restricted snd_pcm_format_t [assigned] [usertype] format @@ sound/core/oss/pcm_oss.c:884:53: sparse: expected int format sound/core/oss/pcm_oss.c:884:53: sparse: got restricted snd_pcm_format_t [assigned] [usertype] format sound/core/oss/pcm_oss.c:884:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted snd_pcm_format_t [assigned] [usertype] sformat @@ got int @@ sound/core/oss/pcm_oss.c:884:25: sparse: expected restricted snd_pcm_format_t [assigned] [usertype] sformat sound/core/oss/pcm_oss.c:884:25: sparse: got int sound/core/oss/pcm_oss.c:2592:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/oss/pcm_oss.c:2592:21: sparse: expected int const *__gu_addr sound/core/oss/pcm_oss.c:2592:21: sparse: got int [noderef] __user *p >> sound/core/oss/pcm_oss.c:2592:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/oss/pcm_oss.c:2592:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/oss/pcm_oss.c:2592:21: sparse: got int const *__gu_addr sound/core/oss/pcm_oss.c:2603:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/oss/pcm_oss.c:2603:21: sparse: expected int const *__gu_addr sound/core/oss/pcm_oss.c:2603:21: sparse: got int [noderef] __user *p sound/core/oss/pcm_oss.c:2603:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/oss/pcm_oss.c:2603:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/oss/pcm_oss.c:2603:21: sparse: got int const *__gu_addr sound/core/oss/pcm_oss.c:2615:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/oss/pcm_oss.c:2615:21: sparse: expected int const *__gu_addr sound/core/oss/pcm_oss.c:2615:21: sparse: got int [noderef] __user *p sound/core/oss/pcm_oss.c:2615:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/oss/pcm_oss.c:2615:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/oss/pcm_oss.c:2615:21: sparse: got int const *__gu_addr sound/core/oss/pcm_oss.c:2627:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/oss/pcm_oss.c:2627:21: sparse: expected int const *__gu_addr sound/core/oss/pcm_oss.c:2627:21: sparse: got int [noderef] __user *p sound/core/oss/pcm_oss.c:2627:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/oss/pcm_oss.c:2627:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/oss/pcm_oss.c:2627:21: sparse: got int const *__gu_addr sound/core/oss/pcm_oss.c:2644:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/oss/pcm_oss.c:2644:21: sparse: expected int const *__gu_addr sound/core/oss/pcm_oss.c:2644:21: sparse: got int [noderef] __user *p sound/core/oss/pcm_oss.c:2644:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/oss/pcm_oss.c:2644:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/oss/pcm_oss.c:2644:21: sparse: got int const *__gu_addr sound/core/oss/pcm_oss.c:2651:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/oss/pcm_oss.c:2651:21: sparse: expected int const *__gu_addr sound/core/oss/pcm_oss.c:2651:21: sparse: got int [noderef] __user *p sound/core/oss/pcm_oss.c:2651:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/oss/pcm_oss.c:2651:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/oss/pcm_oss.c:2651:21: sparse: got int const *__gu_addr sound/core/oss/pcm_oss.c:2678:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/oss/pcm_oss.c:2678:21: sparse: expected int const *__gu_addr sound/core/oss/pcm_oss.c:2678:21: sparse: got int [noderef] __user *p sound/core/oss/pcm_oss.c:2678:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/oss/pcm_oss.c:2678:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/oss/pcm_oss.c:2678:21: sparse: got int const *__gu_addr -- drivers/tty/tty_io.c:2189:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user *p @@ drivers/tty/tty_io.c:2189:13: sparse: expected char const *__gu_addr drivers/tty/tty_io.c:2189:13: sparse: got char [noderef] __user *p >> drivers/tty/tty_io.c:2189:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/tty_io.c:2189:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2189:13: sparse: got char const *__gu_addr drivers/tty/tty_io.c:2330:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/tty/tty_io.c:2330:13: sparse: expected int const *__gu_addr drivers/tty/tty_io.c:2330:13: sparse: got int [noderef] __user *p >> drivers/tty/tty_io.c:2330:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/tty/tty_io.c:2330:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2330:13: sparse: got int const *__gu_addr drivers/tty/tty_io.c:2448:18: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user *p @@ drivers/tty/tty_io.c:2448:18: sparse: expected unsigned int const *__gu_addr drivers/tty/tty_io.c:2448:18: sparse: got unsigned int [noderef] __user *p >> drivers/tty/tty_io.c:2448:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/tty/tty_io.c:2448:18: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2448:18: sparse: got unsigned int const *__gu_addr -- drivers/tty/tty_ioctl.c:842:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/tty_ioctl.c:842:21: sparse: expected unsigned int const *__gu_addr drivers/tty/tty_ioctl.c:842:21: sparse: got unsigned int [noderef] __user * >> drivers/tty/tty_ioctl.c:842:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/tty/tty_ioctl.c:842:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_ioctl.c:842:21: sparse: got unsigned int const *__gu_addr drivers/tty/tty_ioctl.c: note: in included file (through arch/sh/include/generated/uapi/asm/termios.h, include/uapi/linux/termios.h): include/asm-generic/termios.h:25:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:25:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:25:13: sparse: got unsigned short const [noderef] __user * >> include/asm-generic/termios.h:25:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ >> include/asm-generic/termios.h:25:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:25:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:29:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:29:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:29:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:29:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:29:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:29:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:33:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:33:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:33:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:33:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:33:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:33:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:37:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:37:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:37:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:37:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:37:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:37:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:41:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char const [noderef] __user * @@ include/asm-generic/termios.h:41:13: sparse: expected unsigned char const *__gu_addr include/asm-generic/termios.h:41:13: sparse: got unsigned char const [noderef] __user * >> include/asm-generic/termios.h:41:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ include/asm-generic/termios.h:41:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:41:13: sparse: got unsigned char const *__gu_addr -- drivers/tty/tty_jobctrl.c:77:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:77:9: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:77:9: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:80:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:80:34: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:80:34: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:120:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:120:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:120:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:122:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:122:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:122:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:131:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:131:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:131:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:152:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:152:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:152:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:161:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:161:9: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:161:9: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:163:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:163:40: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:163:40: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:200:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:200:41: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:200:41: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:208:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:208:51: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:208:51: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:219:43: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:219:43: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:219:43: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:281:39: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:281:39: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:281:39: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:284:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:284:41: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:284:41: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:293:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:293:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:293:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:309:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:309:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:309:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:484:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] [usertype] __user *p @@ drivers/tty/tty_jobctrl.c:484:13: sparse: expected int const *__gu_addr drivers/tty/tty_jobctrl.c:484:13: sparse: got int [noderef] [usertype] __user *p >> drivers/tty/tty_jobctrl.c:484:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/tty/tty_jobctrl.c:484:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_jobctrl.c:484:13: sparse: got int const *__gu_addr drivers/tty/tty_jobctrl.c:18:41: sparse: sparse: dereference of noderef expression -- drivers/tty/sysrq.c:1110:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *buf @@ drivers/tty/sysrq.c:1110:21: sparse: expected char const *__gu_addr drivers/tty/sysrq.c:1110:21: sparse: got char const [noderef] __user *buf >> drivers/tty/sysrq.c:1110:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/sysrq.c:1110:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/sysrq.c:1110:21: sparse: got char const *__gu_addr drivers/tty/sysrq.c:148:13: sparse: sparse: context imbalance in 'sysrq_handle_crash' - unexpected unlock -- drivers/tty/pty.c:163:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/tty/pty.c:163:13: sparse: expected int const *__gu_addr drivers/tty/pty.c:163:13: sparse: got int [noderef] __user *arg >> drivers/tty/pty.c:163:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/tty/pty.c:163:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/pty.c:163:13: sparse: got int const *__gu_addr drivers/tty/pty.c:183:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/tty/pty.c:183:13: sparse: expected int const *__gu_addr drivers/tty/pty.c:183:13: sparse: got int [noderef] __user *arg drivers/tty/pty.c:183:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/tty/pty.c:183:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/pty.c:183:13: sparse: got int const *__gu_addr -- drivers/tty/vt/vt_ioctl.c:1004:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] __user * @@ drivers/tty/vt/vt_ioctl.c:1004:21: sparse: expected unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1004:21: sparse: got unsigned short [noderef] __user * >> drivers/tty/vt/vt_ioctl.c:1004:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ >> drivers/tty/vt/vt_ioctl.c:1004:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt_ioctl.c:1004:21: sparse: got unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] __user * @@ drivers/tty/vt/vt_ioctl.c:1005:21: sparse: expected unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: got unsigned short [noderef] __user * drivers/tty/vt/vt_ioctl.c:1005:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ drivers/tty/vt/vt_ioctl.c:1005:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: got unsigned short const *__gu_addr -- drivers/tty/vt/keyboard.c:1730:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/vt/keyboard.c:1730:21: sparse: expected unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1730:21: sparse: got unsigned int [noderef] __user * >> drivers/tty/vt/keyboard.c:1730:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/tty/vt/keyboard.c:1730:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/keyboard.c:1730:21: sparse: got unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1768:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/vt/keyboard.c:1768:21: sparse: expected unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1768:21: sparse: got unsigned int [noderef] __user * drivers/tty/vt/keyboard.c:1768:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/tty/vt/keyboard.c:1768:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/keyboard.c:1768:21: sparse: got unsigned int const *__gu_addr -- drivers/tty/vt/vt.c:4301:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user * @@ drivers/tty/vt/vt.c:4301:13: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:4301:13: sparse: got char [noderef] __user * >> drivers/tty/vt/vt.c:4301:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/vt/vt.c:4301:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:4301:13: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:225:5: sparse: sparse: symbol 'console_blank_hook' was not declared. Should it be static? drivers/tty/vt/vt.c:2991:19: sparse: sparse: symbol 'console_driver' was not declared. Should it be static? drivers/tty/vt/vt.c:3147:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user *p @@ drivers/tty/vt/vt.c:3147:13: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:3147:13: sparse: got char [noderef] __user *p drivers/tty/vt/vt.c:3147:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/tty/vt/vt.c:3147:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3147:13: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:3200:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user * @@ drivers/tty/vt/vt.c:3200:37: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:3200:37: sparse: got char [noderef] __user * drivers/tty/vt/vt.c:3200:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/tty/vt/vt.c:3200:37: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3200:37: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:3213:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/tty/vt/vt.c:3213:29: sparse: expected signed int const *__gu_addr drivers/tty/vt/vt.c:3213:29: sparse: got signed int [noderef] [usertype] __user * >> drivers/tty/vt/vt.c:3213:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/tty/vt/vt.c:3213:29: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3213:29: sparse: got signed int const *__gu_addr drivers/tty/vt/vt.c:3032:13: sparse: sparse: context imbalance in 'vt_console_print' - wrong count at exit -- drivers/char/random.c:1944:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/char/random.c:1944:21: sparse: expected int const *__gu_addr drivers/char/random.c:1944:21: sparse: got int [noderef] __user *p >> drivers/char/random.c:1944:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/char/random.c:1944:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1944:21: sparse: got int const *__gu_addr drivers/char/random.c:1950:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/char/random.c:1950:21: sparse: expected int const *__gu_addr drivers/char/random.c:1950:21: sparse: got int [noderef] __user * drivers/char/random.c:1950:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/char/random.c:1950:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1950:21: sparse: got int const *__gu_addr drivers/char/random.c:1954:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/char/random.c:1954:21: sparse: expected int const *__gu_addr drivers/char/random.c:1954:21: sparse: got int [noderef] __user * drivers/char/random.c:1954:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/char/random.c:1954:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1954:21: sparse: got int const *__gu_addr drivers/char/random.c:878:12: sparse: sparse: context imbalance in 'crng_fast_load' - wrong count at exit drivers/char/random.c:917:12: sparse: sparse: context imbalance in 'crng_slow_load' - wrong count at exit drivers/char/random.c:1255:6: sparse: sparse: context imbalance in 'add_interrupt_randomness' - different lock contexts for basic block -- drivers/scsi/scsi_ioctl.c:48:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/scsi/scsi_ioctl.c:48:21: sparse: expected unsigned int const *__gu_addr drivers/scsi/scsi_ioctl.c:48:21: sparse: got unsigned int [noderef] __user * >> drivers/scsi/scsi_ioctl.c:48:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/scsi/scsi_ioctl.c:48:21: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/scsi_ioctl.c:48:21: sparse: got unsigned int const *__gu_addr -- drivers/scsi/scsi_error.c:2341:17: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/scsi/scsi_error.c:2341:17: sparse: expected int const *__gu_addr drivers/scsi/scsi_error.c:2341:17: sparse: got int [noderef] __user *arg >> drivers/scsi/scsi_error.c:2341:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/scsi/scsi_error.c:2341:17: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/scsi_error.c:2341:17: sparse: got int const *__gu_addr -- drivers/scsi/sg.c:415:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:415:21: sparse: expected int const *__gu_addr drivers/scsi/sg.c:415:21: sparse: got int [noderef] __user * >> drivers/scsi/sg.c:415:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/scsi/sg.c:415:21: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:415:21: sparse: got int const *__gu_addr drivers/scsi/sg.c:419:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:419:32: sparse: expected int const *__gu_addr drivers/scsi/sg.c:419:32: sparse: got int [noderef] __user * drivers/scsi/sg.c:419:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:419:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:419:32: sparse: got int const *__gu_addr drivers/scsi/sg.c:425:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] __user * @@ drivers/scsi/sg.c:425:32: sparse: expected signed int const *__gu_addr drivers/scsi/sg.c:425:32: sparse: got signed int [noderef] __user * >> drivers/scsi/sg.c:425:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/scsi/sg.c:425:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:425:32: sparse: got signed int const *__gu_addr drivers/scsi/sg.c:431:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:431:32: sparse: expected int const *__gu_addr drivers/scsi/sg.c:431:32: sparse: got int [noderef] __user * drivers/scsi/sg.c:431:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:431:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:431:32: sparse: got int const *__gu_addr drivers/scsi/sg.c:638:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *[assigned] buf @@ drivers/scsi/sg.c:638:13: sparse: expected char const *__gu_addr drivers/scsi/sg.c:638:13: sparse: got char const [noderef] __user *[assigned] buf >> drivers/scsi/sg.c:638:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/scsi/sg.c:638:13: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:638:13: sparse: got char const *__gu_addr drivers/scsi/sg.c:955:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:955:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:955:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:955:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:955:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:955:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:998:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:998:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:998:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:998:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:998:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:998:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1026:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1026:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1026:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1026:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1026:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1026:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1051:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1051:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1051:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1051:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1051:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1051:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1059:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1059:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1059:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1059:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1059:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1059:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1067:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1067:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1067:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1067:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1067:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1067:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1111:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1111:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1111:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1111:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1111:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1111:26: sparse: got int const *__gu_addr -- drivers/spi/spidev.c:401:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:401:34: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:401:34: sparse: got unsigned char [noderef] [usertype] __user * >> drivers/spi/spidev.c:401:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ >> drivers/spi/spidev.c:401:34: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:401:34: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:403:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/spi/spidev.c:403:34: sparse: expected unsigned int const *__gu_addr drivers/spi/spidev.c:403:34: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/spi/spidev.c:403:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/spi/spidev.c:403:34: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:403:34: sparse: got unsigned int const *__gu_addr drivers/spi/spidev.c:427:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:427:26: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:427:26: sparse: got unsigned char [noderef] [usertype] __user * drivers/spi/spidev.c:427:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ drivers/spi/spidev.c:427:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:427:26: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:444:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:444:26: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:444:26: sparse: got unsigned char [noderef] [usertype] __user * drivers/spi/spidev.c:444:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ drivers/spi/spidev.c:444:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:444:26: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:457:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/spi/spidev.c:457:26: sparse: expected unsigned int const *__gu_addr drivers/spi/spidev.c:457:26: sparse: got unsigned int [noderef] [usertype] __user * drivers/spi/spidev.c:457:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/spi/spidev.c:457:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:457:26: sparse: got unsigned int const *__gu_addr -- drivers/input/serio/serport.c:213:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] __user * @@ drivers/input/serio/serport.c:213:21: sparse: expected unsigned long const *__gu_addr drivers/input/serio/serport.c:213:21: sparse: got unsigned long [noderef] __user * >> drivers/input/serio/serport.c:213:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ >> drivers/input/serio/serport.c:213:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/serio/serport.c:213:21: sparse: got unsigned long const *__gu_addr -- drivers/input/serio/serio_raw.c:219:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/input/serio/serio_raw.c:219:21: sparse: expected char const *__gu_addr drivers/input/serio/serio_raw.c:219:21: sparse: got char const [noderef] __user * >> drivers/input/serio/serio_raw.c:219:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/input/serio/serio_raw.c:219:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/serio/serio_raw.c:219:21: sparse: got char const *__gu_addr -- drivers/input/evdev.c:854:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/input/evdev.c:854:13: sparse: expected int const *__gu_addr drivers/input/evdev.c:854:13: sparse: got int [noderef] __user * >> drivers/input/evdev.c:854:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/input/evdev.c:854:13: sparse: expected void const volatile [noderef] __user *ptr drivers/input/evdev.c:854:13: sparse: got int const *__gu_addr drivers/input/evdev.c:928:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/input/evdev.c:928:13: sparse: expected int const *__gu_addr drivers/input/evdev.c:928:13: sparse: got int [noderef] __user * drivers/input/evdev.c:928:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/input/evdev.c:928:13: sparse: expected void const volatile [noderef] __user *ptr drivers/input/evdev.c:928:13: sparse: got int const *__gu_addr drivers/input/evdev.c:1023:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *addr @@ got void [noderef] __user *__cl_addr @@ drivers/input/evdev.c:1023:21: sparse: expected void *addr drivers/input/evdev.c:1023:21: sparse: got void [noderef] __user *__cl_addr drivers/input/evdev.c:1066:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/input/evdev.c:1066:21: sparse: expected int const *__gu_addr drivers/input/evdev.c:1066:21: sparse: got int [noderef] __user *ip drivers/input/evdev.c:1066:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/input/evdev.c:1066:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/evdev.c:1066:21: sparse: got int const *__gu_addr drivers/input/evdev.c:1068:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/input/evdev.c:1068:21: sparse: expected int const *__gu_addr drivers/input/evdev.c:1068:21: sparse: got int [noderef] __user * drivers/input/evdev.c:1068:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/input/evdev.c:1068:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/evdev.c:1068:21: sparse: got int const *__gu_addr -- drivers/input/joydev.c:528:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/input/joydev.c:528:24: sparse: expected signed int const *__gu_addr drivers/input/joydev.c:528:24: sparse: got signed int [noderef] [usertype] __user * >> drivers/input/joydev.c:528:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ >> drivers/input/joydev.c:528:24: sparse: expected void const volatile [noderef] __user *ptr drivers/input/joydev.c:528:24: sparse: got signed int const *__gu_addr drivers/input/joydev.c:680:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected long const *__gu_addr @@ got long [noderef] __user * @@ drivers/input/joydev.c:680:26: sparse: expected long const *__gu_addr drivers/input/joydev.c:680:26: sparse: got long [noderef] __user * >> drivers/input/joydev.c:680:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got long const *__gu_addr @@ drivers/input/joydev.c:680:26: sparse: expected void const volatile [noderef] __user *ptr drivers/input/joydev.c:680:26: sparse: got long const *__gu_addr -- drivers/md/md.c:7693:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/md/md.c:7693:21: sparse: expected int const *__gu_addr drivers/md/md.c:7693:21: sparse: got int [noderef] __user * >> drivers/md/md.c:7693:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/md/md.c:7693:21: sparse: expected void const volatile [noderef] __user *ptr drivers/md/md.c:7693:21: sparse: got int const *__gu_addr -- drivers/w1/slaves/w1_ds28e04.c:342:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char [noderef] __user *__pu_addr @@ got char *buf @@ drivers/w1/slaves/w1_ds28e04.c:342:13: sparse: expected char [noderef] __user *__pu_addr drivers/w1/slaves/w1_ds28e04.c:342:13: sparse: got char *buf >> drivers/w1/slaves/w1_ds28e04.c:356:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/w1/slaves/w1_ds28e04.c:356:13: sparse: expected void const volatile [noderef] __user *ptr drivers/w1/slaves/w1_ds28e04.c:356:13: sparse: got char const *__gu_addr # https://github.com/0day-ci/linux/commit/7d01c91ac34a64f0177bc6d058cc50e805f59102 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 git checkout 7d01c91ac34a64f0177bc6d058cc50e805f59102 vim +767 drivers/char/ipmi/ipmi_watchdog.c 55929332c92e5d Arnd Bergmann 2010-04-27 749 ^1da177e4c3f41 Linus Torvalds 2005-04-16 750 static ssize_t ipmi_write(struct file *file, ^1da177e4c3f41 Linus Torvalds 2005-04-16 751 const char __user *buf, ^1da177e4c3f41 Linus Torvalds 2005-04-16 752 size_t len, ^1da177e4c3f41 Linus Torvalds 2005-04-16 753 loff_t *ppos) ^1da177e4c3f41 Linus Torvalds 2005-04-16 754 { ^1da177e4c3f41 Linus Torvalds 2005-04-16 755 int rv; ^1da177e4c3f41 Linus Torvalds 2005-04-16 756 ^1da177e4c3f41 Linus Torvalds 2005-04-16 757 if (len) { ^1da177e4c3f41 Linus Torvalds 2005-04-16 758 if (!nowayout) { ^1da177e4c3f41 Linus Torvalds 2005-04-16 759 size_t i; ^1da177e4c3f41 Linus Torvalds 2005-04-16 760 ^1da177e4c3f41 Linus Torvalds 2005-04-16 761 /* In case it was set long ago */ ^1da177e4c3f41 Linus Torvalds 2005-04-16 762 expect_close = 0; ^1da177e4c3f41 Linus Torvalds 2005-04-16 763 ^1da177e4c3f41 Linus Torvalds 2005-04-16 764 for (i = 0; i != len; i++) { ^1da177e4c3f41 Linus Torvalds 2005-04-16 765 char c; ^1da177e4c3f41 Linus Torvalds 2005-04-16 766 ^1da177e4c3f41 Linus Torvalds 2005-04-16 @767 if (get_user(c, buf + i)) ^1da177e4c3f41 Linus Torvalds 2005-04-16 768 return -EFAULT; ^1da177e4c3f41 Linus Torvalds 2005-04-16 769 if (c == 'V') ^1da177e4c3f41 Linus Torvalds 2005-04-16 770 expect_close = 42; ^1da177e4c3f41 Linus Torvalds 2005-04-16 771 } ^1da177e4c3f41 Linus Torvalds 2005-04-16 772 } ^1da177e4c3f41 Linus Torvalds 2005-04-16 773 rv = ipmi_heartbeat(); ^1da177e4c3f41 Linus Torvalds 2005-04-16 774 if (rv) ^1da177e4c3f41 Linus Torvalds 2005-04-16 775 return rv; ^1da177e4c3f41 Linus Torvalds 2005-04-16 776 } 3976df9b04c113 Mark Rustad 2008-07-10 777 return len; ^1da177e4c3f41 Linus Torvalds 2005-04-16 778 } ^1da177e4c3f41 Linus Torvalds 2005-04-16 779 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 19509 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user, io}_ptr() 2020-08-28 8:53 [PATCH] sparse: use static inline for __chk_{user,io}_ptr() Luc Van Oostenryck ` (7 preceding siblings ...) 2020-09-01 5:33 ` kernel test robot @ 2020-09-01 21:37 ` kernel test robot 2020-09-02 1:12 ` kernel test robot ` (2 subsequent siblings) 11 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-09-01 21:37 UTC (permalink / raw) To: kbuild-all [-- Attachment #1: Type: text/plain, Size: 3460 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 base: 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 config: x86_64-randconfig-s031-20200901 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-191-g10164920-dirty # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) >> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c:172:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long long [usertype] * @@ >> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c:172:15: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c:172:15: sparse: got unsigned long long [usertype] * # https://github.com/0day-ci/linux/commit/7d01c91ac34a64f0177bc6d058cc50e805f59102 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 git checkout 7d01c91ac34a64f0177bc6d058cc50e805f59102 vim +172 drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c b42902f4af8fec Yong Zhao 2020-02-05 155 d69fd951e60ae4 Mukul Joshi 2020-06-24 156 int read_sdma_queue_counter(uint64_t q_rptr, uint64_t *val) 32cb59f3136248 Mukul Joshi 2020-05-26 157 { 32cb59f3136248 Mukul Joshi 2020-05-26 158 int ret; 32cb59f3136248 Mukul Joshi 2020-05-26 159 uint64_t tmp = 0; 32cb59f3136248 Mukul Joshi 2020-05-26 160 d69fd951e60ae4 Mukul Joshi 2020-06-24 161 if (!val) 32cb59f3136248 Mukul Joshi 2020-05-26 162 return -EINVAL; 32cb59f3136248 Mukul Joshi 2020-05-26 163 /* 32cb59f3136248 Mukul Joshi 2020-05-26 164 * SDMA activity counter is stored at queue's RPTR + 0x8 location. 32cb59f3136248 Mukul Joshi 2020-05-26 165 */ d69fd951e60ae4 Mukul Joshi 2020-06-24 166 if (!access_ok((const void __user *)(q_rptr + 32cb59f3136248 Mukul Joshi 2020-05-26 167 sizeof(uint64_t)), sizeof(uint64_t))) { 32cb59f3136248 Mukul Joshi 2020-05-26 168 pr_err("Can't access sdma queue activity counter\n"); 32cb59f3136248 Mukul Joshi 2020-05-26 169 return -EFAULT; 32cb59f3136248 Mukul Joshi 2020-05-26 170 } 32cb59f3136248 Mukul Joshi 2020-05-26 171 d69fd951e60ae4 Mukul Joshi 2020-06-24 @172 ret = get_user(tmp, (uint64_t *)(q_rptr + sizeof(uint64_t))); 32cb59f3136248 Mukul Joshi 2020-05-26 173 if (!ret) { 32cb59f3136248 Mukul Joshi 2020-05-26 174 *val = tmp; 32cb59f3136248 Mukul Joshi 2020-05-26 175 } 32cb59f3136248 Mukul Joshi 2020-05-26 176 32cb59f3136248 Mukul Joshi 2020-05-26 177 return ret; 32cb59f3136248 Mukul Joshi 2020-05-26 178 } 32cb59f3136248 Mukul Joshi 2020-05-26 179 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 42430 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user, io}_ptr() 2020-08-28 8:53 [PATCH] sparse: use static inline for __chk_{user,io}_ptr() Luc Van Oostenryck ` (8 preceding siblings ...) 2020-09-01 21:37 ` kernel test robot @ 2020-09-02 1:12 ` kernel test robot 2020-09-03 2:56 ` kernel test robot 2020-09-03 4:06 ` kernel test robot 11 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-09-02 1:12 UTC (permalink / raw) To: kbuild-all [-- Attachment #1: Type: text/plain, Size: 31581 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 base: 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 config: sparc-randconfig-s032-20200901 (attached as .config) compiler: sparc64-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.2-191-g10164920-dirty # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=sparc If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:138:17: sparse: sparse: incorrect type in initializer (different base types) @@ expected restricted __poll_t ( *poll )( ... ) @@ got unsigned int ( * )( ... ) @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:138:17: sparse: expected restricted __poll_t ( *poll )( ... ) drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:138:17: sparse: got unsigned int ( * )( ... ) drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:747:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:747:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:747:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:747:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:747:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:747:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:747:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:747:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:747:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:747:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:825:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:825:29: sparse: sparse: cast removes address space '__user' of expression >> drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:825:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:825:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:825:29: sparse: got signed int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:825:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:825:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:825:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:825:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:825:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:911:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:911:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:911:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:911:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:911:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:911:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:911:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:911:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:911:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:911:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1004:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1004:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1004:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1004:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1004:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1004:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1004:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1004:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1004:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1004:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1054:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1054:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1054:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1054:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1054:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1054:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1054:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1108:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1108:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1108:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1108:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1108:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1108:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1108:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1108:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1108:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1108:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1357:25: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1357:25: sparse: struct dma_fence [noderef] __rcu * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1357:25: sparse: struct dma_fence * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1358:17: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1358:17: sparse: struct dma_fence [noderef] __rcu * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1358:17: sparse: struct dma_fence * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1409:23: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1409:23: sparse: sparse: too many warnings drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1417:17: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1417:17: sparse: struct dma_fence [noderef] __rcu * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1417:17: sparse: struct dma_fence * # https://github.com/0day-ci/linux/commit/7d01c91ac34a64f0177bc6d058cc50e805f59102 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 git checkout 7d01c91ac34a64f0177bc6d058cc50e805f59102 vim +825 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c 75758255dc0fae Alex Deucher 2017-12-14 672 7e4237dbe494f9 Tom St Denis 2018-05-02 673 /** 7e4237dbe494f9 Tom St Denis 2018-05-02 674 * amdgpu_debugfs_gca_config_read - Read from gfx config data 7e4237dbe494f9 Tom St Denis 2018-05-02 675 * 7e4237dbe494f9 Tom St Denis 2018-05-02 676 * @f: open file handle 7e4237dbe494f9 Tom St Denis 2018-05-02 677 * @buf: User buffer to store read data in 7e4237dbe494f9 Tom St Denis 2018-05-02 678 * @size: Number of bytes to read 7e4237dbe494f9 Tom St Denis 2018-05-02 679 * @pos: Offset to seek to 7e4237dbe494f9 Tom St Denis 2018-05-02 680 * 7e4237dbe494f9 Tom St Denis 2018-05-02 681 * This file is used to access configuration data in a somewhat 7e4237dbe494f9 Tom St Denis 2018-05-02 682 * stable fashion. The format is a series of DWORDs with the first 7e4237dbe494f9 Tom St Denis 2018-05-02 683 * indicating which revision it is. New content is appended to the 7e4237dbe494f9 Tom St Denis 2018-05-02 684 * end so that older software can still read the data. 7e4237dbe494f9 Tom St Denis 2018-05-02 685 */ 7e4237dbe494f9 Tom St Denis 2018-05-02 686 75758255dc0fae Alex Deucher 2017-12-14 687 static ssize_t amdgpu_debugfs_gca_config_read(struct file *f, char __user *buf, 75758255dc0fae Alex Deucher 2017-12-14 688 size_t size, loff_t *pos) 75758255dc0fae Alex Deucher 2017-12-14 689 { 75758255dc0fae Alex Deucher 2017-12-14 690 struct amdgpu_device *adev = file_inode(f)->i_private; 75758255dc0fae Alex Deucher 2017-12-14 691 ssize_t result = 0; 75758255dc0fae Alex Deucher 2017-12-14 692 int r; 75758255dc0fae Alex Deucher 2017-12-14 693 uint32_t *config, no_regs = 0; 75758255dc0fae Alex Deucher 2017-12-14 694 75758255dc0fae Alex Deucher 2017-12-14 695 if (size & 0x3 || *pos & 0x3) 75758255dc0fae Alex Deucher 2017-12-14 696 return -EINVAL; 75758255dc0fae Alex Deucher 2017-12-14 697 75758255dc0fae Alex Deucher 2017-12-14 698 config = kmalloc_array(256, sizeof(*config), GFP_KERNEL); 75758255dc0fae Alex Deucher 2017-12-14 699 if (!config) 75758255dc0fae Alex Deucher 2017-12-14 700 return -ENOMEM; 75758255dc0fae Alex Deucher 2017-12-14 701 75758255dc0fae Alex Deucher 2017-12-14 702 /* version, increment each time something is added */ 75758255dc0fae Alex Deucher 2017-12-14 703 config[no_regs++] = 3; 75758255dc0fae Alex Deucher 2017-12-14 704 config[no_regs++] = adev->gfx.config.max_shader_engines; 75758255dc0fae Alex Deucher 2017-12-14 705 config[no_regs++] = adev->gfx.config.max_tile_pipes; 75758255dc0fae Alex Deucher 2017-12-14 706 config[no_regs++] = adev->gfx.config.max_cu_per_sh; 75758255dc0fae Alex Deucher 2017-12-14 707 config[no_regs++] = adev->gfx.config.max_sh_per_se; 75758255dc0fae Alex Deucher 2017-12-14 708 config[no_regs++] = adev->gfx.config.max_backends_per_se; 75758255dc0fae Alex Deucher 2017-12-14 709 config[no_regs++] = adev->gfx.config.max_texture_channel_caches; 75758255dc0fae Alex Deucher 2017-12-14 710 config[no_regs++] = adev->gfx.config.max_gprs; 75758255dc0fae Alex Deucher 2017-12-14 711 config[no_regs++] = adev->gfx.config.max_gs_threads; 75758255dc0fae Alex Deucher 2017-12-14 712 config[no_regs++] = adev->gfx.config.max_hw_contexts; 75758255dc0fae Alex Deucher 2017-12-14 713 config[no_regs++] = adev->gfx.config.sc_prim_fifo_size_frontend; 75758255dc0fae Alex Deucher 2017-12-14 714 config[no_regs++] = adev->gfx.config.sc_prim_fifo_size_backend; 75758255dc0fae Alex Deucher 2017-12-14 715 config[no_regs++] = adev->gfx.config.sc_hiz_tile_fifo_size; 75758255dc0fae Alex Deucher 2017-12-14 716 config[no_regs++] = adev->gfx.config.sc_earlyz_tile_fifo_size; 75758255dc0fae Alex Deucher 2017-12-14 717 config[no_regs++] = adev->gfx.config.num_tile_pipes; 75758255dc0fae Alex Deucher 2017-12-14 718 config[no_regs++] = adev->gfx.config.backend_enable_mask; 75758255dc0fae Alex Deucher 2017-12-14 719 config[no_regs++] = adev->gfx.config.mem_max_burst_length_bytes; 75758255dc0fae Alex Deucher 2017-12-14 720 config[no_regs++] = adev->gfx.config.mem_row_size_in_kb; 75758255dc0fae Alex Deucher 2017-12-14 721 config[no_regs++] = adev->gfx.config.shader_engine_tile_size; 75758255dc0fae Alex Deucher 2017-12-14 722 config[no_regs++] = adev->gfx.config.num_gpus; 75758255dc0fae Alex Deucher 2017-12-14 723 config[no_regs++] = adev->gfx.config.multi_gpu_tile_size; 75758255dc0fae Alex Deucher 2017-12-14 724 config[no_regs++] = adev->gfx.config.mc_arb_ramcfg; 75758255dc0fae Alex Deucher 2017-12-14 725 config[no_regs++] = adev->gfx.config.gb_addr_config; 75758255dc0fae Alex Deucher 2017-12-14 726 config[no_regs++] = adev->gfx.config.num_rbs; 75758255dc0fae Alex Deucher 2017-12-14 727 75758255dc0fae Alex Deucher 2017-12-14 728 /* rev==1 */ 75758255dc0fae Alex Deucher 2017-12-14 729 config[no_regs++] = adev->rev_id; 75758255dc0fae Alex Deucher 2017-12-14 730 config[no_regs++] = adev->pg_flags; 75758255dc0fae Alex Deucher 2017-12-14 731 config[no_regs++] = adev->cg_flags; 75758255dc0fae Alex Deucher 2017-12-14 732 75758255dc0fae Alex Deucher 2017-12-14 733 /* rev==2 */ 75758255dc0fae Alex Deucher 2017-12-14 734 config[no_regs++] = adev->family; 75758255dc0fae Alex Deucher 2017-12-14 735 config[no_regs++] = adev->external_rev_id; 75758255dc0fae Alex Deucher 2017-12-14 736 75758255dc0fae Alex Deucher 2017-12-14 737 /* rev==3 */ 75758255dc0fae Alex Deucher 2017-12-14 738 config[no_regs++] = adev->pdev->device; 75758255dc0fae Alex Deucher 2017-12-14 739 config[no_regs++] = adev->pdev->revision; 75758255dc0fae Alex Deucher 2017-12-14 740 config[no_regs++] = adev->pdev->subsystem_device; 75758255dc0fae Alex Deucher 2017-12-14 741 config[no_regs++] = adev->pdev->subsystem_vendor; 75758255dc0fae Alex Deucher 2017-12-14 742 75758255dc0fae Alex Deucher 2017-12-14 743 while (size && (*pos < no_regs * 4)) { 75758255dc0fae Alex Deucher 2017-12-14 744 uint32_t value; 75758255dc0fae Alex Deucher 2017-12-14 745 75758255dc0fae Alex Deucher 2017-12-14 746 value = config[*pos >> 2]; 75758255dc0fae Alex Deucher 2017-12-14 @747 r = put_user(value, (uint32_t *)buf); 75758255dc0fae Alex Deucher 2017-12-14 748 if (r) { 75758255dc0fae Alex Deucher 2017-12-14 749 kfree(config); 75758255dc0fae Alex Deucher 2017-12-14 750 return r; 75758255dc0fae Alex Deucher 2017-12-14 751 } 75758255dc0fae Alex Deucher 2017-12-14 752 75758255dc0fae Alex Deucher 2017-12-14 753 result += 4; 75758255dc0fae Alex Deucher 2017-12-14 754 buf += 4; 75758255dc0fae Alex Deucher 2017-12-14 755 *pos += 4; 75758255dc0fae Alex Deucher 2017-12-14 756 size -= 4; 75758255dc0fae Alex Deucher 2017-12-14 757 } 75758255dc0fae Alex Deucher 2017-12-14 758 75758255dc0fae Alex Deucher 2017-12-14 759 kfree(config); 75758255dc0fae Alex Deucher 2017-12-14 760 return result; 75758255dc0fae Alex Deucher 2017-12-14 761 } 75758255dc0fae Alex Deucher 2017-12-14 762 7e4237dbe494f9 Tom St Denis 2018-05-02 763 /** 7e4237dbe494f9 Tom St Denis 2018-05-02 764 * amdgpu_debugfs_sensor_read - Read from the powerplay sensors 7e4237dbe494f9 Tom St Denis 2018-05-02 765 * 7e4237dbe494f9 Tom St Denis 2018-05-02 766 * @f: open file handle 7e4237dbe494f9 Tom St Denis 2018-05-02 767 * @buf: User buffer to store read data in 7e4237dbe494f9 Tom St Denis 2018-05-02 768 * @size: Number of bytes to read 7e4237dbe494f9 Tom St Denis 2018-05-02 769 * @pos: Offset to seek to 7e4237dbe494f9 Tom St Denis 2018-05-02 770 * 7e4237dbe494f9 Tom St Denis 2018-05-02 771 * The offset is treated as the BYTE address of one of the sensors 7e4237dbe494f9 Tom St Denis 2018-05-02 772 * enumerated in amd/include/kgd_pp_interface.h under the 7e4237dbe494f9 Tom St Denis 2018-05-02 773 * 'amd_pp_sensors' enumeration. For instance to read the UVD VCLK 7e4237dbe494f9 Tom St Denis 2018-05-02 774 * you would use the offset 3 * 4 = 12. 7e4237dbe494f9 Tom St Denis 2018-05-02 775 */ 75758255dc0fae Alex Deucher 2017-12-14 776 static ssize_t amdgpu_debugfs_sensor_read(struct file *f, char __user *buf, 75758255dc0fae Alex Deucher 2017-12-14 777 size_t size, loff_t *pos) 75758255dc0fae Alex Deucher 2017-12-14 778 { 75758255dc0fae Alex Deucher 2017-12-14 779 struct amdgpu_device *adev = file_inode(f)->i_private; 75758255dc0fae Alex Deucher 2017-12-14 780 int idx, x, outsize, r, valuesize; 75758255dc0fae Alex Deucher 2017-12-14 781 uint32_t values[16]; 75758255dc0fae Alex Deucher 2017-12-14 782 75758255dc0fae Alex Deucher 2017-12-14 783 if (size & 3 || *pos & 0x3) 75758255dc0fae Alex Deucher 2017-12-14 784 return -EINVAL; 75758255dc0fae Alex Deucher 2017-12-14 785 b13aa1091fb200 Rex Zhu 2018-03-26 786 if (!adev->pm.dpm_enabled) 75758255dc0fae Alex Deucher 2017-12-14 787 return -EINVAL; 75758255dc0fae Alex Deucher 2017-12-14 788 75758255dc0fae Alex Deucher 2017-12-14 789 /* convert offset to sensor number */ 75758255dc0fae Alex Deucher 2017-12-14 790 idx = *pos >> 2; 75758255dc0fae Alex Deucher 2017-12-14 791 75758255dc0fae Alex Deucher 2017-12-14 792 valuesize = sizeof(values); a9ffe2a9833835 Alex Deucher 2020-01-10 793 a9ffe2a9833835 Alex Deucher 2020-01-10 794 r = pm_runtime_get_sync(adev->ddev->dev); 9eee152aab56d3 Alex Deucher 2020-06-17 795 if (r < 0) { 9eee152aab56d3 Alex Deucher 2020-06-17 796 pm_runtime_put_autosuspend(adev->ddev->dev); a9ffe2a9833835 Alex Deucher 2020-01-10 797 return r; 9eee152aab56d3 Alex Deucher 2020-06-17 798 } a9ffe2a9833835 Alex Deucher 2020-01-10 799 95a2f917387a23 Yintian Tao 2020-04-07 800 r = amdgpu_virt_enable_access_debugfs(adev); 9eee152aab56d3 Alex Deucher 2020-06-17 801 if (r < 0) { 9eee152aab56d3 Alex Deucher 2020-06-17 802 pm_runtime_put_autosuspend(adev->ddev->dev); 95a2f917387a23 Yintian Tao 2020-04-07 803 return r; 9eee152aab56d3 Alex Deucher 2020-06-17 804 } 95a2f917387a23 Yintian Tao 2020-04-07 805 75758255dc0fae Alex Deucher 2017-12-14 806 r = amdgpu_dpm_read_sensor(adev, idx, &values[0], &valuesize); a9ffe2a9833835 Alex Deucher 2020-01-10 807 a9ffe2a9833835 Alex Deucher 2020-01-10 808 pm_runtime_mark_last_busy(adev->ddev->dev); a9ffe2a9833835 Alex Deucher 2020-01-10 809 pm_runtime_put_autosuspend(adev->ddev->dev); a9ffe2a9833835 Alex Deucher 2020-01-10 810 95a2f917387a23 Yintian Tao 2020-04-07 811 if (r) { 95a2f917387a23 Yintian Tao 2020-04-07 812 amdgpu_virt_disable_access_debugfs(adev); 4a5a2de66686e3 Kevin Wang 2019-01-11 813 return r; 95a2f917387a23 Yintian Tao 2020-04-07 814 } 75758255dc0fae Alex Deucher 2017-12-14 815 95a2f917387a23 Yintian Tao 2020-04-07 816 if (size > valuesize) { 95a2f917387a23 Yintian Tao 2020-04-07 817 amdgpu_virt_disable_access_debugfs(adev); 75758255dc0fae Alex Deucher 2017-12-14 818 return -EINVAL; 95a2f917387a23 Yintian Tao 2020-04-07 819 } 75758255dc0fae Alex Deucher 2017-12-14 820 75758255dc0fae Alex Deucher 2017-12-14 821 outsize = 0; 75758255dc0fae Alex Deucher 2017-12-14 822 x = 0; 75758255dc0fae Alex Deucher 2017-12-14 823 if (!r) { 75758255dc0fae Alex Deucher 2017-12-14 824 while (size) { 75758255dc0fae Alex Deucher 2017-12-14 @825 r = put_user(values[x++], (int32_t *)buf); 75758255dc0fae Alex Deucher 2017-12-14 826 buf += 4; 75758255dc0fae Alex Deucher 2017-12-14 827 size -= 4; 75758255dc0fae Alex Deucher 2017-12-14 828 outsize += 4; 75758255dc0fae Alex Deucher 2017-12-14 829 } 75758255dc0fae Alex Deucher 2017-12-14 830 } 75758255dc0fae Alex Deucher 2017-12-14 831 95a2f917387a23 Yintian Tao 2020-04-07 832 amdgpu_virt_disable_access_debugfs(adev); 75758255dc0fae Alex Deucher 2017-12-14 833 return !r ? outsize : r; 75758255dc0fae Alex Deucher 2017-12-14 834 } 75758255dc0fae Alex Deucher 2017-12-14 835 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 30519 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user, io}_ptr() 2020-08-28 8:53 [PATCH] sparse: use static inline for __chk_{user,io}_ptr() Luc Van Oostenryck ` (9 preceding siblings ...) 2020-09-02 1:12 ` kernel test robot @ 2020-09-03 2:56 ` kernel test robot 2020-09-03 4:06 ` kernel test robot 11 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-09-03 2:56 UTC (permalink / raw) To: kbuild-all [-- Attachment #1: Type: text/plain, Size: 13351 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 base: 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 config: m68k-randconfig-s032-20200902 (attached as .config) compiler: m68k-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.2-191-g10164920-dirty # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=m68k If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) >> drivers/watchdog/m54xx_wdt.c:104:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const * @@ >> drivers/watchdog/m54xx_wdt.c:104:37: sparse: expected void const volatile [noderef] __user *ptr drivers/watchdog/m54xx_wdt.c:104:37: sparse: got char const * drivers/watchdog/m54xx_wdt.c:104:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __user *__gu_ptr @@ got char const * @@ drivers/watchdog/m54xx_wdt.c:104:37: sparse: expected void const [noderef] __user *__gu_ptr drivers/watchdog/m54xx_wdt.c:104:37: sparse: got char const * drivers/watchdog/m54xx_wdt.c:129:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got struct watchdog_info * @@ drivers/watchdog/m54xx_wdt.c:129:37: sparse: expected void [noderef] __user *to drivers/watchdog/m54xx_wdt.c:129:37: sparse: got struct watchdog_info * >> drivers/watchdog/m54xx_wdt.c:134:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int * @@ drivers/watchdog/m54xx_wdt.c:134:23: sparse: expected void const volatile [noderef] __user *ptr drivers/watchdog/m54xx_wdt.c:134:23: sparse: got int * drivers/watchdog/m54xx_wdt.c:134:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __user *__pu_ptr @@ got int * @@ drivers/watchdog/m54xx_wdt.c:134:23: sparse: expected void const [noderef] __user *__pu_ptr drivers/watchdog/m54xx_wdt.c:134:23: sparse: got int * drivers/watchdog/m54xx_wdt.c:138:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int * @@ drivers/watchdog/m54xx_wdt.c:138:23: sparse: expected void const volatile [noderef] __user *ptr drivers/watchdog/m54xx_wdt.c:138:23: sparse: got int * drivers/watchdog/m54xx_wdt.c:138:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __user *__pu_ptr @@ got int * @@ drivers/watchdog/m54xx_wdt.c:138:23: sparse: expected void const [noderef] __user *__pu_ptr drivers/watchdog/m54xx_wdt.c:138:23: sparse: got int * drivers/watchdog/m54xx_wdt.c:147:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int * @@ drivers/watchdog/m54xx_wdt.c:147:23: sparse: expected void const volatile [noderef] __user *ptr drivers/watchdog/m54xx_wdt.c:147:23: sparse: got int * drivers/watchdog/m54xx_wdt.c:147:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __user *__gu_ptr @@ got int * @@ drivers/watchdog/m54xx_wdt.c:147:23: sparse: expected void const [noderef] __user *__gu_ptr drivers/watchdog/m54xx_wdt.c:147:23: sparse: got int * drivers/watchdog/m54xx_wdt.c:161:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int * @@ drivers/watchdog/m54xx_wdt.c:161:23: sparse: expected void const volatile [noderef] __user *ptr drivers/watchdog/m54xx_wdt.c:161:23: sparse: got int * drivers/watchdog/m54xx_wdt.c:161:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __user *__pu_ptr @@ got int * @@ drivers/watchdog/m54xx_wdt.c:161:23: sparse: expected void const [noderef] __user *__pu_ptr drivers/watchdog/m54xx_wdt.c:161:23: sparse: got int * drivers/watchdog/m54xx_wdt.c:185:27: sparse: sparse: incorrect type in initializer (incompatible argument 2 (different address spaces)) @@ expected int ( *write )( ... ) @@ got int ( * )( ... ) @@ drivers/watchdog/m54xx_wdt.c:185:27: sparse: expected int ( *write )( ... ) drivers/watchdog/m54xx_wdt.c:185:27: sparse: got int ( * )( ... ) # https://github.com/0day-ci/linux/commit/7d01c91ac34a64f0177bc6d058cc50e805f59102 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 git checkout 7d01c91ac34a64f0177bc6d058cc50e805f59102 vim +104 drivers/watchdog/m54xx_wdt.c 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 91 9b9c63ff1f3b09 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2011-01-22 92 static ssize_t m54xx_wdt_write(struct file *file, const char *data, 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 93 size_t len, loff_t *ppos) 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 94 { 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 95 if (len) { 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 96 if (!nowayout) { 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 97 size_t i; 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 98 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 99 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 100 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 101 for (i = 0; i != len; i++) { 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 102 char c; 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 103 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 @104 if (get_user(c, data + i)) 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 105 return -EFAULT; 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 106 if (c == 'V') 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 107 set_bit(WDT_OK_TO_CLOSE, &wdt_status); 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 108 } 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 109 } 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 110 wdt_keepalive(); 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 111 } 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 112 return len; 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 113 } 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 114 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 115 static const struct watchdog_info ident = { 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 116 .options = WDIOF_MAGICCLOSE | WDIOF_SETTIMEOUT | 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 117 WDIOF_KEEPALIVEPING, 9b9c63ff1f3b09 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2011-01-22 118 .identity = "Coldfire M54xx Watchdog", 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 119 }; 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 120 9b9c63ff1f3b09 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2011-01-22 121 static long m54xx_wdt_ioctl(struct file *file, unsigned int cmd, 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 122 unsigned long arg) 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 123 { 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 124 int ret = -ENOTTY; 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 125 int time; 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 126 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 127 switch (cmd) { 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 128 case WDIOC_GETSUPPORT: 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 129 ret = copy_to_user((struct watchdog_info *)arg, &ident, 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 130 sizeof(ident)) ? -EFAULT : 0; 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 131 break; 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 132 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 133 case WDIOC_GETSTATUS: 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 @134 ret = put_user(0, (int *)arg); 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 135 break; 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 136 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 137 case WDIOC_GETBOOTSTATUS: 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 138 ret = put_user(0, (int *)arg); 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 139 break; 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 140 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 141 case WDIOC_KEEPALIVE: 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 142 wdt_keepalive(); 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 143 ret = 0; 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 144 break; 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 145 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 146 case WDIOC_SETTIMEOUT: 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 147 ret = get_user(time, (int *)arg); 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 148 if (ret) 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 149 break; 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 150 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 151 if (time <= 0 || time > 30) { 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 152 ret = -EINVAL; 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 153 break; 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 154 } 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 155 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 156 heartbeat = time; 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 157 wdt_enable(); bd490f8222510d drivers/watchdog/m54xx_wdt.c Gustavo A. R. Silva 2020-07-07 158 fallthrough; 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 159 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 160 case WDIOC_GETTIMEOUT: 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 161 ret = put_user(heartbeat, (int *)arg); 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 162 break; 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 163 } 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 164 return ret; 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 165 } 88cce427626070 drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03 166 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 21901 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user, io}_ptr() 2020-08-28 8:53 [PATCH] sparse: use static inline for __chk_{user,io}_ptr() Luc Van Oostenryck ` (10 preceding siblings ...) 2020-09-03 2:56 ` kernel test robot @ 2020-09-03 4:06 ` kernel test robot 11 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-09-03 4:06 UTC (permalink / raw) To: kbuild-all [-- Attachment #1: Type: text/plain, Size: 39943 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 base: 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 config: sh-randconfig-s031-20200902 (attached as .config) compiler: sh4-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.2-191-g10164920-dirty # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=sh If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:467:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int [noderef] [usertype] __user * >> drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ >> drivers/mtd/ubi/cdev.c:467:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:512:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:512:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:526:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:526:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:882:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:882:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:969:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:969:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:984:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:984:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:1061:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:1061:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int const *__gu_addr -- drivers/auxdisplay/charlcd.c:670:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *tmp @@ drivers/auxdisplay/charlcd.c:670:21: sparse: expected char const *__gu_addr drivers/auxdisplay/charlcd.c:670:21: sparse: got char const [noderef] __user *tmp >> drivers/auxdisplay/charlcd.c:670:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/auxdisplay/charlcd.c:670:21: sparse: expected void const volatile [noderef] __user *ptr drivers/auxdisplay/charlcd.c:670:21: sparse: got char const *__gu_addr -- fs/fuse/dev.c:2231:22: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ fs/fuse/dev.c:2231:22: sparse: expected unsigned int const *__gu_addr fs/fuse/dev.c:2231:22: sparse: got unsigned int [noderef] [usertype] __user * >> fs/fuse/dev.c:2231:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> fs/fuse/dev.c:2231:22: sparse: expected void const volatile [noderef] __user *ptr fs/fuse/dev.c:2231:22: sparse: got unsigned int const *__gu_addr -- drivers/hwmon/w83793.c:1372:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/hwmon/w83793.c:1372:37: sparse: expected char const *__gu_addr drivers/hwmon/w83793.c:1372:37: sparse: got char const [noderef] __user * >> drivers/hwmon/w83793.c:1372:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/hwmon/w83793.c:1372:37: sparse: expected void const volatile [noderef] __user *ptr drivers/hwmon/w83793.c:1372:37: sparse: got char const *__gu_addr drivers/hwmon/w83793.c:1425:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/hwmon/w83793.c:1425:21: sparse: expected int const *__gu_addr drivers/hwmon/w83793.c:1425:21: sparse: got int [noderef] __user * >> drivers/hwmon/w83793.c:1425:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/hwmon/w83793.c:1425:21: sparse: expected void const volatile [noderef] __user *ptr drivers/hwmon/w83793.c:1425:21: sparse: got int const *__gu_addr drivers/hwmon/w83793.c:1435:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/hwmon/w83793.c:1435:21: sparse: expected int const *__gu_addr drivers/hwmon/w83793.c:1435:21: sparse: got int [noderef] __user * drivers/hwmon/w83793.c:1435:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/hwmon/w83793.c:1435:21: sparse: expected void const volatile [noderef] __user *ptr drivers/hwmon/w83793.c:1435:21: sparse: got int const *__gu_addr -- fs/orangefs/file.c:118:32: sparse: sparse: incorrect type in assignment (different base types) @@ expected int open_for_write @@ got restricted fmode_t @@ fs/orangefs/file.c:118:32: sparse: expected int open_for_write fs/orangefs/file.c:118:32: sparse: got restricted fmode_t fs/orangefs/file.c:119:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected int open_for_read @@ got restricted fmode_t @@ fs/orangefs/file.c:119:31: sparse: expected int open_for_read fs/orangefs/file.c:119:31: sparse: got restricted fmode_t fs/orangefs/file.c:424:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ fs/orangefs/file.c:424:21: sparse: expected int const *__gu_addr fs/orangefs/file.c:424:21: sparse: got int [noderef] __user * >> fs/orangefs/file.c:424:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> fs/orangefs/file.c:424:21: sparse: expected void const volatile [noderef] __user *ptr fs/orangefs/file.c:424:21: sparse: got int const *__gu_addr -- drivers/vhost/vdpa.c:361:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/vhost/vdpa.c:361:13: sparse: expected unsigned int const *__gu_addr drivers/vhost/vdpa.c:361:13: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/vhost/vdpa.c:361:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/vhost/vdpa.c:361:13: sparse: expected void const volatile [noderef] __user *ptr drivers/vhost/vdpa.c:361:13: sparse: got unsigned int const *__gu_addr -- drivers/vhost/scsi.c:1697:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user *eventsp @@ drivers/vhost/scsi.c:1697:21: sparse: expected unsigned int const *__gu_addr drivers/vhost/scsi.c:1697:21: sparse: got unsigned int [noderef] [usertype] __user *eventsp >> drivers/vhost/scsi.c:1697:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/vhost/scsi.c:1697:21: sparse: expected void const volatile [noderef] __user *ptr drivers/vhost/scsi.c:1697:21: sparse: got unsigned int const *__gu_addr -- kernel/bpf/cgroup.c:1439:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@ kernel/bpf/cgroup.c:1439:21: sparse: expected int const *__gu_addr kernel/bpf/cgroup.c:1439:21: sparse: got int [noderef] __user *optlen >> kernel/bpf/cgroup.c:1439:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> kernel/bpf/cgroup.c:1439:21: sparse: expected void const volatile [noderef] __user *ptr kernel/bpf/cgroup.c:1439:21: sparse: got int const *__gu_addr -- fs/verity/measure.c:42:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] __user * @@ fs/verity/measure.c:42:13: sparse: expected unsigned short const *__gu_addr fs/verity/measure.c:42:13: sparse: got unsigned short [noderef] __user * >> fs/verity/measure.c:42:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ >> fs/verity/measure.c:42:13: sparse: expected void const volatile [noderef] __user *ptr fs/verity/measure.c:42:13: sparse: got unsigned short const *__gu_addr -- fs/hfsplus/ioctl.c:42:50: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int @@ got restricted __be32 [usertype] @@ fs/hfsplus/ioctl.c:42:50: sparse: expected unsigned int fs/hfsplus/ioctl.c:42:50: sparse: got restricted __be32 [usertype] fs/hfsplus/ioctl.c:50:50: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int @@ got restricted __be32 [usertype] @@ fs/hfsplus/ioctl.c:50:50: sparse: expected unsigned int fs/hfsplus/ioctl.c:50:50: sparse: got restricted __be32 [usertype] fs/hfsplus/ioctl.c:53:50: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int @@ got restricted __be32 [usertype] @@ fs/hfsplus/ioctl.c:53:50: sparse: expected unsigned int fs/hfsplus/ioctl.c:53:50: sparse: got restricted __be32 [usertype] fs/hfsplus/ioctl.c:99:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *user_flags @@ fs/hfsplus/ioctl.c:99:13: sparse: expected int const *__gu_addr fs/hfsplus/ioctl.c:99:13: sparse: got int [noderef] __user *user_flags >> fs/hfsplus/ioctl.c:99:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> fs/hfsplus/ioctl.c:99:13: sparse: expected void const volatile [noderef] __user *ptr fs/hfsplus/ioctl.c:99:13: sparse: got int const *__gu_addr -- sound/core/seq/oss/seq_oss_timer.c:224:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ sound/core/seq/oss/seq_oss_timer.c:224:21: sparse: expected int const *__gu_addr sound/core/seq/oss/seq_oss_timer.c:224:21: sparse: got int [noderef] __user *arg >> sound/core/seq/oss/seq_oss_timer.c:224:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/seq/oss/seq_oss_timer.c:224:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/seq/oss/seq_oss_timer.c:224:21: sparse: got int const *__gu_addr sound/core/seq/oss/seq_oss_timer.c:243:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ sound/core/seq/oss/seq_oss_timer.c:243:21: sparse: expected int const *__gu_addr sound/core/seq/oss/seq_oss_timer.c:243:21: sparse: got int [noderef] __user *arg sound/core/seq/oss/seq_oss_timer.c:243:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/seq/oss/seq_oss_timer.c:243:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/seq/oss/seq_oss_timer.c:243:21: sparse: got int const *__gu_addr sound/core/seq/oss/seq_oss_timer.c:247:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ sound/core/seq/oss/seq_oss_timer.c:247:21: sparse: expected int const *__gu_addr sound/core/seq/oss/seq_oss_timer.c:247:21: sparse: got int [noderef] __user *arg sound/core/seq/oss/seq_oss_timer.c:247:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/seq/oss/seq_oss_timer.c:247:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/seq/oss/seq_oss_timer.c:247:21: sparse: got int const *__gu_addr -- sound/core/seq/oss/seq_oss_ioctl.c:97:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/seq/oss/seq_oss_ioctl.c:97:21: sparse: expected int const *__gu_addr sound/core/seq/oss/seq_oss_ioctl.c:97:21: sparse: got int [noderef] __user *p >> sound/core/seq/oss/seq_oss_ioctl.c:97:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/seq/oss/seq_oss_ioctl.c:97:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/seq/oss/seq_oss_ioctl.c:97:21: sparse: got int const *__gu_addr sound/core/seq/oss/seq_oss_ioctl.c:115:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/seq/oss/seq_oss_ioctl.c:115:21: sparse: expected int const *__gu_addr sound/core/seq/oss/seq_oss_ioctl.c:115:21: sparse: got int [noderef] __user *p sound/core/seq/oss/seq_oss_ioctl.c:115:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/seq/oss/seq_oss_ioctl.c:115:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/seq/oss/seq_oss_ioctl.c:115:21: sparse: got int const *__gu_addr sound/core/seq/oss/seq_oss_ioctl.c:126:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/seq/oss/seq_oss_ioctl.c:126:21: sparse: expected int const *__gu_addr sound/core/seq/oss/seq_oss_ioctl.c:126:21: sparse: got int [noderef] __user *p sound/core/seq/oss/seq_oss_ioctl.c:126:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/seq/oss/seq_oss_ioctl.c:126:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/seq/oss/seq_oss_ioctl.c:126:21: sparse: got int const *__gu_addr sound/core/seq/oss/seq_oss_ioctl.c:132:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/seq/oss/seq_oss_ioctl.c:132:21: sparse: expected int const *__gu_addr sound/core/seq/oss/seq_oss_ioctl.c:132:21: sparse: got int [noderef] __user *p sound/core/seq/oss/seq_oss_ioctl.c:132:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/seq/oss/seq_oss_ioctl.c:132:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/seq/oss/seq_oss_ioctl.c:132:21: sparse: got int const *__gu_addr sound/core/seq/oss/seq_oss_ioctl.c:150:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/seq/oss/seq_oss_ioctl.c:150:21: sparse: expected int const *__gu_addr sound/core/seq/oss/seq_oss_ioctl.c:150:21: sparse: got int [noderef] __user *p sound/core/seq/oss/seq_oss_ioctl.c:150:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/seq/oss/seq_oss_ioctl.c:150:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/seq/oss/seq_oss_ioctl.c:150:21: sparse: got int const *__gu_addr sound/core/seq/oss/seq_oss_ioctl.c:162:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/seq/oss/seq_oss_ioctl.c:162:21: sparse: expected int const *__gu_addr sound/core/seq/oss/seq_oss_ioctl.c:162:21: sparse: got int [noderef] __user *p sound/core/seq/oss/seq_oss_ioctl.c:162:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/seq/oss/seq_oss_ioctl.c:162:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/seq/oss/seq_oss_ioctl.c:162:21: sparse: got int const *__gu_addr -- fs/ubifs/ioctl.c:162:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ fs/ubifs/ioctl.c:162:21: sparse: expected int const *__gu_addr fs/ubifs/ioctl.c:162:21: sparse: got int [noderef] __user * >> fs/ubifs/ioctl.c:162:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> fs/ubifs/ioctl.c:162:21: sparse: expected void const volatile [noderef] __user *ptr fs/ubifs/ioctl.c:162:21: sparse: got int const *__gu_addr -- fs/xfs/xfs_ioctl.c:2257:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ fs/xfs/xfs_ioctl.c:2257:21: sparse: expected unsigned int const *__gu_addr fs/xfs/xfs_ioctl.c:2257:21: sparse: got unsigned int [noderef] [usertype] __user * >> fs/xfs/xfs_ioctl.c:2257:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> fs/xfs/xfs_ioctl.c:2257:21: sparse: expected void const volatile [noderef] __user *ptr fs/xfs/xfs_ioctl.c:2257:21: sparse: got unsigned int const *__gu_addr # https://github.com/0day-ci/linux/commit/7d01c91ac34a64f0177bc6d058cc50e805f59102 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200828-165431 git checkout 7d01c91ac34a64f0177bc6d058cc50e805f59102 vim +467 drivers/mtd/ubi/cdev.c 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 377 f429b2ea8eadb5a Artem Bityutskiy 2009-01-16 378 static long vol_cdev_ioctl(struct file *file, unsigned int cmd, f429b2ea8eadb5a Artem Bityutskiy 2009-01-16 379 unsigned long arg) 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 380 { 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 381 int err = 0; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 382 struct ubi_volume_desc *desc = file->private_data; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 383 struct ubi_volume *vol = desc->vol; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 384 struct ubi_device *ubi = vol->ubi; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 385 void __user *argp = (void __user *)arg; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 386 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 387 switch (cmd) { 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 388 /* Volume update command */ 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 389 case UBI_IOCVOLUP: 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 390 { 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 391 int64_t bytes, rsvd_bytes; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 392 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 393 if (!capable(CAP_SYS_RESOURCE)) { 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 394 err = -EPERM; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 395 break; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 396 } 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 397 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 398 err = copy_from_user(&bytes, argp, sizeof(int64_t)); 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 399 if (err) { 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 400 err = -EFAULT; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 401 break; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 402 } 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 403 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 404 if (desc->mode == UBI_READONLY) { 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 405 err = -EROFS; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 406 break; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 407 } 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 408 73789a3d9fd8e50 Bruce Leonard 2008-07-03 409 rsvd_bytes = (long long)vol->reserved_pebs * 5f09aaa9b30c91e Boris Brezillon 2016-09-16 410 vol->usable_leb_size; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 411 if (bytes < 0 || bytes > rsvd_bytes) { 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 412 err = -EINVAL; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 413 break; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 414 } 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 415 45fc5c81d03601d Tanya Brokhman 2014-11-09 416 err = get_exclusive(desc); 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 417 if (err < 0) 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 418 break; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 419 1b68d0eea5daddc Artem Bityutskiy 2008-01-24 420 err = ubi_start_update(ubi, vol, bytes); fda322a1b3b9e8e Ezequiel Garcia 2014-08-29 421 if (bytes == 0) { fda322a1b3b9e8e Ezequiel Garcia 2014-08-29 422 ubi_volume_notify(ubi, vol, UBI_VOLUME_UPDATED); 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 423 revoke_exclusive(desc, UBI_READWRITE); fda322a1b3b9e8e Ezequiel Garcia 2014-08-29 424 } 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 425 break; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 426 } 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 427 e653879c269735c Artem Bityutskiy 2008-01-24 428 /* Atomic logical eraseblock change command */ e653879c269735c Artem Bityutskiy 2008-01-24 429 case UBI_IOCEBCH: e653879c269735c Artem Bityutskiy 2008-01-24 430 { e653879c269735c Artem Bityutskiy 2008-01-24 431 struct ubi_leb_change_req req; e653879c269735c Artem Bityutskiy 2008-01-24 432 e653879c269735c Artem Bityutskiy 2008-01-24 433 err = copy_from_user(&req, argp, e653879c269735c Artem Bityutskiy 2008-01-24 434 sizeof(struct ubi_leb_change_req)); e653879c269735c Artem Bityutskiy 2008-01-24 435 if (err) { e653879c269735c Artem Bityutskiy 2008-01-24 436 err = -EFAULT; e653879c269735c Artem Bityutskiy 2008-01-24 437 break; e653879c269735c Artem Bityutskiy 2008-01-24 438 } e653879c269735c Artem Bityutskiy 2008-01-24 439 e653879c269735c Artem Bityutskiy 2008-01-24 440 if (desc->mode == UBI_READONLY || e653879c269735c Artem Bityutskiy 2008-01-24 441 vol->vol_type == UBI_STATIC_VOLUME) { e653879c269735c Artem Bityutskiy 2008-01-24 442 err = -EROFS; e653879c269735c Artem Bityutskiy 2008-01-24 443 break; e653879c269735c Artem Bityutskiy 2008-01-24 444 } e653879c269735c Artem Bityutskiy 2008-01-24 445 e653879c269735c Artem Bityutskiy 2008-01-24 446 /* Validate the request */ e653879c269735c Artem Bityutskiy 2008-01-24 447 err = -EINVAL; 9a5f09ac0ab83e4 Boris Brezillon 2016-09-16 448 if (!ubi_leb_valid(vol, req.lnum) || 299d0c5b27346a7 Brian Norris 2015-02-28 449 req.bytes < 0 || req.bytes > vol->usable_leb_size) e653879c269735c Artem Bityutskiy 2008-01-24 450 break; e653879c269735c Artem Bityutskiy 2008-01-24 451 45fc5c81d03601d Tanya Brokhman 2014-11-09 452 err = get_exclusive(desc); e653879c269735c Artem Bityutskiy 2008-01-24 453 if (err < 0) e653879c269735c Artem Bityutskiy 2008-01-24 454 break; e653879c269735c Artem Bityutskiy 2008-01-24 455 e653879c269735c Artem Bityutskiy 2008-01-24 456 err = ubi_start_leb_change(ubi, vol, &req); e653879c269735c Artem Bityutskiy 2008-01-24 457 if (req.bytes == 0) e653879c269735c Artem Bityutskiy 2008-01-24 458 revoke_exclusive(desc, UBI_READWRITE); e653879c269735c Artem Bityutskiy 2008-01-24 459 break; e653879c269735c Artem Bityutskiy 2008-01-24 460 } e653879c269735c Artem Bityutskiy 2008-01-24 461 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 462 /* Logical eraseblock erasure command */ 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 463 case UBI_IOCEBER: 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 464 { 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 465 int32_t lnum; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 466 bf07803a6827ef8 Christoph Hellwig 2007-05-17 @467 err = get_user(lnum, (__user int32_t *)argp); 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 468 if (err) { 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 469 err = -EFAULT; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 470 break; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 471 } 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 472 e653879c269735c Artem Bityutskiy 2008-01-24 473 if (desc->mode == UBI_READONLY || e653879c269735c Artem Bityutskiy 2008-01-24 474 vol->vol_type == UBI_STATIC_VOLUME) { 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 475 err = -EROFS; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 476 break; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 477 } 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 478 9a5f09ac0ab83e4 Boris Brezillon 2016-09-16 479 if (!ubi_leb_valid(vol, lnum)) { 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 480 err = -EINVAL; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 481 break; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 482 } 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 483 c8566350a3229ca Artem Bityutskiy 2008-07-16 484 dbg_gen("erase LEB %d:%d", vol->vol_id, lnum); 89b96b692906683 Artem Bityutskiy 2007-12-16 485 err = ubi_eba_unmap_leb(ubi, vol, lnum); 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 486 if (err) 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 487 break; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 488 62f384552b6756c Joel Reardon 2012-05-20 489 err = ubi_wl_flush(ubi, UBI_ALL, UBI_ALL); 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 490 break; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 491 } 141e6ebd1b1759b Corentin Chary 2009-01-05 492 141e6ebd1b1759b Corentin Chary 2009-01-05 493 /* Logical eraseblock map command */ 141e6ebd1b1759b Corentin Chary 2009-01-05 494 case UBI_IOCEBMAP: 141e6ebd1b1759b Corentin Chary 2009-01-05 495 { 141e6ebd1b1759b Corentin Chary 2009-01-05 496 struct ubi_map_req req; 141e6ebd1b1759b Corentin Chary 2009-01-05 497 141e6ebd1b1759b Corentin Chary 2009-01-05 498 err = copy_from_user(&req, argp, sizeof(struct ubi_map_req)); 141e6ebd1b1759b Corentin Chary 2009-01-05 499 if (err) { 141e6ebd1b1759b Corentin Chary 2009-01-05 500 err = -EFAULT; 141e6ebd1b1759b Corentin Chary 2009-01-05 501 break; 141e6ebd1b1759b Corentin Chary 2009-01-05 502 } b36a261e8c0ab32 Richard Weinberger 2012-05-14 503 err = ubi_leb_map(desc, req.lnum); 141e6ebd1b1759b Corentin Chary 2009-01-05 504 break; 141e6ebd1b1759b Corentin Chary 2009-01-05 505 } c3da23be1673be4 Corentin Chary 2009-01-05 506 c3da23be1673be4 Corentin Chary 2009-01-05 507 /* Logical eraseblock un-map command */ c3da23be1673be4 Corentin Chary 2009-01-05 508 case UBI_IOCEBUNMAP: c3da23be1673be4 Corentin Chary 2009-01-05 509 { c3da23be1673be4 Corentin Chary 2009-01-05 510 int32_t lnum; c3da23be1673be4 Corentin Chary 2009-01-05 511 c3da23be1673be4 Corentin Chary 2009-01-05 512 err = get_user(lnum, (__user int32_t *)argp); c3da23be1673be4 Corentin Chary 2009-01-05 513 if (err) { c3da23be1673be4 Corentin Chary 2009-01-05 514 err = -EFAULT; c3da23be1673be4 Corentin Chary 2009-01-05 515 break; c3da23be1673be4 Corentin Chary 2009-01-05 516 } c3da23be1673be4 Corentin Chary 2009-01-05 517 err = ubi_leb_unmap(desc, lnum); c3da23be1673be4 Corentin Chary 2009-01-05 518 break; c3da23be1673be4 Corentin Chary 2009-01-05 519 } a27ce8f55dd5fdd Corentin Chary 2009-01-05 520 a27ce8f55dd5fdd Corentin Chary 2009-01-05 521 /* Check if logical eraseblock is mapped command */ a27ce8f55dd5fdd Corentin Chary 2009-01-05 522 case UBI_IOCEBISMAP: a27ce8f55dd5fdd Corentin Chary 2009-01-05 523 { a27ce8f55dd5fdd Corentin Chary 2009-01-05 524 int32_t lnum; a27ce8f55dd5fdd Corentin Chary 2009-01-05 525 a27ce8f55dd5fdd Corentin Chary 2009-01-05 526 err = get_user(lnum, (__user int32_t *)argp); a27ce8f55dd5fdd Corentin Chary 2009-01-05 527 if (err) { a27ce8f55dd5fdd Corentin Chary 2009-01-05 528 err = -EFAULT; a27ce8f55dd5fdd Corentin Chary 2009-01-05 529 break; a27ce8f55dd5fdd Corentin Chary 2009-01-05 530 } a27ce8f55dd5fdd Corentin Chary 2009-01-05 531 err = ubi_is_mapped(desc, lnum); a27ce8f55dd5fdd Corentin Chary 2009-01-05 532 break; a27ce8f55dd5fdd Corentin Chary 2009-01-05 533 } 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 534 766fb95ba06e1bb Sidney Amani 2009-01-27 535 /* Set volume property command */ 6748482f4153fc0 Artem Bityutskiy 2011-03-15 536 case UBI_IOCSETVOLPROP: 766fb95ba06e1bb Sidney Amani 2009-01-27 537 { 6748482f4153fc0 Artem Bityutskiy 2011-03-15 538 struct ubi_set_vol_prop_req req; 766fb95ba06e1bb Sidney Amani 2009-01-27 539 766fb95ba06e1bb Sidney Amani 2009-01-27 540 err = copy_from_user(&req, argp, 6748482f4153fc0 Artem Bityutskiy 2011-03-15 541 sizeof(struct ubi_set_vol_prop_req)); 766fb95ba06e1bb Sidney Amani 2009-01-27 542 if (err) { 766fb95ba06e1bb Sidney Amani 2009-01-27 543 err = -EFAULT; 766fb95ba06e1bb Sidney Amani 2009-01-27 544 break; 766fb95ba06e1bb Sidney Amani 2009-01-27 545 } 766fb95ba06e1bb Sidney Amani 2009-01-27 546 switch (req.property) { 6748482f4153fc0 Artem Bityutskiy 2011-03-15 547 case UBI_VOL_PROP_DIRECT_WRITE: f089c0b28cdba10 Artem Bityutskiy 2009-05-07 548 mutex_lock(&ubi->device_mutex); 766fb95ba06e1bb Sidney Amani 2009-01-27 549 desc->vol->direct_writes = !!req.value; f089c0b28cdba10 Artem Bityutskiy 2009-05-07 550 mutex_unlock(&ubi->device_mutex); 766fb95ba06e1bb Sidney Amani 2009-01-27 551 break; 766fb95ba06e1bb Sidney Amani 2009-01-27 552 default: 766fb95ba06e1bb Sidney Amani 2009-01-27 553 err = -EINVAL; 766fb95ba06e1bb Sidney Amani 2009-01-27 554 break; 766fb95ba06e1bb Sidney Amani 2009-01-27 555 } 766fb95ba06e1bb Sidney Amani 2009-01-27 556 break; 766fb95ba06e1bb Sidney Amani 2009-01-27 557 } 766fb95ba06e1bb Sidney Amani 2009-01-27 558 8af871887fcba47 Artem Bityutskiy 2014-03-05 559 /* Create a R/O block device on top of the UBI volume */ 8af871887fcba47 Artem Bityutskiy 2014-03-05 560 case UBI_IOCVOLCRBLK: 9d54c8a33eec782 Ezequiel Garcia 2014-02-25 561 { 9d54c8a33eec782 Ezequiel Garcia 2014-02-25 562 struct ubi_volume_info vi; 9d54c8a33eec782 Ezequiel Garcia 2014-02-25 563 9d54c8a33eec782 Ezequiel Garcia 2014-02-25 564 ubi_get_volume_info(desc, &vi); 4d283ee2517303a Artem Bityutskiy 2014-03-04 565 err = ubiblock_create(&vi); 9d54c8a33eec782 Ezequiel Garcia 2014-02-25 566 break; 9d54c8a33eec782 Ezequiel Garcia 2014-02-25 567 } 9d54c8a33eec782 Ezequiel Garcia 2014-02-25 568 8af871887fcba47 Artem Bityutskiy 2014-03-05 569 /* Remove the R/O block device */ 8af871887fcba47 Artem Bityutskiy 2014-03-05 570 case UBI_IOCVOLRMBLK: 9d54c8a33eec782 Ezequiel Garcia 2014-02-25 571 { 9d54c8a33eec782 Ezequiel Garcia 2014-02-25 572 struct ubi_volume_info vi; 9d54c8a33eec782 Ezequiel Garcia 2014-02-25 573 9d54c8a33eec782 Ezequiel Garcia 2014-02-25 574 ubi_get_volume_info(desc, &vi); 4d283ee2517303a Artem Bityutskiy 2014-03-04 575 err = ubiblock_remove(&vi); 9d54c8a33eec782 Ezequiel Garcia 2014-02-25 576 break; 9d54c8a33eec782 Ezequiel Garcia 2014-02-25 577 } 9d54c8a33eec782 Ezequiel Garcia 2014-02-25 578 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 579 default: 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 580 err = -ENOTTY; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 581 break; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 582 } 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 583 return err; 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 584 } 801c135ce73d5df Artem B. Bityutskiy 2006-06-27 585 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 22026 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
* [PATCH] sparse: use static inline for __chk_{user,io}_ptr() @ 2020-06-28 7:20 Luc Van Oostenryck 2020-06-29 17:12 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot ` (3 more replies) 0 siblings, 4 replies; 32+ messages in thread From: Luc Van Oostenryck @ 2020-06-28 7:20 UTC (permalink / raw) To: Andrew Morton; +Cc: linux-kernel, Luc Van Oostenryck __chk_user_ptr() & __chk_io_ptr() are dummy extern functions which only exist to enforce the typechecking of __user or __iomem pointers in macros when using sparse. This typechecking is done by inserting a call to these functions. But the presence of these calls can inhibit some simplifications and so influence the result of sparse's analysis of context/locking. Fix this by changing these calls into static inline calls with an empty body. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> --- include/linux/compiler_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/compiler_types.h b/include/linux/compiler_types.h index b67930216e45..a9b6699f3934 100644 --- a/include/linux/compiler_types.h +++ b/include/linux/compiler_types.h @@ -11,8 +11,8 @@ # define __iomem __attribute__((noderef, address_space(__iomem))) # define __percpu __attribute__((noderef, address_space(__percpu))) # define __rcu __attribute__((noderef, address_space(__rcu))) -extern void __chk_user_ptr(const volatile void __user *); -extern void __chk_io_ptr(const volatile void __iomem *); +static inline void __chk_user_ptr(const volatile void __user *ptr) { } +static inline void __chk_io_ptr(const volatile void __iomem *ptr) { } /* context/locking */ # define __must_hold(x) __attribute__((context(x,1,1))) # define __acquires(x) __attribute__((context(x,0,1))) -- 2.27.0 ^ permalink raw reply related [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user,io}_ptr() 2020-06-28 7:20 [PATCH] sparse: use static inline for __chk_{user,io}_ptr() Luc Van Oostenryck @ 2020-06-29 17:12 ` kernel test robot 2020-06-29 18:08 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot ` (2 subsequent siblings) 3 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-06-29 17:12 UTC (permalink / raw) To: Luc Van Oostenryck, Andrew Morton Cc: kbuild-all, Linux Memory Management List, linux-kernel, Luc Van Oostenryck [-- Attachment #1: Type: text/plain, Size: 9896 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on next-20200626] [cannot apply to linux/master linus/master v5.8-rc2 v5.8-rc1 v5.7 v5.8-rc3] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200628-152401 base: 36e3135df4d426612fc77db26a312c2531108603 config: i386-randconfig-s001-20200629 (attached as .config) compiler: gcc-9 (Debian 9.3.0-13) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-3-gfa153962-dirty # save the attached .config to linux build tree make W=1 C= CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) arch/x86/kernel/signal.c:337:9: sparse: sparse: cast removes address space '__user' of expression >> arch/x86/kernel/signal.c:337:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long long [usertype] * @@ >> arch/x86/kernel/signal.c:337:9: sparse: expected void const volatile [noderef] __user *ptr arch/x86/kernel/signal.c:337:9: sparse: got unsigned long long [usertype] * arch/x86/kernel/signal.c:337:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:337:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:337:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:337:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:337:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:337:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:337:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:337:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:337:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:397:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:397:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long long [usertype] * @@ arch/x86/kernel/signal.c:397:9: sparse: expected void const volatile [noderef] __user *ptr arch/x86/kernel/signal.c:397:9: sparse: got unsigned long long [usertype] * arch/x86/kernel/signal.c:397:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:397:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:397:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:397:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:397:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:397:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:397:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:397:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:397:9: sparse: sparse: cast removes address space '__user' of expression vim +337 arch/x86/kernel/signal.c 75779f05264b99 arch/x86/kernel/signal.c Hiroshi Shimamoto 2009-02-27 302 7e907f48980d66 arch/x86/kernel/signal_32.c Ingo Molnar 2008-03-06 303 static int 235b80226b986d arch/x86/kernel/signal.c Al Viro 2012-11-09 304 __setup_frame(int sig, struct ksignal *ksig, sigset_t *set, 7e907f48980d66 arch/x86/kernel/signal_32.c Ingo Molnar 2008-03-06 305 struct pt_regs *regs) ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 306 { ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 307 struct sigframe __user *frame; 7e907f48980d66 arch/x86/kernel/signal_32.c Ingo Molnar 2008-03-06 308 void __user *restorer; b00d8f8f0b2b39 arch/x86/kernel/signal.c Al Viro 2020-02-15 309 void __user *fp = NULL; ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 310 b00d8f8f0b2b39 arch/x86/kernel/signal.c Al Viro 2020-02-15 311 frame = get_sigframe(&ksig->ka, regs, sizeof(*frame), &fp); ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 312 5c1f178094631e arch/x86/kernel/signal.c Al Viro 2020-02-15 313 if (!user_access_begin(frame, sizeof(*frame))) 3d0aedd9538e6b arch/x86/kernel/signal_32.c Hiroshi Shimamoto 2008-09-12 314 return -EFAULT; ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 315 5c1f178094631e arch/x86/kernel/signal.c Al Viro 2020-02-15 316 unsafe_put_user(sig, &frame->sig, Efault); b00d8f8f0b2b39 arch/x86/kernel/signal.c Al Viro 2020-02-15 317 unsafe_put_sigcontext(&frame->sc, fp, regs, set, Efault); 5c1f178094631e arch/x86/kernel/signal.c Al Viro 2020-02-15 318 unsafe_put_user(set->sig[1], &frame->extramask[0], Efault); 1a3e4ca41c5a38 arch/x86/kernel/signal_32.c Roland McGrath 2008-04-09 319 if (current->mm->context.vdso) 6f121e548f8367 arch/x86/kernel/signal.c Andy Lutomirski 2014-05-05 320 restorer = current->mm->context.vdso + 0a6d1fa0d2b48f arch/x86/kernel/signal.c Andy Lutomirski 2015-10-05 321 vdso_image_32.sym___kernel_sigreturn; 9fbbd4dd17d071 arch/i386/kernel/signal.c Andi Kleen 2007-02-13 322 else ade1af77129dea arch/x86/kernel/signal_32.c Jan Engelhardt 2008-01-30 323 restorer = &frame->retcode; 235b80226b986d arch/x86/kernel/signal.c Al Viro 2012-11-09 324 if (ksig->ka.sa.sa_flags & SA_RESTORER) 235b80226b986d arch/x86/kernel/signal.c Al Viro 2012-11-09 325 restorer = ksig->ka.sa.sa_restorer; ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 326 ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 327 /* Set up to return from userspace. */ 5c1f178094631e arch/x86/kernel/signal.c Al Viro 2020-02-15 328 unsafe_put_user(restorer, &frame->pretcode, Efault); ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 329 ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 330 /* 7e907f48980d66 arch/x86/kernel/signal_32.c Ingo Molnar 2008-03-06 331 * This is popl %eax ; movl $__NR_sigreturn, %eax ; int $0x80 ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 332 * ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 333 * WE DO NOT USE IT ANY MORE! It's only left here for historical ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 334 * reasons and because gdb uses it as a signature to notice ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 335 * signal handler stack frames. ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 336 */ 5c1f178094631e arch/x86/kernel/signal.c Al Viro 2020-02-15 @337 unsafe_put_user(*((u64 *)&retcode), (u64 *)frame->retcode, Efault); 5c1f178094631e arch/x86/kernel/signal.c Al Viro 2020-02-15 338 user_access_end(); ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 339 ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 340 /* Set up registers for signal handler */ 65ea5b03499035 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 341 regs->sp = (unsigned long)frame; 235b80226b986d arch/x86/kernel/signal.c Al Viro 2012-11-09 342 regs->ip = (unsigned long)ksig->ka.sa.sa_handler; 65ea5b03499035 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 343 regs->ax = (unsigned long)sig; 92bc2056855b32 arch/x86/kernel/signal_32.c Harvey Harrison 2008-02-08 344 regs->dx = 0; 92bc2056855b32 arch/x86/kernel/signal_32.c Harvey Harrison 2008-02-08 345 regs->cx = 0; ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 346 65ea5b03499035 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 347 regs->ds = __USER_DS; 65ea5b03499035 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 348 regs->es = __USER_DS; 65ea5b03499035 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 349 regs->ss = __USER_DS; 65ea5b03499035 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 350 regs->cs = __USER_CS; ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 351 283828f3c19ceb arch/i386/kernel/signal.c David Howells 2006-01-18 352 return 0; b00d8f8f0b2b39 arch/x86/kernel/signal.c Al Viro 2020-02-15 353 b00d8f8f0b2b39 arch/x86/kernel/signal.c Al Viro 2020-02-15 354 Efault: b00d8f8f0b2b39 arch/x86/kernel/signal.c Al Viro 2020-02-15 355 user_access_end(); b00d8f8f0b2b39 arch/x86/kernel/signal.c Al Viro 2020-02-15 356 return -EFAULT; ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 357 } ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 358 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 28288 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user, io}_ptr() @ 2020-06-29 17:12 ` kernel test robot 0 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-06-29 17:12 UTC (permalink / raw) To: kbuild-all [-- Attachment #1: Type: text/plain, Size: 10014 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on next-20200626] [cannot apply to linux/master linus/master v5.8-rc2 v5.8-rc1 v5.7 v5.8-rc3] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200628-152401 base: 36e3135df4d426612fc77db26a312c2531108603 config: i386-randconfig-s001-20200629 (attached as .config) compiler: gcc-9 (Debian 9.3.0-13) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-3-gfa153962-dirty # save the attached .config to linux build tree make W=1 C= CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) arch/x86/kernel/signal.c:337:9: sparse: sparse: cast removes address space '__user' of expression >> arch/x86/kernel/signal.c:337:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long long [usertype] * @@ >> arch/x86/kernel/signal.c:337:9: sparse: expected void const volatile [noderef] __user *ptr arch/x86/kernel/signal.c:337:9: sparse: got unsigned long long [usertype] * arch/x86/kernel/signal.c:337:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:337:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:337:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:337:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:337:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:337:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:337:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:337:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:337:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:397:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:397:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long long [usertype] * @@ arch/x86/kernel/signal.c:397:9: sparse: expected void const volatile [noderef] __user *ptr arch/x86/kernel/signal.c:397:9: sparse: got unsigned long long [usertype] * arch/x86/kernel/signal.c:397:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:397:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:397:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:397:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:397:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:397:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:397:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:397:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/kernel/signal.c:397:9: sparse: sparse: cast removes address space '__user' of expression vim +337 arch/x86/kernel/signal.c 75779f05264b99 arch/x86/kernel/signal.c Hiroshi Shimamoto 2009-02-27 302 7e907f48980d66 arch/x86/kernel/signal_32.c Ingo Molnar 2008-03-06 303 static int 235b80226b986d arch/x86/kernel/signal.c Al Viro 2012-11-09 304 __setup_frame(int sig, struct ksignal *ksig, sigset_t *set, 7e907f48980d66 arch/x86/kernel/signal_32.c Ingo Molnar 2008-03-06 305 struct pt_regs *regs) ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 306 { ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 307 struct sigframe __user *frame; 7e907f48980d66 arch/x86/kernel/signal_32.c Ingo Molnar 2008-03-06 308 void __user *restorer; b00d8f8f0b2b39 arch/x86/kernel/signal.c Al Viro 2020-02-15 309 void __user *fp = NULL; ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 310 b00d8f8f0b2b39 arch/x86/kernel/signal.c Al Viro 2020-02-15 311 frame = get_sigframe(&ksig->ka, regs, sizeof(*frame), &fp); ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 312 5c1f178094631e arch/x86/kernel/signal.c Al Viro 2020-02-15 313 if (!user_access_begin(frame, sizeof(*frame))) 3d0aedd9538e6b arch/x86/kernel/signal_32.c Hiroshi Shimamoto 2008-09-12 314 return -EFAULT; ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 315 5c1f178094631e arch/x86/kernel/signal.c Al Viro 2020-02-15 316 unsafe_put_user(sig, &frame->sig, Efault); b00d8f8f0b2b39 arch/x86/kernel/signal.c Al Viro 2020-02-15 317 unsafe_put_sigcontext(&frame->sc, fp, regs, set, Efault); 5c1f178094631e arch/x86/kernel/signal.c Al Viro 2020-02-15 318 unsafe_put_user(set->sig[1], &frame->extramask[0], Efault); 1a3e4ca41c5a38 arch/x86/kernel/signal_32.c Roland McGrath 2008-04-09 319 if (current->mm->context.vdso) 6f121e548f8367 arch/x86/kernel/signal.c Andy Lutomirski 2014-05-05 320 restorer = current->mm->context.vdso + 0a6d1fa0d2b48f arch/x86/kernel/signal.c Andy Lutomirski 2015-10-05 321 vdso_image_32.sym___kernel_sigreturn; 9fbbd4dd17d071 arch/i386/kernel/signal.c Andi Kleen 2007-02-13 322 else ade1af77129dea arch/x86/kernel/signal_32.c Jan Engelhardt 2008-01-30 323 restorer = &frame->retcode; 235b80226b986d arch/x86/kernel/signal.c Al Viro 2012-11-09 324 if (ksig->ka.sa.sa_flags & SA_RESTORER) 235b80226b986d arch/x86/kernel/signal.c Al Viro 2012-11-09 325 restorer = ksig->ka.sa.sa_restorer; ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 326 ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 327 /* Set up to return from userspace. */ 5c1f178094631e arch/x86/kernel/signal.c Al Viro 2020-02-15 328 unsafe_put_user(restorer, &frame->pretcode, Efault); ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 329 ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 330 /* 7e907f48980d66 arch/x86/kernel/signal_32.c Ingo Molnar 2008-03-06 331 * This is popl %eax ; movl $__NR_sigreturn, %eax ; int $0x80 ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 332 * ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 333 * WE DO NOT USE IT ANY MORE! It's only left here for historical ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 334 * reasons and because gdb uses it as a signature to notice ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 335 * signal handler stack frames. ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 336 */ 5c1f178094631e arch/x86/kernel/signal.c Al Viro 2020-02-15 @337 unsafe_put_user(*((u64 *)&retcode), (u64 *)frame->retcode, Efault); 5c1f178094631e arch/x86/kernel/signal.c Al Viro 2020-02-15 338 user_access_end(); ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 339 ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 340 /* Set up registers for signal handler */ 65ea5b03499035 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 341 regs->sp = (unsigned long)frame; 235b80226b986d arch/x86/kernel/signal.c Al Viro 2012-11-09 342 regs->ip = (unsigned long)ksig->ka.sa.sa_handler; 65ea5b03499035 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 343 regs->ax = (unsigned long)sig; 92bc2056855b32 arch/x86/kernel/signal_32.c Harvey Harrison 2008-02-08 344 regs->dx = 0; 92bc2056855b32 arch/x86/kernel/signal_32.c Harvey Harrison 2008-02-08 345 regs->cx = 0; ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 346 65ea5b03499035 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 347 regs->ds = __USER_DS; 65ea5b03499035 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 348 regs->es = __USER_DS; 65ea5b03499035 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 349 regs->ss = __USER_DS; 65ea5b03499035 arch/x86/kernel/signal_32.c H. Peter Anvin 2008-01-30 350 regs->cs = __USER_CS; ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 351 283828f3c19ceb arch/i386/kernel/signal.c David Howells 2006-01-18 352 return 0; b00d8f8f0b2b39 arch/x86/kernel/signal.c Al Viro 2020-02-15 353 b00d8f8f0b2b39 arch/x86/kernel/signal.c Al Viro 2020-02-15 354 Efault: b00d8f8f0b2b39 arch/x86/kernel/signal.c Al Viro 2020-02-15 355 user_access_end(); b00d8f8f0b2b39 arch/x86/kernel/signal.c Al Viro 2020-02-15 356 return -EFAULT; ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 357 } ^1da177e4c3f41 arch/i386/kernel/signal.c Linus Torvalds 2005-04-16 358 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 28288 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user,io}_ptr() 2020-06-28 7:20 [PATCH] sparse: use static inline for __chk_{user,io}_ptr() Luc Van Oostenryck @ 2020-06-29 18:08 ` kernel test robot 2020-06-29 18:08 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot ` (2 subsequent siblings) 3 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-06-29 18:08 UTC (permalink / raw) To: Luc Van Oostenryck, Andrew Morton Cc: kbuild-all, Linux Memory Management List, linux-kernel, Luc Van Oostenryck [-- Attachment #1: Type: text/plain, Size: 23393 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on next-20200626] [cannot apply to linux/master linus/master v5.8-rc2 v5.8-rc1 v5.7 v5.8-rc3] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200628-152401 base: 36e3135df4d426612fc77db26a312c2531108603 config: i386-randconfig-s002-20200629 (attached as .config) compiler: gcc-9 (Debian 9.3.0-13) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-3-gfa153962-dirty # save the attached .config to linux build tree make W=1 C= CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:818:42: sparse: sparse: cast removes address space '__iomem' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2388:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2388:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2388:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2388:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2388:21: sparse: sparse: cast removes address space '__user' of expression >> drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2388:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ >> drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2388:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2388:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2388:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2388:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2388:21: sparse: sparse: cast removes address space '__user' of expression -- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression >> drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ >> drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression -- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:138:17: sparse: sparse: incorrect type in initializer (different base types) @@ expected restricted __poll_t ( *poll )( ... ) @@ got unsigned int ( * )( ... ) @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:138:17: sparse: expected restricted __poll_t ( *poll )( ... ) drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:138:17: sparse: got unsigned int ( * )( ... ) drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression >> drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ >> drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: expected void const volatile [noderef] __user *ptr vim +2388 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c d38ceaf99ed015 Alex Deucher 2015-04-20 2362 50da51744f005f Tom St Denis 2018-05-09 2363 /** 50da51744f005f Tom St Denis 2018-05-09 2364 * amdgpu_ttm_vram_write - Linear write access to VRAM 50da51744f005f Tom St Denis 2018-05-09 2365 * 50da51744f005f Tom St Denis 2018-05-09 2366 * Accesses VRAM via MMIO for debugging purposes. 50da51744f005f Tom St Denis 2018-05-09 2367 */ 08cab989f77582 Tom St Denis 2017-08-29 2368 static ssize_t amdgpu_ttm_vram_write(struct file *f, const char __user *buf, 08cab989f77582 Tom St Denis 2017-08-29 2369 size_t size, loff_t *pos) 08cab989f77582 Tom St Denis 2017-08-29 2370 { 08cab989f77582 Tom St Denis 2017-08-29 2371 struct amdgpu_device *adev = file_inode(f)->i_private; 08cab989f77582 Tom St Denis 2017-08-29 2372 ssize_t result = 0; 08cab989f77582 Tom St Denis 2017-08-29 2373 int r; 08cab989f77582 Tom St Denis 2017-08-29 2374 08cab989f77582 Tom St Denis 2017-08-29 2375 if (size & 0x3 || *pos & 0x3) 08cab989f77582 Tom St Denis 2017-08-29 2376 return -EINVAL; 08cab989f77582 Tom St Denis 2017-08-29 2377 770d13b19fdf36 Christian König 2018-01-12 2378 if (*pos >= adev->gmc.mc_vram_size) 08cab989f77582 Tom St Denis 2017-08-29 2379 return -ENXIO; 08cab989f77582 Tom St Denis 2017-08-29 2380 08cab989f77582 Tom St Denis 2017-08-29 2381 while (size) { 08cab989f77582 Tom St Denis 2017-08-29 2382 unsigned long flags; 08cab989f77582 Tom St Denis 2017-08-29 2383 uint32_t value; 08cab989f77582 Tom St Denis 2017-08-29 2384 770d13b19fdf36 Christian König 2018-01-12 2385 if (*pos >= adev->gmc.mc_vram_size) 08cab989f77582 Tom St Denis 2017-08-29 2386 return result; 08cab989f77582 Tom St Denis 2017-08-29 2387 08cab989f77582 Tom St Denis 2017-08-29 @2388 r = get_user(value, (uint32_t *)buf); 08cab989f77582 Tom St Denis 2017-08-29 2389 if (r) 08cab989f77582 Tom St Denis 2017-08-29 2390 return r; 08cab989f77582 Tom St Denis 2017-08-29 2391 08cab989f77582 Tom St Denis 2017-08-29 2392 spin_lock_irqsave(&adev->mmio_idx_lock, flags); c30572814df55b Tom St Denis 2017-09-13 2393 WREG32_NO_KIQ(mmMM_INDEX, ((uint32_t)*pos) | 0x80000000); c30572814df55b Tom St Denis 2017-09-13 2394 WREG32_NO_KIQ(mmMM_INDEX_HI, *pos >> 31); c30572814df55b Tom St Denis 2017-09-13 2395 WREG32_NO_KIQ(mmMM_DATA, value); 08cab989f77582 Tom St Denis 2017-08-29 2396 spin_unlock_irqrestore(&adev->mmio_idx_lock, flags); 08cab989f77582 Tom St Denis 2017-08-29 2397 08cab989f77582 Tom St Denis 2017-08-29 2398 result += 4; 08cab989f77582 Tom St Denis 2017-08-29 2399 buf += 4; 08cab989f77582 Tom St Denis 2017-08-29 2400 *pos += 4; 08cab989f77582 Tom St Denis 2017-08-29 2401 size -= 4; 08cab989f77582 Tom St Denis 2017-08-29 2402 } 08cab989f77582 Tom St Denis 2017-08-29 2403 08cab989f77582 Tom St Denis 2017-08-29 2404 return result; 08cab989f77582 Tom St Denis 2017-08-29 2405 } 08cab989f77582 Tom St Denis 2017-08-29 2406 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 33750 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user, io}_ptr() @ 2020-06-29 18:08 ` kernel test robot 0 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-06-29 18:08 UTC (permalink / raw) To: kbuild-all [-- Attachment #1: Type: text/plain, Size: 23628 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on next-20200626] [cannot apply to linux/master linus/master v5.8-rc2 v5.8-rc1 v5.7 v5.8-rc3] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200628-152401 base: 36e3135df4d426612fc77db26a312c2531108603 config: i386-randconfig-s002-20200629 (attached as .config) compiler: gcc-9 (Debian 9.3.0-13) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-3-gfa153962-dirty # save the attached .config to linux build tree make W=1 C= CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:818:42: sparse: sparse: cast removes address space '__iomem' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2388:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2388:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2388:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2388:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2388:21: sparse: sparse: cast removes address space '__user' of expression >> drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2388:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ >> drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2388:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2388:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2388:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2388:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2388:21: sparse: sparse: cast removes address space '__user' of expression -- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression >> drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ >> drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression -- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:138:17: sparse: sparse: incorrect type in initializer (different base types) @@ expected restricted __poll_t ( *poll )( ... ) @@ got unsigned int ( * )( ... ) @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:138:17: sparse: expected restricted __poll_t ( *poll )( ... ) drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:138:17: sparse: got unsigned int ( * )( ... ) drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression >> drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ >> drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:261:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:263:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:354:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:412:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:473:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:531:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:592:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:650:21: sparse: expected void const volatile [noderef] __user *ptr vim +2388 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c d38ceaf99ed015 Alex Deucher 2015-04-20 2362 50da51744f005f Tom St Denis 2018-05-09 2363 /** 50da51744f005f Tom St Denis 2018-05-09 2364 * amdgpu_ttm_vram_write - Linear write access to VRAM 50da51744f005f Tom St Denis 2018-05-09 2365 * 50da51744f005f Tom St Denis 2018-05-09 2366 * Accesses VRAM via MMIO for debugging purposes. 50da51744f005f Tom St Denis 2018-05-09 2367 */ 08cab989f77582 Tom St Denis 2017-08-29 2368 static ssize_t amdgpu_ttm_vram_write(struct file *f, const char __user *buf, 08cab989f77582 Tom St Denis 2017-08-29 2369 size_t size, loff_t *pos) 08cab989f77582 Tom St Denis 2017-08-29 2370 { 08cab989f77582 Tom St Denis 2017-08-29 2371 struct amdgpu_device *adev = file_inode(f)->i_private; 08cab989f77582 Tom St Denis 2017-08-29 2372 ssize_t result = 0; 08cab989f77582 Tom St Denis 2017-08-29 2373 int r; 08cab989f77582 Tom St Denis 2017-08-29 2374 08cab989f77582 Tom St Denis 2017-08-29 2375 if (size & 0x3 || *pos & 0x3) 08cab989f77582 Tom St Denis 2017-08-29 2376 return -EINVAL; 08cab989f77582 Tom St Denis 2017-08-29 2377 770d13b19fdf36 Christian König 2018-01-12 2378 if (*pos >= adev->gmc.mc_vram_size) 08cab989f77582 Tom St Denis 2017-08-29 2379 return -ENXIO; 08cab989f77582 Tom St Denis 2017-08-29 2380 08cab989f77582 Tom St Denis 2017-08-29 2381 while (size) { 08cab989f77582 Tom St Denis 2017-08-29 2382 unsigned long flags; 08cab989f77582 Tom St Denis 2017-08-29 2383 uint32_t value; 08cab989f77582 Tom St Denis 2017-08-29 2384 770d13b19fdf36 Christian König 2018-01-12 2385 if (*pos >= adev->gmc.mc_vram_size) 08cab989f77582 Tom St Denis 2017-08-29 2386 return result; 08cab989f77582 Tom St Denis 2017-08-29 2387 08cab989f77582 Tom St Denis 2017-08-29 @2388 r = get_user(value, (uint32_t *)buf); 08cab989f77582 Tom St Denis 2017-08-29 2389 if (r) 08cab989f77582 Tom St Denis 2017-08-29 2390 return r; 08cab989f77582 Tom St Denis 2017-08-29 2391 08cab989f77582 Tom St Denis 2017-08-29 2392 spin_lock_irqsave(&adev->mmio_idx_lock, flags); c30572814df55b Tom St Denis 2017-09-13 2393 WREG32_NO_KIQ(mmMM_INDEX, ((uint32_t)*pos) | 0x80000000); c30572814df55b Tom St Denis 2017-09-13 2394 WREG32_NO_KIQ(mmMM_INDEX_HI, *pos >> 31); c30572814df55b Tom St Denis 2017-09-13 2395 WREG32_NO_KIQ(mmMM_DATA, value); 08cab989f77582 Tom St Denis 2017-08-29 2396 spin_unlock_irqrestore(&adev->mmio_idx_lock, flags); 08cab989f77582 Tom St Denis 2017-08-29 2397 08cab989f77582 Tom St Denis 2017-08-29 2398 result += 4; 08cab989f77582 Tom St Denis 2017-08-29 2399 buf += 4; 08cab989f77582 Tom St Denis 2017-08-29 2400 *pos += 4; 08cab989f77582 Tom St Denis 2017-08-29 2401 size -= 4; 08cab989f77582 Tom St Denis 2017-08-29 2402 } 08cab989f77582 Tom St Denis 2017-08-29 2403 08cab989f77582 Tom St Denis 2017-08-29 2404 return result; 08cab989f77582 Tom St Denis 2017-08-29 2405 } 08cab989f77582 Tom St Denis 2017-08-29 2406 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 33750 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user,io}_ptr() 2020-06-29 18:08 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot @ 2020-06-29 18:37 ` Luc Van Oostenryck -1 siblings, 0 replies; 32+ messages in thread From: Luc Van Oostenryck @ 2020-06-29 18:37 UTC (permalink / raw) To: kernel test robot; +Cc: kbuild-all, linux-kernel On Tue, Jun 30, 2020 at 02:08:36AM +0800, kernel test robot wrote: > Hi Luc, > > I love your patch! Perhaps something to improve: > > [auto build test WARNING on next-20200626] > [cannot apply to linux/master linus/master v5.8-rc2 v5.8-rc1 v5.7 v5.8-rc3] > [If your patch is applied to the wrong git tree, kindly drop us a note. This patch should be applied on top of akpm's tree or on top of next. I'm not sure hwo I should have specified this, 'git send-mail --base=...' is less useful for these trees. -- Luc ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user, io}_ptr() @ 2020-06-29 18:37 ` Luc Van Oostenryck 0 siblings, 0 replies; 32+ messages in thread From: Luc Van Oostenryck @ 2020-06-29 18:37 UTC (permalink / raw) To: kbuild-all [-- Attachment #1: Type: text/plain, Size: 528 bytes --] On Tue, Jun 30, 2020 at 02:08:36AM +0800, kernel test robot wrote: > Hi Luc, > > I love your patch! Perhaps something to improve: > > [auto build test WARNING on next-20200626] > [cannot apply to linux/master linus/master v5.8-rc2 v5.8-rc1 v5.7 v5.8-rc3] > [If your patch is applied to the wrong git tree, kindly drop us a note. This patch should be applied on top of akpm's tree or on top of next. I'm not sure hwo I should have specified this, 'git send-mail --base=...' is less useful for these trees. -- Luc ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user, io}_ptr() 2020-06-29 18:37 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() Luc Van Oostenryck (?) @ 2020-06-30 0:31 ` Rong Chen -1 siblings, 0 replies; 32+ messages in thread From: Rong Chen @ 2020-06-30 0:31 UTC (permalink / raw) To: kbuild-all [-- Attachment #1: Type: text/plain, Size: 673 bytes --] On 6/30/20 2:37 AM, Luc Van Oostenryck wrote: > On Tue, Jun 30, 2020 at 02:08:36AM +0800, kernel test robot wrote: >> Hi Luc, >> >> I love your patch! Perhaps something to improve: >> >> [auto build test WARNING on next-20200626] >> [cannot apply to linux/master linus/master v5.8-rc2 v5.8-rc1 v5.7 v5.8-rc3] >> [If your patch is applied to the wrong git tree, kindly drop us a note. > This patch should be applied on top of akpm's tree or on top of next. > I'm not sure hwo I should have specified this, 'git send-mail --base=...' > is less useful for these trees. Hi Luc, Thanks for the feedback, we'll fix the wrong base. Best Regards, Rong Chen ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user,io}_ptr() 2020-06-28 7:20 [PATCH] sparse: use static inline for __chk_{user,io}_ptr() Luc Van Oostenryck @ 2020-06-30 11:58 ` kernel test robot 2020-06-29 18:08 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot ` (2 subsequent siblings) 3 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-06-30 11:58 UTC (permalink / raw) To: Luc Van Oostenryck, Andrew Morton Cc: kbuild-all, Linux Memory Management List, linux-kernel, Luc Van Oostenryck [-- Attachment #1: Type: text/plain, Size: 985759 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on next-20200626] [cannot apply to linux/master linus/master v5.8-rc2 v5.8-rc1 v5.7 v5.8-rc3] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200628-152401 base: 36e3135df4d426612fc77db26a312c2531108603 config: sh-randconfig-s031-20200630 (attached as .config) compiler: sh4-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.2-3-gfa153962-dirty # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C= CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=sh If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:467:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int [noderef] [usertype] __user * >> drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ >> drivers/mtd/ubi/cdev.c:467:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:512:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:512:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:526:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:526:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:882:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:882:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:969:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:969:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:984:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:984:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:1061:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:1061:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/build.c:61: warning: Function parameter or member 'ubi_num' not described in 'mtd_dev_param' drivers/mtd/ubi/kapi.c:464: warning: Function parameter or member 'sgl' not described in 'ubi_leb_read_sg' drivers/mtd/ubi/kapi.c:464: warning: Excess function parameter 'buf' description in 'ubi_leb_read_sg' drivers/mtd/ubi/wl.c:2054:28: sparse: sparse: context imbalance in 'produce_free_peb' - unexpected unlock drivers/mtd/ubi/eba.c:1304: warning: Function parameter or member 'vidb' not described in 'ubi_eba_copy_leb' drivers/mtd/ubi/eba.c:1304: warning: Excess function parameter 'vid_hdr' description in 'ubi_eba_copy_leb' drivers/mtd/ubi/eba.c:1483: warning: Function parameter or member 'ai' not described in 'print_rsvd_warning' drivers/mtd/ubi/gluebi.c:446: warning: Function parameter or member 'ns_ptr' not described in 'gluebi_notify' drivers/mtd/ubi/gluebi.c:446: warning: Excess function parameter 'ptr' description in 'gluebi_notify' {standard input}: Assembler messages: {standard input}:11303: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/mtd/ubi/wl.o] Error 1 make[4]: Target '__build' not remade because of errors. -- drivers/mtd/mtdchar.c:658:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/mtd/mtdchar.c:658:21: sparse: expected unsigned int const *__gu_addr drivers/mtd/mtdchar.c:658:21: sparse: got unsigned int [noderef] __user * >> drivers/mtd/mtdchar.c:658:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/mtd/mtdchar.c:658:21: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/mtdchar.c:658:21: sparse: got unsigned int const *__gu_addr -- drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:396:34: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:396:34: sparse: got unsigned char [noderef] [usertype] __user * >> drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ >> drivers/spi/spidev.c:396:34: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:396:34: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/spi/spidev.c:398:34: sparse: expected unsigned int const *__gu_addr drivers/spi/spidev.c:398:34: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/spi/spidev.c:398:34: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:398:34: sparse: got unsigned int const *__gu_addr drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:422:26: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:422:26: sparse: got unsigned char [noderef] [usertype] __user * drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ drivers/spi/spidev.c:422:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:422:26: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:439:26: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:439:26: sparse: got unsigned char [noderef] [usertype] __user * drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ drivers/spi/spidev.c:439:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:439:26: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/spi/spidev.c:452:26: sparse: expected unsigned int const *__gu_addr drivers/spi/spidev.c:452:26: sparse: got unsigned int [noderef] [usertype] __user * drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/spi/spidev.c:452:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:452:26: sparse: got unsigned int const *__gu_addr -- drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/net/hamradio/6pack.c:710:21: sparse: expected int const *__gu_addr drivers/net/hamradio/6pack.c:710:21: sparse: got int [noderef] __user * >> drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/hamradio/6pack.c:710:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/hamradio/6pack.c:710:21: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:1340: Error: unknown opcode {standard input}:1371: Error: unknown opcode {standard input}:1576: Error: unknown opcode {standard input}:1853: Error: unknown opcode {standard input}:2081: Error: unknown opcode {standard input}:2320: Error: unknown opcode {standard input}:2893: Error: unknown opcode {standard input}:3462: Error: unknown opcode {standard input}:3750: Error: unknown opcode {standard input}:4086: Error: unknown opcode {standard input}:4363: Error: unknown opcode {standard input}:6410: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/hamradio/6pack.o] Error 1 drivers/net/hamradio/baycom_ser_fdx.c:290:43: sparse: sparse: dubious: x | !y {standard input}: Assembler messages: {standard input}:1038: Error: unknown opcode {standard input}:1546: Error: unknown opcode {standard input}:1696: Error: unknown opcode {standard input}:1890: Error: unknown opcode {standard input}:2760: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/net/hamradio/hdlcdrv.o] Error 1 make[4]: Target '__build' not remade because of errors. -- drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:925:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:925:21: sparse: got int [noderef] __user *p >> drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/ppp/ppp_generic.c:925:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:925:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:939:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:939:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:939:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:939:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:954:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:954:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:954:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:954:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:651:29: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:651:29: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:651:29: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:651:29: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:681:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:681:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:681:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:681:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:688:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:688:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:688:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:688:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:726:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:726:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:726:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:726:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:755:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:755:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:755:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:755:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:823:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:823:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:823:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:823:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_async.c:420:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_async.c:420:21: sparse: got int [noderef] __user *p >> drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/ppp/ppp_async.c:420:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:420:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/net/ppp/ppp_async.c:435:21: sparse: expected unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:435:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/net/ppp/ppp_async.c:446:21: sparse: expected unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int [noderef] [usertype] __user * drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:446:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_async.c:471:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_async.c:471:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:471:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:471:21: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:6459: Error: unknown opcode {standard input}:6490: Error: unknown opcode {standard input}:6633: Error: unknown opcode {standard input}:6837: Error: unknown opcode {standard input}:7814: Error: unknown opcode {standard input}:8237: Error: unknown opcode {standard input}:8407: Error: unknown opcode {standard input}:8991: Error: unknown opcode {standard input}: Assembler messages: {standard input}:52: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:2195: Error: unknown opcode {standard input}:2226: Error: unknown opcode {standard input}:2653: Error: unknown opcode {standard input}:3418: Error: unknown opcode {standard input}:3983: Error: unknown opcode {standard input}:4049: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/net/ppp/ppp_async.o] Error 1 {standard input}:17424: Error: unknown opcode {standard input}:18539: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/net/ppp/ppp_generic.o] Error 1 make[4]: Target '__build' not remade because of errors. -- drivers/net/slip/slip.c:458:14: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/net/slip/slip.c:458:14: sparse: void [noderef] __rcu * drivers/net/slip/slip.c:458:14: sparse: void * drivers/net/slip/slip.c:892:9: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/net/slip/slip.c:892:9: sparse: void [noderef] __rcu * drivers/net/slip/slip.c:892:9: sparse: void * drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ >> drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:878: Error: unknown opcode {standard input}:931: Error: unknown opcode {standard input}:4211: Error: unknown opcode {standard input}:4254: Error: unknown opcode {standard input}:4693: Error: unknown opcode {standard input}:4736: Error: unknown opcode {standard input}:6118: Error: unknown opcode {standard input}:6216: Error: unknown opcode {standard input}:6472: Error: unknown opcode {standard input}:6541: Error: unknown opcode {standard input}:6631: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/slip/slip.o] Error 1 make[4]: Target '__build' not remade because of errors. -- drivers/auxdisplay/charlcd.c:670:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *tmp @@ drivers/auxdisplay/charlcd.c:670:21: sparse: expected char const *__gu_addr drivers/auxdisplay/charlcd.c:670:21: sparse: got char const [noderef] __user *tmp >> drivers/auxdisplay/charlcd.c:670:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/auxdisplay/charlcd.c:670:21: sparse: expected void const volatile [noderef] __user *ptr drivers/auxdisplay/charlcd.c:670:21: sparse: got char const *__gu_addr -- drivers/input/serio/serport.c:213:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] __user * @@ drivers/input/serio/serport.c:213:21: sparse: expected unsigned long const *__gu_addr drivers/input/serio/serport.c:213:21: sparse: got unsigned long [noderef] __user * >> drivers/input/serio/serport.c:213:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ >> drivers/input/serio/serport.c:213:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/serio/serport.c:213:21: sparse: got unsigned long const *__gu_addr -- drivers/input/serio/serio_raw.c:219:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/input/serio/serio_raw.c:219:21: sparse: expected char const *__gu_addr drivers/input/serio/serio_raw.c:219:21: sparse: got char const [noderef] __user * >> drivers/input/serio/serio_raw.c:219:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/input/serio/serio_raw.c:219:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/serio/serio_raw.c:219:21: sparse: got char const *__gu_addr -- drivers/input/mousedev.c:683:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/input/mousedev.c:683:21: sparse: expected char const *__gu_addr drivers/input/mousedev.c:683:21: sparse: got char const [noderef] __user * >> drivers/input/mousedev.c:683:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/input/mousedev.c:683:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/mousedev.c:683:21: sparse: got char const *__gu_addr -- drivers/input/joydev.c:528:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/input/joydev.c:528:24: sparse: expected signed int const *__gu_addr drivers/input/joydev.c:528:24: sparse: got signed int [noderef] [usertype] __user * >> drivers/input/joydev.c:528:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ >> drivers/input/joydev.c:528:24: sparse: expected void const volatile [noderef] __user *ptr drivers/input/joydev.c:528:24: sparse: got signed int const *__gu_addr drivers/input/joydev.c:680:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected long const *__gu_addr @@ got long [noderef] __user * @@ drivers/input/joydev.c:680:26: sparse: expected long const *__gu_addr drivers/input/joydev.c:680:26: sparse: got long [noderef] __user * >> drivers/input/joydev.c:680:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got long const *__gu_addr @@ drivers/input/joydev.c:680:26: sparse: expected void const volatile [noderef] __user *ptr drivers/input/joydev.c:680:26: sparse: got long const *__gu_addr -- drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/net/hamradio/6pack.c:710:21: sparse: expected int const *__gu_addr drivers/net/hamradio/6pack.c:710:21: sparse: got int [noderef] __user * >> drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/hamradio/6pack.c:710:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/hamradio/6pack.c:710:21: sparse: got int const *__gu_addr -- drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:925:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:925:21: sparse: got int [noderef] __user *p >> drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/ppp/ppp_generic.c:925:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:925:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:939:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:939:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:939:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:939:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:954:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:954:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:954:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:954:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:651:29: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:651:29: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:651:29: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:651:29: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:681:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:681:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:681:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:681:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:688:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:688:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:688:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:688:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:726:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:726:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:726:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:726:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:755:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:755:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:755:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:755:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:823:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:823:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:823:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:823:21: sparse: got int const *__gu_addr -- drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_async.c:420:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_async.c:420:21: sparse: got int [noderef] __user *p >> drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/ppp/ppp_async.c:420:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:420:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/net/ppp/ppp_async.c:435:21: sparse: expected unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:435:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/net/ppp/ppp_async.c:446:21: sparse: expected unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int [noderef] [usertype] __user * drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:446:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_async.c:471:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_async.c:471:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:471:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:471:21: sparse: got int const *__gu_addr -- drivers/net/slip/slip.c:458:14: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/net/slip/slip.c:458:14: sparse: void [noderef] __rcu * drivers/net/slip/slip.c:458:14: sparse: void * drivers/net/slip/slip.c:892:9: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/net/slip/slip.c:892:9: sparse: void [noderef] __rcu * drivers/net/slip/slip.c:892:9: sparse: void * drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ >> drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ -- >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *ptr @@ got restricted __le64 * @@ >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: expected void const volatile [noderef] __iomem *ptr drivers/misc/mic/vop/vop_main.c:551:51: sparse: got restricted __le64 * drivers/misc/mic/vop/vop_main.c:560:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:560:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:560:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:579:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc drivers/misc/mic/vop/vop_main.c: In function '_vop_scan_devices': drivers/misc/mic/vop/vop_main.c:617:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 617 | int ret; | ^~~ {standard input}: Assembler messages: {standard input}:6221: Error: unknown opcode {standard input}:6680: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/misc/mic/vop/vop_vringh.o] Error 1 make[5]: Target '__build' not remade because of errors. -- drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:467:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int [noderef] [usertype] __user * >> drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ >> drivers/mtd/ubi/cdev.c:467:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:512:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:512:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:526:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:526:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:882:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:882:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:969:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:969:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:984:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:984:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:1061:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:1061:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int const *__gu_addr -- >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *ptr @@ got restricted __le64 * @@ >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: expected void const volatile [noderef] __iomem *ptr drivers/misc/mic/vop/vop_main.c:551:51: sparse: got restricted __le64 * drivers/misc/mic/vop/vop_main.c:560:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:560:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:560:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:579:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc -- drivers/vhost/vringh.c:567:18: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __virtio16 const *__gu_addr @@ got restricted __virtio16 [noderef] [usertype] __user * @@ drivers/vhost/vringh.c:567:18: sparse: expected restricted __virtio16 const *__gu_addr drivers/vhost/vringh.c:567:18: sparse: got restricted __virtio16 [noderef] [usertype] __user * >> drivers/vhost/vringh.c:567:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got restricted __virtio16 const *__gu_addr @@ >> drivers/vhost/vringh.c:567:18: sparse: expected void const volatile [noderef] __user *ptr drivers/vhost/vringh.c:567:18: sparse: got restricted __virtio16 const *__gu_addr -- drivers/fsi/fsi-scom.c:497:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/fsi/fsi-scom.c:497:13: sparse: expected unsigned int const *__gu_addr drivers/fsi/fsi-scom.c:497:13: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/fsi/fsi-scom.c:497:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/fsi/fsi-scom.c:497:13: sparse: expected void const volatile [noderef] __user *ptr drivers/fsi/fsi-scom.c:497:13: sparse: got unsigned int const *__gu_addr -- drivers/char/ipmi/ipmi_msghandler.c:2327:5: sparse: sparse: context imbalance in 'ipmi_request_supply_msgs' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:4452:39: sparse: sparse: context imbalance in 'handle_new_recv_msgs' - unexpected unlock drivers/char/ipmi/ipmi_msghandler.c:4509:9: sparse: sparse: context imbalance in 'smi_recv_tasklet' - different lock contexts for basic block drivers/char/ipmi/ipmi_msghandler.c:4544:39: sparse: sparse: context imbalance in 'ipmi_smi_msg_received' - unexpected unlock drivers/char/ipmi/ipmi_msghandler.c:4640:39: sparse: sparse: context imbalance in 'check_msg_timeout' - unexpected unlock drivers/pci/of.c:262: warning: Function parameter or member 'ib_resources' not described in 'devm_of_pci_get_host_bridge_resources' sound/core/seq/seq_clientmgr.c:709:9: sparse: sparse: context imbalance in 'deliver_to_subscribers' - different lock contexts for basic block drivers/virtio/virtio_ring.c:1400:50: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected restricted __virtio16 [usertype] *p @@ got restricted __le16 * @@ drivers/virtio/virtio_ring.c:1400:50: sparse: expected restricted __virtio16 [usertype] *p drivers/virtio/virtio_ring.c:1400:50: sparse: got restricted __le16 * drivers/virtio/virtio_ring.c:1401:33: sparse: sparse: incorrect type in argument 3 (different base types) @@ expected restricted __virtio16 [usertype] v @@ got restricted __le16 [usertype] @@ drivers/virtio/virtio_ring.c:1401:33: sparse: expected restricted __virtio16 [usertype] v drivers/virtio/virtio_ring.c:1401:33: sparse: got restricted __le16 [usertype] include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast to restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast to restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast to restricted __virtio16 In file included from include/linux/bits.h:23, from include/linux/bitops.h:5, from include/linux/kernel.h:12, from include/asm-generic/bug.h:20, from arch/sh/include/asm/bug.h:112, from include/linux/bug.h:5, from include/linux/thread_info.h:12, from include/asm-generic/current.h:5, from ./arch/sh/include/generated/asm/current.h:1, from include/linux/sched.h:12, from include/linux/ratelimit.h:6, from include/linux/dev_printk.h:16, from include/linux/device.h:15, from drivers/pinctrl/sh-pfc/pinctrl.c:10: drivers/pinctrl/sh-pfc/pinctrl.c: In function 'sh_pfc_pinconf_get_drive_strength': include/linux/bits.h:27:7: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 27 | (l) > (h), 0))) | ^ include/linux/build_bug.h:16:62: note: in definition of macro 'BUILD_BUG_ON_ZERO' 16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) | ^ include/linux/bits.h:40:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' 40 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^~~~~~~~~~~~~~~~~~~ drivers/pinctrl/sh-pfc/pinctrl.c:523:26: note: in expansion of macro 'GENMASK' 523 | val = (val >> offset) & GENMASK(size - 1, 0); | ^~~~~~~ {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}:133: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2608: Error: unknown opcode {standard input}:2716: Error: unknown opcode {standard input}:2865: Error: unknown opcode {standard input}:4434: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/gpio/gpiolib-of.o] Error 1 drivers/clk/clkdev.c: In function 'vclkdev_alloc': drivers/clk/clkdev.c:173:3: warning: function 'vclkdev_alloc' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 173 | vscnprintf(cla->dev_id, sizeof(cla->dev_id), dev_fmt, ap); | ^~~~~~~~~~ make[3]: *** [scripts/Makefile.build:281: drivers/gpio/gpiolib-cdev.o] Error 1 {standard input}: Assembler messages: {standard input}:817: Error: unknown opcode {standard input}:911: Error: unknown opcode {standard input}:983: Error: unknown opcode {standard input}:1212: Error: unknown opcode {standard input}:1638: Error: unknown opcode {standard input}:2539: Error: unknown opcode {standard input}:2699: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_fifo.o] Error 1 {standard input}: Assembler messages: {standard input}:1564: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/clk/clk-fixed-factor.o] Error 1 drivers/clk/clk-fixed-rate.c:173: warning: Function parameter or member 'node' not described in 'of_fixed_clk_setup' {standard input}: Assembler messages: {standard input}:588: Error: unknown opcode {standard input}:679: Error: unknown opcode {standard input}:881: Error: unknown opcode {standard input}:1580: Error: unknown opcode {standard input}:2048: Error: unknown opcode {standard input}: Assembler messages: {standard input}:4526: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_queue.o] Error 1 sound/core/control.c:776:17: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:776:26: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:777:17: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:777:26: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:796:48: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:1462:40: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:1565:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ptr @@ sound/core/control.c:1565:13: sparse: expected int const *__gu_addr sound/core/control.c:1565:13: sparse: got int [noderef] __user *ptr >> sound/core/control.c:1565:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/control.c:1565:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/control.c:1565:13: sparse: got int const *__gu_addr {standard input}:6767: Error: unknown opcode {standard input}:7990: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1544: Error: unknown opcode {standard input}:1823: Error: unknown opcode {standard input}:2489: Error: unknown opcode {standard input}:2708: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_memory.o] Error 1 {standard input}: Assembler messages: {standard input}:598: Error: unknown opcode {standard input}:661: Error: unknown opcode {standard input}: Assembler messages: {standard input}:3999: Error: unknown opcode {standard input}:8582: Error: unknown opcode {standard input}: Assembler messages: {standard input}:396: Error: unknown opcode {standard input}:449: Error: unknown opcode {standard input}:496: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/gpio/gpiolib-legacy.o] Error 1 {standard input}: Assembler messages: {standard input}:701: Error: unknown opcode {standard input}:842: Error: unknown opcode {standard input}:1135: Error: unknown opcode {standard input}:1381: Error: unknown opcode {standard input}:1520: Error: unknown opcode {standard input}:13022: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: sound/core/control.o] Error 1 {standard input}: Assembler messages: {standard input}:4126: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_clientmgr.o] Error 1 make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_timer.o] Error 1 sound/core/seq/seq_virmidi.c:65:12: sparse: sparse: context imbalance in 'snd_virmidi_dev_receive_event' - different lock contexts for basic block drivers/char/ipmi/ipmi_si_intf.c:1044:39: sparse: sparse: context imbalance in 'poll' - unexpected unlock sound/core/timer.c:2045:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/timer.c:2045:13: sparse: expected int const *__gu_addr sound/core/timer.c:2045:13: sparse: got int [noderef] __user *p >> sound/core/timer.c:2045:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/timer.c:2045:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/timer.c:2045:13: sparse: got int const *__gu_addr sound/core/timer.c:790:25: sparse: sparse: context imbalance in 'snd_timer_process_callbacks' - unexpected unlock {standard input}:4251: Error: unknown opcode {standard input}: Assembler messages: {standard input}:537: Error: unknown opcode {standard input}:1302: Error: unknown opcode {standard input}:1585: Error: unknown opcode {standard input}:2430: Error: unknown opcode {standard input}:3051: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: sound/core/seq/seq_ports.o] Error 1 In file included from include/linux/bits.h:23, from include/linux/bitops.h:5, from include/linux/kernel.h:12, from include/asm-generic/bug.h:20, from arch/sh/include/asm/bug.h:112, from include/linux/bug.h:5, from include/linux/thread_info.h:12, from include/asm-generic/current.h:5, from ./arch/sh/include/generated/asm/current.h:1, from include/linux/sched.h:12, from include/linux/ratelimit.h:6, from include/linux/dev_printk.h:16, from include/linux/device.h:15, from include/linux/gpio/driver.h:5, from drivers/gpio/gpio-cadence.c:11: drivers/gpio/gpio-cadence.c: In function 'cdns_gpio_probe': include/linux/bits.h:27:7: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 27 | (l) > (h), 0))) | ^ include/linux/build_bug.h:16:62: note: in definition of macro 'BUILD_BUG_ON_ZERO' 16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) | ^ include/linux/bits.h:40:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' 40 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^~~~~~~~~~~~~~~~~~~ drivers/gpio/gpio-cadence.c:178:12: note: in expansion of macro 'GENMASK' 178 | iowrite32(GENMASK(num_gpios - 1, 0), | ^~~~~~~ include/linux/bits.h:27:7: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 27 | (l) > (h), 0))) | ^ include/linux/build_bug.h:16:62: note: in definition of macro 'BUILD_BUG_ON_ZERO' 16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) | ^ include/linux/bits.h:40:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' 40 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^~~~~~~~~~~~~~~~~~~ drivers/gpio/gpio-cadence.c:251:12: note: in expansion of macro 'GENMASK' 251 | iowrite32(GENMASK(num_gpios - 1, 0), | ^~~~~~~ {standard input}: Assembler messages: {standard input}:290: Error: unknown opcode {standard input}:11573: Error: unknown opcode {standard input}:11920: Error: unknown opcode drivers/gpio/gpio-altera.c:34: warning: Function parameter or member 'irq_chip' not described in 'altera_gpio_chip' drivers/gpio/gpio-altera.c:78: warning: Function parameter or member 'd' not described in 'altera_gpio_irq_set_type' drivers/gpio/gpio-altera.c:78: warning: Function parameter or member 'type' not described in 'altera_gpio_irq_set_type' make[3]: *** [scripts/Makefile.build:497: sound/core/seq] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}:9475: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/bus/mhi/core/pm.o] Error 1 {standard input}:2423: Error: unknown opcode drivers/video/backlight/lcd.c:191: warning: Function parameter or member 'parent' not described in 'lcd_device_register' {standard input}: Assembler messages: {standard input}:229: Error: unknown opcode {standard input}: Assembler messages: {standard input}:8114: Error: unknown opcode sound/core/pcm.c:92:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:92:29: sparse: expected int const *__gu_addr sound/core/pcm.c:92:29: sparse: got int [noderef] __user * >> sound/core/pcm.c:92:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/pcm.c:92:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:92:29: sparse: got int const *__gu_addr sound/core/pcm.c:112:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm.c:112:29: sparse: expected unsigned int const *__gu_addr sound/core/pcm.c:112:29: sparse: got unsigned int [noderef] __user * >> sound/core/pcm.c:112:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm.c:112:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:112:29: sparse: got unsigned int const *__gu_addr sound/core/pcm.c:114:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:114:29: sparse: expected int const *__gu_addr sound/core/pcm.c:114:29: sparse: got int [noderef] __user * sound/core/pcm.c:114:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm.c:114:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:114:29: sparse: got int const *__gu_addr sound/core/pcm.c:119:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm.c:119:29: sparse: expected unsigned int const *__gu_addr sound/core/pcm.c:119:29: sparse: got unsigned int [noderef] __user * sound/core/pcm.c:119:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm.c:119:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:119:29: sparse: got unsigned int const *__gu_addr sound/core/pcm.c:155:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:155:29: sparse: expected int const *__gu_addr sound/core/pcm.c:155:29: sparse: got int [noderef] __user * sound/core/pcm.c:155:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm.c:155:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:155:29: sparse: got int const *__gu_addr sound/core/pcm.c:999:9: sparse: sparse: context imbalance in 'snd_pcm_detach_substream' - different lock contexts for basic block make[5]: *** [scripts/Makefile.build:281: drivers/bus/mhi/core/boot.o] Error 1 make[2]: *** [scripts/Makefile.build:497: sound/drivers] Error 2 make[3]: *** [scripts/Makefile.build:280: sound/drivers/aloop.o] Error 1 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:3026: Error: unknown opcode {standard input}:3843: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: sound/core/init.o] Error 1 drivers/regulator/internal.h:43:42: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:1627:56: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:1629:56: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:455:17: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:455:25: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:469:47: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:3347:65: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:3823:47: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:3965:65: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:5527:54: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:5528:54: sparse: sparse: restricted suspend_state_t degrades to integer {standard input}: Assembler messages: {standard input}:434: Error: unknown opcode {standard input}:509: Error: unknown opcode {standard input}:613: Error: unknown opcode sound/core/pcm_native.c:1010:20: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ sound/core/pcm_native.c:1010:20: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:1010:20: sparse: got unsigned int [noderef] [usertype] __user * >> sound/core/pcm_native.c:1010:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> sound/core/pcm_native.c:1010:20: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:1010:20: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:1036:20: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ sound/core/pcm_native.c:1036:20: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:1036:20: sparse: got unsigned int [noderef] [usertype] __user * sound/core/pcm_native.c:1036:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:1036:20: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:1036:20: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:2944:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:2944:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:2944:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:2944:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:2944:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:2944:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3037:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3037:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3037:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3037:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3037:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3037:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3038:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3038:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3038:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3038:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3038:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3038:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3039:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3039:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3039:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3039:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3039:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3039:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3087:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *_arg @@ sound/core/pcm_native.c:3087:13: sparse: expected int const *__gu_addr sound/core/pcm_native.c:3087:13: sparse: got int [noderef] __user *_arg >> sound/core/pcm_native.c:3087:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm_native.c:3087:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3087:13: sparse: got int const *__gu_addr sound/core/pcm_native.c:3153:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@ sound/core/pcm_native.c:3153:13: sparse: expected unsigned long const *__gu_addr sound/core/pcm_native.c:3153:13: sparse: got unsigned long [noderef] [usertype] __user *_frames >> sound/core/pcm_native.c:3153:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ sound/core/pcm_native.c:3153:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3153:13: sparse: got unsigned long const *__gu_addr sound/core/pcm_native.c:3169:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@ sound/core/pcm_native.c:3169:13: sparse: expected unsigned long const *__gu_addr sound/core/pcm_native.c:3169:13: sparse: got unsigned long [noderef] [usertype] __user *_frames sound/core/pcm_native.c:3169:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ sound/core/pcm_native.c:3169:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3169:13: sparse: got unsigned long const *__gu_addr sound/core/pcm_native.c:3203:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3203:21: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3203:21: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3203:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3203:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3203:21: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:95:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock' - different lock contexts for basic block sound/core/pcm_native.c:96:1: sparse: sparse: context imbalance in 'snd_pcm_group_unlock' - unexpected unlock sound/core/pcm_native.c:97:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock_irq' - different lock contexts for basic block sound/core/pcm_native.c:98:1: sparse: sparse: context imbalance in 'snd_pcm_group_unlock_irq' - unexpected unlock sound/core/pcm_native.c:145:9: sparse: sparse: context imbalance in 'snd_pcm_stream_lock_nested' - different lock contexts for basic block sound/core/pcm_native.c:171:9: sparse: sparse: context imbalance in '_snd_pcm_stream_lock_irqsave' - different lock contexts for basic block sound/core/pcm_native.c:188:39: sparse: sparse: context imbalance in 'snd_pcm_stream_unlock_irqrestore' - unexpected unlock sound/core/pcm_native.c:1186:52: sparse: sparse: context imbalance in 'snd_pcm_action_group' - unexpected unlock sound/core/pcm_native.c:1257:37: sparse: sparse: context imbalance in 'snd_pcm_stream_group_ref' - different lock contexts for basic block {standard input}: Assembler messages: {standard input}:5233: Error: unknown opcode {standard input}: Assembler messages: {standard input}:4553: Error: unknown opcode {standard input}: Assembler messages: {standard input}:236: Error: unknown opcode {standard input}:295: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/bus/mhi/core/init.o] Error 1 {standard input}:3362: Error: unknown opcode sound/core/pcm_native.c: In function 'constrain_mask_params': sound/core/pcm_native.c:264:18: warning: variable 'old_mask' set but not used [-Wunused-but-set-variable] 264 | struct snd_mask old_mask; | ^~~~~~~~ sound/core/pcm_native.c: In function 'constrain_interval_params': sound/core/pcm_native.c:300:22: warning: variable 'old_interval' set but not used [-Wunused-but-set-variable] 300 | struct snd_interval old_interval; | ^~~~~~~~~~~~ sound/core/pcm_native.c: In function 'constrain_params_by_rules': sound/core/pcm_native.c:341:22: warning: variable 'old_interval' set but not used [-Wunused-but-set-variable] 341 | struct snd_interval old_interval; | ^~~~~~~~~~~~ sound/core/pcm_native.c:340:18: warning: variable 'old_mask' set but not used [-Wunused-but-set-variable] 340 | struct snd_mask old_mask; | ^~~~~~~~ sound/core/pcm_native.c: In function 'snd_pcm_hw_params_choose': sound/core/pcm_native.c:625:22: warning: variable 'old_interval' set but not used [-Wunused-but-set-variable] 625 | struct snd_interval old_interval; | ^~~~~~~~~~~~ sound/core/pcm_native.c:624:18: warning: variable 'old_mask' set but not used [-Wunused-but-set-variable] 624 | struct snd_mask old_mask; | ^~~~~~~~ {standard input}: Assembler messages: {standard input}:3018: Error: unknown opcode {standard input}:4538: Error: unknown opcode {standard input}:4659: Error: unknown opcode {standard input}:5501: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/bus/moxtet.o] Error 1 {standard input}:3484: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/char/ipmi/ipmi_si_intf.o] Error 1 {standard input}:4920: Error: unknown opcode {standard input}:5376: Error: unknown opcode {standard input}:5736: Error: unknown opcode {standard input}:5700: Error: unknown opcode {standard input}:6533: Error: unknown opcode {standard input}:7131: Error: unknown opcode {standard input}:7162: Error: unknown opcode {standard input}:7751: Error: unknown opcode {standard input}: Assembler messages: {standard input}:5977: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: sound/core/pcm.o] Error 1 {standard input}:6527: Error: unknown opcode {standard input}:9334: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/bus/mhi/core/main.o] Error 1 make[5]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/bus] Error 2 make[3]: *** [scripts/Makefile.build:497: drivers/bus/mhi] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/bus/mhi/core] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}:8576: Error: unknown opcode {standard input}:8731: Error: unknown opcode {standard input}:9915: Error: unknown opcode drivers/video/backlight/ili922x.c:116: warning: Function parameter or member 's' not described in 'CHECK_FREQ_REG' drivers/video/backlight/ili922x.c:116: warning: Function parameter or member 'x' not described in 'CHECK_FREQ_REG' drivers/video/backlight/ili922x.c:127: warning: cannot understand function prototype: 'int ili922x_id = 1; ' drivers/video/backlight/ili922x.c:136: warning: cannot understand function prototype: 'struct ili922x ' drivers/video/backlight/ili922x.c:298: warning: Function parameter or member 'spi' not described in 'ili922x_reg_dump' make[3]: *** [scripts/Makefile.build:280: drivers/virtio/virtio_ring.o] Error 1 make[2]: *** [scripts/Makefile.build:497: drivers/virtio] Error 2 make[3]: Target '__build' not remade because of errors. drivers/regulator/internal.h:43:42: sparse: sparse: restricted suspend_state_t degrades to integer {standard input}:10775: Error: unknown opcode {standard input}: Assembler messages: {standard input}:8297: Error: unknown opcode drivers/phy/phy-core.c:1078: warning: Function parameter or member 'children' not described in '__devm_of_phy_provider_register' drivers/phy/phy-core.c:1125: warning: Function parameter or member 'phy_provider' not described in 'devm_of_phy_provider_unregister' {standard input}:9406: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/gpio/gpiolib.o] Error 1 {standard input}: Assembler messages: {standard input}:7731: Error: unknown opcode {standard input}:7762: Error: unknown opcode {standard input}:7905: Error: unknown opcode {standard input}:8086: Error: unknown opcode {standard input}: Assembler messages: {standard input}:8767: Error: unknown opcode {standard input}:8326: Error: unknown opcode {standard input}:8895: Error: unknown opcode {standard input}:9185: Error: unknown opcode {standard input}:11789: Error: unknown opcode {standard input}:16656: Error: unknown opcode {standard input}:17378: Error: unknown opcode drivers/tty/vt/vt_ioctl.c:1004:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] __user * @@ drivers/tty/vt/vt_ioctl.c:1004:21: sparse: expected unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1004:21: sparse: got unsigned short [noderef] __user * >> drivers/tty/vt/vt_ioctl.c:1004:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ >> drivers/tty/vt/vt_ioctl.c:1004:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt_ioctl.c:1004:21: sparse: got unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] __user * @@ drivers/tty/vt/vt_ioctl.c:1005:21: sparse: expected unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: got unsigned short [noderef] __user * drivers/tty/vt/vt_ioctl.c:1005:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ drivers/tty/vt/vt_ioctl.c:1005:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: got unsigned short const *__gu_addr {standard input}:19062: Error: unknown opcode {standard input}:24388: Error: unknown opcode {standard input}:19134: Error: unknown opcode drivers/video/of_videomode.c:32: warning: Function parameter or member 'np' not described in 'of_get_videomode' drivers/video/of_videomode.c:32: warning: Function parameter or member 'vm' not described in 'of_get_videomode' drivers/video/of_videomode.c:32: warning: Function parameter or member 'index' not described in 'of_get_videomode' make[3]: *** [scripts/Makefile.build:281: sound/core/pcm_native.o] Error 1 drivers/tty/serial/8250/8250_core.c: In function 'serial8250_isa_init_ports': drivers/tty/serial/8250/8250_core.c:537:9: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 537 | i < ARRAY_SIZE(old_serial_port) && i < nr_uarts; | ^ make[3]: *** [scripts/Makefile.build:281: sound/core/timer.o] Error 1 drivers/clk/clk-si5341.c: In function 'si5341_output_get_parent': drivers/clk/clk-si5341.c:886:6: warning: variable 'err' set but not used [-Wunused-but-set-variable] 886 | int err; | ^~~ {standard input}: Assembler messages: {standard input}:15972: Error: unknown opcode {standard input}:16003: Error: unknown opcode {standard input}:30099: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/regulator/core.o] Error 1 {standard input}: Assembler messages: {standard input}:1404: Error: unknown opcode {standard input}:1435: Error: unknown opcode {standard input}:2854: Error: unknown opcode {standard input}:5067: Error: unknown opcode {standard input}:5165: Error: unknown opcode {standard input}:5942: Error: unknown opcode {standard input}:6548: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/reset/core.o] Error 1 drivers/video/of_display_timing.c:58: warning: Function parameter or member 'dt' not described in 'of_parse_display_timing' sound/core/rawmidi.c:654:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/rawmidi.c:654:13: sparse: expected unsigned int const *__gu_addr sound/core/rawmidi.c:654:13: sparse: got unsigned int [noderef] __user * >> sound/core/rawmidi.c:654:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> sound/core/rawmidi.c:654:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:654:13: sparse: got unsigned int const *__gu_addr sound/core/rawmidi.c:656:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:656:13: sparse: expected int const *__gu_addr sound/core/rawmidi.c:656:13: sparse: got int [noderef] __user * >> sound/core/rawmidi.c:656:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:656:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:656:13: sparse: got int const *__gu_addr sound/core/rawmidi.c:658:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/rawmidi.c:658:13: sparse: expected unsigned int const *__gu_addr sound/core/rawmidi.c:658:13: sparse: got unsigned int [noderef] __user * sound/core/rawmidi.c:658:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/rawmidi.c:658:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:658:13: sparse: got unsigned int const *__gu_addr sound/core/rawmidi.c:836:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:836:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:836:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:836:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:836:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:836:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:874:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:874:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:874:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:874:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:874:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:874:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:889:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:889:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:889:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:889:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:889:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:889:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:923:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:923:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:923:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:923:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:923:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:923:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:945:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:945:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:945:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:945:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:945:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:945:21: sparse: got int const *__gu_addr drivers/regulator/internal.h:43:42: sparse: sparse: restricted suspend_state_t degrades to integer {standard input}:23655: Error: unknown opcode {standard input}:24012: Error: unknown opcode drivers/video/backlight/lms501kf03.c:96:28: warning: 'seq_sleep_in' defined but not used [-Wunused-const-variable=] 96 | static const unsigned char seq_sleep_in[] = { | ^~~~~~~~~~~~ drivers/video/backlight/lms501kf03.c:92:28: warning: 'seq_up_dn' defined but not used [-Wunused-const-variable=] 92 | static const unsigned char seq_up_dn[] = { | ^~~~~~~~~ {standard input}: Assembler messages: {standard input}:5681: Error: unknown opcode {standard input}:5971: Error: unknown opcode {standard input}:6100: Error: unknown opcode sound/core/pcm_iec958.c:119: warning: Function parameter or member 'params' not described in 'snd_pcm_create_iec958_consumer_hw_params' sound/core/pcm_iec958.c:119: warning: Excess function parameter 'hw_params' description in 'snd_pcm_create_iec958_consumer_hw_params' {standard input}: Assembler messages: {standard input}:2439: Error: unknown opcode {standard input}:27408: Error: unknown opcode {standard input}:27496: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/vt_ioctl.o] Error 1 {standard input}:29012: Error: unknown opcode {standard input}: Assembler messages: {standard input}:7334: Error: unknown opcode {standard input}:7365: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_msghandler.o] Error 1 drivers/tty/serial/8250/8250_port.c:1884:5: sparse: sparse: context imbalance in 'serial8250_handle_irq' - different lock contexts for basic block drivers/tty/serial/8250/8250_port.c:3295:9: sparse: sparse: context imbalance in 'serial8250_console_write' - different lock contexts for basic block drivers/video/fbdev/core/fb_notify.c:44: warning: Function parameter or member 'val' not described in 'fb_notifier_call_chain' drivers/video/fbdev/core/fb_notify.c:44: warning: Function parameter or member 'v' not described in 'fb_notifier_call_chain' {standard input}:11646: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/pinctrl/core.o] Error 1 {standard input}: Assembler messages: {standard input}:1590: Error: unknown opcode {standard input}:1673: Error: unknown opcode {standard input}:1788: Error: unknown opcode {standard input}:1891: Error: unknown opcode {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}:133: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: sound/core/seq_device.o] Error 1 {standard input}:4994: Error: unknown opcode {standard input}:5079: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/gpio/gpio-pca953x.o] Error 1 {standard input}: Assembler messages: {standard input}:1007: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/char/ipmi/ipmi_si_hotmod.o] Error 1 drivers/tty/serial/8250/8250_dw.c:631:36: warning: 'dw8250_acpi_match' defined but not used [-Wunused-const-variable=] 631 | static const struct acpi_device_id dw8250_acpi_match[] = { | ^~~~~~~~~~~~~~~~~ make[3]: *** [scripts/Makefile.build:280: sound/core/pcm_lib.o] Error 1 drivers/gpio/gpio-tqmx86.c:262:37: sparse: sparse: cast truncates bits from constant value (ffffff0f becomes f) drivers/pinctrl/pinmux.c:83: warning: Function parameter or member 'pctldev' not described in 'pinmux_can_be_used_for_gpio' drivers/pinctrl/pinmux.c:108: warning: Function parameter or member 'pctldev' not described in 'pin_request' drivers/pinctrl/pinmux.c:261: warning: Function parameter or member 'gpio' not described in 'pinmux_request_gpio' drivers/pinctrl/pinmux.c:751: warning: Function parameter or member 'selector' not described in 'pinmux_generic_get_function' drivers/pinctrl/pinmux.c:751: warning: Excess function parameter 'group_selector' description in 'pinmux_generic_get_function' drivers/pinctrl/devicetree.c:27: warning: Function parameter or member 'map' not described in 'pinctrl_dt_map' drivers/pinctrl/devicetree.c:27: warning: Function parameter or member 'num_maps' not described in 'pinctrl_dt_map' drivers/pinctrl/devicetree.c:409: warning: Function parameter or member 'out_args' not described in 'pinctrl_parse_index_with_args' drivers/pinctrl/devicetree.c:409: warning: Excess function parameter 'out_arts' description in 'pinctrl_parse_index_with_args' {standard input}: Assembler messages: {standard input}:7829: Error: unknown opcode {standard input}:8720: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1272: Error: unknown opcode {standard input}:1303: Error: unknown opcode {standard input}:1614: Error: unknown opcode {standard input}:1977: Error: unknown opcode {standard input}:12334: Error: unknown opcode {standard input}:12716: Error: unknown opcode {standard input}:13942: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: sound/core/rawmidi.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: sound/core] Error 2 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1765: sound] Error 2 make[4]: *** [scripts/Makefile.build:281: drivers/char/hw_random/core.o] Error 1 drivers/char/ipmi/ipmi_ssif.c:355:13: sparse: sparse: context imbalance in 'start_clear_flags' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:374:13: sparse: sparse: context imbalance in 'start_flag_fetch' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:415:9: sparse: sparse: context imbalance in 'start_event_fetch' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:438:9: sparse: sparse: context imbalance in 'start_recv_msg_fetch' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:469:17: sparse: sparse: context imbalance in 'handle_flags' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:570:13: sparse: sparse: context imbalance in 'watch_timeout' - different lock contexts for basic block drivers/char/ipmi/ipmi_ssif.c:903:9: sparse: sparse: context imbalance in 'msg_done_handler' - different lock contexts for basic block drivers/char/ipmi/ipmi_ssif.c:1078:17: sparse: sparse: context imbalance in 'start_next_msg' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:1106:9: sparse: sparse: context imbalance in 'sender' - wrong count at exit drivers/pinctrl/pinconf-generic.c:242: warning: Function parameter or member 'pctldev' not described in 'pinconf_generic_parse_dt_config' drivers/video/fbdev/ocfb.c:327:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void [noderef] __iomem *fb_virt @@ got void * @@ drivers/video/fbdev/ocfb.c:327:24: sparse: expected void [noderef] __iomem *fb_virt drivers/video/fbdev/ocfb.c:327:24: sparse: got void * drivers/video/fbdev/ocfb.c:367:64: sparse: sparse: incorrect type in argument 3 (different address spaces) @@ expected void *cpu_addr @@ got void [noderef] __iomem *fb_virt @@ drivers/video/fbdev/ocfb.c:367:64: sparse: expected void *cpu_addr drivers/video/fbdev/ocfb.c:367:64: sparse: got void [noderef] __iomem *fb_virt drivers/video/fbdev/ocfb.c:380:32: sparse: sparse: incorrect type in argument 3 (different address spaces) @@ expected void *cpu_addr @@ got void [noderef] __iomem *fb_virt @@ drivers/video/fbdev/ocfb.c:380:32: sparse: expected void *cpu_addr drivers/video/fbdev/ocfb.c:380:32: sparse: got void [noderef] __iomem *fb_virt {standard input}: Assembler messages: {standard input}:6038: Error: unknown opcode {standard input}:7532: Error: unknown opcode {standard input}:7606: Error: unknown opcode {standard input}:7896: Error: unknown opcode {standard input}: Assembler messages: {standard input}:5769: Error: unknown opcode {standard input}:5872: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/video/fbdev/core/fbmem.o] Error 1 make[5]: *** [scripts/Makefile.build:280: drivers/tty/serial/8250/8250_port.o] Error 1 {standard input}: Assembler messages: {standard input}:197: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/char/hw_random/ba431-rng.o] Error 1 {standard input}:35531: Error: unknown opcode {standard input}:37684: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/clk/clk.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/clk] Error 2 {standard input}: Assembler messages: {standard input}:2683: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_poweroff.o] Error 1 make[2]: *** [scripts/Makefile.build:497: drivers/reset] Error 2 make[3]: Target '__build' not remade because of errors. include/linux/lightnvm.h:461:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:454:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:453:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:452:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:490:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:483:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:482:54: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:481:53: sparse: sparse: invalid access past the end of 'l' (4 8) drivers/lightnvm/core.c:703:36: sparse: sparse: invalid access past the end of 'ppa' (4 8) include/linux/lightnvm.h:461:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:454:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:453:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:452:35: sparse: sparse: invalid access past the end of 'r' (4 8) drivers/lightnvm/core.c:928:36: sparse: sparse: invalid access past the end of 'ppa' (4 8) drivers/lightnvm/core.c:927:36: sparse: sparse: invalid access past the end of 'ppa' (4 8) drivers/lightnvm/core.c:897:35: sparse: sparse: invalid access past the end of 'ppa' (4 8) drivers/lightnvm/core.c:896:34: sparse: sparse: invalid access past the end of 'ppa' (4 8) include/linux/lightnvm.h:461:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:454:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:453:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:452:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:461:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:454:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:453:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:452:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:490:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:483:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:482:54: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:481:53: sparse: sparse: invalid access past the end of 'l' (4 8) drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: expected char const *__gu_addr drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: got char const [noderef] __user * >> drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: expected void const volatile [noderef] __user *ptr drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: got char const *__gu_addr make[5]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/tty/serial/8250] Error 2 drivers/tty/serial/serial_core.c:139:9: sparse: sparse: context imbalance in 'uart_start' - different lock contexts for basic block drivers/tty/serial/serial_core.c:219:17: sparse: sparse: context imbalance in 'uart_port_startup' - different lock contexts for basic block drivers/tty/serial/serial_core.c:321:9: sparse: sparse: context imbalance in 'uart_shutdown' - different lock contexts for basic block drivers/tty/serial/serial_core.c:569:9: sparse: sparse: context imbalance in 'uart_put_char' - different lock contexts for basic block drivers/tty/serial/serial_core.c:617:9: sparse: sparse: context imbalance in 'uart_write' - different lock contexts for basic block drivers/tty/serial/serial_core.c:620:12: sparse: sparse: context imbalance in 'uart_write_room' - different lock contexts for basic block drivers/tty/serial/serial_core.c:633:12: sparse: sparse: context imbalance in 'uart_chars_in_buffer' - different lock contexts for basic block drivers/tty/serial/serial_core.c:670:9: sparse: sparse: context imbalance in 'uart_flush_buffer' - different lock contexts for basic block drivers/video/fbdev/core/fbmon.c:617: warning: Function parameter or member 'specs' not described in 'fb_create_modedb' drivers/video/fbdev/core/fbmon.c:1103: warning: bad line: drivers/regulator/devres.c:187: warning: Function parameter or member 'dev' not described in 'devm_regulator_register' drivers/regulator/devres.c:226: warning: Function parameter or member 'dev' not described in 'devm_regulator_unregister' drivers/regulator/devres.c:226: warning: Function parameter or member 'rdev' not described in 'devm_regulator_unregister' drivers/regulator/devres.c:226: warning: Excess function parameter 'regulator' description in 'devm_regulator_unregister' {standard input}: Assembler messages: {standard input}:3307: Error: unknown opcode drivers/regulator/of_regulator.c:18:43: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:193:22: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:196:22: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:199:22: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:202:22: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:203:22: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:252:26: sparse: sparse: restricted suspend_state_t degrades to integer drivers/tty/serdev/core.c: In function 'serdev_controller_remove': drivers/tty/serdev/core.c:791:6: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 791 | int dummy; | ^~~~~ make[3]: *** [scripts/Makefile.build:497: drivers/char/hw_random] Error 2 make[4]: Target '__build' not remade because of errors. drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long word @@ got restricted __le32 [usertype] @@ drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: expected unsigned long word drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: got restricted __le32 [usertype] drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: sparse: cast to restricted __le32 {standard input}: Assembler messages: {standard input}:653: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/pinctrl] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:2708: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/selection.o] Error 1 {standard input}:4332: Error: unknown opcode {standard input}:4958: Error: unknown opcode {standard input}:5123: Error: unknown opcode {standard input}:5293: Error: unknown opcode {standard input}:5453: Error: unknown opcode {standard input}:6020: Error: unknown opcode {standard input}:6287: Error: unknown opcode {standard input}:6384: Error: unknown opcode {standard input}:6612: Error: unknown opcode {standard input}:6723: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_watchdog.o] Error 1 drivers/tty/serdev/core.c:811: warning: Function parameter or member 'owner' not described in '__serdev_device_driver_register' drivers/tty/vt/keyboard.c:1729:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/vt/keyboard.c:1729:21: sparse: expected unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1729:21: sparse: got unsigned int [noderef] __user * >> drivers/tty/vt/keyboard.c:1729:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/tty/vt/keyboard.c:1729:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/keyboard.c:1729:21: sparse: got unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1767:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/vt/keyboard.c:1767:21: sparse: expected unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1767:21: sparse: got unsigned int [noderef] __user * drivers/tty/vt/keyboard.c:1767:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/tty/vt/keyboard.c:1767:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/keyboard.c:1767:21: sparse: got unsigned int const *__gu_addr drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long word @@ got restricted __le32 [usertype] @@ drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: expected unsigned long word drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: got restricted __le32 [usertype] drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: sparse: cast to restricted __le32 drivers/video/backlight/backlight.c:329: warning: Function parameter or member 'reason' not described in 'backlight_force_update' drivers/video/backlight/backlight.c:354: warning: Function parameter or member 'props' not described in 'backlight_device_register' drivers/video/fbdev/core/fbcon.c: In function 'fbcon_exit': drivers/video/fbdev/core/fbcon.c:3653:7: warning: variable 'pending' set but not used [-Wunused-but-set-variable] 3653 | int pending = 0; | ^~~~~~~ drivers/tty/vt/keyboard.c: In function 'k_fn': drivers/tty/vt/keyboard.c:744:22: warning: comparison is always true due to limited range of data type [-Wtype-limits] 744 | if ((unsigned)value < ARRAY_SIZE(func_table)) { | ^ make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_ssif.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/char/ipmi] Error 2 {standard input}: Assembler messages: {standard input}:842: Error: unknown opcode {standard input}:1418: Error: unknown opcode {standard input}:1660: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/video/fbdev/core/fb_defio.o] Error 1 {standard input}: Assembler messages: {standard input}:5636: Error: unknown opcode {standard input}:5715: Error: unknown opcode {standard input}:5869: Error: unknown opcode {standard input}:5897: Error: unknown opcode {standard input}:5932: Error: unknown opcode {standard input}:6237: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1251: Error: unknown opcode {standard input}:1578: Error: unknown opcode {standard input}:1773: Error: unknown opcode {standard input}:1941: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/tty/serdev/serdev-ttyport.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/tty/serdev] Error 2 {standard input}:6569: Error: unknown opcode {standard input}:6833: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/keyboard.o] Error 1 drivers/tty/vt/defkeymap.c:28:9: sparse: sparse: symbol 'shift_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:47:9: sparse: sparse: symbol 'altgr_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:66:9: sparse: sparse: symbol 'ctrl_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:85:9: sparse: sparse: symbol 'shift_ctrl_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:104:9: sparse: sparse: symbol 'alt_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:123:9: sparse: sparse: symbol 'ctrl_alt_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:149:14: sparse: sparse: symbol 'keymap_count' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:157:6: sparse: sparse: symbol 'func_buf' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:188:6: sparse: sparse: symbol 'funcbufptr' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:189:5: sparse: sparse: symbol 'funcbufsize' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:190:5: sparse: sparse: symbol 'funcbufleft' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:192:6: sparse: sparse: symbol 'func_table' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:226:18: sparse: sparse: symbol 'accent_table' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:263:14: sparse: sparse: symbol 'accent_table_size' was not declared. Should it be static? drivers/tty/vt/vt.c:4294:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user * @@ drivers/tty/vt/vt.c:4294:13: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:4294:13: sparse: got char [noderef] __user * >> drivers/tty/vt/vt.c:4294:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/vt/vt.c:4294:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:4294:13: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:225:5: sparse: sparse: symbol 'console_blank_hook' was not declared. Should it be static? drivers/tty/vt/consolemap_deftbl.c:10:4: sparse: sparse: symbol 'dfont_unicount' was not declared. Should it be static? drivers/tty/vt/consolemap_deftbl.c:46:5: sparse: sparse: symbol 'dfont_unitable' was not declared. Should it be static? drivers/tty/vt/vt.c:2985:19: sparse: sparse: symbol 'console_driver' was not declared. Should it be static? drivers/tty/vt/vt.c:3141:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user *p @@ drivers/tty/vt/vt.c:3141:13: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:3141:13: sparse: got char [noderef] __user *p drivers/tty/vt/vt.c:3141:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/tty/vt/vt.c:3141:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3141:13: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:3194:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user * @@ drivers/tty/vt/vt.c:3194:37: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:3194:37: sparse: got char [noderef] __user * drivers/tty/vt/vt.c:3194:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/tty/vt/vt.c:3194:37: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3194:37: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:3207:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/tty/vt/vt.c:3207:29: sparse: expected signed int const *__gu_addr drivers/tty/vt/vt.c:3207:29: sparse: got signed int [noderef] [usertype] __user * >> drivers/tty/vt/vt.c:3207:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/tty/vt/vt.c:3207:29: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3207:29: sparse: got signed int const *__gu_addr drivers/regulator/of_regulator.c:546: warning: Function parameter or member 'rdev' not described in 'of_check_coupling_data' {standard input}: Assembler messages: {standard input}:258: Error: unknown opcode drivers/char/tpm/st33zp24/i2c.c:291:36: warning: 'st33zp24_i2c_acpi_match' defined but not used [-Wunused-const-variable=] 291 | static const struct acpi_device_id st33zp24_i2c_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ drivers/tty/serial/max3100.c:202:13: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [usertype] etx @@ got restricted __be16 [usertype] @@ drivers/tty/serial/max3100.c:202:13: sparse: expected unsigned short [addressable] [usertype] etx drivers/tty/serial/max3100.c:202:13: sparse: got restricted __be16 [usertype] drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 include/linux/spinlock.h:409:9: sparse: sparse: context imbalance in 'serial_console_write' - unexpected unlock {standard input}:12727: Error: unknown opcode {standard input}:18464: Error: unknown opcode {standard input}:19522: Error: unknown opcode drivers/gpu/drm/i2c/tda998x_drv.c:1711:50: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __be32 const [usertype] *p @@ got unsigned int const [usertype] * @@ drivers/gpu/drm/i2c/tda998x_drv.c:1711:50: sparse: expected restricted __be32 const [usertype] *p drivers/gpu/drm/i2c/tda998x_drv.c:1711:50: sparse: got unsigned int const [usertype] * drivers/gpu/drm/i2c/tda998x_drv.c:1712:52: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __be32 const [usertype] *p @@ got unsigned int const [usertype] * @@ drivers/gpu/drm/i2c/tda998x_drv.c:1712:52: sparse: expected restricted __be32 const [usertype] *p drivers/gpu/drm/i2c/tda998x_drv.c:1712:52: sparse: got unsigned int const [usertype] * drivers/char/tpm/st33zp24/spi.c:408:36: warning: 'st33zp24_spi_acpi_match' defined but not used [-Wunused-const-variable=] 408 | static const struct acpi_device_id st33zp24_spi_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ drivers/tty/vt/consolemap.c:716: warning: Function parameter or member 'src_vc' not described in 'con_copy_unimap' drivers/tty/vt/consolemap.c:716: warning: Excess function parameter 'src_vt' description in 'con_copy_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'ct' not described in 'con_get_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'uct' not described in 'con_get_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'list' not described in 'con_get_unimap' drivers/base/firmware_loader/main.c:266:9: sparse: sparse: context imbalance in 'free_fw_priv' - wrong count at exit {standard input}: Assembler messages: {standard input}:148: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/gpio] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:280: drivers/tty/vt/vt.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/tty/vt] Error 2 {standard input}:3721: Error: unknown opcode {standard input}:3752: Error: unknown opcode {standard input}: Assembler messages: {standard input}:220: Error: unknown opcode {standard input}:327: Error: unknown opcode {standard input}: Assembler messages: {standard input}:133: Error: unknown opcode {standard input}:164: Error: unknown opcode make[7]: *** [scripts/Makefile.build:281: drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.o] Error 1 drivers/tty/serial/ifx6x60.c:230:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __be32 [usertype] @@ drivers/tty/serial/ifx6x60.c:230:25: sparse: expected unsigned int [usertype] drivers/tty/serial/ifx6x60.c:230:25: sparse: got restricted __be32 [usertype] drivers/tty/serial/ifx6x60.c:204:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] @@ got restricted __be16 [usertype] @@ drivers/tty/serial/ifx6x60.c:204:25: sparse: expected unsigned short [usertype] drivers/tty/serial/ifx6x60.c:204:25: sparse: got restricted __be16 [usertype] drivers/tty/tty_io.c:2189:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user *p @@ drivers/tty/tty_io.c:2189:13: sparse: expected char const *__gu_addr drivers/tty/tty_io.c:2189:13: sparse: got char [noderef] __user *p >> drivers/tty/tty_io.c:2189:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/tty_io.c:2189:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2189:13: sparse: got char const *__gu_addr drivers/tty/tty_io.c:2330:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/tty/tty_io.c:2330:13: sparse: expected int const *__gu_addr drivers/tty/tty_io.c:2330:13: sparse: got int [noderef] __user *p >> drivers/tty/tty_io.c:2330:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/tty/tty_io.c:2330:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2330:13: sparse: got int const *__gu_addr drivers/tty/tty_io.c:2448:18: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user *p @@ drivers/tty/tty_io.c:2448:18: sparse: expected unsigned int const *__gu_addr drivers/tty/tty_io.c:2448:18: sparse: got unsigned int [noderef] __user *p >> drivers/tty/tty_io.c:2448:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/tty/tty_io.c:2448:18: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2448:18: sparse: got unsigned int const *__gu_addr drivers/regulator/ad5398.c:48:17: sparse: sparse: cast to restricted __be16 drivers/regulator/ad5398.c:48:17: sparse: sparse: cast to restricted __be16 drivers/regulator/ad5398.c:48:17: sparse: sparse: cast to restricted __be16 drivers/regulator/ad5398.c:48:17: sparse: sparse: cast to restricted __be16 drivers/regulator/ad5398.c:58:13: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short val @@ got restricted __be16 [usertype] @@ drivers/regulator/ad5398.c:58:13: sparse: expected unsigned short val drivers/regulator/ad5398.c:58:13: sparse: got restricted __be16 [usertype] include/linux/spinlock.h:409:9: sparse: sparse: context imbalance in 'linflex_console_write' - unexpected unlock drivers/tty/serial/digicolor-usart.c:412:26: sparse: sparse: context imbalance in 'digicolor_uart_console_write' - different lock contexts for basic block drivers/misc/eeprom/eeprom_93cx6.c:239: warning: Function parameter or member 'byte' not described in 'eeprom_93cx6_readb' drivers/misc/eeprom/eeprom_93cx6.c:239: warning: Excess function parameter 'word' description in 'eeprom_93cx6_readb' drivers/misc/eeprom/eeprom_93cx6.c:280: warning: Function parameter or member 'bytes' not described in 'eeprom_93cx6_multireadb' drivers/misc/eeprom/eeprom_93cx6.c:280: warning: Excess function parameter 'words' description in 'eeprom_93cx6_multireadb' {standard input}:7328: Error: unknown opcode {standard input}:7422: Error: unknown opcode {standard input}:9021: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/lightnvm/core.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/lightnvm] Error 2 drivers/misc/eeprom/at24.c:228:36: warning: 'at24_acpi_ids' defined but not used [-Wunused-const-variable=] 228 | static const struct acpi_device_id at24_acpi_ids[] = { | ^~~~~~~~~~~~~ drivers/misc/ti-st/st_core.c:283:41: sparse: sparse: cast to restricted __le16 {standard input}: Assembler messages: {standard input}:4929: Error: unknown opcode {standard input}:5877: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/serial/sc16is7xx.o] Error 1 {standard input}: Assembler messages: {standard input}:255: Error: unknown opcode {standard input}:318: Error: unknown opcode drivers/misc/eeprom/idt_89hpesx.c:597:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] memaddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:597:31: sparse: expected unsigned short [addressable] [assigned] [usertype] memaddr drivers/misc/eeprom/idt_89hpesx.c:597:31: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:669:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] memaddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:669:31: sparse: expected unsigned short [addressable] [assigned] [usertype] memaddr drivers/misc/eeprom/idt_89hpesx.c:669:31: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:767:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] csraddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:767:24: sparse: expected unsigned short [addressable] [assigned] [usertype] csraddr drivers/misc/eeprom/idt_89hpesx.c:767:24: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:768:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [addressable] [assigned] [usertype] data @@ got restricted __le32 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:768:21: sparse: expected unsigned int [addressable] [assigned] [usertype] data drivers/misc/eeprom/idt_89hpesx.c:768:21: sparse: got restricted __le32 [usertype] drivers/misc/eeprom/idt_89hpesx.c:832:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] csraddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:832:24: sparse: expected unsigned short [addressable] [assigned] [usertype] csraddr drivers/misc/eeprom/idt_89hpesx.c:832:24: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:857:17: sparse: sparse: cast to restricted __le32 {standard input}:4985: Error: unknown opcode {standard input}:5016: Error: unknown opcode {standard input}:5690: Error: unknown opcode {standard input}:10136: Error: unknown opcode {standard input}: Assembler messages: {standard input}:113: Error: unknown opcode {standard input}:268: Error: unknown opcode {standard input}:415: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/char/tpm/tpm-dev.o] Error 1 drivers/tty/serial/sifive.c:157: warning: cannot understand function prototype: 'struct sifive_serial_port ' {standard input}:10604: Error: unknown opcode {standard input}:10862: Error: unknown opcode {standard input}:12350: Error: unknown opcode {standard input}:14125: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_io.o] Error 1 make[4]: *** [scripts/Makefile.build:497: drivers/video/fbdev/core] Error 2 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/video/fbdev] Error 2 make[3]: Target '__build' not remade because of errors. make[5]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/video] Error 2 {standard input}: Assembler messages: {standard input}:1604: Error: unknown opcode {standard input}:1635: Error: unknown opcode {standard input}:3057: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/base/firmware_loader/main.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/base/firmware_loader] Error 2 {standard input}:13546: Error: unknown opcode {standard input}:13840: Error: unknown opcode drivers/tty/serial/men_z135_uart.c:182: warning: Function parameter or member 'uart' not described in 'men_z135_handle_modem_status' drivers/tty/serial/men_z135_uart.c:182: warning: Excess function parameter 'port' description in 'men_z135_handle_modem_status' drivers/tty/serial/men_z135_uart.c:244: warning: Function parameter or member 'uart' not described in 'men_z135_handle_rx' drivers/tty/serial/men_z135_uart.c:244: warning: Excess function parameter 'arg' description in 'men_z135_handle_rx' drivers/tty/serial/men_z135_uart.c:294: warning: Function parameter or member 'uart' not described in 'men_z135_handle_tx' drivers/tty/serial/men_z135_uart.c:294: warning: Excess function parameter 'arg' description in 'men_z135_handle_tx' drivers/tty/serial/men_z135_uart.c:604: warning: Function parameter or member 'port' not described in 'men_z135_enable_ms' drivers/gpu/drm/panel/panel-simple.c:42: warning: Cannot understand * @modes: Pointer to array of fixed modes appropriate for this panel. If on line 42 - I thought it was a doc line {standard input}: Assembler messages: {standard input}:68: Error: unknown opcode {standard input}:2359: Error: unknown opcode {standard input}:2442: Error: unknown opcode {standard input}:3396: Error: unknown opcode {standard input}:3565: Error: unknown opcode {standard input}:3706: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/misc/ti-st/st_core.o] Error 1 {standard input}:14520: Error: unknown opcode {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:2753: Error: unknown opcode {standard input}:3244: Error: unknown opcode {standard input}:5104: Error: unknown opcode {standard input}:6454: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/tty/serial/serial_core.o] Error 1 {standard input}: Assembler messages: {standard input}:2813: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/tty/serial] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/tty/serial/ifx6x60.o] Error 1 make[4]: Target '__build' not remade because of errors. {standard input}:4294: Error: unknown opcode {standard input}:4937: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/base/dd.o] Error 1 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c:218:15: sparse: sparse: symbol 'vint_table' was not declared. Should it be static? drivers/misc/lis3lv02d/lis3lv02d.c:182:52: sparse: sparse: cast to restricted __le16 make[4]: *** [scripts/Makefile.build:497: drivers/gpu/drm/arm] Error 2 make[5]: *** [scripts/Makefile.build:497: drivers/gpu/drm/arm/display] Error 2 make[5]: Target '__build' not remade because of errors. make[6]: *** [scripts/Makefile.build:497: drivers/gpu/drm/arm/display/komeda] Error 2 make[6]: Target '__build' not remade because of errors. make[7]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:2656: Error: unknown opcode {standard input}:2711: Error: unknown opcode {standard input}:2905: Error: unknown opcode {standard input}:3299: Error: unknown opcode {standard input}:3433: Error: unknown opcode {standard input}:4219: Error: unknown opcode {standard input}:4538: Error: unknown opcode {standard input}:4943: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/misc/lis3lv02d/lis3lv02d.o] Error 1 drivers/misc/ti-st/st_kim.c:42: warning: Function parameter or member 'id' not described in 'st_get_plat_device' drivers/misc/ti-st/st_kim.c:53: warning: Function parameter or member 'kim_gdata' not described in 'validate_firmware_response' drivers/misc/ti-st/st_kim.c:126: warning: Function parameter or member 'kim_gdata' not described in 'kim_int_recv' drivers/misc/ti-st/st_kim.c:126: warning: Function parameter or member 'data' not described in 'kim_int_recv' drivers/misc/ti-st/st_kim.c:126: warning: Function parameter or member 'count' not described in 'kim_int_recv' drivers/misc/ti-st/st_kim.c:272: warning: Function parameter or member 'kim_gdata' not described in 'download_firmware' drivers/misc/ti-st/st_kim.c:445: warning: Function parameter or member 'kim_data' not described in 'st_kim_start' drivers/misc/ti-st/st_kim.c:509: warning: Function parameter or member 'kim_data' not described in 'st_kim_stop' drivers/misc/ti-st/st_kim.c:661: warning: Function parameter or member 'core_data' not described in 'st_kim_ref' drivers/misc/ti-st/st_kim.c:661: warning: Function parameter or member 'id' not described in 'st_kim_ref' drivers/base/platform.c:1352:20: warning: no previous prototype for 'early_platform_cleanup' [-Wmissing-prototypes] 1352 | void __weak __init early_platform_cleanup(void) { } | ^~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c: In function 's6e3ha2_set_brightness': drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c:456:17: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 456 | if (brightness < S6E3HA2_MIN_BRIGHTNESS || | ^ drivers/char/tpm/tpm_tis_spi_main.c:278:36: warning: 'acpi_tis_spi_match' defined but not used [-Wunused-const-variable=] 278 | static const struct acpi_device_id acpi_tis_spi_match[] = { | ^~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:1799: Error: unknown opcode >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *ptr @@ got restricted __le64 * @@ >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: expected void const volatile [noderef] __iomem *ptr drivers/misc/mic/vop/vop_main.c:551:51: sparse: got restricted __le64 * drivers/misc/mic/vop/vop_main.c:560:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:560:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:560:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:579:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc drivers/tty/tty_ioctl.c:842:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/tty_ioctl.c:842:21: sparse: expected unsigned int const *__gu_addr drivers/tty/tty_ioctl.c:842:21: sparse: got unsigned int [noderef] __user * >> drivers/tty/tty_ioctl.c:842:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/tty/tty_ioctl.c:842:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_ioctl.c:842:21: sparse: got unsigned int const *__gu_addr include/asm-generic/termios.h:25:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:25:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:25:13: sparse: got unsigned short const [noderef] __user * >> include/asm-generic/termios.h:25:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ >> include/asm-generic/termios.h:25:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:25:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:29:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:29:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:29:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:29:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:29:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:29:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:33:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:33:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:33:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:33:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:33:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:33:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:37:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:37:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:37:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:37:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:37:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:37:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:41:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char const [noderef] __user * @@ include/asm-generic/termios.h:41:13: sparse: expected unsigned char const *__gu_addr include/asm-generic/termios.h:41:13: sparse: got unsigned char const [noderef] __user * >> include/asm-generic/termios.h:41:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ include/asm-generic/termios.h:41:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:41:13: sparse: got unsigned char const *__gu_addr drivers/char/mem.c:163:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *addr @@ got void [noderef] __user *__cl_addr @@ drivers/char/mem.c:163:37: sparse: expected void *addr drivers/char/mem.c:163:37: sparse: got void [noderef] __user *__cl_addr {standard input}:10077: Error: unknown opcode {standard input}:10108: Error: unknown opcode {standard input}:10266: Error: unknown opcode drivers/gpu/drm/panel/panel-tpo-tpg110.c:95: warning: Function parameter or member 'panel_mode' not described in 'tpg110' drivers/gpu/drm/panel/panel-tpo-tpg110.c:376: warning: Function parameter or member 'connector' not described in 'tpg110_get_modes' drivers/misc/mic/vop/vop_main.c: In function '_vop_scan_devices': drivers/misc/mic/vop/vop_main.c:617:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 617 | int ret; | ^~~ make[3]: *** [scripts/Makefile.build:497: drivers/misc/ti-st] Error 2 make[4]: Target '__build' not remade because of errors. drivers/base/devres.c:1114:9: sparse: sparse: cast removes address space '__percpu' of expression {standard input}: Assembler messages: {standard input}:69: Error: unknown opcode {standard input}:142: Error: unknown opcode {standard input}:462: Error: unknown opcode {standard input}:1553: Error: unknown opcode {standard input}:1614: Error: unknown opcode {standard input}:1798: Error: unknown opcode {standard input}:1998: Error: unknown opcode {standard input}:2036: Error: unknown opcode drivers/char/mem.c:98:29: warning: no previous prototype for 'unxlate_dev_mem_ptr' [-Wmissing-prototypes] 98 | #define unxlate_dev_mem_ptr unxlate_dev_mem_ptr | ^~~~~~~~~~~~~~~~~~~ drivers/char/mem.c:99:13: note: in expansion of macro 'unxlate_dev_mem_ptr' 99 | void __weak unxlate_dev_mem_ptr(phys_addr_t phys, void *addr) | ^~~~~~~~~~~~~~~~~~~ drivers/tty/tty_ldisc.c:884:6: warning: no previous prototype for 'tty_sysctl_init' [-Wmissing-prototypes] 884 | void tty_sysctl_init(void) | ^~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:2129: Error: unknown opcode make[5]: *** [scripts/Makefile.build:280: drivers/gpu/drm/panel/panel-sony-acx565akm.o] Error 1 {standard input}: Assembler messages: {standard input}:2927: Error: unknown opcode {standard input}:3313: Error: unknown opcode {standard input}:5003: Error: unknown opcode {standard input}:5186: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_ioctl.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/char/tpm] Error 2 drivers/base/devtmpfs.c:362:36: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected char const [noderef] __user * @@ got char * @@ drivers/base/devtmpfs.c:362:36: sparse: expected char const [noderef] __user * drivers/base/devtmpfs.c:362:36: sparse: got char * drivers/base/devtmpfs.c:388:36: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected char const [noderef] __user * @@ got char * @@ drivers/base/devtmpfs.c:388:36: sparse: expected char const [noderef] __user * drivers/base/devtmpfs.c:388:36: sparse: got char * drivers/base/devtmpfs.c:391:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected char const [noderef] __user *filename @@ got char * @@ drivers/base/devtmpfs.c:391:20: sparse: expected char const [noderef] __user *filename drivers/base/devtmpfs.c:391:20: sparse: got char * drivers/base/devtmpfs.c:392:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected char const [noderef] __user *filename @@ got char * @@ drivers/base/devtmpfs.c:392:21: sparse: expected char const [noderef] __user *filename drivers/base/devtmpfs.c:392:21: sparse: got char * {standard input}: Assembler messages: {standard input}:1471: Error: unknown opcode {standard input}:1599: Error: unknown opcode {standard input}:1849: Error: unknown opcode drivers/misc/enclosure.c:115: warning: Function parameter or member 'name' not described in 'enclosure_register' drivers/misc/enclosure.c:115: warning: Function parameter or member 'cb' not described in 'enclosure_register' drivers/misc/enclosure.c:283: warning: Function parameter or member 'number' not described in 'enclosure_component_alloc' drivers/misc/enclosure.c:283: warning: Excess function parameter 'num' description in 'enclosure_component_alloc' drivers/misc/enclosure.c:363: warning: Function parameter or member 'component' not described in 'enclosure_add_device' drivers/misc/enclosure.c:363: warning: Excess function parameter 'num' description in 'enclosure_add_device' drivers/misc/enclosure.c:398: warning: Function parameter or member 'dev' not described in 'enclosure_remove_device' drivers/misc/enclosure.c:398: warning: Excess function parameter 'num' description in 'enclosure_remove_device' {standard input}:2533: Error: unknown opcode {standard input}:2588: Error: unknown opcode {standard input}:2940: Error: unknown opcode {standard input}:3007: Error: unknown opcode {standard input}:3135: Error: unknown opcode {standard input}:3169: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_ldisc.o] Error 1 {standard input}: Assembler messages: {standard input}:365: Error: unknown opcode {standard input}:750: Error: unknown opcode {standard input}:801: Error: unknown opcode {standard input}:835: Error: unknown opcode {standard input}:1936: Error: unknown opcode {standard input}:2081: Error: unknown opcode {standard input}:2260: Error: unknown opcode {standard input}:2572: Error: unknown opcode {standard input}:2619: Error: unknown opcode {standard input}:2901: Error: unknown opcode {standard input}:3066: Error: unknown opcode {standard input}:3311: Error: unknown opcode {standard input}:3382: Error: unknown opcode {standard input}:3468: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_buffer.o] Error 1 {standard input}:17253: Error: unknown opcode {standard input}:2720: Error: unknown opcode {standard input}:2992: Error: unknown opcode drivers/base/attribute_container.c:304: warning: Function parameter or member 'fn' not described in 'attribute_container_device_trigger_safe' drivers/base/attribute_container.c:304: warning: Function parameter or member 'undo' not described in 'attribute_container_device_trigger_safe' drivers/base/attribute_container.c:357: warning: Function parameter or member 'fn' not described in 'attribute_container_device_trigger' drivers/base/attribute_container.c:471: warning: Function parameter or member 'cont' not described in 'attribute_container_add_class_device_adapter' drivers/base/attribute_container.c:471: warning: Function parameter or member 'dev' not described in 'attribute_container_add_class_device_adapter' drivers/base/attribute_container.c:471: warning: Function parameter or member 'classdev' not described in 'attribute_container_add_class_device_adapter' {standard input}: Assembler messages: {standard input}:77: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/misc/lis3lv02d] Error 2 make[4]: Target '__build' not remade because of errors. drivers/base/devcon.c:12: warning: Function parameter or member 'devcon_lock' not described in 'DEFINE_MUTEX' make[4]: *** [scripts/Makefile.build:281: drivers/base/regmap/regcache-rbtree.o] Error 1 {standard input}:6144: Error: unknown opcode drivers/regulator/max8998.c:418:5: sparse: sparse: symbol 'max8998_get_current_limit' was not declared. Should it be static? drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:527:5: sparse: sparse: symbol 'analogix_dp_start_aux_transaction' was not declared. Should it be static? drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:571:5: sparse: sparse: symbol 'analogix_dp_write_byte_to_dpcd' was not declared. Should it be static? make[3]: *** [scripts/Makefile.build:281: drivers/base/core.o] Error 1 drivers/char/random.c:1943:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/char/random.c:1943:21: sparse: expected int const *__gu_addr drivers/char/random.c:1943:21: sparse: got int [noderef] __user *p >> drivers/char/random.c:1943:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/char/random.c:1943:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1943:21: sparse: got int const *__gu_addr drivers/char/random.c:1949:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/char/random.c:1949:21: sparse: expected int const *__gu_addr drivers/char/random.c:1949:21: sparse: got int [noderef] __user * drivers/char/random.c:1949:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/char/random.c:1949:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1949:21: sparse: got int const *__gu_addr drivers/char/random.c:1953:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/char/random.c:1953:21: sparse: expected int const *__gu_addr drivers/char/random.c:1953:21: sparse: got int [noderef] __user * drivers/char/random.c:1953:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/char/random.c:1953:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1953:21: sparse: got int const *__gu_addr {standard input}:6769: Error: unknown opcode {standard input}:6868: Error: unknown opcode {standard input}:8445: Error: unknown opcode {standard input}: Assembler messages: {standard input}:292: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_mutex.o] Error 1 make[4]: *** [scripts/Makefile.build:497: drivers/gpu/drm/panel] Error 2 make[5]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:456: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/regulator/max77686-regulator.o] Error 1 {standard input}: Assembler messages: {standard input}:427: Error: unknown opcode {standard input}:975: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/char/misc.o] Error 1 {standard input}:11054: Error: unknown opcode {standard input}:11374: Error: unknown opcode {standard input}:11564: Error: unknown opcode {standard input}:12774: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_tty.o] Error 1 {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}:133: Error: unknown opcode {standard input}:1985: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/base/cacheinfo.o] Error 1 drivers/base/module.c: In function 'module_add_driver': drivers/base/module.c:36:6: warning: variable 'no_warn' set but not used [-Wunused-but-set-variable] 36 | int no_warn; | ^~~~~~~ drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:527:5: warning: no previous prototype for 'analogix_dp_start_aux_transaction' [-Wmissing-prototypes] 527 | int analogix_dp_start_aux_transaction(struct analogix_dp_device *dp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:571:5: warning: no previous prototype for 'analogix_dp_write_byte_to_dpcd' [-Wmissing-prototypes] 571 | int analogix_dp_write_byte_to_dpcd(struct analogix_dp_device *dp, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/regulator/max8998.c:418:5: warning: no previous prototype for 'max8998_get_current_limit' [-Wmissing-prototypes] 418 | int max8998_get_current_limit(struct regulator_dev *rdev) | ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/tty/tty_jobctrl.c:77:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:77:9: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:77:9: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:80:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:80:34: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:80:34: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:120:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:120:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:120:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:122:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:122:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:122:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:131:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:131:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:131:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:152:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:152:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:152:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:161:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:161:9: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:161:9: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:163:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:163:40: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:163:40: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:200:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:200:41: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:200:41: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:208:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:208:51: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:208:51: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:219:43: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:219:43: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:219:43: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:281:39: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:281:39: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:281:39: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:284:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:284:41: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:284:41: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:293:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:293:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:293:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:309:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:309:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:309:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:484:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] [usertype] __user *p @@ drivers/tty/tty_jobctrl.c:484:13: sparse: expected int const *__gu_addr drivers/tty/tty_jobctrl.c:484:13: sparse: got int [noderef] [usertype] __user *p >> drivers/tty/tty_jobctrl.c:484:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/tty/tty_jobctrl.c:484:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_jobctrl.c:484:13: sparse: got int const *__gu_addr drivers/tty/tty_jobctrl.c:18:41: sparse: sparse: dereference of noderef expression {standard input}: Assembler messages: {standard input}:2488: Error: unknown opcode {standard input}:2519: Error: unknown opcode {standard input}:2685: Error: unknown opcode {standard input}:3321: Error: unknown opcode {standard input}:3363: Error: unknown opcode {standard input}:3664: Error: unknown opcode {standard input}:3706: Error: unknown opcode {standard input}:3998: Error: unknown opcode {standard input}:4856: Error: unknown opcode {standard input}:5065: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_port.o] Error 1 drivers/tty/pty.c:163:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/tty/pty.c:163:13: sparse: expected int const *__gu_addr drivers/tty/pty.c:163:13: sparse: got int [noderef] __user *arg >> drivers/tty/pty.c:163:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/tty/pty.c:163:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/pty.c:163:13: sparse: got int const *__gu_addr drivers/tty/pty.c:183:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/tty/pty.c:183:13: sparse: expected int const *__gu_addr drivers/tty/pty.c:183:13: sparse: got int [noderef] __user *arg drivers/tty/pty.c:183:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/tty/pty.c:183:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/pty.c:183:13: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:1081: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/base/devtmpfs.o] Error 1 {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}: Assembler messages: {standard input}:45: Error: unknown opcode {standard input}:401: Error: unknown opcode {standard input}:432: Error: unknown opcode {standard input}:661: Error: unknown opcode {standard input}:828: Error: unknown opcode {standard input}:1271: Error: unknown opcode {standard input}:1426: Error: unknown opcode {standard input}:1599: Error: unknown opcode {standard input}:1658: Error: unknown opcode {standard input}:2032: Error: unknown opcode {standard input}:2233: Error: unknown opcode {standard input}:3142: Error: unknown opcode {standard input}:3367: Error: unknown opcode {standard input}:3419: Error: unknown opcode {standard input}:3809: Error: unknown opcode {standard input}:3958: Error: unknown opcode {standard input}:2345: Error: unknown opcode {standard input}:2455: Error: unknown opcode {standard input}:3112: Error: unknown opcode {standard input}:3490: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/pty.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_ldsem.o] Error 1 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c:253:9: sparse: sparse: cast truncates bits from constant value (ffffff7f becomes 7f) drivers/gpu/drm/bridge/synopsys/dw-hdmi.c:3210:30: sparse: sparse: cast truncates bits from constant value (ffffff0d becomes d) drivers/tty/tty_baudrate.c:143: warning: Function parameter or member 'ibaud' not described in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:143: warning: Function parameter or member 'obaud' not described in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:143: warning: Excess function parameter 'ispeed' description in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:143: warning: Excess function parameter 'ospeed' description in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:234: warning: Function parameter or member 'tty' not described in 'tty_encode_baud_rate' drivers/tty/tty_baudrate.c:234: warning: Function parameter or member 'obaud' not described in 'tty_encode_baud_rate' drivers/tty/tty_baudrate.c:234: warning: Excess function parameter 'obad' description in 'tty_encode_baud_rate' {standard input}: Assembler messages: {standard input}:596: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_tracesink.o] Error 1 {standard input}: Assembler messages: {standard input}:145: Error: unknown opcode {standard input}:1445: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_jobctrl.o] Error 1 drivers/tty/sysrq.c:1110:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *buf @@ drivers/tty/sysrq.c:1110:21: sparse: expected char const *__gu_addr drivers/tty/sysrq.c:1110:21: sparse: got char const [noderef] __user *buf >> drivers/tty/sysrq.c:1110:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/sysrq.c:1110:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/sysrq.c:1110:21: sparse: got char const *__gu_addr drivers/tty/sysrq.c:148:13: sparse: sparse: context imbalance in 'sysrq_handle_crash' - unexpected unlock {standard input}: Assembler messages: {standard input}:6221: Error: unknown opcode {standard input}:6680: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/misc] Error 2 make[3]: *** [scripts/Makefile.build:497: drivers/misc/mic] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/misc/mic/vop] Error 2 make[4]: Target '__build' not remade because of errors. make[5]: *** [scripts/Makefile.build:281: drivers/misc/mic/vop/vop_vringh.o] Error 1 make[5]: Target '__build' not remade because of errors. drivers/tty/n_gsm.c:2808:29: sparse: sparse: restricted __be16 degrades to integer drivers/char/random.c:2296:6: warning: no previous prototype for 'add_hwgenerator_randomness' [-Wmissing-prototypes] 2296 | void add_hwgenerator_randomness(const char *buffer, size_t count, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:3059: Error: unknown opcode {standard input}:3460: Error: unknown opcode {standard input}:4170: Error: unknown opcode {standard input}:4708: Error: unknown opcode {standard input}:4790: Error: unknown opcode {standard input}:5416: Error: unknown opcode drivers/regulator/stpmic1_regulator.c:25: warning: cannot understand function prototype: 'struct stpmic1_regulator_cfg ' make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_hdlc.o] Error 1 drivers/regulator/tps65218-regulator.c: In function 'tps65218_pmic_set_suspend_enable': drivers/regulator/tps65218-regulator.c:131:10: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 131 | if (rid < TPS65218_DCDC_1 || rid > TPS65218_LDO_1) | ^ drivers/regulator/tps65218-regulator.c: In function 'tps65218_pmic_set_suspend_disable': drivers/regulator/tps65218-regulator.c:144:10: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 144 | if (rid < TPS65218_DCDC_1 || rid > TPS65218_LDO_1) | ^ drivers/dax/super.c:31:5: sparse: sparse: context imbalance in 'dax_read_lock' - wrong count at exit include/linux/srcu.h:181:9: sparse: sparse: context imbalance in 'dax_read_unlock' - unexpected unlock {standard input}: Assembler messages: {standard input}:11802: Error: unknown opcode {standard input}:12977: Error: unknown opcode {standard input}: Assembler messages: {standard input}:4429: Error: unknown opcode {standard input}:4530: Error: unknown opcode {standard input}:4650: Error: unknown opcode {standard input}:4835: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/sysrq.o] Error 1 make[3]: *** [scripts/Makefile.build:280: drivers/char/random.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/char] Error 2 {standard input}: Assembler messages: {standard input}:2390: Error: unknown opcode {standard input}:2452: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2380: Error: unknown opcode {standard input}:2844: Error: unknown opcode {standard input}:2920: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/dma-buf/heaps/heap-helpers.o] Error 1 make[5]: *** [scripts/Makefile.build:281: drivers/gpu/drm/bridge/ti-sn65dsi86.o] Error 1 drivers/regulator/wm8400-regulator.c:243: warning: Function parameter or member 'dev' not described in 'wm8400_register_regulator' drivers/regulator/wm8400-regulator.c:243: warning: Function parameter or member 'reg' not described in 'wm8400_register_regulator' drivers/regulator/wm8400-regulator.c:243: warning: Function parameter or member 'initdata' not described in 'wm8400_register_regulator' drivers/nvme/host/core.c:1509:23: sparse: sparse: context imbalance in 'nvme_get_ns_from_disk' - wrong count at exit include/linux/srcu.h:181:9: sparse: sparse: context imbalance in 'nvme_put_ns_from_disk' - unexpected unlock drivers/mfd/wm8350-core.c:136: warning: Function parameter or member 'wm8350' not described in 'wm8350_reg_lock' drivers/mfd/wm8350-core.c:165: warning: Function parameter or member 'wm8350' not described in 'wm8350_reg_unlock' {standard input}: Assembler messages: {standard input}:279: Error: unknown opcode {standard input}:352: Error: unknown opcode {standard input}:6515: Error: unknown opcode {standard input}:6546: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2221: Error: unknown opcode {standard input}:2698: Error: unknown opcode {standard input}:4036: Error: unknown opcode {standard input}:4746: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/nvme/host/multipath.o] Error 1 {standard input}:8294: Error: unknown opcode {standard input}:8500: Error: unknown opcode include/linux/lightnvm.h:490:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:483:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:482:54: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:481:53: sparse: sparse: invalid access past the end of 'l' (4 8) drivers/dax/bus.c: In function 'do_id_store': drivers/dax/bus.c:93:27: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 93 | /* nothing to remove */; | ^ drivers/dax/bus.c:98:29: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 98 | /* dax_id already added */; | ^ drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35890' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35892' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35893' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35894' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35895' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35896' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_UNKNOWN' not described in enum 'tc3589x_version' {standard input}: Assembler messages: {standard input}:1484: Error: unknown opcode -- {standard input}: Assembler messages: {standard input}:4257: Error: unknown opcode drivers/mtd/chips/cfi_probe.c:226:27: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:228:28: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:229:27: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:230:28: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:231:36: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:232:38: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:240:49: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi.o] Error 1 {standard input}: Assembler messages: {standard input}:1496: Error: unknown opcode {standard input}:1527: Error: unknown opcode {standard input}:2992: Error: unknown opcode {standard input}:3198: Error: unknown opcode {standard input}:10885: Error: unknown opcode {standard input}:12291: Error: unknown opcode {standard input}:4561: Error: unknown opcode {standard input}:5094: Error: unknown opcode {standard input}:5238: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1292: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/mtd/chips/cfi_probe.o] Error 1 {standard input}:6799: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_gem.o] Error 1 drivers/scsi/scsi_ioctl.c:48:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/scsi/scsi_ioctl.c:48:21: sparse: expected unsigned int const *__gu_addr drivers/scsi/scsi_ioctl.c:48:21: sparse: got unsigned int [noderef] __user * >> drivers/scsi/scsi_ioctl.c:48:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/scsi/scsi_ioctl.c:48:21: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/scsi_ioctl.c:48:21: sparse: got unsigned int const *__gu_addr drivers/mtd/chips/cfi_util.c:97:26: sparse: sparse: restricted __be16 degrades to integer drivers/mtd/chips/cfi_util.c:97:26: sparse: sparse: restricted __le16 degrades to integer drivers/mtd/chips/cfi_util.c:100:26: sparse: sparse: restricted __be32 degrades to integer drivers/mtd/chips/cfi_util.c:100:26: sparse: sparse: restricted __le32 degrades to integer drivers/mtd/chips/cfi_util.c:185:23: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_util.c:185:23: sparse: sparse: cast to restricted __be16 drivers/mtd/chips/cfi_util.c:185:23: sparse: sparse: cast to restricted __be16 drivers/mtd/chips/cfi_util.c:185:23: sparse: sparse: cast to restricted __be16 drivers/mtd/chips/cfi_util.c:185:23: sparse: sparse: cast to restricted __be16 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __le32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/drm_memory.c:135:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *handle @@ got void [noderef] __iomem * @@ drivers/gpu/drm/drm_memory.c:135:29: sparse: expected void *handle drivers/gpu/drm/drm_memory.c:135:29: sparse: got void [noderef] __iomem * drivers/gpu/drm/drm_memory.c:144:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *handle @@ got void [noderef] __iomem * @@ drivers/gpu/drm/drm_memory.c:144:29: sparse: expected void *handle drivers/gpu/drm/drm_memory.c:144:29: sparse: got void [noderef] __iomem * drivers/gpu/drm/drm_memory.c:156:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *handle @@ drivers/gpu/drm/drm_memory.c:156:28: sparse: expected void [noderef] __iomem *addr drivers/gpu/drm/drm_memory.c:156:28: sparse: got void *handle {standard input}: Assembler messages: {standard input}:52: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1486: Error: unknown opcode {standard input}:1517: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_self_refresh_helper.o] Error 1 {standard input}: Assembler messages: {standard input}:8803: Error: unknown opcode {standard input}:8837: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_fb_helper.o] Error 1 {standard input}:5287: Error: unknown opcode {standard input}:6945: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/hsi/clients/hsi_char.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/hsi/clients] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}:14437: Error: unknown opcode drivers/gpu/drm/drm_drv.c:434:6: sparse: sparse: context imbalance in 'drm_dev_enter' - different lock contexts for basic block include/linux/srcu.h:181:9: sparse: sparse: context imbalance in 'drm_dev_exit' - unexpected unlock {standard input}: Assembler messages: {standard input}:127: Error: unknown opcode {standard input}:327: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/target/iscsi/iscsi_target_device.o] Error 1 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __le32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __le32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mfd/twl4030-irq.c:485:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word @@ got restricted __le32 [usertype] @@ drivers/mfd/twl4030-irq.c:485:26: sparse: expected unsigned int [usertype] word drivers/mfd/twl4030-irq.c:485:26: sparse: got restricted __le32 [usertype] drivers/mfd/twl4030-irq.c:573:40: sparse: sparse: cast to restricted __le32 make[2]: *** [scripts/Makefile.build:497: drivers/tty] Error 2 make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_gsm.o] Error 1 make[3]: Target '__build' not remade because of errors. drivers/mfd/tps65218.c:58: warning: Function parameter or member 'tps' not described in 'tps65218_reg_write' drivers/mfd/tps65218.c:58: warning: Excess function parameter 'tps65218' description in 'tps65218_reg_write' drivers/mfd/tps65218.c:90: warning: Function parameter or member 'tps' not described in 'tps65218_update_bits' drivers/mfd/tps65218.c:90: warning: Excess function parameter 'tps65218' description in 'tps65218_update_bits' drivers/gpu/drm/drm_crtc.c:707:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_crtc.c:707:29: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_crtc.c:707:29: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/gpu/drm/drm_crtc.c:707:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/gpu/drm/drm_crtc.c:707:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_crtc.c:707:29: sparse: got unsigned int const *__gu_addr drivers/scsi/scsi_error.c:2341:17: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/scsi/scsi_error.c:2341:17: sparse: expected int const *__gu_addr drivers/scsi/scsi_error.c:2341:17: sparse: got int [noderef] __user *arg >> drivers/scsi/scsi_error.c:2341:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/scsi/scsi_error.c:2341:17: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/scsi_error.c:2341:17: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:160: Error: unknown opcode {standard input}:506: Error: unknown opcode {standard input}:2884: Error: unknown opcode {standard input}: Assembler messages: {standard input}:491: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsicam.o] Error 1 {standard input}: Assembler messages: {standard input}:593: Error: unknown opcode {standard input}:624: Error: unknown opcode {standard input}:4556: Error: unknown opcode {standard input}:4587: Error: unknown opcode {standard input}:5597: Error: unknown opcode {standard input}:2720: Error: unknown opcode {standard input}:4309: Error: unknown opcode {standard input}:4568: Error: unknown opcode {standard input}:5064: Error: unknown opcode {standard input}: Assembler messages: {standard input}:4245: Error: unknown opcode {standard input}:4276: Error: unknown opcode {standard input}:4585: Error: unknown opcode {standard input}:4805: Error: unknown opcode {standard input}:5287: Error: unknown opcode {standard input}:5396: Error: unknown opcode {standard input}:8335: Error: unknown opcode {standard input}:8445: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_file.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/dma-buf/dma-buf.o] Error 1 {standard input}:8024: Error: unknown opcode {standard input}:8115: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2514: Error: unknown opcode {standard input}:2545: Error: unknown opcode {standard input}:2898: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/nvme/host/fabrics.o] Error 1 {standard input}: Assembler messages: {standard input}:229: Error: unknown opcode {standard input}:323: Error: unknown opcode {standard input}:10758: Error: unknown opcode {standard input}:10797: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_hashtab.o] Error 1 {standard input}: Assembler messages: {standard input}:11856: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/hsi] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:709: Error: unknown opcode {standard input}:1531: Error: unknown opcode {standard input}:14498: Error: unknown opcode {standard input}:14726: Error: unknown opcode {standard input}:14757: Error: unknown opcode {standard input}:14912: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2252: Error: unknown opcode {standard input}:2503: Error: unknown opcode {standard input}:2534: Error: unknown opcode {standard input}:2933: Error: unknown opcode {standard input}:16015: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1831: Error: unknown opcode {standard input}:1862: Error: unknown opcode {standard input}:4738: Error: unknown opcode {standard input}:4874: Error: unknown opcode {standard input}:7458: Error: unknown opcode {standard input}:7492: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/target/iscsi/iscsi_target_nego.o] Error 1 {standard input}:15553: Error: unknown opcode {standard input}:15618: Error: unknown opcode {standard input}:15746: Error: unknown opcode {standard input}:15842: Error: unknown opcode {standard input}:2115: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_drv.o] Error 1 {standard input}:2296: Error: unknown opcode {standard input}:3076: Error: unknown opcode {standard input}:3916: Error: unknown opcode {standard input}:4112: Error: unknown opcode {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1395: Error: unknown opcode {standard input}:17398: Error: unknown opcode {standard input}:17709: Error: unknown opcode {standard input}:18513: Error: unknown opcode {standard input}: Assembler messages: {standard input}:745: Error: unknown opcode {standard input}:811: Error: unknown opcode {standard input}:5845: Error: unknown opcode {standard input}:6146: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/mfd/twl6030-irq.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/mtd/chips/cfi_cmdset_0020.o] Error 1 {standard input}: Assembler messages: {standard input}:250: Error: unknown opcode {standard input}:309: Error: unknown opcode {standard input}:20344: Error: unknown opcode include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 {standard input}:19577: Error: unknown opcode {standard input}:19671: Error: unknown opcode include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 make[4]: *** [scripts/Makefile.build:280: drivers/nvme/host/fc.o] Error 1 {standard input}: Assembler messages: {standard input}:4765: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/net/phy/mscc/mscc_main.o] Error 1 make[4]: *** [scripts/Makefile.build:280: drivers/target/iscsi/iscsi_target_tpg.o] Error 1 {standard input}: Assembler messages: {standard input}:3819: Error: unknown opcode {standard input}: Assembler messages: {standard input}:759: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/mtd/chips/gen_probe.o] Error 1 drivers/mtd/chips/cfi_cmdset_0001.c:1400:15: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@ drivers/mtd/chips/cfi_cmdset_0001.c:1400:15: sparse: expected void * drivers/mtd/chips/cfi_cmdset_0001.c:1400:15: sparse: got void [noderef] __iomem * drivers/mtd/chips/cfi_cmdset_0001.c:179:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] FeatureSupport @@ got restricted __le32 [usertype] @@ drivers/mtd/chips/cfi_cmdset_0001.c:179:30: sparse: expected unsigned int [usertype] FeatureSupport drivers/mtd/chips/cfi_cmdset_0001.c:179:30: sparse: got restricted __le32 [usertype] drivers/mtd/chips/cfi_cmdset_0001.c:180:32: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] BlkStatusRegMask @@ got restricted __le16 [usertype] @@ drivers/mtd/chips/cfi_cmdset_0001.c:180:32: sparse: expected unsigned short [usertype] BlkStatusRegMask drivers/mtd/chips/cfi_cmdset_0001.c:180:32: sparse: got restricted __le16 [usertype] drivers/mtd/chips/cfi_cmdset_0001.c:181:27: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] ProtRegAddr @@ got restricted __le16 [usertype] @@ drivers/mtd/chips/cfi_cmdset_0001.c:181:27: sparse: expected unsigned short [usertype] ProtRegAddr drivers/mtd/chips/cfi_cmdset_0001.c:181:27: sparse: got restricted __le16 [usertype] drivers/mtd/chips/cfi_cmdset_0001.c:415:32: sparse: sparse: cast to restricted __le32 drivers/mtd/chips/cfi_cmdset_0001.c:416:34: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_cmdset_0001.c:417:29: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_cmdset_0001.c:455:51: sparse: sparse: cast to restricted __le16 {standard input}:9394: Error: unknown opcode include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_mm.o] Error 1 drivers/mtd/chips/map_ram.c:93:15: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@ drivers/mtd/chips/map_ram.c:93:15: sparse: expected void * drivers/mtd/chips/map_ram.c:93:15: sparse: got void [noderef] __iomem * {standard input}:21718: Error: unknown opcode {standard input}:23244: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1696: Error: unknown opcode {standard input}:1727: Error: unknown opcode {standard input}:1961: Error: unknown opcode drivers/auxdisplay/charlcd.c:670:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *tmp @@ drivers/auxdisplay/charlcd.c:670:21: sparse: expected char const *__gu_addr drivers/auxdisplay/charlcd.c:670:21: sparse: got char const [noderef] __user *tmp >> drivers/auxdisplay/charlcd.c:670:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/auxdisplay/charlcd.c:670:21: sparse: expected void const volatile [noderef] __user *ptr drivers/auxdisplay/charlcd.c:670:21: sparse: got char const *__gu_addr {standard input}:4297: Error: unknown opcode {standard input}:2149: Error: unknown opcode {standard input}:6837: Error: unknown opcode {standard input}:7771: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_prime.o] Error 1 make[4]: *** [scripts/Makefile.build:280: drivers/target/iscsi/iscsi_target_login.o] Error 1 {standard input}:12582: Error: unknown opcode drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:396:34: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:396:34: sparse: got unsigned char [noderef] [usertype] __user * >> drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ >> drivers/spi/spidev.c:396:34: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:396:34: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/spi/spidev.c:398:34: sparse: expected unsigned int const *__gu_addr drivers/spi/spidev.c:398:34: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/spi/spidev.c:398:34: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:398:34: sparse: got unsigned int const *__gu_addr drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:422:26: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:422:26: sparse: got unsigned char [noderef] [usertype] __user * drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ drivers/spi/spidev.c:422:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:422:26: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:439:26: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:439:26: sparse: got unsigned char [noderef] [usertype] __user * drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ drivers/spi/spidev.c:439:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:439:26: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/spi/spidev.c:452:26: sparse: expected unsigned int const *__gu_addr drivers/spi/spidev.c:452:26: sparse: got unsigned int [noderef] [usertype] __user * drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/spi/spidev.c:452:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:452:26: sparse: got unsigned int const *__gu_addr {standard input}: Assembler messages: {standard input}:3693: Error: unknown opcode {standard input}:23616: Error: unknown opcode {standard input}:17869: Error: unknown opcode {standard input}:19691: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_lib.o] Error 1 {standard input}:10689: Error: unknown opcode {standard input}: Assembler messages: {standard input}:243: Error: unknown opcode drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'dev' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'id' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'cells' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'n_devs' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'mem_base' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'irq_base' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'domain' not described in 'devm_mfd_add_devices' {standard input}:13255: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_error.o] Error 1 drivers/scsi/constants.c:318:9: sparse: sparse: trying to concatenate 24850-character string (8191 bytes max) {standard input}: Assembler messages: {standard input}:2454: Error: unknown opcode {standard input}:2549: Error: unknown opcode {standard input}:4139: Error: unknown opcode drivers/mfd/axp20x-i2c.c:82:36: warning: 'axp20x_i2c_acpi_match' defined but not used [-Wunused-const-variable=] 82 | static const struct acpi_device_id axp20x_i2c_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:4169: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/pcmcia/cs.o] Error 1 {standard input}:4343: Error: unknown opcode {standard input}:5768: Error: unknown opcode {standard input}:5888: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/dma-buf/dma-fence.o] Error 1 {standard input}: Assembler messages: {standard input}:19049: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2228: Error: unknown opcode {standard input}:2367: Error: unknown opcode {standard input}:2474: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/auxdisplay] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/auxdisplay/charlcd.o] Error 1 make[3]: Target '__build' not remade because of errors. drivers/mtd/chips/map_rom.c:79:15: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@ drivers/mtd/chips/map_rom.c:79:15: sparse: expected void * drivers/mtd/chips/map_rom.c:79:15: sparse: got void [noderef] __iomem * {standard input}:14456: Error: unknown opcode {standard input}:14487: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1527: Error: unknown opcode {standard input}:1559: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_framebuffer.o] Error 1 {standard input}: Assembler messages: {standard input}:659: Error: unknown opcode {standard input}:690: Error: unknown opcode {standard input}:985: Error: unknown opcode {standard input}:1113: Error: unknown opcode {standard input}:1167: Error: unknown opcode {standard input}:1407: Error: unknown opcode {standard input}:1544: Error: unknown opcode {standard input}:1605: Error: unknown opcode {standard input}:1670: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/dma-buf/dma-fence-array.o] Error 1 {standard input}:36324: Error: unknown opcode {standard input}:23806: Error: unknown opcode {standard input}:24657: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1214: Error: unknown opcode {standard input}:1272: Error: unknown opcode {standard input}:1972: Error: unknown opcode {standard input}: Assembler messages: {standard input}:5009: Error: unknown opcode {standard input}:5040: Error: unknown opcode {standard input}:5507: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/nvme/host] Error 2 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/nvme] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/nvme/host/core.o] Error 1 make[4]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:2172: Error: unknown opcode {standard input}:2646: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/spi/spidev.o] Error 1 {standard input}: Assembler messages: {standard input}:1033: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2264: Error: unknown opcode {standard input}:8212: Error: unknown opcode {standard input}:25062: Error: unknown opcode {standard input}:25162: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_modeset_lock.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_connector.o] Error 1 {standard input}:2248: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/pcmcia] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}:5540: Error: unknown opcode make[4]: *** [scripts/Makefile.build:497: drivers/net/phy/mscc] Error 2 make[5]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:6587: Error: unknown opcode {standard input}:6618: Error: unknown opcode {standard input}: Assembler messages: {standard input}:3625: Error: unknown opcode {standard input}: Assembler messages: {standard input}:279: Error: unknown opcode {standard input}:706: Error: unknown opcode {standard input}:737: Error: unknown opcode {standard input}:1041: Error: unknown opcode {standard input}:1594: Error: unknown opcode {standard input}:1952: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/dma-buf/dma-fence-chain.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/input/serio/serio.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic.o] Error 1 {standard input}: Assembler messages: {standard input}:2215: Error: unknown opcode {standard input}:3190: Error: unknown opcode {standard input}:4699: Error: unknown opcode {standard input}:5118: Error: unknown opcode drivers/input/serio/serport.c:213:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] __user * @@ make[3]: *** [scripts/Makefile.build:281: drivers/spi/spi.o] Error 1 drivers/input/serio/serport.c:213:21: sparse: expected unsigned long const *__gu_addr drivers/input/serio/serport.c:213:21: sparse: got unsigned long [noderef] __user * >> drivers/input/serio/serport.c:213:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ >> drivers/input/serio/serport.c:213:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/serio/serport.c:213:21: sparse: got unsigned long const *__gu_addr {standard input}:4437: Error: unknown opcode {standard input}:12277: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/target/iscsi/iscsi_target_util.o] Error 1 {standard input}:24613: Error: unknown opcode {standard input}:8699: Error: unknown opcode {standard input}:27000: Error: unknown opcode {standard input}: Assembler messages: {standard input}:489: Error: unknown opcode {standard input}:520: Error: unknown opcode {standard input}:945: Error: unknown opcode {standard input}:2544: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_mode_object.o] Error 1 drivers/net/phy/mdio-boardinfo.c:27: warning: Function parameter or member 'bus' not described in 'mdiobus_setup_mdiodev_from_board_info' drivers/net/phy/mdio-boardinfo.c:27: warning: Function parameter or member 'cb' not described in 'mdiobus_setup_mdiodev_from_board_info' drivers/net/phy/mdio-boardinfo.c:27: warning: Excess function parameter 'mdiodev' description in 'mdiobus_setup_mdiodev_from_board_info' {standard input}: Assembler messages: {standard input}:2397: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/input/gameport] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/input/gameport/gameport.o] Error 1 make[3]: Target '__build' not remade because of errors. {standard input}:27868: Error: unknown opcode {standard input}:28124: Error: unknown opcode {standard input}:29258: Error: unknown opcode {standard input}:29431: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/mtd/chips/cfi_cmdset_0001.o] Error 1 {standard input}:11093: Error: unknown opcode {standard input}:11414: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/target/iscsi/iscsi_target.o] Error 1 {standard input}: Assembler messages: {standard input}:750: Error: unknown opcode {standard input}:781: Error: unknown opcode {standard input}:960: Error: unknown opcode {standard input}:1188: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/dma-buf/sync_file.o] Error 1 {standard input}:12432: Error: unknown opcode {standard input}:13251: Error: unknown opcode drivers/spi/spi-fsl-spi.c:93:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:93:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:93:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:94:33: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *mode @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:94:33: sparse: expected restricted __be32 [noderef] [usertype] __iomem *mode drivers/spi/spi-fsl-spi.c:94:33: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:294:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:294:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:294:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:299:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:299:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:299:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:303:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:303:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:303:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:317:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:317:18: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:317:18: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:350:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:350:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:350:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:459:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:459:18: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:459:18: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:462:45: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:462:45: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:462:45: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:498:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:498:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:498:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:502:53: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:502:53: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:502:53: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:511:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:511:47: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:511:47: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:516:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:516:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:516:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:522:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:522:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:522:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:533:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:533:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:533:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:536:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:536:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:536:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:553:51: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:553:51: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:553:51: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:560:48: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:560:48: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:560:48: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:562:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:562:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:562:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:571:51: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:571:51: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:571:51: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:575:46: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:575:46: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:575:46: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:585:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:585:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:585:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:652:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:652:18: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:652:18: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:655:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:655:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:655:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:656:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:656:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:656:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:657:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:657:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:657:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:658:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:658:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:658:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:669:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:669:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:669:32: sparse: got restricted __be32 * {standard input}:15094: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/mtd/chips/cfi_cmdset_0002.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/mtd/chips] Error 2 {standard input}: Assembler messages: {standard input}:633: Error: unknown opcode {standard input}:664: Error: unknown opcode {standard input}:1073: Error: unknown opcode {standard input}:1322: Error: unknown opcode {standard input}:1604: Error: unknown opcode {standard input}:1953: Error: unknown opcode {standard input}:2122: Error: unknown opcode {standard input}:2303: Error: unknown opcode {standard input}:2563: Error: unknown opcode {standard input}:2748: Error: unknown opcode {standard input}:3150: Error: unknown opcode {standard input}:3382: Error: unknown opcode {standard input}:3998: Error: unknown opcode {standard input}:4049: Error: unknown opcode {standard input}:4457: Error: unknown opcode {standard input}:4618: Error: unknown opcode {standard input}:4651: Error: unknown opcode {standard input}:5378: Error: unknown opcode {standard input}:5495: Error: unknown opcode {standard input}:5552: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/dma-buf/dma-resv.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/input/serio/serport.o] Error 1 {standard input}: Assembler messages: {standard input}:903: Error: unknown opcode {standard input}:1142: Error: unknown opcode {standard input}:1290: Error: unknown opcode {standard input}:1441: Error: unknown opcode {standard input}:1610: Error: unknown opcode {standard input}:1884: Error: unknown opcode {standard input}:1919: Error: unknown opcode drivers/spi/spi-bitbang.c:181: warning: Function parameter or member 'spi' not described in 'spi_bitbang_setup' drivers/spi/spi-bitbang.c:215: warning: Function parameter or member 'spi' not described in 'spi_bitbang_cleanup' drivers/spi/spi-bitbang.c:434: warning: Function parameter or member 'bitbang' not described in 'spi_bitbang_stop' drivers/spi/spi-nxp-fspi.c:472:25: sparse: sparse: cast from restricted __be32 drivers/input/serio/serio_raw.c:219:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/input/serio/serio_raw.c:219:21: sparse: expected char const *__gu_addr drivers/input/serio/serio_raw.c:219:21: sparse: got char const [noderef] __user * >> drivers/input/serio/serio_raw.c:219:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/input/serio/serio_raw.c:219:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/serio/serio_raw.c:219:21: sparse: got char const *__gu_addr drivers/dma-buf/dma-heap.c:43: warning: Function parameter or member 'priv' not described in 'dma_heap' drivers/dma-buf/dma-heap.c:43: warning: Function parameter or member 'heap_devt' not described in 'dma_heap' drivers/dma-buf/dma-heap.c:43: warning: Function parameter or member 'list' not described in 'dma_heap' drivers/dma-buf/dma-heap.c:43: warning: Function parameter or member 'heap_cdev' not described in 'dma_heap' {standard input}: Assembler messages: {standard input}:2232: Error: unknown opcode {standard input}: Assembler messages: {standard input}:26183: Error: unknown opcode {standard input}:26467: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/spi/spi-dw-core.o] Error 1 {standard input}: Assembler messages: {standard input}:1176: Error: unknown opcode {standard input}:1207: Error: unknown opcode {standard input}:3244: Error: unknown opcode {standard input}:4093: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/dma-buf/sw_sync.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_configfs.o] Error 1 {standard input}: Assembler messages: {standard input}:3961: Error: unknown opcode {standard input}: Assembler messages: {standard input}:940: Error: unknown opcode {standard input}:1506: Error: unknown opcode {standard input}:1737: Error: unknown opcode {standard input}:2647: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_tmr.o] Error 1 {standard input}: Assembler messages: {standard input}:1336: Error: unknown opcode {standard input}:1844: Error: unknown opcode {standard input}:7182: Error: unknown opcode {standard input}:7213: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_scan.o] Error 1 {standard input}:1911: Error: unknown opcode {standard input}:2955: Error: unknown opcode {standard input}:3005: Error: unknown opcode {standard input}: Assembler messages: {standard input}:947: Error: unknown opcode {standard input}:2699: Error: unknown opcode {standard input}:3747: Error: unknown opcode {standard input}:3869: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/spi/spi-rockchip.o] Error 1 {standard input}: Assembler messages: {standard input}:1293: Error: unknown opcode {standard input}:1324: Error: unknown opcode {standard input}:2714: Error: unknown opcode {standard input}:3449: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/serio/serio_raw.o] Error 1 {standard input}: Assembler messages: {standard input}:96: Error: unknown opcode {standard input}:950: Error: unknown opcode {standard input}: Assembler messages: {standard input}:955: Error: unknown opcode {standard input}:986: Error: unknown opcode {standard input}:2684: Error: unknown opcode {standard input}:2715: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_client.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/target/iscsi] Error 2 {standard input}:4260: Error: unknown opcode {standard input}:5105: Error: unknown opcode {standard input}:5144: Error: unknown opcode {standard input}:5312: Error: unknown opcode {standard input}:5553: Error: unknown opcode {standard input}:5593: Error: unknown opcode {standard input}:5683: Error: unknown opcode {standard input}:6086: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1303: Error: unknown opcode {standard input}:1334: Error: unknown opcode {standard input}:1561: Error: unknown opcode {standard input}:2084: Error: unknown opcode {standard input}:4488: Error: unknown opcode {standard input}:9089: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_device.o] Error 1 drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: got unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: got unsigned int [noderef] [usertype] __user * drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: got unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: got unsigned int [noderef] [usertype] __user * drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: got unsigned int const *__gu_addr make[2]: *** [scripts/Makefile.build:497: drivers/dma-buf] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}:3236: Error: unknown opcode {standard input}: Assembler messages: {standard input}:9550: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/mtd/devices/docg3.o] Error 1 drivers/input/serio/apbps2.c: In function 'apbps2_open': drivers/input/serio/apbps2.c:106:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 106 | unsigned long tmp; | ^~~ {standard input}: Assembler messages: {standard input}:1690: Error: unknown opcode {standard input}:6751: Error: unknown opcode {standard input}:7204: Error: unknown opcode {standard input}:7321: Error: unknown opcode {standard input}:7935: Error: unknown opcode drivers/mtd/devices/phram.c:85:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *priv @@ drivers/mtd/devices/phram.c:85:34: sparse: expected void [noderef] __iomem *addr drivers/mtd/devices/phram.c:85:34: sparse: got void *priv drivers/mtd/devices/phram.c:101:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *priv @@ got void [noderef] __iomem * @@ drivers/mtd/devices/phram.c:101:23: sparse: expected void *priv drivers/mtd/devices/phram.c:101:23: sparse: got void [noderef] __iomem * drivers/mtd/devices/phram.c:131:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *priv @@ drivers/mtd/devices/phram.c:131:25: sparse: expected void [noderef] __iomem *addr drivers/mtd/devices/phram.c:131:25: sparse: got void *priv {standard input}:4802: Error: unknown opcode {standard input}:5250: Error: unknown opcode {standard input}:6411: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/spi/spi-rspi.o] Error 1 {standard input}: Assembler messages: {standard input}:1130: Error: unknown opcode {standard input}:1161: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_writeback.o] Error 1 {standard input}: Assembler messages: {standard input}:2064: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_syncobj.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/input/serio] Error 2 {standard input}:2128: Error: unknown opcode {standard input}:2155: Error: unknown opcode {standard input}:2203: Error: unknown opcode {standard input}:2263: Error: unknown opcode {standard input}:2290: Error: unknown opcode {standard input}:4073: Error: unknown opcode {standard input}:4354: Error: unknown opcode {standard input}: Assembler messages: {standard input}:69: Error: unknown opcode {standard input}:2330: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/input/joystick/iforce/iforce-main.o] Error 1 {standard input}: Assembler messages: {standard input}:2249: Error: unknown opcode {standard input}:2280: Error: unknown opcode {standard input}:2554: Error: unknown opcode {standard input}:2686: Error: unknown opcode {standard input}:2747: Error: unknown opcode {standard input}:2774: Error: unknown opcode {standard input}:3263: Error: unknown opcode {standard input}:3323: Error: unknown opcode {standard input}:3350: Error: unknown opcode {standard input}:3916: Error: unknown opcode {standard input}:11327: Error: unknown opcode drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/net/hamradio/6pack.c:710:21: sparse: expected int const *__gu_addr drivers/net/hamradio/6pack.c:710:21: sparse: got int [noderef] __user * >> drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/hamradio/6pack.c:710:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/hamradio/6pack.c:710:21: sparse: got int const *__gu_addr {standard input}:14940: Error: unknown opcode {standard input}:5452: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_vblank.o] Error 1 {standard input}:6890: Error: unknown opcode {standard input}:6885: Error: unknown opcode {standard input}:6962: Error: unknown opcode {standard input}:7318: Error: unknown opcode {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}: Assembler messages: {standard input}:4209: Error: unknown opcode {standard input}:4298: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/input/joystick/iforce/iforce-ff.o] Error 1 {standard input}:10137: Error: unknown opcode {standard input}:10322: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/phy.o] Error 1 drivers/mtd/devices/phram.c:19: warning: Function parameter or member 'fmt' not described in 'pr_fmt' {standard input}: Assembler messages: {standard input}:1352: Error: unknown opcode {standard input}:1891: Error: unknown opcode {standard input}:2120: Error: unknown opcode {standard input}:2379: Error: unknown opcode {standard input}:2518: Error: unknown opcode {standard input}:2654: Error: unknown opcode {standard input}:2847: Error: unknown opcode {standard input}:2883: Error: unknown opcode {standard input}:3309: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/caif/caif_serial.o] Error 1 {standard input}:12950: Error: unknown opcode {standard input}:13352: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_alua.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_pr.o] Error 1 drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:925:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:925:21: sparse: got int [noderef] __user *p >> drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/ppp/ppp_generic.c:925:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:925:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:939:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:939:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:939:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:939:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:954:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:954:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:954:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:954:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:651:29: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:651:29: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:651:29: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:651:29: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:681:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:681:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:681:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:681:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:688:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:688:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:688:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:688:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:726:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:726:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:726:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:726:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:755:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:755:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:755:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:755:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:823:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:823:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:823:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:823:21: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:807: Error: unknown opcode {standard input}:988: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/mtd/devices/block2mtd.o] Error 1 {standard input}: Assembler messages: {standard input}:1074: Error: unknown opcode {standard input}:1213: Error: unknown opcode {standard input}:1293: Error: unknown opcode {standard input}: Assembler messages: {standard input}:5244: Error: unknown opcode {standard input}:5575: Error: unknown opcode {standard input}:5630: Error: unknown opcode make[4]: *** [scripts/Makefile.build:497: drivers/input/joystick/iforce] Error 2 make[5]: *** [scripts/Makefile.build:281: drivers/input/joystick/iforce/iforce-packets.o] Error 1 make[5]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:281: drivers/input/keyboard/atkbd.o] Error 1 {standard input}: Assembler messages: {standard input}:1841: Error: unknown opcode {standard input}:1872: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic_uapi.o] Error 1 {standard input}: Assembler messages: {standard input}:705: Error: unknown opcode drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_async.c:420:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_async.c:420:21: sparse: got int [noderef] __user *p >> drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/ppp/ppp_async.c:420:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:420:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/net/ppp/ppp_async.c:435:21: sparse: expected unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:435:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/net/ppp/ppp_async.c:446:21: sparse: expected unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int [noderef] [usertype] __user * drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:446:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_async.c:471:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_async.c:471:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:471:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:471:21: sparse: got int const *__gu_addr {standard input}:2503: Error: unknown opcode {standard input}:2548: Error: unknown opcode {standard input}:2582: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/caif/caif_virtio.o] Error 1 {standard input}: Assembler messages: {standard input}:3541: Error: unknown opcode {standard input}:3573: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_client_modeset.o] Error 1 {standard input}: Assembler messages: {standard input}:1005: Error: unknown opcode {standard input}:1036: Error: unknown opcode {standard input}:2516: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_gem_cma_helper.o] Error 1 {standard input}: Assembler messages: {standard input}:2519: Error: unknown opcode {standard input}:3287: Error: unknown opcode {standard input}:4649: Error: unknown opcode {standard input}:4810: Error: unknown opcode drivers/spi/spi-zynqmp-gqspi.c:205: warning: Function parameter or member 'slavecs' not described in 'zynqmp_gqspi_selectslave' drivers/spi/spi-zynqmp-gqspi.c:205: warning: Function parameter or member 'slavebus' not described in 'zynqmp_gqspi_selectslave' drivers/spi/spi-zynqmp-gqspi.c:205: warning: Excess function parameter 'flashcs' description in 'zynqmp_gqspi_selectslave' drivers/spi/spi-zynqmp-gqspi.c:205: warning: Excess function parameter 'flashbus' description in 'zynqmp_gqspi_selectslave' drivers/spi/spi-zynqmp-gqspi.c:902: warning: Function parameter or member 'dev' not described in 'zynqmp_qspi_suspend' drivers/spi/spi-zynqmp-gqspi.c:902: warning: Excess function parameter '_dev' description in 'zynqmp_qspi_suspend' make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_tpg.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/spi] Error 2 drivers/input/joystick/analog.c:169:17: sparse: sparse: undefined identifier 'boot_cpu_has' drivers/input/joystick/analog.c:169:17: sparse: sparse: undefined identifier 'rdtsc' drivers/input/joystick/analog.c:169:17: sparse: sparse: cast from unknown type drivers/input/joystick/analog.c:179:24: sparse: sparse: undefined identifier 'boot_cpu_has' drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: undefined identifier 'X86_FEATURE_TSC' drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: undefined identifier 'X86_FEATURE_TSC' drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/net/slip/slip.c:458:14: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/net/slip/slip.c:458:14: sparse: void [noderef] __rcu * drivers/net/slip/slip.c:458:14: sparse: void * drivers/net/slip/slip.c:892:9: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/net/slip/slip.c:892:9: sparse: void [noderef] __rcu * drivers/net/slip/slip.c:892:9: sparse: void * drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ >> drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum {standard input}: Assembler messages: {standard input}:1340: Error: unknown opcode {standard input}:1371: Error: unknown opcode {standard input}:1576: Error: unknown opcode {standard input}:1853: Error: unknown opcode {standard input}:2081: Error: unknown opcode {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:176: Error: unknown opcode drivers/input/joystick/analog.c:160:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] 160 | #warning Precise timer not defined for this architecture. | ^~~~~~~ {standard input}:2320: Error: unknown opcode {standard input}:2893: Error: unknown opcode {standard input}:3462: Error: unknown opcode {standard input}:3750: Error: unknown opcode {standard input}:4086: Error: unknown opcode {standard input}:4363: Error: unknown opcode {standard input}:6410: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/hamradio/6pack.o] Error 1 drivers/net/hamradio/baycom_ser_fdx.c:290:43: sparse: sparse: dubious: x | !y {standard input}: Assembler messages: {standard input}:656: Error: unknown opcode {standard input}:701: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/keyboard/newtonkbd.o] Error 1 {standard input}:6282: Error: unknown opcode {standard input}:8161: Error: unknown opcode {standard input}:10803: Error: unknown opcode {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/net/caif] Error 2 make[4]: *** [scripts/Makefile.build:281: drivers/net/caif/caif_hsi.o] Error 1 make[4]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:280: drivers/input/joystick/analog.o] Error 1 {standard input}: Assembler messages: {standard input}:6459: Error: unknown opcode {standard input}:6490: Error: unknown opcode {standard input}:6633: Error: unknown opcode {standard input}:6837: Error: unknown opcode {standard input}:7814: Error: unknown opcode {standard input}:8237: Error: unknown opcode {standard input}:8407: Error: unknown opcode {standard input}:8991: Error: unknown opcode include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (400 becomes 0) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (1000 becomes 0) include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (10000000 becomes 0) {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:878: Error: unknown opcode {standard input}:931: Error: unknown opcode {standard input}: Assembler messages: {standard input}:52: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:2195: Error: unknown opcode {standard input}:2226: Error: unknown opcode {standard input}:2653: Error: unknown opcode {standard input}:3418: Error: unknown opcode {standard input}:3983: Error: unknown opcode {standard input}:4049: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/net/ppp/ppp_async.o] Error 1 {standard input}:4211: Error: unknown opcode {standard input}:4254: Error: unknown opcode drivers/input/keyboard/samsung-keypad.c: In function 'samsung_keypad_irq': drivers/input/keyboard/samsung-keypad.c:149:15: warning: variable 'val' set but not used [-Wunused-but-set-variable] 149 | unsigned int val; | ^~~ {standard input}:4693: Error: unknown opcode {standard input}:4736: Error: unknown opcode {standard input}:6118: Error: unknown opcode {standard input}:6216: Error: unknown opcode {standard input}:6472: Error: unknown opcode {standard input}:6541: Error: unknown opcode {standard input}:6631: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/slip/slip.o] Error 1 {standard input}:17424: Error: unknown opcode drivers/mtd/nand/onenand/onenand_base.c:779:34: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *__from @@ got void [noderef] __iomem * @@ drivers/mtd/nand/onenand/onenand_base.c:779:34: sparse: expected void const *__from drivers/mtd/nand/onenand/onenand_base.c:779:34: sparse: got void [noderef] __iomem * -- make[3]: *** [scripts/Makefile.build:497: drivers/input/keyboard] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}:8751: Error: unknown opcode {standard input}:8811: Error: unknown opcode {standard input}:8838: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/target/target_core_file.o] Error 1 drivers/net/phy/mdio_device.c:188: warning: Function parameter or member 'drv' not described in 'mdio_driver_register' drivers/net/phy/mdio_device.c:188: warning: Excess function parameter 'new_driver' description in 'mdio_driver_register' make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/phy_device.o] Error 1 make[5]: *** [scripts/Makefile.build:280: drivers/mtd/nand/onenand/onenand_base.o] Error 1 make[5]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/mtd/nand/onenand] Error 2 {standard input}: Assembler messages: {standard input}:3784: Error: unknown opcode {standard input}:3818: Error: unknown opcode {standard input}:4649: Error: unknown opcode {standard input}:4680: Error: unknown opcode {standard input}:4869: Error: unknown opcode {standard input}:5089: Error: unknown opcode {standard input}:5116: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/target/target_core_iblock.o] Error 1 {standard input}: Assembler messages: {standard input}:4684: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/media/i2c] Error 2 make[4]: *** [scripts/Makefile.build:281: drivers/media/i2c/ir-kbd-i2c.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/net/slip] Error 2 make[4]: Target '__build' not remade because of errors. drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'input_dev' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'client' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'regmap' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'work' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'regulator' not described in 'drv2665_data' drivers/input/misc/drv260x.c: In function 'drv260x_probe': drivers/input/misc/drv260x.c:478:20: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 478 | if (haptics->mode < DRV260X_LRA_MODE || | ^ drivers/input/misc/drv260x.c:490:23: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 490 | if (haptics->library < DRV260X_LIB_EMPTY || | ^ {standard input}:13511: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1038: Error: unknown opcode {standard input}:1546: Error: unknown opcode {standard input}:1696: Error: unknown opcode {standard input}:1890: Error: unknown opcode {standard input}:2760: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/net/hamradio] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/net/hamradio/hdlcdrv.o] Error 1 make[4]: Target '__build' not remade because of errors. drivers/input/rmi4/rmi_driver.c: In function 'rmi_read_register_desc': drivers/input/rmi4/rmi_driver.c:583:24: warning: comparison is always false due to limited range of data type [-Wtype-limits] 583 | if (size_presence_reg < 0 || size_presence_reg > 35) | ^ drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'input_dev' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'client' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'regmap' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'work' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'enable_gpio' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'regulator' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'magnitude' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'mode' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'library' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'rated_voltage' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'overdrive_voltage' not described in 'drv260x_data' drivers/input/misc/drv260x.c:244: warning: Function parameter or member 'voltage' not described in 'drv260x_calculate_voltage' {standard input}: Assembler messages: {standard input}:633: Error: unknown opcode {standard input}:667: Error: unknown opcode {standard input}: Assembler messages: {standard input}:454: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/joystick/magellan.o] Error 1 {standard input}: Assembler messages: {standard input}:3774: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_transport_srp.o] Error 1 {standard input}:5419: Error: unknown opcode {standard input}:5485: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/mdio_bus.o] Error 1 {standard input}: Assembler messages: {standard input}:1603: Error: unknown opcode {standard input}: Assembler messages: {standard input}:361: Error: unknown opcode {standard input}:1213: Error: unknown opcode {standard input}: Assembler messages: {standard input}:489: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/input/joystick/twidjoy.o] Error 1 make[2]: *** [scripts/Makefile.build:497: drivers/target] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/target/target_core_transport.o] Error 1 make[3]: Target '__build' not remade because of errors. drivers/scsi/virtio_scsi.c:109: warning: Function parameter or member 'vscsi' not described in 'virtscsi_complete_cmd' drivers/scsi/virtio_scsi.c:109: warning: Function parameter or member 'buf' not described in 'virtscsi_complete_cmd' {standard input}:8780: Error: unknown opcode {standard input}:10054: Error: unknown opcode {standard input}:2622: Error: unknown opcode {standard input}: Assembler messages: {standard input}:460: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/joystick/spaceorb.o] Error 1 drivers/scsi/sg.c:415:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:415:21: sparse: expected int const *__gu_addr drivers/scsi/sg.c:415:21: sparse: got int [noderef] __user * >> drivers/scsi/sg.c:415:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/scsi/sg.c:415:21: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:415:21: sparse: got int const *__gu_addr drivers/scsi/sg.c:419:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:419:32: sparse: expected int const *__gu_addr drivers/scsi/sg.c:419:32: sparse: got int [noderef] __user * drivers/scsi/sg.c:419:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:419:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:419:32: sparse: got int const *__gu_addr drivers/scsi/sg.c:425:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] __user * @@ drivers/scsi/sg.c:425:32: sparse: expected signed int const *__gu_addr drivers/scsi/sg.c:425:32: sparse: got signed int [noderef] __user * >> drivers/scsi/sg.c:425:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/scsi/sg.c:425:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:425:32: sparse: got signed int const *__gu_addr drivers/scsi/sg.c:431:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:431:32: sparse: expected int const *__gu_addr drivers/scsi/sg.c:431:32: sparse: got int [noderef] __user * drivers/scsi/sg.c:431:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:431:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:431:32: sparse: got int const *__gu_addr drivers/scsi/sg.c:638:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *[assigned] buf @@ drivers/scsi/sg.c:638:13: sparse: expected char const *__gu_addr drivers/scsi/sg.c:638:13: sparse: got char const [noderef] __user *[assigned] buf >> drivers/scsi/sg.c:638:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/scsi/sg.c:638:13: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:638:13: sparse: got char const *__gu_addr drivers/scsi/sg.c:955:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:955:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:955:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:955:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:955:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:955:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:998:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:998:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:998:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:998:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:998:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:998:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1026:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1026:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1026:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1026:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1026:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1026:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1051:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1051:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1051:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1051:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1051:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1051:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1059:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1059:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1059:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1059:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1059:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1059:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1067:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1067:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1067:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1067:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1067:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1067:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1111:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1111:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1111:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1111:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1111:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1111:26: sparse: got int const *__gu_addr {standard input}:5503: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/rmi4/rmi_driver.o] Error 1 make[3]: *** [scripts/Makefile.build:280: drivers/input/input.o] Error 1 drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'input_dev' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'client' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'regmap' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'work' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'regulator' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'page' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'magnitude' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'frequency' not described in 'drv2667_data' In file included from include/linux/bug.h:5, from include/linux/thread_info.h:12, from include/asm-generic/current.h:5, from ./arch/sh/include/generated/asm/current.h:1, from include/linux/sched.h:12, from include/linux/ratelimit.h:6, from include/linux/dev_printk.h:16, from include/linux/device.h:15, from drivers/mtd/nand/spi/core.c:12: drivers/mtd/nand/spi/core.c: In function 'spinand_get_cfg': drivers/mtd/nand/spi/core.c:55:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 55 | if (WARN_ON(spinand->cur_target < 0 || | ^ arch/sh/include/asm/bug.h:69:25: note: in definition of macro 'WARN_ON' 69 | int __ret_warn_on = !!(x); 3036- | ^ drivers/mtd/nand/spi/core.c: In function 'spinand_set_cfg': drivers/mtd/nand/spi/core.c:68:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 68 | if (WARN_ON(spinand->cur_target < 0 || | ^ arch/sh/include/asm/bug.h:69:25: note: in definition of macro 'WARN_ON' 69 | int __ret_warn_on = !!(x); 3043- | ^ drivers/input/misc/mc13783-pwrbutton.c:32: warning: cannot understand function prototype: 'struct mc13783_pwrb ' make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/input/joystick] Error 2 {standard input}: Assembler messages: {standard input}:7197: Error: unknown opcode {standard input}: Assembler messages: {standard input}:62: Error: unknown opcode {standard input}:1378: Error: unknown opcode {standard input}:1551: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/media/mc/mc-devnode.o] Error 1 drivers/input/rmi4/rmi_f01.c:106: warning: Cannot understand * @ctrl0 - see the bit definitions above. on line 106 - I thought it was a doc line {standard input}:11372: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1617: Error: unknown opcode {standard input}:1648: Error: unknown opcode {standard input}:1839: Error: unknown opcode {standard input}:2239: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/media/v4l2-core/v4l2-device.o] Error 1 {standard input}:14484: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/debug.o] Error 1 drivers/i2c/busses/i2c-rk3x.c:244: warning: Function parameter or member 'i2c' not described in 'rk3x_i2c_start' -- include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (31111110 becomes 1110) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (1110 becomes 10) include/linux/unaligned/be_byteshift.h:38:30: sparse: sparse: cast truncates bits from constant value (3111111000000001 becomes 1) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (3222 becomes 22) include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (32222220 becomes 2220) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (2220 becomes 20) include/linux/unaligned/be_byteshift.h:38:30: sparse: sparse: cast truncates bits from constant value (3222222000000000 becomes 0) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (3111 becomes 11) include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (31111110 becomes 1110) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (1110 becomes 10) include/linux/unaligned/be_byteshift.h:38:30: sparse: sparse: cast truncates bits from constant value (3111111000000001 becomes 1) drivers/net/wireless/ath/ath6kl/wmi.c: In function 'ath6kl_wmi_bitrate_reply_rx': drivers/net/wireless/ath/ath6kl/wmi.c:1204:6: warning: variable 'rate' set but not used [-Wunused-but-set-variable] 1204 | s32 rate; | ^~~~ {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1334: Error: unknown opcode {standard input}:1437: Error: unknown opcode {standard input}:1769: Error: unknown opcode {standard input}:1839: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/i2c/i2c-core-of.o] Error 1 In file included from include/linux/phy.h:14, from drivers/net/phy/at803x.c:10: drivers/net/phy/at803x.c: In function 'at803x_parse_dt': include/linux/bitfield.h:52:28: warning: comparison is always false due to limited range of data type [-Wtype-limits] 52 | BUILD_BUG_ON_MSG((_mask) > (typeof(_reg))~0ull, 3168- | ^ include/linux/compiler.h:319:9: note: in definition of macro '__compiletime_assert' 319 | if (!(condition)) 3171- | ^~~~~~~~~ include/linux/compiler.h:339:2: note: in expansion of macro '_compiletime_assert' 339 | _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/bitfield.h:52:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' 52 | BUILD_BUG_ON_MSG((_mask) > (typeof(_reg))~0ull, 3180- | ^~~~~~~~~~~~~~~~ include/linux/bitfield.h:94:3: note: in expansion of macro '__BF_FIELD_CHECK' 94 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); 3183- | ^~~~~~~~~~~~~~~~ drivers/net/phy/at803x.c:431:24: note: in expansion of macro 'FIELD_PREP' 431 | priv->clk_25m_reg |= FIELD_PREP(mask, sel); | ^~~~~~~~~~ {standard input}:17458: Error: unknown opcode {standard input}: Assembler messages: {standard input}:8653: Error: unknown opcode {standard input}:8872: Error: unknown opcode {standard input}:9073: Error: unknown opcode {standard input}:11038: Error: unknown opcode {standard input}: Assembler messages: {standard input}:116: Error: unknown opcode {standard input}:308: Error: unknown opcode {standard input}:759: Error: unknown opcode {standard input}:1045: Error: unknown opcode {standard input}:1375: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/recovery.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/i2c/i2c-core-base.o] Error 1 {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/main.o] Error 1 {standard input}: Assembler messages: {standard input}:1771: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/at803x.o] Error 1 {standard input}: Assembler messages: {standard input}:832: Error: unknown opcode {standard input}:866: Error: unknown opcode {standard input}:900: Error: unknown opcode {standard input}:1663: Error: unknown opcode {standard input}:1840: Error: unknown opcode {standard input}:1933: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/core.o] Error 1 drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member 'write_cache_variants' not described in 'SPINAND_OP_VARIANTS' drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member '0' not described in 'SPINAND_OP_VARIANTS' {standard input}:13038: Error: unknown opcode {standard input}: Assembler messages: {standard input}:422: Error: unknown opcode {standard input}:453: Error: unknown opcode {standard input}:596: Error: unknown opcode {standard input}:4997: Error: unknown opcode drivers/net/ieee802154/ca8210.c:1840:27: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [addressable] [assigned] [usertype] pan_id @@ got unsigned short [usertype] @@ drivers/net/ieee802154/ca8210.c:1840:27: sparse: expected restricted __le16 [addressable] [assigned] [usertype] pan_id drivers/net/ieee802154/ca8210.c:1840:27: sparse: got unsigned short [usertype] drivers/net/ieee802154/ca8210.c:1845:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [addressable] [assigned] [usertype] pan_id @@ got unsigned short [usertype] @@ drivers/net/ieee802154/ca8210.c:1845:25: sparse: expected restricted __le16 [addressable] [assigned] [usertype] pan_id drivers/net/ieee802154/ca8210.c:1845:25: sparse: got unsigned short [usertype] drivers/net/ieee802154/ca8210.c:1971:28: sparse: sparse: incorrect type in argument 3 (different base types) @@ expected unsigned short [usertype] dst_pan_id @@ got restricted __le16 [addressable] [usertype] pan_id @@ drivers/net/ieee802154/ca8210.c:1971:28: sparse: expected unsigned short [usertype] dst_pan_id drivers/net/ieee802154/ca8210.c:1971:28: sparse: got restricted __le16 [addressable] [usertype] pan_id make[3]: *** [scripts/Makefile.build:497: drivers/media/mc] Error 2 make[4]: *** [scripts/Makefile.build:281: drivers/media/mc/mc-request.o] Error 1 make[4]: Target '__build' not remade because of errors. drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:467:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int [noderef] [usertype] __user * >> drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ >> drivers/mtd/ubi/cdev.c:467:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:512:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:512:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:526:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:526:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:882:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:882:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:969:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:969:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:984:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:984:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:1061:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:1061:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int const *__gu_addr {standard input}:15920: Error: unknown opcode {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}:133: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/cfg80211.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/scsi/st.o] Error 1 {standard input}:18069: Error: unknown opcode drivers/mtd/ubi/build.c:61: warning: Function parameter or member 'ubi_num' not described in 'mtd_dev_param' drivers/ptp/ptp_clockmatrix.c:886: warning: Cannot understand * @brief Maximum absolute value for write phase offset in picoseconds on line 886 - I thought it was a doc line drivers/net/phy/dp83640.c:840:28: sparse: sparse: cast to restricted __be16 drivers/net/phy/dp83640.c:840:28: sparse: sparse: cast to restricted __be16 drivers/net/phy/dp83640.c:840:28: sparse: sparse: cast to restricted __be16 drivers/net/phy/dp83640.c:840:28: sparse: sparse: cast to restricted __be16 {standard input}: Assembler messages: {standard input}:9541: Error: unknown opcode {standard input}:10157: Error: unknown opcode {standard input}:10878: Error: unknown opcode {standard input}:22530: Error: unknown opcode {standard input}: Assembler messages: {standard input}:26163: Error: unknown opcode {standard input}:26696: Error: unknown opcode {standard input}:26766: Error: unknown opcode {standard input}:27013: Error: unknown opcode {standard input}:27083: Error: unknown opcode {standard input}:22467: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/media/v4l2-core/v4l2-ctrls.o] Error 1 {standard input}: Assembler messages: {standard input}:1716: Error: unknown opcode {standard input}:1985: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/media/v4l2-core/v4l2-clk.o] Error 1 drivers/mtd/ubi/kapi.c:464: warning: Function parameter or member 'sgl' not described in 'ubi_leb_read_sg' drivers/mtd/ubi/kapi.c:464: warning: Excess function parameter 'buf' description in 'ubi_leb_read_sg' make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/wmi.o] Error 1 {standard input}: Assembler messages: {standard input}:94: Error: unknown opcode {standard input}:157: Error: unknown opcode drivers/mtd/ubi/wl.c:2054:28: sparse: sparse: context imbalance in 'produce_free_peb' - unexpected unlock {standard input}:28518: Error: unknown opcode drivers/w1/masters/ds2482.c:23: warning: Incorrect use of kernel-doc format: * Allow the active pullup to be disabled, default is enabled. drivers/w1/masters/ds2482.c:32: warning: cannot understand function prototype: 'int ds2482_active_pullup = 1; ' drivers/w1/masters/ds2482.c:82: warning: cannot understand function prototype: 'const u8 ds2482_chan_wr[8] = ' drivers/w1/masters/ds2482.c:132: warning: Function parameter or member 'conf' not described in 'ds2482_calculate_config' drivers/w1/masters/ds2482.c:149: warning: Function parameter or member 'pdev' not described in 'ds2482_select_register' drivers/w1/masters/ds2482.c:149: warning: Function parameter or member 'read_ptr' not described in 'ds2482_select_register' drivers/w1/masters/ds2482.c:170: warning: Function parameter or member 'pdev' not described in 'ds2482_send_cmd' drivers/w1/masters/ds2482.c:170: warning: Function parameter or member 'cmd' not described in 'ds2482_send_cmd' drivers/w1/masters/ds2482.c:190: warning: Function parameter or member 'pdev' not described in 'ds2482_send_cmd_data' drivers/w1/masters/ds2482.c:190: warning: Function parameter or member 'cmd' not described in 'ds2482_send_cmd_data' drivers/w1/masters/ds2482.c:190: warning: Function parameter or member 'byte' not described in 'ds2482_send_cmd_data' drivers/w1/masters/ds2482.c:214: warning: Function parameter or member 'pdev' not described in 'ds2482_wait_1wire_idle' drivers/w1/masters/ds2482.c:241: warning: Function parameter or member 'pdev' not described in 'ds2482_set_channel' drivers/w1/masters/ds2482.c:241: warning: Function parameter or member 'channel' not described in 'ds2482_set_channel' drivers/w1/masters/ds2482.c:264: warning: Function parameter or member 'data' not described in 'ds2482_w1_touch_bit' drivers/w1/masters/ds2482.c:264: warning: Function parameter or member 'bit' not described in 'ds2482_w1_touch_bit' drivers/w1/masters/ds2482.c:296: warning: Function parameter or member 'data' not described in 'ds2482_w1_triplet' drivers/w1/masters/ds2482.c:296: warning: Function parameter or member 'dbit' not described in 'ds2482_w1_triplet' drivers/w1/masters/ds2482.c:326: warning: Function parameter or member 'data' not described in 'ds2482_w1_write_byte' drivers/w1/masters/ds2482.c:326: warning: Function parameter or member 'byte' not described in 'ds2482_w1_write_byte' drivers/w1/masters/ds2482.c:350: warning: Function parameter or member 'data' not described in 'ds2482_w1_read_byte' drivers/w1/masters/ds2482.c:387: warning: Function parameter or member 'data' not described in 'ds2482_w1_reset_bus' drivers/w1/masters/ds2482.c:547: warning: cannot understand function prototype: 'const struct i2c_device_id ds2482_id[] = ' In file included from include/linux/bits.h:23, -- | ^~ make[4]: *** [scripts/Makefile.build:497: drivers/net/wireless/ath] Error 2 make[5]: *** [scripts/Makefile.build:497: drivers/net/wireless/ath/ath6kl] Error 2 make[5]: Target '__build' not remade because of errors. make[6]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:280: drivers/media/dvb-core/dvb_frontend.o] Error 1 drivers/input/rmi4/rmi_f54.c:77: warning: Enum value 'F54_REPORT_NONE' not described in enum 'rmi_f54_report_type' drivers/input/rmi4/rmi_f54.c:77: warning: Enum value 'F54_MAX_REPORT_TYPE' not described in enum 'rmi_f54_report_type' make[7]: *** [scripts/Makefile.build:281: drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.o] Error 1 {standard input}: Assembler messages: {standard input}:69: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/ff-memless.o] Error 1 {standard input}: Assembler messages: {standard input}:150: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2627: Error: unknown opcode {standard input}:2853: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/w1/slaves/w1_therm.o] Error 1 {standard input}: Assembler messages: {standard input}:4053: Error: unknown opcode {standard input}:4416: Error: unknown opcode {standard input}:5294: Error: unknown opcode {standard input}:5775: Error: unknown opcode {standard input}:5806: Error: unknown opcode drivers/w1/w1.c:426:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] rn64_le @@ got restricted __le64 [usertype] @@ drivers/w1/w1.c:426:17: sparse: expected unsigned long long [usertype] rn64_le drivers/w1/w1.c:426:17: sparse: got restricted __le64 [usertype] drivers/w1/w1.c:920:21: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned long long [usertype] rn_le @@ got restricted __le64 [usertype] @@ drivers/w1/w1.c:920:21: sparse: expected unsigned long long [usertype] rn_le drivers/w1/w1.c:920:21: sparse: got restricted __le64 [usertype] drivers/w1/slaves/w1_ds2405.c:30:24: sparse: sparse: cast to restricted __le64 drivers/w1/slaves/w1_ds2405.c:182:32: sparse: sparse: cast to restricted __le64 drivers/net/ieee802154/ca8210.c:326: warning: Function parameter or member 'readq' not described in 'ca8210_test' drivers/net/ieee802154/ca8210.c:375: warning: Function parameter or member 'spi_transfer_complete' not described in 'ca8210_priv' drivers/net/ieee802154/ca8210.c:375: warning: Function parameter or member 'sync_exchange_complete' not described in 'ca8210_priv' drivers/net/ieee802154/ca8210.c:375: warning: Function parameter or member 'promiscuous' not described in 'ca8210_priv' drivers/net/ieee802154/ca8210.c:430: warning: Function parameter or member 'short_address' not described in 'macaddr' drivers/net/ieee802154/ca8210.c:723: warning: Function parameter or member 'cas_ctl' not described in 'ca8210_rx_done' drivers/net/ieee802154/ca8210.c:723: warning: Excess function parameter 'arg' description in 'ca8210_rx_done' drivers/net/ieee802154/ca8210.c:1289: warning: Excess function parameter 'device_ref' description in 'tdme_checkpibattribute' {standard input}:6400: Error: unknown opcode drivers/net/ieee802154/ca8210.c:3053: warning: Function parameter or member 'spi_device' not described in 'ca8210_remove' make[4]: *** [scripts/Makefile.build:280: drivers/media/dvb-core/dvb_ca_en50221.o] Error 1 drivers/net/ieee802154/ca8210.c:3053: warning: Excess function parameter 'priv' description in 'ca8210_remove' drivers/net/ieee802154/ca8210.c:3103: warning: Function parameter or member 'spi_device' not described in 'ca8210_probe' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c: In function 'brcmf_fweh_handle_if_event': drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:131:6: warning: variable 'err' set but not used [-Wunused-but-set-variable] 131 | int err = 0; | ^~~ drivers/net/ieee802154/ca8210.c:3103: warning: Excess function parameter 'priv' description in 'ca8210_probe' drivers/input/rmi4/rmi_i2c.c:39: warning: Function parameter or member 'client' not described in 'rmi_i2c_xport' drivers/input/rmi4/rmi_i2c.c:39: warning: Function parameter or member 'supplies' not described in 'rmi_i2c_xport' drivers/input/rmi4/rmi_i2c.c:39: warning: Function parameter or member 'startup_delay' not described in 'rmi_i2c_xport' drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1741:40: sparse: sparse: incorrect type in initializer (different base types) @@ expected signed int [usertype] requested_dwell @@ got restricted __le32 [usertype] dwell_time @@ drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1741:40: sparse: expected signed int [usertype] requested_dwell drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1741:40: sparse: got restricted __le32 [usertype] dwell_time make[4]: *** [scripts/Makefile.build:281: drivers/media/rc/rc-main.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/input/rmi4] Error 2 make[4]: Target '__build' not remade because of errors. drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:36: warning: Function parameter or member 'datalen' not described in 'brcmf_fweh_queue_item' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:44: warning: Function parameter or member 'code' not described in 'brcmf_fweh_event_name' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:44: warning: Function parameter or member 'name' not described in 'brcmf_fweh_event_name' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:127: warning: Function parameter or member 'emsg' not described in 'brcmf_fweh_handle_if_event' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:127: warning: Function parameter or member 'data' not described in 'brcmf_fweh_handle_if_event' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:127: warning: Excess function parameter 'item' description in 'brcmf_fweh_handle_if_event' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:127: warning: Excess function parameter 'ifpp' description in 'brcmf_fweh_handle_if_event' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:391: warning: Function parameter or member 'packet_len' not described in 'brcmf_fweh_process_event' drivers/net/wireless/marvell/libertas/cfg.c: In function 'lbs_ret_scan': drivers/net/wireless/marvell/libertas/cfg.c:586:6: warning: variable 'ssid_len' set but not used [-Wunused-but-set-variable] 586 | u8 ssid_len = 0; | ^~~~~~~~ drivers/net/wireless/marvell/libertas/cfg.c:585:13: warning: variable 'ssid' set but not used [-Wunused-but-set-variable] 585 | const u8 *ssid = NULL; | ^~~~ drivers/net/wireless/marvell/libertas/cfg.c:507:6: warning: variable 'tsfsize' set but not used [-Wunused-but-set-variable] 507 | int tsfsize; | ^~~~~~~ drivers/net/wireless/marvell/libertas/cfg.c: In function 'lbs_associate': drivers/net/wireless/marvell/libertas/cfg.c:1075:6: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1075 | u8 *tmp; | ^~~ {standard input}: Assembler messages: {standard input}:4685: Error: unknown opcode {standard input}:5831: Error: unknown opcode {standard input}:6023: Error: unknown opcode {standard input}:7361: Error: unknown opcode {standard input}:8193: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/power/supply/power_supply_core.o] Error 1 {standard input}: Assembler messages: {standard input}:828: Error: unknown opcode {standard input}:924: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/sparse-keymap.o] Error 1 {standard input}: Assembler messages: {standard input}:2338: Error: unknown opcode {standard input}:3447: Error: unknown opcode {standard input}:3506: Error: unknown opcode {standard input}:4106: Error: unknown opcode drivers/input/mousedev.c:683:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/input/mousedev.c:683:21: sparse: expected char const *__gu_addr drivers/input/mousedev.c:683:21: sparse: got char const [noderef] __user * >> drivers/input/mousedev.c:683:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/input/mousedev.c:683:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/mousedev.c:683:21: sparse: got char const *__gu_addr {standard input}: Assembler messages: {standard input}:151: Error: unknown opcode {standard input}:310: Error: unknown opcode {standard input}:388: Error: unknown opcode {standard input}:442: Error: unknown opcode {standard input}:964: Error: unknown opcode {standard input}:1011: Error: unknown opcode {standard input}:1188: Error: unknown opcode {standard input}:1238: Error: unknown opcode {standard input}:1825: Error: unknown opcode {standard input}:2025: Error: unknown opcode {standard input}:2459: Error: unknown opcode {standard input}:2649: Error: unknown opcode {standard input}:2753: Error: unknown opcode {standard input}:2786: Error: unknown opcode drivers/input/joydev.c:528:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/input/joydev.c:528:24: sparse: expected signed int const *__gu_addr drivers/input/joydev.c:528:24: sparse: got signed int [noderef] [usertype] __user * >> drivers/input/joydev.c:528:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ >> drivers/input/joydev.c:528:24: sparse: expected void const volatile [noderef] __user *ptr drivers/input/joydev.c:528:24: sparse: got signed int const *__gu_addr drivers/input/joydev.c:680:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected long const *__gu_addr @@ got long [noderef] __user * @@ drivers/input/joydev.c:680:26: sparse: expected long const *__gu_addr drivers/input/joydev.c:680:26: sparse: got long [noderef] __user * >> drivers/input/joydev.c:680:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got long const *__gu_addr @@ drivers/input/joydev.c:680:26: sparse: expected void const volatile [noderef] __user *ptr drivers/input/joydev.c:680:26: sparse: got long const *__gu_addr {standard input}:5323: Error: unknown opcode {standard input}:5889: Error: unknown opcode {standard input}:7566: Error: unknown opcode {standard input}:7818: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/w1/w1.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/media/dvb-core/dvb_ringbuffer.o] Error 1 drivers/mtd/ubi/gluebi.c:446: warning: Function parameter or member 'ns_ptr' not described in 'gluebi_notify' drivers/mtd/ubi/gluebi.c:446: warning: Excess function parameter 'ptr' description in 'gluebi_notify' drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c: In function 'brcmf_p2p_scan_prep': drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:894:31: warning: parameter 'vif' set but not used [-Wunused-but-set-parameter] 894 | struct brcmf_cfg80211_vif *vif) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c: In function 'brcmf_p2p_tx_action_frame': drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1549:6: warning: variable 'timeout' set but not used [-Wunused-but-set-variable] 1549 | s32 timeout = 0; | ^~~~~~~ {standard input}: Assembler messages: {standard input}:7516: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/marvell/libertas/cfg.o] Error 1 {standard input}: Assembler messages: {standard input}:1141: Error: unknown opcode {standard input}:1276: Error: unknown opcode {standard input}: Assembler messages: {standard input}:731: Error: unknown opcode {standard input}:822: Error: unknown opcode {standard input}:885: Error: unknown opcode {standard input}:912: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/w1/w1_int.o] Error 1 {standard input}: Assembler messages: {standard input}:1378: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/w1/w1_family.o] Error 1 {standard input}:3690: Error: unknown opcode {standard input}:4090: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/media/rc/rc-ir-raw.o] Error 1 {standard input}: Assembler messages: {standard input}:11303: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/mtd/ubi] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/mtd/ubi/wl.o] Error 1 make[4]: Target '__build' not remade because of errors. drivers/w1/w1_io.c:396:26: sparse: sparse: cast to restricted __le64 {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c:69: warning: Function parameter or member 'c' not described in 'is_nvram_char' {standard input}:4163: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/mousedev.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/media/v4l2-core] Error 2 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/media/dvb-core] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}:4801: Error: unknown opcode {standard input}:4842: Error: unknown opcode {standard input}:5588: Error: unknown opcode {standard input}:5636: Error: unknown opcode {standard input}: Assembler messages: {standard input}:6541: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/input] Error 2 make[3]: *** [scripts/Makefile.build:281: drivers/input/joydev.o] Error 1 make[3]: Target '__build' not remade because of errors. make[7]: *** [scripts/Makefile.build:281: drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.o] Error 1 drivers/w1/slaves/w1_ds2433.c:50: warning: Function parameter or member 'off' not described in 'w1_f23_fix_count' drivers/w1/slaves/w1_ds2433.c:50: warning: Function parameter or member 'count' not described in 'w1_f23_fix_count' drivers/w1/slaves/w1_ds2433.c:50: warning: Function parameter or member 'size' not described in 'w1_f23_fix_count' drivers/w1/slaves/w1_ds2433.c:153: warning: Function parameter or member 'sl' not described in 'w1_f23_write' drivers/w1/slaves/w1_ds2433.c:153: warning: Function parameter or member 'addr' not described in 'w1_f23_write' drivers/w1/slaves/w1_ds2433.c:153: warning: Function parameter or member 'len' not described in 'w1_f23_write' drivers/w1/slaves/w1_ds2433.c:153: warning: Function parameter or member 'data' not described in 'w1_f23_write' {standard input}: Assembler messages: {standard input}:1581: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/mfd/rave-sp.o] Error 1 {standard input}: Assembler messages: {standard input}:133: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/marvell/libertas/cmdresp.o] Error 1 {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/w1/slaves/w1_ds250x.o] Error 1 {standard input}: Assembler messages: {standard input}:2294: Error: unknown opcode {standard input}:2782: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/media/cec/core/cec-core.o] Error 1 drivers/net/wireless/marvell/libertas/main.c:42:14: sparse: sparse: symbol 'lbs_disablemesh' was not declared. Should it be static? {standard input}: Assembler messages: {standard input}:1514: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/mtd/mtdsuper.o] Error 1 In file included from drivers/net/wireless/marvell/mwifiex/main.c:23: drivers/net/wireless/marvell/mwifiex/wmm.h:41:17: warning: 'tos_to_tid_inv' defined but not used [-Wunused-const-variable=] 41 | static const u8 tos_to_tid_inv[] = { | ^~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:59, from drivers/net/wireless/marvell/mwifiex/main.c:22: drivers/net/wireless/marvell/mwifiex/sdio.h:705:41: warning: 'mwifiex_sdio_sd8801' defined but not used [-Wunused-const-variable=] 705 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8801 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:689:41: warning: 'mwifiex_sdio_sd8987' defined but not used [-Wunused-const-variable=] 689 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8987 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:674:41: warning: 'mwifiex_sdio_sd8887' defined but not used [-Wunused-const-variable=] 674 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8887 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:658:41: warning: 'mwifiex_sdio_sd8997' defined but not used [-Wunused-const-variable=] 658 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8997 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:642:41: warning: 'mwifiex_sdio_sd8977' defined but not used [-Wunused-const-variable=] 642 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8977 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:627:41: warning: 'mwifiex_sdio_sd8897' defined but not used [-Wunused-const-variable=] 627 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:612:41: warning: 'mwifiex_sdio_sd8797' defined but not used [-Wunused-const-variable=] 612 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:597:41: warning: 'mwifiex_sdio_sd8787' defined but not used [-Wunused-const-variable=] 597 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:582:41: warning: 'mwifiex_sdio_sd8786' defined but not used [-Wunused-const-variable=] 582 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = { | ^~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:57, from drivers/net/wireless/marvell/mwifiex/main.c:22: drivers/net/wireless/marvell/mwifiex/pcie.h:310:41: warning: 'mwifiex_pcie8997' defined but not used [-Wunused-const-variable=] 310 | static const struct mwifiex_pcie_device mwifiex_pcie8997 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:300:41: warning: 'mwifiex_pcie8897' defined but not used [-Wunused-const-variable=] 300 | static const struct mwifiex_pcie_device mwifiex_pcie8897 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:292:41: warning: 'mwifiex_pcie8766' defined but not used [-Wunused-const-variable=] 292 | static const struct mwifiex_pcie_device mwifiex_pcie8766 = { | ^~~~~~~~~~~~~~~~ drivers/power/supply/cpcap-battery.c:292: warning: Function parameter or member 'ccd' not described in 'cpcap_battery_read_accumulated' drivers/power/supply/cpcap-battery.c:292: warning: Excess function parameter 'regs' description in 'cpcap_battery_read_accumulated' drivers/mtd/mtdcore.c:1612: warning: Function parameter or member 'section' not described in 'mtd_ooblayout_find_eccregion' drivers/mtd/mtdcore.c:1612: warning: Excess function parameter 'sectionp' description in 'mtd_ooblayout_find_eccregion' {standard input}: Assembler messages: {standard input}:3167: Error: unknown opcode drivers/mtd/mtdchar.c:658:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/mtd/mtdchar.c:658:21: sparse: expected unsigned int const *__gu_addr drivers/mtd/mtdchar.c:658:21: sparse: got unsigned int [noderef] __user * >> drivers/mtd/mtdchar.c:658:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/mtd/mtdchar.c:658:21: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/mtdchar.c:658:21: sparse: got unsigned int const *__gu_addr {standard input}: Assembler messages: {standard input}:131: Error: unknown opcode drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:94: warning: Function parameter or member 'reg50' not described in 'brcmf_btcoex_info' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:94: warning: Function parameter or member 'saved_regs_part2' not described in 'brcmf_btcoex_info' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:233: warning: Function parameter or member 'btci' not described in 'btcmf_btcoex_save_part1' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:253: warning: Function parameter or member 'btci' not described in 'brcmf_btcoex_restore_part1' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:273: warning: Function parameter or member 't' not described in 'brcmf_btcoex_timerfunc' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:453: warning: Function parameter or member 'vif' not described in 'brcmf_btcoex_set_mode' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:453: warning: Function parameter or member 'duration' not described in 'brcmf_btcoex_set_mode' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:453: warning: Excess function parameter 'cfg' description in 'brcmf_btcoex_set_mode' {standard input}:3491: Error: unknown opcode {standard input}:3687: Error: unknown opcode {standard input}:5280: Error: unknown opcode {standard input}:5721: Error: unknown opcode {standard input}:5827: Error: unknown opcode {standard input}:5924: Error: unknown opcode make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/net/phy] Error 2 {standard input}: Assembler messages: {standard input}:669: Error: unknown opcode drivers/mtd/mtdpart.c:300: warning: Function parameter or member 'mtd' not described in '__mtd_del_partition' drivers/mtd/mtdpart.c:300: warning: Excess function parameter 'priv' description in '__mtd_del_partition' make[2]: *** [scripts/Makefile.build:497: drivers/w1] Error 2 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/w1/slaves] Error 2 make[3]: Target '__build' not remade because of errors. make[7]: *** [scripts/Makefile.build:281: drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.o] Error 1 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:496:18: warning: 'brcmf_fws_prio2fifo' defined but not used [-Wunused-const-variable=] 496 | static const int brcmf_fws_prio2fifo[] = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/libertas/main.c: In function 'lbs_start_card': drivers/net/wireless/marvell/libertas/main.c:1068:23: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 1068 | lbs_start_mesh(priv); | ^ {standard input}:8561: Error: unknown opcode {standard input}:8864: Error: unknown opcode {standard input}:8937: Error: unknown opcode {standard input}:9046: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/marvell/mwifiex/main.o] Error 1 make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/marvell/libertas/cmd.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/mfd] Error 2 {standard input}: Assembler messages: {standard input}:3727: Error: unknown opcode {standard input}:4767: Error: unknown opcode {standard input}:5048: Error: unknown opcode {standard input}:7306: Error: unknown opcode {standard input}: Assembler messages: {standard input}:7923: Error: unknown opcode make[6]: *** [scripts/Makefile.build:280: drivers/net/wireless/marvell/libertas/main.o] Error 1 {standard input}: Assembler messages: {standard input}:1252: Error: unknown opcode {standard input}:1694: Error: unknown opcode {standard input}:1725: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/mtd/mtd_blkdevs.o] Error 1 drivers/mtd/rfd_ftl.c:100:13: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:110:25: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:295:29: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned short [usertype] magic @@ got restricted __le16 [usertype] @@ drivers/mtd/rfd_ftl.c:295:29: sparse: expected unsigned short [usertype] magic drivers/mtd/rfd_ftl.c:295:29: sparse: got restricted __le16 [usertype] drivers/mtd/rfd_ftl.c:354:29: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:553:19: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned short [usertype] del @@ got restricted __le16 [usertype] @@ drivers/mtd/rfd_ftl.c:553:19: sparse: expected unsigned short [usertype] del drivers/mtd/rfd_ftl.c:553:19: sparse: got restricted __le16 [usertype] drivers/mtd/rfd_ftl.c:592:21: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:647:15: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] entry @@ got restricted __le16 [usertype] @@ drivers/mtd/rfd_ftl.c:647:15: sparse: expected unsigned short [usertype] entry drivers/mtd/rfd_ftl.c:647:15: sparse: got restricted __le16 [usertype] {standard input}: Assembler messages: {standard input}:139: Error: unknown opcode {standard input}: Assembler messages: {standard input}:444: Error: unknown opcode {standard input}:534: Error: unknown opcode make[6]: *** [scripts/Makefile.build:280: drivers/net/wireless/marvell/libertas/tx.o] Error 1 {standard input}:9374: Error: unknown opcode {standard input}:11272: Error: unknown opcode {standard input}: Assembler messages: {standard input}:959: Error: unknown opcode {standard input}:1008: Error: unknown opcode {standard input}:2026: Error: unknown opcode {standard input}:2264: Error: unknown opcode {standard input}:2354: Error: unknown opcode drivers/hwmon/ad7314.c:52:16: sparse: sparse: cast to restricted __be16 drivers/hwmon/ad7314.c:52:16: sparse: sparse: cast to restricted __be16 drivers/hwmon/ad7314.c:52:16: sparse: sparse: cast to restricted __be16 drivers/hwmon/ad7314.c:52:16: sparse: sparse: cast to restricted __be16 make[3]: *** [scripts/Makefile.build:281: drivers/net/loopback.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/media/rc] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}:8015: Error: unknown opcode {standard input}:13989: Error: unknown opcode {standard input}:8810: Error: unknown opcode drivers/net/wireless/marvell/libertas/firmware.c:134: warning: Function parameter or member 'device' not described in 'lbs_get_firmware_async' drivers/net/wireless/marvell/libertas/firmware.c:134: warning: Excess function parameter 'dev' description in 'lbs_get_firmware_async' make[3]: *** [scripts/Makefile.build:281: drivers/thermal/thermal_core.o] Error 1 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:383: warning: Function parameter or member 'name' not described in 'brcmf_fws_mac_descriptor' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:383: warning: Function parameter or member 'requested_packet' not described in 'brcmf_fws_mac_descriptor' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:383: warning: Function parameter or member 'suppr_transit_count' not described in 'brcmf_fws_mac_descriptor' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:383: warning: Function parameter or member 'send_tim_signal' not described in 'brcmf_fws_mac_descriptor' -- | ^~~~~~~~~~~~~~~~ drivers/leds/led-class.c:516: warning: Function parameter or member 'dev' not described in 'devm_led_classdev_unregister' drivers/leds/led-class.c:516: warning: Excess function parameter 'parent' description in 'devm_led_classdev_unregister' In file included from drivers/net/wireless/marvell/mwifiex/main.h:59, from drivers/net/wireless/marvell/mwifiex/sta_rx.c:26: drivers/net/wireless/marvell/mwifiex/sdio.h:705:41: warning: 'mwifiex_sdio_sd8801' defined but not used [-Wunused-const-variable=] 705 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8801 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:689:41: warning: 'mwifiex_sdio_sd8987' defined but not used [-Wunused-const-variable=] 689 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8987 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:674:41: warning: 'mwifiex_sdio_sd8887' defined but not used [-Wunused-const-variable=] 674 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8887 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:658:41: warning: 'mwifiex_sdio_sd8997' defined but not used [-Wunused-const-variable=] 658 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8997 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:642:41: warning: 'mwifiex_sdio_sd8977' defined but not used [-Wunused-const-variable=] 642 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8977 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:627:41: warning: 'mwifiex_sdio_sd8897' defined but not used [-Wunused-const-variable=] 627 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:612:41: warning: 'mwifiex_sdio_sd8797' defined but not used [-Wunused-const-variable=] 612 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:597:41: warning: 'mwifiex_sdio_sd8787' defined but not used [-Wunused-const-variable=] 597 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:582:41: warning: 'mwifiex_sdio_sd8786' defined but not used [-Wunused-const-variable=] 582 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = { | ^~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:57, from drivers/net/wireless/marvell/mwifiex/sta_rx.c:26: drivers/net/wireless/marvell/mwifiex/pcie.h:310:41: warning: 'mwifiex_pcie8997' defined but not used [-Wunused-const-variable=] 310 | static const struct mwifiex_pcie_device mwifiex_pcie8997 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:300:41: warning: 'mwifiex_pcie8897' defined but not used [-Wunused-const-variable=] 300 | static const struct mwifiex_pcie_device mwifiex_pcie8897 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:292:41: warning: 'mwifiex_pcie8766' defined but not used [-Wunused-const-variable=] 292 | static const struct mwifiex_pcie_device mwifiex_pcie8766 = { | ^~~~~~~~~~~~~~~~ make[3]: *** [scripts/Makefile.build:497: drivers/crypto/ccree] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/crypto] Error 2 drivers/of/of_net.c:104: warning: Function parameter or member 'np' not described in 'of_get_mac_address' In file included from drivers/net/wireless/marvell/mwifiex/main.h:59, from drivers/net/wireless/marvell/mwifiex/ethtool.c:20: drivers/net/wireless/marvell/mwifiex/sdio.h:705:41: warning: 'mwifiex_sdio_sd8801' defined but not used [-Wunused-const-variable=] 705 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8801 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:689:41: warning: 'mwifiex_sdio_sd8987' defined but not used [-Wunused-const-variable=] 689 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8987 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:674:41: warning: 'mwifiex_sdio_sd8887' defined but not used [-Wunused-const-variable=] 674 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8887 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:658:41: warning: 'mwifiex_sdio_sd8997' defined but not used [-Wunused-const-variable=] 658 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8997 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:642:41: warning: 'mwifiex_sdio_sd8977' defined but not used [-Wunused-const-variable=] 642 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8977 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:627:41: warning: 'mwifiex_sdio_sd8897' defined but not used [-Wunused-const-variable=] 627 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:612:41: warning: 'mwifiex_sdio_sd8797' defined but not used [-Wunused-const-variable=] 612 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:597:41: warning: 'mwifiex_sdio_sd8787' defined but not used [-Wunused-const-variable=] 597 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:582:41: warning: 'mwifiex_sdio_sd8786' defined but not used [-Wunused-const-variable=] 582 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = { | ^~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:57, from drivers/net/wireless/marvell/mwifiex/ethtool.c:20: drivers/net/wireless/marvell/mwifiex/pcie.h:310:41: warning: 'mwifiex_pcie8997' defined but not used [-Wunused-const-variable=] 310 | static const struct mwifiex_pcie_device mwifiex_pcie8997 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:300:41: warning: 'mwifiex_pcie8897' defined but not used [-Wunused-const-variable=] 300 | static const struct mwifiex_pcie_device mwifiex_pcie8897 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:292:41: warning: 'mwifiex_pcie8766' defined but not used [-Wunused-const-variable=] 292 | static const struct mwifiex_pcie_device mwifiex_pcie8766 = { | ^~~~~~~~~~~~~~~~ drivers/of/of_reserved_mem.c:53: warning: Function parameter or member 'node' not described in 'fdt_reserved_mem_save_node' drivers/of/of_reserved_mem.c:53: warning: Function parameter or member 'uname' not described in 'fdt_reserved_mem_save_node' drivers/of/of_reserved_mem.c:53: warning: Function parameter or member 'base' not described in 'fdt_reserved_mem_save_node' drivers/of/of_reserved_mem.c:53: warning: Function parameter or member 'size' not described in 'fdt_reserved_mem_save_node' drivers/of/of_reserved_mem.c:76: warning: Function parameter or member 'node' not described in '__reserved_mem_alloc_size' drivers/of/of_reserved_mem.c:76: warning: Function parameter or member 'uname' not described in '__reserved_mem_alloc_size' drivers/of/of_reserved_mem.c:76: warning: Function parameter or member 'res_base' not described in '__reserved_mem_alloc_size' drivers/of/of_reserved_mem.c:76: warning: Function parameter or member 'res_size' not described in '__reserved_mem_alloc_size' drivers/of/of_reserved_mem.c:171: warning: Function parameter or member 'rmem' not described in '__reserved_mem_init_node' drivers/vhost/vringh.c:567:18: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __virtio16 const *__gu_addr @@ got restricted __virtio16 [noderef] [usertype] __user * @@ drivers/vhost/vringh.c:567:18: sparse: expected restricted __virtio16 const *__gu_addr drivers/vhost/vringh.c:567:18: sparse: got restricted __virtio16 [noderef] [usertype] __user * >> drivers/vhost/vringh.c:567:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got restricted __virtio16 const *__gu_addr @@ >> drivers/vhost/vringh.c:567:18: sparse: expected void const volatile [noderef] __user *ptr drivers/vhost/vringh.c:567:18: sparse: got restricted __virtio16 const *__gu_addr In file included from drivers/net/wireless/marvell/mwifiex/main.h:59, from drivers/net/wireless/marvell/mwifiex/11h.c:20: drivers/net/wireless/marvell/mwifiex/sdio.h:705:41: warning: 'mwifiex_sdio_sd8801' defined but not used [-Wunused-const-variable=] 705 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8801 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:689:41: warning: 'mwifiex_sdio_sd8987' defined but not used [-Wunused-const-variable=] 689 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8987 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:674:41: warning: 'mwifiex_sdio_sd8887' defined but not used [-Wunused-const-variable=] 674 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8887 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:658:41: warning: 'mwifiex_sdio_sd8997' defined but not used [-Wunused-const-variable=] 658 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8997 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:642:41: warning: 'mwifiex_sdio_sd8977' defined but not used [-Wunused-const-variable=] 642 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8977 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:627:41: warning: 'mwifiex_sdio_sd8897' defined but not used [-Wunused-const-variable=] 627 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:612:41: warning: 'mwifiex_sdio_sd8797' defined but not used [-Wunused-const-variable=] 612 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:597:41: warning: 'mwifiex_sdio_sd8787' defined but not used [-Wunused-const-variable=] 597 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:582:41: warning: 'mwifiex_sdio_sd8786' defined but not used [-Wunused-const-variable=] 582 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = { | ^~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:57, from drivers/net/wireless/marvell/mwifiex/11h.c:20: drivers/net/wireless/marvell/mwifiex/pcie.h:310:41: warning: 'mwifiex_pcie8997' defined but not used [-Wunused-const-variable=] 310 | static const struct mwifiex_pcie_device mwifiex_pcie8997 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:300:41: warning: 'mwifiex_pcie8897' defined but not used [-Wunused-const-variable=] 300 | static const struct mwifiex_pcie_device mwifiex_pcie8897 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:292:41: warning: 'mwifiex_pcie8766' defined but not used [-Wunused-const-variable=] 292 | static const struct mwifiex_pcie_device mwifiex_pcie8766 = { | ^~~~~~~~~~~~~~~~ drivers/leds/leds-bcm6328.c:103: warning: Function parameter or member 'pin' not described in 'bcm6328_pin2shift' drivers/leds/leds-is31fl32xx.c:85: warning: Function parameter or member 'sw_shutdown_func' not described in 'is31fl32xx_chipdef' {standard input}: Assembler messages: {standard input}:2987: Error: unknown opcode {standard input}:3885: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/of] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/of/overlay.o] Error 1 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}: Error: unaligned opcodes detected in executable segment make[4]: *** [scripts/Makefile.build:281: drivers/mmc/core/sd.o] Error 1 In file included from drivers/net/wireless/marvell/mwifiex/tdls.c:20: drivers/net/wireless/marvell/mwifiex/wmm.h:34:18: warning: 'mwifiex_1d_to_wmm_queue' defined but not used [-Wunused-const-variable=] 34 | static const u16 mwifiex_1d_to_wmm_queue[8] = { 1, 0, 0, 1, 2, 2, 3, 3 }; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:59, from drivers/net/wireless/marvell/mwifiex/tdls.c:19: drivers/net/wireless/marvell/mwifiex/sdio.h:705:41: warning: 'mwifiex_sdio_sd8801' defined but not used [-Wunused-const-variable=] 705 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8801 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:689:41: warning: 'mwifiex_sdio_sd8987' defined but not used [-Wunused-const-variable=] 689 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8987 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:674:41: warning: 'mwifiex_sdio_sd8887' defined but not used [-Wunused-const-variable=] 674 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8887 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:658:41: warning: 'mwifiex_sdio_sd8997' defined but not used [-Wunused-const-variable=] 658 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8997 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:642:41: warning: 'mwifiex_sdio_sd8977' defined but not used [-Wunused-const-variable=] 642 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8977 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:627:41: warning: 'mwifiex_sdio_sd8897' defined but not used [-Wunused-const-variable=] 627 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:612:41: warning: 'mwifiex_sdio_sd8797' defined but not used [-Wunused-const-variable=] 612 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:597:41: warning: 'mwifiex_sdio_sd8787' defined but not used [-Wunused-const-variable=] 597 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:582:41: warning: 'mwifiex_sdio_sd8786' defined but not used [-Wunused-const-variable=] 582 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = { | ^~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:57, from drivers/net/wireless/marvell/mwifiex/tdls.c:19: drivers/net/wireless/marvell/mwifiex/pcie.h:310:41: warning: 'mwifiex_pcie8997' defined but not used [-Wunused-const-variable=] 310 | static const struct mwifiex_pcie_device mwifiex_pcie8997 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:300:41: warning: 'mwifiex_pcie8897' defined but not used [-Wunused-const-variable=] 300 | static const struct mwifiex_pcie_device mwifiex_pcie8897 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:292:41: warning: 'mwifiex_pcie8766' defined but not used [-Wunused-const-variable=] 292 | static const struct mwifiex_pcie_device mwifiex_pcie8766 = { | ^~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/11n.h:25, from drivers/net/wireless/marvell/mwifiex/debugfs.c:23: drivers/net/wireless/marvell/mwifiex/wmm.h:41:17: warning: 'tos_to_tid_inv' defined but not used [-Wunused-const-variable=] 41 | static const u8 tos_to_tid_inv[] = { -- 105 | static const struct mmc_fixup mmc_ext_csd_fixups[] = { | ^~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:139: Error: unknown opcode {standard input}:734: Error: unknown opcode drivers/fsi/fsi-core.c:389:12: sparse: sparse: function 'fsi_slave_claim_range' with external linkage has definition drivers/fsi/fsi-core.c:403:13: sparse: sparse: function 'fsi_slave_release_range' with external linkage has definition drivers/mmc/core/regulator.c:178: warning: Function parameter or member 'mmc' not described in 'mmc_regulator_set_vqmmc' drivers/mmc/core/regulator.c:178: warning: Function parameter or member 'ios' not described in 'mmc_regulator_set_vqmmc' make[3]: *** [scripts/Makefile.build:280: drivers/soundwire/bus.o] Error 1 {standard input}: Assembler messages: {standard input}:5851: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/extcon/extcon.o] Error 1 drivers/nvmem/rave-sp-eeprom.c:48: warning: bad line: drivers/mmc/core/queue.c:212: warning: Function parameter or member 'mq' not described in '__mmc_init_request' drivers/mmc/core/queue.c:212: warning: Excess function parameter 'q' description in '__mmc_init_request' drivers/mcb/mcb-core.c:269: warning: Function parameter or member 'carrier' not described in 'mcb_alloc_bus' drivers/mcb/mcb-core.c:466: warning: Function parameter or member 'mem' not described in 'mcb_release_mem' drivers/mcb/mcb-core.c:466: warning: Excess function parameter 'dev' description in 'mcb_release_mem' {standard input}: Assembler messages: {standard input}:2284: Error: unknown opcode {standard input}:3618: Error: unknown opcode drivers/mcb/mcb-parse.c:54:14: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] reg1 @@ got unsigned int [usertype] r_ @@ drivers/mcb/mcb-parse.c:54:14: sparse: expected restricted __le32 [usertype] reg1 drivers/mcb/mcb-parse.c:54:14: sparse: got unsigned int [usertype] r_ drivers/mcb/mcb-parse.c:55:14: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] reg2 @@ got unsigned int [usertype] r_ @@ drivers/mcb/mcb-parse.c:55:14: sparse: expected restricted __le32 [usertype] reg2 drivers/mcb/mcb-parse.c:55:14: sparse: got unsigned int [usertype] r_ drivers/mcb/mcb-parse.c:59:20: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:60:21: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:61:21: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:62:21: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:63:23: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:64:22: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:93:27: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:94:25: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:150:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] reg @@ got unsigned int [usertype] r_ @@ drivers/mcb/mcb-parse.c:150:21: sparse: expected restricted __le32 [usertype] reg drivers/mcb/mcb-parse.c:150:21: sparse: got unsigned int [usertype] r_ drivers/mcb/mcb-parse.c:152:29: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:198:25: sparse: sparse: cast to restricted __le16 make[2]: *** [scripts/Makefile.build:497: drivers/ipack] Error 2 make[3]: *** [scripts/Makefile.build:497: drivers/ipack/devices] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:281: drivers/ipack/devices/ipoctal.o] Error 1 make[4]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}:2517: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/hwtracing/intel_th/gth.o] Error 1 drivers/extcon/extcon-adc-jack.c:53: warning: Function parameter or member 'dev' not described in 'adc_jack_data' drivers/extcon/extcon-adc-jack.c:53: warning: Function parameter or member 'wakeup_source' not described in 'adc_jack_data' {standard input}: Assembler messages: {standard input}:2947: Error: unknown opcode {standard input}:5905: Error: unknown opcode {standard input}:6153: Error: unknown opcode drivers/hwtracing/intel_th/core.c:849: warning: Function parameter or member 'drvdata' not described in 'intel_th_alloc' drivers/hwtracing/intel_th/core.c:849: warning: Function parameter or member 'ndevres' not described in 'intel_th_alloc' drivers/hwtracing/intel_th/core.c:849: warning: Excess function parameter 'irq' description in 'intel_th_alloc' make[4]: *** [scripts/Makefile.build:280: drivers/mmc/core/sdio_uart.o] Error 1 make[2]: *** [scripts/Makefile.build:497: drivers/hwtracing/intel_th] Error 2 make[3]: Target '__build' not remade because of errors. make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/ras] Error 2 make[2]: *** [scripts/Makefile.build:497: drivers/soundwire] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:6109: Error: unknown opcode {standard input}:6140: Error: unknown opcode {standard input}: Assembler messages: {standard input}:8330: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/hwtracing/stm/core.o] Error 1 {standard input}:6792: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/nvmem] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/nvmem/core.o] Error 1 make[3]: Target '__build' not remade because of errors. drivers/iio/accel/bmc150-accel-i2c.c:51:36: warning: 'bmc150_accel_acpi_match' defined but not used [-Wunused-const-variable=] 51 | static const struct acpi_device_id bmc150_accel_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:497: drivers/mmc] Error 2 make[3]: *** [scripts/Makefile.build:497: drivers/mmc/core] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: Target '__build' not remade because of errors. drivers/iio/accel/bmc150-accel-core.c:218:3: warning: 'bmc150_accel_sample_upd_time' defined but not used [-Wunused-const-variable=] 218 | } bmc150_accel_sample_upd_time[] = { {0x08, 64}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/iio/accel/bma220_spi.c:312:36: warning: 'bma220_acpi_id' defined but not used [-Wunused-const-variable=] 312 | static const struct acpi_device_id bma220_acpi_id[] = { | ^~~~~~~~~~~~~~ drivers/iio/accel/bmc150-accel-spi.c:36:36: warning: 'bmc150_accel_acpi_match' defined but not used [-Wunused-const-variable=] 36 | static const struct acpi_device_id bmc150_accel_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:5478: Error: unknown opcode {standard input}:5509: Error: unknown opcode {standard input}:6192: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/greybus/connection.o] Error 1 drivers/fsi/fsi-scom.c:497:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/fsi/fsi-scom.c:497:13: sparse: expected unsigned int const *__gu_addr drivers/fsi/fsi-scom.c:497:13: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/fsi/fsi-scom.c:497:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/fsi/fsi-scom.c:497:13: sparse: expected void const volatile [noderef] __user *ptr drivers/fsi/fsi-scom.c:497:13: sparse: got unsigned int const *__gu_addr drivers/hwtracing/stm/ftrace.c:38: warning: Function parameter or member 'export' not described in 'stm_ftrace_write' make[2]: *** [scripts/Makefile.build:497: drivers/extcon] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:1280: Error: unknown opcode {standard input}: Assembler messages: {standard input}:5218: Error: unknown opcode {standard input}:5378: Error: unknown opcode {standard input}:3093: Error: unknown opcode {standard input}:3124: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/iio/accel/bmc150-accel-core.o] Error 1 drivers/iio/accel/mma9551.c:596:36: warning: 'mma9551_acpi_match' defined but not used [-Wunused-const-variable=] 596 | static const struct acpi_device_id mma9551_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~ drivers/iio/accel/mxc4005.c:475:36: warning: 'mxc4005_acpi_match' defined but not used [-Wunused-const-variable=] 475 | static const struct acpi_device_id mxc4005_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~ drivers/iio/adc/ad7923.c:159: warning: Function parameter or member 'indio_dev' not described in 'ad7923_update_scan_mode' drivers/iio/adc/ad7923.c:159: warning: Function parameter or member 'active_scan_mask' not described in 'ad7923_update_scan_mode' drivers/iio/adc/ad7923.c:202: warning: Function parameter or member 'irq' not described in 'ad7923_trigger_handler' drivers/iio/adc/ad7923.c:202: warning: Function parameter or member 'p' not described in 'ad7923_trigger_handler' drivers/iio/accel/kxcjk-1013.c:1505:36: warning: 'kx_acpi_match' defined but not used [-Wunused-const-variable=] 1505 | static const struct acpi_device_id kx_acpi_match[] = { | ^~~~~~~~~~~~~ drivers/iio/accel/kxcjk-1013.c:208:3: warning: 'odr_start_up_times' defined but not used [-Wunused-const-variable=] 208 | } odr_start_up_times[KX_MAX_CHIPS][12] = { | ^~~~~~~~~~~~~~~~~~ {standard input}:8004: Error: unknown opcode {standard input}:8739: Error: unknown opcode {standard input}:8873: Error: unknown opcode {standard input}:10708: Error: unknown opcode {standard input}:10842: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/greybus] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/greybus/operation.o] Error 1 make[3]: Target '__build' not remade because of errors. make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/hwtracing/stm] Error 2 drivers/iio/accel/mxc6255.c:169:36: warning: 'mxc6255_acpi_match' defined but not used [-Wunused-const-variable=] 169 | static const struct acpi_device_id mxc6255_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:5133: Error: unknown opcode drivers/iio/accel/stk8312.c:647:36: warning: 'stk8312_acpi_id' defined but not used [-Wunused-const-variable=] 647 | static const struct acpi_device_id stk8312_acpi_id[] = { | ^~~~~~~~~~~~~~~ {standard input}:7235: Error: unknown opcode {standard input}:7423: Error: unknown opcode {standard input}:7501: Error: unknown opcode {standard input}:8109: Error: unknown opcode {standard input}: Assembler messages: {standard input}:857: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/iio/buffer/industrialio-buffer-cb.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/most/core.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/most] Error 2 drivers/iio/chemical/bme680_i2c.c:46:36: warning: 'bme680_acpi_match' defined but not used [-Wunused-const-variable=] 46 | static const struct acpi_device_id bme680_acpi_match[] = { | ^~~~~~~~~~~~~~~~~ drivers/iio/chemical/bme680_spi.c:149:36: warning: 'bme680_acpi_match' defined but not used [-Wunused-const-variable=] 149 | static const struct acpi_device_id bme680_acpi_match[] = { | ^~~~~~~~~~~~~~~~~ make[3]: *** [scripts/Makefile.build:497: drivers/iio/buffer] Error 2 make[4]: Target '__build' not remade because of errors. drivers/iio/adc/mcp320x.c:96: warning: Function parameter or member '____cacheline_aligned' not described in 'mcp320x' drivers/iio/chemical/sgp30.c:236: warning: Function parameter or member 'duration_us' not described in 'sgp_read_cmd' drivers/iio/common/ms_sensors/ms_sensors_i2c.c:186: warning: Function parameter or member 'client' not described in 'ms_sensors_read_serial' drivers/iio/common/ms_sensors/ms_sensors_i2c.c:186: warning: Excess function parameter 'cli' description in 'ms_sensors_read_serial' make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/iio/accel] Error 2 drivers/iio/adc/ad7949.c:58: warning: Function parameter or member 'indio_dev' not described in 'ad7949_adc_chip' drivers/iio/adc/ad7949.c:58: warning: Function parameter or member '____cacheline_aligned' not described in 'ad7949_adc_chip' drivers/iio/adc/ti_am335x_adc.c: In function 'tiadc_buffer_preenable': drivers/iio/adc/ti_am335x_adc.c:297:21: warning: variable 'read' set but not used [-Wunused-but-set-variable] 297 | int i, fifo1count, read; | ^~~~ drivers/iio/adc/ti_am335x_adc.c: In function 'tiadc_buffer_predisable': drivers/iio/adc/ti_am335x_adc.c:346:21: warning: variable 'read' set but not used [-Wunused-but-set-variable] 346 | int fifo1count, i, read; | ^~~~ {standard input}: Assembler messages: {standard input}:1878: Error: unknown opcode {standard input}:3445: Error: unknown opcode make[5]: *** [scripts/Makefile.build:280: drivers/iio/common/ssp_sensors/ssp_dev.o] Error 1 make[5]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/iio/common/ssp_sensors] Error 2 drivers/iio/dac/ad5380.c:64: warning: Function parameter or member 'lock' not described in 'ad5380_state' drivers/iio/adc/max1363.c:190: warning: Function parameter or member 'lock' not described in 'max1363_state' drivers/iio/adc/twl4030-madc.c: In function 'twl4030_madc_threaded_irq_handler': drivers/iio/adc/twl4030-madc.c:475:9: warning: variable 'len' set but not used [-Wunused-but-set-variable] 475 | int i, len, ret; | ^~~ drivers/iio/adc/twl4030-madc.c: In function 'twl4030_madc_conversion': drivers/iio/adc/twl4030-madc.c:619:18: warning: comparison is always false due to limited range of data type [-Wtype-limits] 619 | if (req->method < TWL4030_MADC_RT || req->method > TWL4030_MADC_SW2) { | ^ drivers/iio/gyro/adis16080.c:49: warning: Function parameter or member 'lock' not described in 'adis16080_state' drivers/iio/gyro/adis16080.c:49: warning: Function parameter or member '____cacheline_aligned' not described in 'adis16080_state' {standard input}: Assembler messages: {standard input}:3427: Error: unknown opcode -- drivers/gpio/gpio-cadence.c:178:12: note: in expansion of macro 'GENMASK' 178 | iowrite32(GENMASK(num_gpios - 1, 0), | ^~~~~~~ include/linux/bits.h:27:7: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 27 | (l) > (h), 0))) | ^ include/linux/build_bug.h:16:62: note: in definition of macro 'BUILD_BUG_ON_ZERO' 16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) | ^ include/linux/bits.h:40:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' 40 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^~~~~~~~~~~~~~~~~~~ drivers/gpio/gpio-cadence.c:251:12: note: in expansion of macro 'GENMASK' 251 | iowrite32(GENMASK(num_gpios - 1, 0), | ^~~~~~~ {standard input}: Assembler messages: {standard input}:290: Error: unknown opcode {standard input}:11573: Error: unknown opcode {standard input}:11920: Error: unknown opcode drivers/gpio/gpio-altera.c:34: warning: Function parameter or member 'irq_chip' not described in 'altera_gpio_chip' drivers/gpio/gpio-altera.c:78: warning: Function parameter or member 'd' not described in 'altera_gpio_irq_set_type' drivers/gpio/gpio-altera.c:78: warning: Function parameter or member 'type' not described in 'altera_gpio_irq_set_type' {standard input}:9475: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/bus/mhi/core/pm.o] Error 1 {standard input}:2423: Error: unknown opcode drivers/video/backlight/lcd.c:191: warning: Function parameter or member 'parent' not described in 'lcd_device_register' {standard input}: Assembler messages: {standard input}:229: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/bus/mhi/core/boot.o] Error 1 drivers/regulator/internal.h:43:42: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:1627:56: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:1629:56: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:455:17: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:455:25: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:469:47: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:3347:65: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:3823:47: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:3965:65: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:5527:54: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:5528:54: sparse: sparse: restricted suspend_state_t degrades to integer {standard input}: Assembler messages: {standard input}:434: Error: unknown opcode {standard input}:509: Error: unknown opcode {standard input}:613: Error: unknown opcode {standard input}: Assembler messages: {standard input}:5233: Error: unknown opcode {standard input}: Assembler messages: {standard input}:4553: Error: unknown opcode {standard input}: Assembler messages: {standard input}:236: Error: unknown opcode {standard input}:295: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/bus/mhi/core/init.o] Error 1 {standard input}:3362: Error: unknown opcode {standard input}: Assembler messages: {standard input}:3018: Error: unknown opcode {standard input}:4538: Error: unknown opcode {standard input}:4659: Error: unknown opcode {standard input}:5501: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/bus/moxtet.o] Error 1 {standard input}:3484: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/char/ipmi/ipmi_si_intf.o] Error 1 {standard input}:4920: Error: unknown opcode {standard input}:5376: Error: unknown opcode {standard input}:5736: Error: unknown opcode {standard input}:5700: Error: unknown opcode {standard input}:6533: Error: unknown opcode {standard input}:7131: Error: unknown opcode {standard input}:7162: Error: unknown opcode {standard input}:7751: Error: unknown opcode {standard input}:6527: Error: unknown opcode {standard input}:9334: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/bus/mhi/core/main.o] Error 1 make[5]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/bus] Error 2 make[3]: *** [scripts/Makefile.build:497: drivers/bus/mhi] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/bus/mhi/core] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}:8576: Error: unknown opcode {standard input}:8731: Error: unknown opcode {standard input}:9915: Error: unknown opcode drivers/video/backlight/ili922x.c:116: warning: Function parameter or member 's' not described in 'CHECK_FREQ_REG' drivers/video/backlight/ili922x.c:116: warning: Function parameter or member 'x' not described in 'CHECK_FREQ_REG' drivers/video/backlight/ili922x.c:127: warning: cannot understand function prototype: 'int ili922x_id = 1; ' drivers/video/backlight/ili922x.c:136: warning: cannot understand function prototype: 'struct ili922x ' drivers/video/backlight/ili922x.c:298: warning: Function parameter or member 'spi' not described in 'ili922x_reg_dump' make[3]: *** [scripts/Makefile.build:280: drivers/virtio/virtio_ring.o] Error 1 make[2]: *** [scripts/Makefile.build:497: drivers/virtio] Error 2 make[3]: Target '__build' not remade because of errors. drivers/regulator/internal.h:43:42: sparse: sparse: restricted suspend_state_t degrades to integer {standard input}:10775: Error: unknown opcode drivers/phy/phy-core.c:1078: warning: Function parameter or member 'children' not described in '__devm_of_phy_provider_register' drivers/phy/phy-core.c:1125: warning: Function parameter or member 'phy_provider' not described in 'devm_of_phy_provider_unregister' make[3]: *** [scripts/Makefile.build:281: drivers/gpio/gpiolib.o] Error 1 {standard input}: Assembler messages: {standard input}:8767: Error: unknown opcode {standard input}:11789: Error: unknown opcode drivers/tty/vt/vt_ioctl.c:1004:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] __user * @@ drivers/tty/vt/vt_ioctl.c:1004:21: sparse: expected unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1004:21: sparse: got unsigned short [noderef] __user * >> drivers/tty/vt/vt_ioctl.c:1004:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ >> drivers/tty/vt/vt_ioctl.c:1004:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt_ioctl.c:1004:21: sparse: got unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] __user * @@ drivers/tty/vt/vt_ioctl.c:1005:21: sparse: expected unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: got unsigned short [noderef] __user * drivers/tty/vt/vt_ioctl.c:1005:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ drivers/tty/vt/vt_ioctl.c:1005:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: got unsigned short const *__gu_addr {standard input}:19062: Error: unknown opcode {standard input}:24388: Error: unknown opcode drivers/video/of_videomode.c:32: warning: Function parameter or member 'np' not described in 'of_get_videomode' drivers/video/of_videomode.c:32: warning: Function parameter or member 'vm' not described in 'of_get_videomode' drivers/video/of_videomode.c:32: warning: Function parameter or member 'index' not described in 'of_get_videomode' drivers/tty/serial/8250/8250_core.c: In function 'serial8250_isa_init_ports': drivers/tty/serial/8250/8250_core.c:537:9: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 537 | i < ARRAY_SIZE(old_serial_port) && i < nr_uarts; | ^ drivers/clk/clk-si5341.c: In function 'si5341_output_get_parent': drivers/clk/clk-si5341.c:886:6: warning: variable 'err' set but not used [-Wunused-but-set-variable] 886 | int err; | ^~~ {standard input}: Assembler messages: {standard input}:15972: Error: unknown opcode {standard input}:16003: Error: unknown opcode {standard input}:30099: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/regulator/core.o] Error 1 {standard input}: Assembler messages: {standard input}:1404: Error: unknown opcode {standard input}:1435: Error: unknown opcode {standard input}:2854: Error: unknown opcode {standard input}:5067: Error: unknown opcode {standard input}:5165: Error: unknown opcode {standard input}:5942: Error: unknown opcode {standard input}:6548: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/reset/core.o] Error 1 drivers/video/of_display_timing.c:58: warning: Function parameter or member 'dt' not described in 'of_parse_display_timing' drivers/regulator/internal.h:43:42: sparse: sparse: restricted suspend_state_t degrades to integer {standard input}:23655: Error: unknown opcode {standard input}:24012: Error: unknown opcode drivers/video/backlight/lms501kf03.c:96:28: warning: 'seq_sleep_in' defined but not used [-Wunused-const-variable=] 96 | static const unsigned char seq_sleep_in[] = { | ^~~~~~~~~~~~ drivers/video/backlight/lms501kf03.c:92:28: warning: 'seq_up_dn' defined but not used [-Wunused-const-variable=] 92 | static const unsigned char seq_up_dn[] = { | ^~~~~~~~~ {standard input}: Assembler messages: {standard input}:2439: Error: unknown opcode {standard input}:27408: Error: unknown opcode {standard input}:27496: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/vt_ioctl.o] Error 1 {standard input}:29012: Error: unknown opcode {standard input}: Assembler messages: {standard input}:7334: Error: unknown opcode {standard input}:7365: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_msghandler.o] Error 1 drivers/tty/serial/8250/8250_port.c:1884:5: sparse: sparse: context imbalance in 'serial8250_handle_irq' - different lock contexts for basic block drivers/tty/serial/8250/8250_port.c:3295:9: sparse: sparse: context imbalance in 'serial8250_console_write' - different lock contexts for basic block drivers/video/fbdev/core/fb_notify.c:44: warning: Function parameter or member 'val' not described in 'fb_notifier_call_chain' drivers/video/fbdev/core/fb_notify.c:44: warning: Function parameter or member 'v' not described in 'fb_notifier_call_chain' {standard input}:11646: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/pinctrl/core.o] Error 1 {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}:133: Error: unknown opcode {standard input}:4994: Error: unknown opcode {standard input}:5079: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/gpio/gpio-pca953x.o] Error 1 {standard input}: Assembler messages: {standard input}:1007: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/char/ipmi/ipmi_si_hotmod.o] Error 1 drivers/tty/serial/8250/8250_dw.c:631:36: warning: 'dw8250_acpi_match' defined but not used [-Wunused-const-variable=] 631 | static const struct acpi_device_id dw8250_acpi_match[] = { | ^~~~~~~~~~~~~~~~~ drivers/gpio/gpio-tqmx86.c:262:37: sparse: sparse: cast truncates bits from constant value (ffffff0f becomes f) drivers/pinctrl/pinmux.c:83: warning: Function parameter or member 'pctldev' not described in 'pinmux_can_be_used_for_gpio' drivers/pinctrl/pinmux.c:108: warning: Function parameter or member 'pctldev' not described in 'pin_request' drivers/pinctrl/pinmux.c:261: warning: Function parameter or member 'gpio' not described in 'pinmux_request_gpio' drivers/pinctrl/pinmux.c:751: warning: Function parameter or member 'selector' not described in 'pinmux_generic_get_function' drivers/pinctrl/pinmux.c:751: warning: Excess function parameter 'group_selector' description in 'pinmux_generic_get_function' drivers/pinctrl/devicetree.c:27: warning: Function parameter or member 'map' not described in 'pinctrl_dt_map' drivers/pinctrl/devicetree.c:27: warning: Function parameter or member 'num_maps' not described in 'pinctrl_dt_map' drivers/pinctrl/devicetree.c:409: warning: Function parameter or member 'out_args' not described in 'pinctrl_parse_index_with_args' drivers/pinctrl/devicetree.c:409: warning: Excess function parameter 'out_arts' description in 'pinctrl_parse_index_with_args' {standard input}: Assembler messages: {standard input}:1272: Error: unknown opcode {standard input}:1303: Error: unknown opcode {standard input}:1614: Error: unknown opcode {standard input}:1977: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/char/hw_random/core.o] Error 1 drivers/char/ipmi/ipmi_ssif.c:355:13: sparse: sparse: context imbalance in 'start_clear_flags' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:374:13: sparse: sparse: context imbalance in 'start_flag_fetch' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:415:9: sparse: sparse: context imbalance in 'start_event_fetch' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:438:9: sparse: sparse: context imbalance in 'start_recv_msg_fetch' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:469:17: sparse: sparse: context imbalance in 'handle_flags' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:570:13: sparse: sparse: context imbalance in 'watch_timeout' - different lock contexts for basic block drivers/char/ipmi/ipmi_ssif.c:903:9: sparse: sparse: context imbalance in 'msg_done_handler' - different lock contexts for basic block drivers/char/ipmi/ipmi_ssif.c:1078:17: sparse: sparse: context imbalance in 'start_next_msg' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:1106:9: sparse: sparse: context imbalance in 'sender' - wrong count at exit drivers/pinctrl/pinconf-generic.c:242: warning: Function parameter or member 'pctldev' not described in 'pinconf_generic_parse_dt_config' drivers/video/fbdev/ocfb.c:327:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void [noderef] __iomem *fb_virt @@ got void * @@ drivers/video/fbdev/ocfb.c:327:24: sparse: expected void [noderef] __iomem *fb_virt drivers/video/fbdev/ocfb.c:327:24: sparse: got void * drivers/video/fbdev/ocfb.c:367:64: sparse: sparse: incorrect type in argument 3 (different address spaces) @@ expected void *cpu_addr @@ got void [noderef] __iomem *fb_virt @@ drivers/video/fbdev/ocfb.c:367:64: sparse: expected void *cpu_addr drivers/video/fbdev/ocfb.c:367:64: sparse: got void [noderef] __iomem *fb_virt drivers/video/fbdev/ocfb.c:380:32: sparse: sparse: incorrect type in argument 3 (different address spaces) @@ expected void *cpu_addr @@ got void [noderef] __iomem *fb_virt @@ drivers/video/fbdev/ocfb.c:380:32: sparse: expected void *cpu_addr drivers/video/fbdev/ocfb.c:380:32: sparse: got void [noderef] __iomem *fb_virt {standard input}: Assembler messages: {standard input}:6038: Error: unknown opcode {standard input}:7532: Error: unknown opcode {standard input}:7606: Error: unknown opcode {standard input}:7896: Error: unknown opcode {standard input}: Assembler messages: {standard input}:5769: Error: unknown opcode {standard input}:5872: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/video/fbdev/core/fbmem.o] Error 1 make[5]: *** [scripts/Makefile.build:280: drivers/tty/serial/8250/8250_port.o] Error 1 {standard input}: Assembler messages: {standard input}:197: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/char/hw_random/ba431-rng.o] Error 1 {standard input}:35531: Error: unknown opcode {standard input}:37684: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/clk/clk.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/clk] Error 2 {standard input}: Assembler messages: {standard input}:2683: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_poweroff.o] Error 1 make[2]: *** [scripts/Makefile.build:497: drivers/reset] Error 2 make[3]: Target '__build' not remade because of errors. include/linux/lightnvm.h:461:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:454:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:453:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:452:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:490:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:483:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:482:54: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:481:53: sparse: sparse: invalid access past the end of 'l' (4 8) drivers/lightnvm/core.c:703:36: sparse: sparse: invalid access past the end of 'ppa' (4 8) include/linux/lightnvm.h:461:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:454:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:453:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:452:35: sparse: sparse: invalid access past the end of 'r' (4 8) drivers/lightnvm/core.c:928:36: sparse: sparse: invalid access past the end of 'ppa' (4 8) drivers/lightnvm/core.c:927:36: sparse: sparse: invalid access past the end of 'ppa' (4 8) drivers/lightnvm/core.c:897:35: sparse: sparse: invalid access past the end of 'ppa' (4 8) drivers/lightnvm/core.c:896:34: sparse: sparse: invalid access past the end of 'ppa' (4 8) include/linux/lightnvm.h:461:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:454:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:453:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:452:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:461:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:454:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:453:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:452:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:490:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:483:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:482:54: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:481:53: sparse: sparse: invalid access past the end of 'l' (4 8) drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: expected char const *__gu_addr drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: got char const [noderef] __user * >> drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: expected void const volatile [noderef] __user *ptr drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: got char const *__gu_addr make[5]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/tty/serial/8250] Error 2 drivers/tty/serial/serial_core.c:139:9: sparse: sparse: context imbalance in 'uart_start' - different lock contexts for basic block drivers/tty/serial/serial_core.c:219:17: sparse: sparse: context imbalance in 'uart_port_startup' - different lock contexts for basic block drivers/tty/serial/serial_core.c:321:9: sparse: sparse: context imbalance in 'uart_shutdown' - different lock contexts for basic block drivers/tty/serial/serial_core.c:569:9: sparse: sparse: context imbalance in 'uart_put_char' - different lock contexts for basic block drivers/tty/serial/serial_core.c:617:9: sparse: sparse: context imbalance in 'uart_write' - different lock contexts for basic block drivers/tty/serial/serial_core.c:620:12: sparse: sparse: context imbalance in 'uart_write_room' - different lock contexts for basic block drivers/tty/serial/serial_core.c:633:12: sparse: sparse: context imbalance in 'uart_chars_in_buffer' - different lock contexts for basic block drivers/tty/serial/serial_core.c:670:9: sparse: sparse: context imbalance in 'uart_flush_buffer' - different lock contexts for basic block drivers/video/fbdev/core/fbmon.c:617: warning: Function parameter or member 'specs' not described in 'fb_create_modedb' drivers/video/fbdev/core/fbmon.c:1103: warning: bad line: drivers/regulator/devres.c:187: warning: Function parameter or member 'dev' not described in 'devm_regulator_register' drivers/regulator/devres.c:226: warning: Function parameter or member 'dev' not described in 'devm_regulator_unregister' drivers/regulator/devres.c:226: warning: Function parameter or member 'rdev' not described in 'devm_regulator_unregister' drivers/regulator/devres.c:226: warning: Excess function parameter 'regulator' description in 'devm_regulator_unregister' {standard input}: Assembler messages: {standard input}:3307: Error: unknown opcode drivers/regulator/of_regulator.c:18:43: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:193:22: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:196:22: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:199:22: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:202:22: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:203:22: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:252:26: sparse: sparse: restricted suspend_state_t degrades to integer drivers/tty/serdev/core.c: In function 'serdev_controller_remove': drivers/tty/serdev/core.c:791:6: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 791 | int dummy; | ^~~~~ make[3]: *** [scripts/Makefile.build:497: drivers/char/hw_random] Error 2 make[4]: Target '__build' not remade because of errors. drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long word @@ got restricted __le32 [usertype] @@ drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: expected unsigned long word drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: got restricted __le32 [usertype] drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: sparse: cast to restricted __le32 {standard input}: Assembler messages: {standard input}:653: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/pinctrl] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:2708: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/selection.o] Error 1 {standard input}:4332: Error: unknown opcode {standard input}:4958: Error: unknown opcode {standard input}:5123: Error: unknown opcode {standard input}:5293: Error: unknown opcode {standard input}:5453: Error: unknown opcode {standard input}:6020: Error: unknown opcode {standard input}:6287: Error: unknown opcode {standard input}:6384: Error: unknown opcode {standard input}:6612: Error: unknown opcode {standard input}:6723: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_watchdog.o] Error 1 drivers/tty/serdev/core.c:811: warning: Function parameter or member 'owner' not described in '__serdev_device_driver_register' drivers/tty/vt/keyboard.c:1729:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/vt/keyboard.c:1729:21: sparse: expected unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1729:21: sparse: got unsigned int [noderef] __user * >> drivers/tty/vt/keyboard.c:1729:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/tty/vt/keyboard.c:1729:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/keyboard.c:1729:21: sparse: got unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1767:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/vt/keyboard.c:1767:21: sparse: expected unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1767:21: sparse: got unsigned int [noderef] __user * drivers/tty/vt/keyboard.c:1767:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/tty/vt/keyboard.c:1767:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/keyboard.c:1767:21: sparse: got unsigned int const *__gu_addr drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long word @@ got restricted __le32 [usertype] @@ drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: expected unsigned long word drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: got restricted __le32 [usertype] drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: sparse: cast to restricted __le32 drivers/video/backlight/backlight.c:329: warning: Function parameter or member 'reason' not described in 'backlight_force_update' drivers/video/backlight/backlight.c:354: warning: Function parameter or member 'props' not described in 'backlight_device_register' drivers/video/fbdev/core/fbcon.c: In function 'fbcon_exit': drivers/video/fbdev/core/fbcon.c:3653:7: warning: variable 'pending' set but not used [-Wunused-but-set-variable] 3653 | int pending = 0; | ^~~~~~~ drivers/tty/vt/keyboard.c: In function 'k_fn': drivers/tty/vt/keyboard.c:744:22: warning: comparison is always true due to limited range of data type [-Wtype-limits] 744 | if ((unsigned)value < ARRAY_SIZE(func_table)) { | ^ make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_ssif.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/char/ipmi] Error 2 {standard input}: Assembler messages: {standard input}:842: Error: unknown opcode {standard input}:1418: Error: unknown opcode {standard input}:1660: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/video/fbdev/core/fb_defio.o] Error 1 {standard input}: Assembler messages: {standard input}:5636: Error: unknown opcode {standard input}:5715: Error: unknown opcode {standard input}:5869: Error: unknown opcode {standard input}:5897: Error: unknown opcode {standard input}:5932: Error: unknown opcode {standard input}:6237: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1251: Error: unknown opcode {standard input}:1578: Error: unknown opcode {standard input}:1773: Error: unknown opcode {standard input}:1941: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/tty/serdev/serdev-ttyport.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/tty/serdev] Error 2 {standard input}:6569: Error: unknown opcode {standard input}:6833: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/keyboard.o] Error 1 drivers/tty/vt/defkeymap.c:28:9: sparse: sparse: symbol 'shift_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:47:9: sparse: sparse: symbol 'altgr_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:66:9: sparse: sparse: symbol 'ctrl_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:85:9: sparse: sparse: symbol 'shift_ctrl_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:104:9: sparse: sparse: symbol 'alt_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:123:9: sparse: sparse: symbol 'ctrl_alt_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:149:14: sparse: sparse: symbol 'keymap_count' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:157:6: sparse: sparse: symbol 'func_buf' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:188:6: sparse: sparse: symbol 'funcbufptr' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:189:5: sparse: sparse: symbol 'funcbufsize' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:190:5: sparse: sparse: symbol 'funcbufleft' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:192:6: sparse: sparse: symbol 'func_table' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:226:18: sparse: sparse: symbol 'accent_table' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:263:14: sparse: sparse: symbol 'accent_table_size' was not declared. Should it be static? drivers/tty/vt/vt.c:4294:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user * @@ drivers/tty/vt/vt.c:4294:13: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:4294:13: sparse: got char [noderef] __user * >> drivers/tty/vt/vt.c:4294:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/vt/vt.c:4294:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:4294:13: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:225:5: sparse: sparse: symbol 'console_blank_hook' was not declared. Should it be static? drivers/tty/vt/consolemap_deftbl.c:10:4: sparse: sparse: symbol 'dfont_unicount' was not declared. Should it be static? drivers/tty/vt/consolemap_deftbl.c:46:5: sparse: sparse: symbol 'dfont_unitable' was not declared. Should it be static? drivers/tty/vt/vt.c:2985:19: sparse: sparse: symbol 'console_driver' was not declared. Should it be static? drivers/tty/vt/vt.c:3141:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user *p @@ drivers/tty/vt/vt.c:3141:13: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:3141:13: sparse: got char [noderef] __user *p drivers/tty/vt/vt.c:3141:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/tty/vt/vt.c:3141:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3141:13: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:3194:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user * @@ drivers/tty/vt/vt.c:3194:37: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:3194:37: sparse: got char [noderef] __user * drivers/tty/vt/vt.c:3194:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/tty/vt/vt.c:3194:37: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3194:37: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:3207:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/tty/vt/vt.c:3207:29: sparse: expected signed int const *__gu_addr drivers/tty/vt/vt.c:3207:29: sparse: got signed int [noderef] [usertype] __user * >> drivers/tty/vt/vt.c:3207:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/tty/vt/vt.c:3207:29: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3207:29: sparse: got signed int const *__gu_addr drivers/regulator/of_regulator.c:546: warning: Function parameter or member 'rdev' not described in 'of_check_coupling_data' {standard input}: Assembler messages: {standard input}:258: Error: unknown opcode drivers/char/tpm/st33zp24/i2c.c:291:36: warning: 'st33zp24_i2c_acpi_match' defined but not used [-Wunused-const-variable=] 291 | static const struct acpi_device_id st33zp24_i2c_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ drivers/tty/serial/max3100.c:202:13: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [usertype] etx @@ got restricted __be16 [usertype] @@ drivers/tty/serial/max3100.c:202:13: sparse: expected unsigned short [addressable] [usertype] etx drivers/tty/serial/max3100.c:202:13: sparse: got restricted __be16 [usertype] drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 include/linux/spinlock.h:409:9: sparse: sparse: context imbalance in 'serial_console_write' - unexpected unlock {standard input}:12727: Error: unknown opcode {standard input}:18464: Error: unknown opcode {standard input}:19522: Error: unknown opcode drivers/gpu/drm/i2c/tda998x_drv.c:1711:50: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __be32 const [usertype] *p @@ got unsigned int const [usertype] * @@ drivers/gpu/drm/i2c/tda998x_drv.c:1711:50: sparse: expected restricted __be32 const [usertype] *p drivers/gpu/drm/i2c/tda998x_drv.c:1711:50: sparse: got unsigned int const [usertype] * drivers/gpu/drm/i2c/tda998x_drv.c:1712:52: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __be32 const [usertype] *p @@ got unsigned int const [usertype] * @@ drivers/gpu/drm/i2c/tda998x_drv.c:1712:52: sparse: expected restricted __be32 const [usertype] *p drivers/gpu/drm/i2c/tda998x_drv.c:1712:52: sparse: got unsigned int const [usertype] * drivers/char/tpm/st33zp24/spi.c:408:36: warning: 'st33zp24_spi_acpi_match' defined but not used [-Wunused-const-variable=] 408 | static const struct acpi_device_id st33zp24_spi_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ drivers/tty/vt/consolemap.c:716: warning: Function parameter or member 'src_vc' not described in 'con_copy_unimap' drivers/tty/vt/consolemap.c:716: warning: Excess function parameter 'src_vt' description in 'con_copy_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'ct' not described in 'con_get_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'uct' not described in 'con_get_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'list' not described in 'con_get_unimap' drivers/base/firmware_loader/main.c:266:9: sparse: sparse: context imbalance in 'free_fw_priv' - wrong count at exit {standard input}: Assembler messages: {standard input}:148: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/gpio] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:280: drivers/tty/vt/vt.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/tty/vt] Error 2 {standard input}:3721: Error: unknown opcode {standard input}:3752: Error: unknown opcode {standard input}: Assembler messages: {standard input}:220: Error: unknown opcode {standard input}:327: Error: unknown opcode {standard input}: Assembler messages: {standard input}:133: Error: unknown opcode {standard input}:164: Error: unknown opcode make[7]: *** [scripts/Makefile.build:281: drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.o] Error 1 drivers/tty/serial/ifx6x60.c:230:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __be32 [usertype] @@ drivers/tty/serial/ifx6x60.c:230:25: sparse: expected unsigned int [usertype] drivers/tty/serial/ifx6x60.c:230:25: sparse: got restricted __be32 [usertype] drivers/tty/serial/ifx6x60.c:204:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] @@ got restricted __be16 [usertype] @@ drivers/tty/serial/ifx6x60.c:204:25: sparse: expected unsigned short [usertype] drivers/tty/serial/ifx6x60.c:204:25: sparse: got restricted __be16 [usertype] drivers/tty/tty_io.c:2189:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user *p @@ drivers/tty/tty_io.c:2189:13: sparse: expected char const *__gu_addr drivers/tty/tty_io.c:2189:13: sparse: got char [noderef] __user *p >> drivers/tty/tty_io.c:2189:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/tty_io.c:2189:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2189:13: sparse: got char const *__gu_addr drivers/tty/tty_io.c:2330:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/tty/tty_io.c:2330:13: sparse: expected int const *__gu_addr drivers/tty/tty_io.c:2330:13: sparse: got int [noderef] __user *p >> drivers/tty/tty_io.c:2330:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/tty/tty_io.c:2330:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2330:13: sparse: got int const *__gu_addr drivers/tty/tty_io.c:2448:18: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user *p @@ drivers/tty/tty_io.c:2448:18: sparse: expected unsigned int const *__gu_addr drivers/tty/tty_io.c:2448:18: sparse: got unsigned int [noderef] __user *p >> drivers/tty/tty_io.c:2448:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/tty/tty_io.c:2448:18: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2448:18: sparse: got unsigned int const *__gu_addr drivers/regulator/ad5398.c:48:17: sparse: sparse: cast to restricted __be16 drivers/regulator/ad5398.c:48:17: sparse: sparse: cast to restricted __be16 drivers/regulator/ad5398.c:48:17: sparse: sparse: cast to restricted __be16 drivers/regulator/ad5398.c:48:17: sparse: sparse: cast to restricted __be16 drivers/regulator/ad5398.c:58:13: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short val @@ got restricted __be16 [usertype] @@ drivers/regulator/ad5398.c:58:13: sparse: expected unsigned short val drivers/regulator/ad5398.c:58:13: sparse: got restricted __be16 [usertype] include/linux/spinlock.h:409:9: sparse: sparse: context imbalance in 'linflex_console_write' - unexpected unlock drivers/tty/serial/digicolor-usart.c:412:26: sparse: sparse: context imbalance in 'digicolor_uart_console_write' - different lock contexts for basic block drivers/misc/eeprom/eeprom_93cx6.c:239: warning: Function parameter or member 'byte' not described in 'eeprom_93cx6_readb' drivers/misc/eeprom/eeprom_93cx6.c:239: warning: Excess function parameter 'word' description in 'eeprom_93cx6_readb' drivers/misc/eeprom/eeprom_93cx6.c:280: warning: Function parameter or member 'bytes' not described in 'eeprom_93cx6_multireadb' drivers/misc/eeprom/eeprom_93cx6.c:280: warning: Excess function parameter 'words' description in 'eeprom_93cx6_multireadb' {standard input}:7328: Error: unknown opcode {standard input}:7422: Error: unknown opcode {standard input}:9021: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/lightnvm/core.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/lightnvm] Error 2 drivers/misc/eeprom/at24.c:228:36: warning: 'at24_acpi_ids' defined but not used [-Wunused-const-variable=] 228 | static const struct acpi_device_id at24_acpi_ids[] = { | ^~~~~~~~~~~~~ drivers/misc/ti-st/st_core.c:283:41: sparse: sparse: cast to restricted __le16 {standard input}: Assembler messages: {standard input}:4929: Error: unknown opcode {standard input}:5877: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/serial/sc16is7xx.o] Error 1 {standard input}: Assembler messages: {standard input}:255: Error: unknown opcode {standard input}:318: Error: unknown opcode drivers/misc/eeprom/idt_89hpesx.c:597:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] memaddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:597:31: sparse: expected unsigned short [addressable] [assigned] [usertype] memaddr drivers/misc/eeprom/idt_89hpesx.c:597:31: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:669:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] memaddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:669:31: sparse: expected unsigned short [addressable] [assigned] [usertype] memaddr drivers/misc/eeprom/idt_89hpesx.c:669:31: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:767:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] csraddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:767:24: sparse: expected unsigned short [addressable] [assigned] [usertype] csraddr drivers/misc/eeprom/idt_89hpesx.c:767:24: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:768:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [addressable] [assigned] [usertype] data @@ got restricted __le32 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:768:21: sparse: expected unsigned int [addressable] [assigned] [usertype] data drivers/misc/eeprom/idt_89hpesx.c:768:21: sparse: got restricted __le32 [usertype] drivers/misc/eeprom/idt_89hpesx.c:832:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] csraddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:832:24: sparse: expected unsigned short [addressable] [assigned] [usertype] csraddr drivers/misc/eeprom/idt_89hpesx.c:832:24: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:857:17: sparse: sparse: cast to restricted __le32 {standard input}:4985: Error: unknown opcode {standard input}:5016: Error: unknown opcode {standard input}:5690: Error: unknown opcode {standard input}:10136: Error: unknown opcode {standard input}: Assembler messages: {standard input}:113: Error: unknown opcode {standard input}:268: Error: unknown opcode {standard input}:415: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/char/tpm/tpm-dev.o] Error 1 drivers/tty/serial/sifive.c:157: warning: cannot understand function prototype: 'struct sifive_serial_port ' {standard input}:10604: Error: unknown opcode {standard input}:10862: Error: unknown opcode {standard input}:12350: Error: unknown opcode {standard input}:14125: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_io.o] Error 1 make[4]: *** [scripts/Makefile.build:497: drivers/video/fbdev/core] Error 2 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/video/fbdev] Error 2 make[3]: Target '__build' not remade because of errors. make[5]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/video] Error 2 {standard input}: Assembler messages: {standard input}:1604: Error: unknown opcode {standard input}:1635: Error: unknown opcode {standard input}:3057: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/base/firmware_loader/main.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/base/firmware_loader] Error 2 {standard input}:13546: Error: unknown opcode {standard input}:13840: Error: unknown opcode drivers/tty/serial/men_z135_uart.c:182: warning: Function parameter or member 'uart' not described in 'men_z135_handle_modem_status' drivers/tty/serial/men_z135_uart.c:182: warning: Excess function parameter 'port' description in 'men_z135_handle_modem_status' drivers/tty/serial/men_z135_uart.c:244: warning: Function parameter or member 'uart' not described in 'men_z135_handle_rx' drivers/tty/serial/men_z135_uart.c:244: warning: Excess function parameter 'arg' description in 'men_z135_handle_rx' drivers/tty/serial/men_z135_uart.c:294: warning: Function parameter or member 'uart' not described in 'men_z135_handle_tx' drivers/tty/serial/men_z135_uart.c:294: warning: Excess function parameter 'arg' description in 'men_z135_handle_tx' drivers/tty/serial/men_z135_uart.c:604: warning: Function parameter or member 'port' not described in 'men_z135_enable_ms' drivers/gpu/drm/panel/panel-simple.c:42: warning: Cannot understand * @modes: Pointer to array of fixed modes appropriate for this panel. If on line 42 - I thought it was a doc line {standard input}: Assembler messages: {standard input}:68: Error: unknown opcode {standard input}:2359: Error: unknown opcode {standard input}:2442: Error: unknown opcode {standard input}:3396: Error: unknown opcode {standard input}:3565: Error: unknown opcode {standard input}:3706: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/misc/ti-st/st_core.o] Error 1 {standard input}:14520: Error: unknown opcode {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:2753: Error: unknown opcode {standard input}:3244: Error: unknown opcode {standard input}:5104: Error: unknown opcode {standard input}:6454: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/tty/serial/serial_core.o] Error 1 {standard input}: Assembler messages: {standard input}:2813: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/tty/serial] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/tty/serial/ifx6x60.o] Error 1 make[4]: Target '__build' not remade because of errors. {standard input}:4294: Error: unknown opcode {standard input}:4937: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/base/dd.o] Error 1 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c:218:15: sparse: sparse: symbol 'vint_table' was not declared. Should it be static? drivers/misc/lis3lv02d/lis3lv02d.c:182:52: sparse: sparse: cast to restricted __le16 make[4]: *** [scripts/Makefile.build:497: drivers/gpu/drm/arm] Error 2 make[5]: *** [scripts/Makefile.build:497: drivers/gpu/drm/arm/display] Error 2 make[5]: Target '__build' not remade because of errors. make[6]: *** [scripts/Makefile.build:497: drivers/gpu/drm/arm/display/komeda] Error 2 make[6]: Target '__build' not remade because of errors. make[7]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:2656: Error: unknown opcode {standard input}:2711: Error: unknown opcode {standard input}:2905: Error: unknown opcode {standard input}:3299: Error: unknown opcode {standard input}:3433: Error: unknown opcode {standard input}:4219: Error: unknown opcode {standard input}:4538: Error: unknown opcode {standard input}:4943: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/misc/lis3lv02d/lis3lv02d.o] Error 1 drivers/misc/ti-st/st_kim.c:42: warning: Function parameter or member 'id' not described in 'st_get_plat_device' drivers/misc/ti-st/st_kim.c:53: warning: Function parameter or member 'kim_gdata' not described in 'validate_firmware_response' drivers/misc/ti-st/st_kim.c:126: warning: Function parameter or member 'kim_gdata' not described in 'kim_int_recv' drivers/misc/ti-st/st_kim.c:126: warning: Function parameter or member 'data' not described in 'kim_int_recv' drivers/misc/ti-st/st_kim.c:126: warning: Function parameter or member 'count' not described in 'kim_int_recv' drivers/misc/ti-st/st_kim.c:272: warning: Function parameter or member 'kim_gdata' not described in 'download_firmware' drivers/misc/ti-st/st_kim.c:445: warning: Function parameter or member 'kim_data' not described in 'st_kim_start' drivers/misc/ti-st/st_kim.c:509: warning: Function parameter or member 'kim_data' not described in 'st_kim_stop' drivers/misc/ti-st/st_kim.c:661: warning: Function parameter or member 'core_data' not described in 'st_kim_ref' drivers/misc/ti-st/st_kim.c:661: warning: Function parameter or member 'id' not described in 'st_kim_ref' drivers/base/platform.c:1352:20: warning: no previous prototype for 'early_platform_cleanup' [-Wmissing-prototypes] 1352 | void __weak __init early_platform_cleanup(void) { } | ^~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c: In function 's6e3ha2_set_brightness': drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c:456:17: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 456 | if (brightness < S6E3HA2_MIN_BRIGHTNESS || | ^ drivers/char/tpm/tpm_tis_spi_main.c:278:36: warning: 'acpi_tis_spi_match' defined but not used [-Wunused-const-variable=] 278 | static const struct acpi_device_id acpi_tis_spi_match[] = { | ^~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:1799: Error: unknown opcode >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *ptr @@ got restricted __le64 * @@ >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: expected void const volatile [noderef] __iomem *ptr drivers/misc/mic/vop/vop_main.c:551:51: sparse: got restricted __le64 * drivers/misc/mic/vop/vop_main.c:560:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:560:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:560:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:579:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc drivers/tty/tty_ioctl.c:842:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/tty_ioctl.c:842:21: sparse: expected unsigned int const *__gu_addr drivers/tty/tty_ioctl.c:842:21: sparse: got unsigned int [noderef] __user * >> drivers/tty/tty_ioctl.c:842:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/tty/tty_ioctl.c:842:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_ioctl.c:842:21: sparse: got unsigned int const *__gu_addr include/asm-generic/termios.h:25:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:25:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:25:13: sparse: got unsigned short const [noderef] __user * >> include/asm-generic/termios.h:25:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ >> include/asm-generic/termios.h:25:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:25:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:29:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:29:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:29:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:29:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:29:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:29:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:33:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:33:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:33:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:33:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:33:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:33:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:37:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:37:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:37:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:37:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:37:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:37:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:41:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char const [noderef] __user * @@ include/asm-generic/termios.h:41:13: sparse: expected unsigned char const *__gu_addr include/asm-generic/termios.h:41:13: sparse: got unsigned char const [noderef] __user * >> include/asm-generic/termios.h:41:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ include/asm-generic/termios.h:41:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:41:13: sparse: got unsigned char const *__gu_addr drivers/char/mem.c:163:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *addr @@ got void [noderef] __user *__cl_addr @@ drivers/char/mem.c:163:37: sparse: expected void *addr drivers/char/mem.c:163:37: sparse: got void [noderef] __user *__cl_addr {standard input}:10077: Error: unknown opcode {standard input}:10108: Error: unknown opcode {standard input}:10266: Error: unknown opcode drivers/gpu/drm/panel/panel-tpo-tpg110.c:95: warning: Function parameter or member 'panel_mode' not described in 'tpg110' drivers/gpu/drm/panel/panel-tpo-tpg110.c:376: warning: Function parameter or member 'connector' not described in 'tpg110_get_modes' drivers/misc/mic/vop/vop_main.c: In function '_vop_scan_devices': drivers/misc/mic/vop/vop_main.c:617:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 617 | int ret; | ^~~ make[3]: *** [scripts/Makefile.build:497: drivers/misc/ti-st] Error 2 make[4]: Target '__build' not remade because of errors. drivers/base/devres.c:1114:9: sparse: sparse: cast removes address space '__percpu' of expression {standard input}: Assembler messages: {standard input}:69: Error: unknown opcode {standard input}:142: Error: unknown opcode {standard input}:462: Error: unknown opcode {standard input}:1553: Error: unknown opcode {standard input}:1614: Error: unknown opcode {standard input}:1798: Error: unknown opcode {standard input}:1998: Error: unknown opcode {standard input}:2036: Error: unknown opcode drivers/char/mem.c:98:29: warning: no previous prototype for 'unxlate_dev_mem_ptr' [-Wmissing-prototypes] 98 | #define unxlate_dev_mem_ptr unxlate_dev_mem_ptr | ^~~~~~~~~~~~~~~~~~~ drivers/char/mem.c:99:13: note: in expansion of macro 'unxlate_dev_mem_ptr' 99 | void __weak unxlate_dev_mem_ptr(phys_addr_t phys, void *addr) | ^~~~~~~~~~~~~~~~~~~ drivers/tty/tty_ldisc.c:884:6: warning: no previous prototype for 'tty_sysctl_init' [-Wmissing-prototypes] 884 | void tty_sysctl_init(void) | ^~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:2129: Error: unknown opcode make[5]: *** [scripts/Makefile.build:280: drivers/gpu/drm/panel/panel-sony-acx565akm.o] Error 1 {standard input}: Assembler messages: {standard input}:2927: Error: unknown opcode {standard input}:3313: Error: unknown opcode {standard input}:5003: Error: unknown opcode {standard input}:5186: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_ioctl.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/char/tpm] Error 2 drivers/base/devtmpfs.c:362:36: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected char const [noderef] __user * @@ got char * @@ drivers/base/devtmpfs.c:362:36: sparse: expected char const [noderef] __user * drivers/base/devtmpfs.c:362:36: sparse: got char * drivers/base/devtmpfs.c:388:36: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected char const [noderef] __user * @@ got char * @@ drivers/base/devtmpfs.c:388:36: sparse: expected char const [noderef] __user * drivers/base/devtmpfs.c:388:36: sparse: got char * drivers/base/devtmpfs.c:391:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected char const [noderef] __user *filename @@ got char * @@ drivers/base/devtmpfs.c:391:20: sparse: expected char const [noderef] __user *filename drivers/base/devtmpfs.c:391:20: sparse: got char * drivers/base/devtmpfs.c:392:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected char const [noderef] __user *filename @@ got char * @@ drivers/base/devtmpfs.c:392:21: sparse: expected char const [noderef] __user *filename drivers/base/devtmpfs.c:392:21: sparse: got char * {standard input}: Assembler messages: {standard input}:1471: Error: unknown opcode {standard input}:1599: Error: unknown opcode {standard input}:1849: Error: unknown opcode drivers/misc/enclosure.c:115: warning: Function parameter or member 'name' not described in 'enclosure_register' drivers/misc/enclosure.c:115: warning: Function parameter or member 'cb' not described in 'enclosure_register' drivers/misc/enclosure.c:283: warning: Function parameter or member 'number' not described in 'enclosure_component_alloc' drivers/misc/enclosure.c:283: warning: Excess function parameter 'num' description in 'enclosure_component_alloc' drivers/misc/enclosure.c:363: warning: Function parameter or member 'component' not described in 'enclosure_add_device' drivers/misc/enclosure.c:363: warning: Excess function parameter 'num' description in 'enclosure_add_device' drivers/misc/enclosure.c:398: warning: Function parameter or member 'dev' not described in 'enclosure_remove_device' drivers/misc/enclosure.c:398: warning: Excess function parameter 'num' description in 'enclosure_remove_device' {standard input}:2533: Error: unknown opcode {standard input}:2588: Error: unknown opcode {standard input}:2940: Error: unknown opcode {standard input}:3007: Error: unknown opcode {standard input}:3135: Error: unknown opcode {standard input}:3169: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_ldisc.o] Error 1 {standard input}: Assembler messages: {standard input}:365: Error: unknown opcode {standard input}:750: Error: unknown opcode {standard input}:801: Error: unknown opcode {standard input}:835: Error: unknown opcode {standard input}:1936: Error: unknown opcode {standard input}:2081: Error: unknown opcode {standard input}:2260: Error: unknown opcode {standard input}:2572: Error: unknown opcode {standard input}:2619: Error: unknown opcode {standard input}:2901: Error: unknown opcode {standard input}:3066: Error: unknown opcode {standard input}:3311: Error: unknown opcode {standard input}:3382: Error: unknown opcode {standard input}:3468: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_buffer.o] Error 1 {standard input}:17253: Error: unknown opcode {standard input}:2720: Error: unknown opcode {standard input}:2992: Error: unknown opcode drivers/base/attribute_container.c:304: warning: Function parameter or member 'fn' not described in 'attribute_container_device_trigger_safe' drivers/base/attribute_container.c:304: warning: Function parameter or member 'undo' not described in 'attribute_container_device_trigger_safe' drivers/base/attribute_container.c:357: warning: Function parameter or member 'fn' not described in 'attribute_container_device_trigger' drivers/base/attribute_container.c:471: warning: Function parameter or member 'cont' not described in 'attribute_container_add_class_device_adapter' drivers/base/attribute_container.c:471: warning: Function parameter or member 'dev' not described in 'attribute_container_add_class_device_adapter' drivers/base/attribute_container.c:471: warning: Function parameter or member 'classdev' not described in 'attribute_container_add_class_device_adapter' {standard input}: Assembler messages: {standard input}:77: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/misc/lis3lv02d] Error 2 make[4]: Target '__build' not remade because of errors. drivers/base/devcon.c:12: warning: Function parameter or member 'devcon_lock' not described in 'DEFINE_MUTEX' make[4]: *** [scripts/Makefile.build:281: drivers/base/regmap/regcache-rbtree.o] Error 1 {standard input}:6144: Error: unknown opcode drivers/regulator/max8998.c:418:5: sparse: sparse: symbol 'max8998_get_current_limit' was not declared. Should it be static? drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:527:5: sparse: sparse: symbol 'analogix_dp_start_aux_transaction' was not declared. Should it be static? drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:571:5: sparse: sparse: symbol 'analogix_dp_write_byte_to_dpcd' was not declared. Should it be static? make[3]: *** [scripts/Makefile.build:281: drivers/base/core.o] Error 1 drivers/char/random.c:1943:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/char/random.c:1943:21: sparse: expected int const *__gu_addr drivers/char/random.c:1943:21: sparse: got int [noderef] __user *p >> drivers/char/random.c:1943:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/char/random.c:1943:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1943:21: sparse: got int const *__gu_addr drivers/char/random.c:1949:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/char/random.c:1949:21: sparse: expected int const *__gu_addr drivers/char/random.c:1949:21: sparse: got int [noderef] __user * drivers/char/random.c:1949:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/char/random.c:1949:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1949:21: sparse: got int const *__gu_addr drivers/char/random.c:1953:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/char/random.c:1953:21: sparse: expected int const *__gu_addr drivers/char/random.c:1953:21: sparse: got int [noderef] __user * drivers/char/random.c:1953:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/char/random.c:1953:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1953:21: sparse: got int const *__gu_addr {standard input}:6769: Error: unknown opcode {standard input}:6868: Error: unknown opcode {standard input}:8445: Error: unknown opcode {standard input}: Assembler messages: {standard input}:292: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_mutex.o] Error 1 make[4]: *** [scripts/Makefile.build:497: drivers/gpu/drm/panel] Error 2 make[5]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:456: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/regulator/max77686-regulator.o] Error 1 {standard input}: Assembler messages: {standard input}:427: Error: unknown opcode {standard input}:975: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/char/misc.o] Error 1 {standard input}:11054: Error: unknown opcode {standard input}:11374: Error: unknown opcode {standard input}:11564: Error: unknown opcode {standard input}:12774: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_tty.o] Error 1 {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}:133: Error: unknown opcode {standard input}:1985: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/base/cacheinfo.o] Error 1 drivers/base/module.c: In function 'module_add_driver': drivers/base/module.c:36:6: warning: variable 'no_warn' set but not used [-Wunused-but-set-variable] 36 | int no_warn; | ^~~~~~~ drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:527:5: warning: no previous prototype for 'analogix_dp_start_aux_transaction' [-Wmissing-prototypes] 527 | int analogix_dp_start_aux_transaction(struct analogix_dp_device *dp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:571:5: warning: no previous prototype for 'analogix_dp_write_byte_to_dpcd' [-Wmissing-prototypes] 571 | int analogix_dp_write_byte_to_dpcd(struct analogix_dp_device *dp, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/regulator/max8998.c:418:5: warning: no previous prototype for 'max8998_get_current_limit' [-Wmissing-prototypes] 418 | int max8998_get_current_limit(struct regulator_dev *rdev) | ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/tty/tty_jobctrl.c:77:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:77:9: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:77:9: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:80:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:80:34: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:80:34: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:120:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:120:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:120:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:122:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:122:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:122:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:131:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:131:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:131:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:152:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:152:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:152:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:161:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:161:9: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:161:9: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:163:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:163:40: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:163:40: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:200:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:200:41: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:200:41: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:208:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:208:51: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:208:51: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:219:43: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:219:43: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:219:43: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:281:39: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:281:39: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:281:39: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:284:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:284:41: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:284:41: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:293:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:293:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:293:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:309:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:309:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:309:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:484:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] [usertype] __user *p @@ drivers/tty/tty_jobctrl.c:484:13: sparse: expected int const *__gu_addr drivers/tty/tty_jobctrl.c:484:13: sparse: got int [noderef] [usertype] __user *p >> drivers/tty/tty_jobctrl.c:484:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/tty/tty_jobctrl.c:484:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_jobctrl.c:484:13: sparse: got int const *__gu_addr drivers/tty/tty_jobctrl.c:18:41: sparse: sparse: dereference of noderef expression {standard input}: Assembler messages: {standard input}:2488: Error: unknown opcode {standard input}:2519: Error: unknown opcode {standard input}:2685: Error: unknown opcode {standard input}:3321: Error: unknown opcode {standard input}:3363: Error: unknown opcode {standard input}:3664: Error: unknown opcode {standard input}:3706: Error: unknown opcode {standard input}:3998: Error: unknown opcode {standard input}:4856: Error: unknown opcode {standard input}:5065: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_port.o] Error 1 drivers/tty/pty.c:163:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/tty/pty.c:163:13: sparse: expected int const *__gu_addr drivers/tty/pty.c:163:13: sparse: got int [noderef] __user *arg >> drivers/tty/pty.c:163:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/tty/pty.c:163:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/pty.c:163:13: sparse: got int const *__gu_addr drivers/tty/pty.c:183:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/tty/pty.c:183:13: sparse: expected int const *__gu_addr drivers/tty/pty.c:183:13: sparse: got int [noderef] __user *arg drivers/tty/pty.c:183:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/tty/pty.c:183:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/pty.c:183:13: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:1081: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/base/devtmpfs.o] Error 1 {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}: Assembler messages: {standard input}:45: Error: unknown opcode {standard input}:401: Error: unknown opcode {standard input}:432: Error: unknown opcode {standard input}:661: Error: unknown opcode {standard input}:828: Error: unknown opcode {standard input}:1271: Error: unknown opcode {standard input}:1426: Error: unknown opcode {standard input}:1599: Error: unknown opcode {standard input}:1658: Error: unknown opcode {standard input}:2032: Error: unknown opcode {standard input}:2233: Error: unknown opcode {standard input}:3142: Error: unknown opcode {standard input}:3367: Error: unknown opcode {standard input}:3419: Error: unknown opcode {standard input}:3809: Error: unknown opcode {standard input}:3958: Error: unknown opcode {standard input}:2345: Error: unknown opcode {standard input}:2455: Error: unknown opcode {standard input}:3112: Error: unknown opcode {standard input}:3490: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/pty.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_ldsem.o] Error 1 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c:253:9: sparse: sparse: cast truncates bits from constant value (ffffff7f becomes 7f) drivers/gpu/drm/bridge/synopsys/dw-hdmi.c:3210:30: sparse: sparse: cast truncates bits from constant value (ffffff0d becomes d) drivers/tty/tty_baudrate.c:143: warning: Function parameter or member 'ibaud' not described in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:143: warning: Function parameter or member 'obaud' not described in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:143: warning: Excess function parameter 'ispeed' description in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:143: warning: Excess function parameter 'ospeed' description in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:234: warning: Function parameter or member 'tty' not described in 'tty_encode_baud_rate' drivers/tty/tty_baudrate.c:234: warning: Function parameter or member 'obaud' not described in 'tty_encode_baud_rate' drivers/tty/tty_baudrate.c:234: warning: Excess function parameter 'obad' description in 'tty_encode_baud_rate' {standard input}: Assembler messages: {standard input}:596: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_tracesink.o] Error 1 {standard input}: Assembler messages: {standard input}:145: Error: unknown opcode {standard input}:1445: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_jobctrl.o] Error 1 drivers/tty/sysrq.c:1110:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *buf @@ drivers/tty/sysrq.c:1110:21: sparse: expected char const *__gu_addr drivers/tty/sysrq.c:1110:21: sparse: got char const [noderef] __user *buf >> drivers/tty/sysrq.c:1110:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/sysrq.c:1110:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/sysrq.c:1110:21: sparse: got char const *__gu_addr drivers/tty/sysrq.c:148:13: sparse: sparse: context imbalance in 'sysrq_handle_crash' - unexpected unlock {standard input}: Assembler messages: {standard input}:6221: Error: unknown opcode {standard input}:6680: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/misc] Error 2 make[3]: *** [scripts/Makefile.build:497: drivers/misc/mic] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/misc/mic/vop] Error 2 make[4]: Target '__build' not remade because of errors. make[5]: *** [scripts/Makefile.build:281: drivers/misc/mic/vop/vop_vringh.o] Error 1 make[5]: Target '__build' not remade because of errors. drivers/tty/n_gsm.c:2808:29: sparse: sparse: restricted __be16 degrades to integer drivers/char/random.c:2296:6: warning: no previous prototype for 'add_hwgenerator_randomness' [-Wmissing-prototypes] 2296 | void add_hwgenerator_randomness(const char *buffer, size_t count, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:3059: Error: unknown opcode {standard input}:3460: Error: unknown opcode {standard input}:4170: Error: unknown opcode {standard input}:4708: Error: unknown opcode {standard input}:4790: Error: unknown opcode {standard input}:5416: Error: unknown opcode drivers/regulator/stpmic1_regulator.c:25: warning: cannot understand function prototype: 'struct stpmic1_regulator_cfg ' make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_hdlc.o] Error 1 drivers/regulator/tps65218-regulator.c: In function 'tps65218_pmic_set_suspend_enable': drivers/regulator/tps65218-regulator.c:131:10: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 131 | if (rid < TPS65218_DCDC_1 || rid > TPS65218_LDO_1) | ^ drivers/regulator/tps65218-regulator.c: In function 'tps65218_pmic_set_suspend_disable': drivers/regulator/tps65218-regulator.c:144:10: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 144 | if (rid < TPS65218_DCDC_1 || rid > TPS65218_LDO_1) | ^ drivers/dax/super.c:31:5: sparse: sparse: context imbalance in 'dax_read_lock' - wrong count at exit include/linux/srcu.h:181:9: sparse: sparse: context imbalance in 'dax_read_unlock' - unexpected unlock {standard input}: Assembler messages: {standard input}:11802: Error: unknown opcode {standard input}:12977: Error: unknown opcode {standard input}: Assembler messages: {standard input}:4429: Error: unknown opcode {standard input}:4530: Error: unknown opcode {standard input}:4650: Error: unknown opcode {standard input}:4835: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/sysrq.o] Error 1 make[3]: *** [scripts/Makefile.build:280: drivers/char/random.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/char] Error 2 {standard input}: Assembler messages: {standard input}:2390: Error: unknown opcode {standard input}:2452: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2380: Error: unknown opcode {standard input}:2844: Error: unknown opcode {standard input}:2920: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/dma-buf/heaps/heap-helpers.o] Error 1 make[5]: *** [scripts/Makefile.build:281: drivers/gpu/drm/bridge/ti-sn65dsi86.o] Error 1 drivers/regulator/wm8400-regulator.c:243: warning: Function parameter or member 'dev' not described in 'wm8400_register_regulator' drivers/regulator/wm8400-regulator.c:243: warning: Function parameter or member 'reg' not described in 'wm8400_register_regulator' drivers/regulator/wm8400-regulator.c:243: warning: Function parameter or member 'initdata' not described in 'wm8400_register_regulator' drivers/nvme/host/core.c:1509:23: sparse: sparse: context imbalance in 'nvme_get_ns_from_disk' - wrong count at exit include/linux/srcu.h:181:9: sparse: sparse: context imbalance in 'nvme_put_ns_from_disk' - unexpected unlock drivers/mfd/wm8350-core.c:136: warning: Function parameter or member 'wm8350' not described in 'wm8350_reg_lock' drivers/mfd/wm8350-core.c:165: warning: Function parameter or member 'wm8350' not described in 'wm8350_reg_unlock' {standard input}: Assembler messages: {standard input}:279: Error: unknown opcode {standard input}:352: Error: unknown opcode {standard input}:6515: Error: unknown opcode {standard input}:6546: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2221: Error: unknown opcode {standard input}:2698: Error: unknown opcode {standard input}:4036: Error: unknown opcode {standard input}:4746: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/nvme/host/multipath.o] Error 1 {standard input}:8294: Error: unknown opcode {standard input}:8500: Error: unknown opcode include/linux/lightnvm.h:490:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:483:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:482:54: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:481:53: sparse: sparse: invalid access past the end of 'l' (4 8) drivers/dax/bus.c: In function 'do_id_store': drivers/dax/bus.c:93:27: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 93 | /* nothing to remove */; | ^ drivers/dax/bus.c:98:29: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 98 | /* dax_id already added */; | ^ drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35890' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35892' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35893' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35894' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35895' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35896' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_UNKNOWN' not described in enum 'tc3589x_version' {standard input}: Assembler messages: {standard input}:1484: Error: unknown opcode -- {standard input}: Assembler messages: {standard input}:4257: Error: unknown opcode drivers/mtd/chips/cfi_probe.c:226:27: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:228:28: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:229:27: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:230:28: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:231:36: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:232:38: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:240:49: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi.o] Error 1 {standard input}: Assembler messages: {standard input}:1496: Error: unknown opcode {standard input}:1527: Error: unknown opcode {standard input}:2992: Error: unknown opcode {standard input}:3198: Error: unknown opcode {standard input}:10885: Error: unknown opcode {standard input}:12291: Error: unknown opcode {standard input}:4561: Error: unknown opcode {standard input}:5094: Error: unknown opcode {standard input}:5238: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1292: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/mtd/chips/cfi_probe.o] Error 1 {standard input}:6799: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_gem.o] Error 1 drivers/scsi/scsi_ioctl.c:48:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/scsi/scsi_ioctl.c:48:21: sparse: expected unsigned int const *__gu_addr drivers/scsi/scsi_ioctl.c:48:21: sparse: got unsigned int [noderef] __user * >> drivers/scsi/scsi_ioctl.c:48:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/scsi/scsi_ioctl.c:48:21: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/scsi_ioctl.c:48:21: sparse: got unsigned int const *__gu_addr drivers/mtd/chips/cfi_util.c:97:26: sparse: sparse: restricted __be16 degrades to integer drivers/mtd/chips/cfi_util.c:97:26: sparse: sparse: restricted __le16 degrades to integer drivers/mtd/chips/cfi_util.c:100:26: sparse: sparse: restricted __be32 degrades to integer drivers/mtd/chips/cfi_util.c:100:26: sparse: sparse: restricted __le32 degrades to integer drivers/mtd/chips/cfi_util.c:185:23: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_util.c:185:23: sparse: sparse: cast to restricted __be16 drivers/mtd/chips/cfi_util.c:185:23: sparse: sparse: cast to restricted __be16 drivers/mtd/chips/cfi_util.c:185:23: sparse: sparse: cast to restricted __be16 drivers/mtd/chips/cfi_util.c:185:23: sparse: sparse: cast to restricted __be16 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __le32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/drm_memory.c:135:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *handle @@ got void [noderef] __iomem * @@ drivers/gpu/drm/drm_memory.c:135:29: sparse: expected void *handle drivers/gpu/drm/drm_memory.c:135:29: sparse: got void [noderef] __iomem * drivers/gpu/drm/drm_memory.c:144:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *handle @@ got void [noderef] __iomem * @@ drivers/gpu/drm/drm_memory.c:144:29: sparse: expected void *handle drivers/gpu/drm/drm_memory.c:144:29: sparse: got void [noderef] __iomem * drivers/gpu/drm/drm_memory.c:156:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *handle @@ drivers/gpu/drm/drm_memory.c:156:28: sparse: expected void [noderef] __iomem *addr drivers/gpu/drm/drm_memory.c:156:28: sparse: got void *handle {standard input}: Assembler messages: {standard input}:52: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1486: Error: unknown opcode {standard input}:1517: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_self_refresh_helper.o] Error 1 {standard input}: Assembler messages: {standard input}:8803: Error: unknown opcode {standard input}:8837: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_fb_helper.o] Error 1 {standard input}:5287: Error: unknown opcode {standard input}:6945: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/hsi/clients/hsi_char.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/hsi/clients] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}:14437: Error: unknown opcode drivers/gpu/drm/drm_drv.c:434:6: sparse: sparse: context imbalance in 'drm_dev_enter' - different lock contexts for basic block include/linux/srcu.h:181:9: sparse: sparse: context imbalance in 'drm_dev_exit' - unexpected unlock {standard input}: Assembler messages: {standard input}:127: Error: unknown opcode {standard input}:327: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/target/iscsi/iscsi_target_device.o] Error 1 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __le32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __le32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mfd/twl4030-irq.c:485:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word @@ got restricted __le32 [usertype] @@ drivers/mfd/twl4030-irq.c:485:26: sparse: expected unsigned int [usertype] word drivers/mfd/twl4030-irq.c:485:26: sparse: got restricted __le32 [usertype] drivers/mfd/twl4030-irq.c:573:40: sparse: sparse: cast to restricted __le32 make[2]: *** [scripts/Makefile.build:497: drivers/tty] Error 2 make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_gsm.o] Error 1 make[3]: Target '__build' not remade because of errors. drivers/mfd/tps65218.c:58: warning: Function parameter or member 'tps' not described in 'tps65218_reg_write' drivers/mfd/tps65218.c:58: warning: Excess function parameter 'tps65218' description in 'tps65218_reg_write' drivers/mfd/tps65218.c:90: warning: Function parameter or member 'tps' not described in 'tps65218_update_bits' drivers/mfd/tps65218.c:90: warning: Excess function parameter 'tps65218' description in 'tps65218_update_bits' drivers/gpu/drm/drm_crtc.c:707:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_crtc.c:707:29: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_crtc.c:707:29: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/gpu/drm/drm_crtc.c:707:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/gpu/drm/drm_crtc.c:707:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_crtc.c:707:29: sparse: got unsigned int const *__gu_addr drivers/scsi/scsi_error.c:2341:17: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/scsi/scsi_error.c:2341:17: sparse: expected int const *__gu_addr drivers/scsi/scsi_error.c:2341:17: sparse: got int [noderef] __user *arg >> drivers/scsi/scsi_error.c:2341:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/scsi/scsi_error.c:2341:17: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/scsi_error.c:2341:17: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:160: Error: unknown opcode {standard input}:506: Error: unknown opcode {standard input}:2884: Error: unknown opcode {standard input}: Assembler messages: {standard input}:491: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsicam.o] Error 1 {standard input}: Assembler messages: {standard input}:593: Error: unknown opcode {standard input}:624: Error: unknown opcode {standard input}:4556: Error: unknown opcode {standard input}:4587: Error: unknown opcode {standard input}:5597: Error: unknown opcode {standard input}:2720: Error: unknown opcode {standard input}:4309: Error: unknown opcode {standard input}:4568: Error: unknown opcode {standard input}:5064: Error: unknown opcode {standard input}: Assembler messages: {standard input}:4245: Error: unknown opcode {standard input}:4276: Error: unknown opcode {standard input}:4585: Error: unknown opcode {standard input}:4805: Error: unknown opcode {standard input}:5287: Error: unknown opcode {standard input}:5396: Error: unknown opcode {standard input}:8335: Error: unknown opcode {standard input}:8445: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_file.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/dma-buf/dma-buf.o] Error 1 {standard input}:8024: Error: unknown opcode {standard input}:8115: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2514: Error: unknown opcode {standard input}:2545: Error: unknown opcode {standard input}:2898: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/nvme/host/fabrics.o] Error 1 {standard input}: Assembler messages: {standard input}:229: Error: unknown opcode {standard input}:323: Error: unknown opcode {standard input}:10758: Error: unknown opcode {standard input}:10797: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_hashtab.o] Error 1 {standard input}: Assembler messages: {standard input}:11856: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/hsi] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:709: Error: unknown opcode {standard input}:1531: Error: unknown opcode {standard input}:14498: Error: unknown opcode {standard input}:14726: Error: unknown opcode {standard input}:14757: Error: unknown opcode {standard input}:14912: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2252: Error: unknown opcode {standard input}:2503: Error: unknown opcode {standard input}:2534: Error: unknown opcode {standard input}:2933: Error: unknown opcode {standard input}:16015: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1831: Error: unknown opcode {standard input}:1862: Error: unknown opcode {standard input}:4738: Error: unknown opcode {standard input}:4874: Error: unknown opcode {standard input}:7458: Error: unknown opcode {standard input}:7492: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/target/iscsi/iscsi_target_nego.o] Error 1 {standard input}:15553: Error: unknown opcode {standard input}:15618: Error: unknown opcode {standard input}:15746: Error: unknown opcode {standard input}:15842: Error: unknown opcode {standard input}:2115: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_drv.o] Error 1 {standard input}:2296: Error: unknown opcode {standard input}:3076: Error: unknown opcode {standard input}:3916: Error: unknown opcode {standard input}:4112: Error: unknown opcode {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1395: Error: unknown opcode {standard input}:17398: Error: unknown opcode {standard input}:17709: Error: unknown opcode {standard input}:18513: Error: unknown opcode {standard input}: Assembler messages: {standard input}:745: Error: unknown opcode {standard input}:811: Error: unknown opcode {standard input}:5845: Error: unknown opcode {standard input}:6146: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/mfd/twl6030-irq.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/mtd/chips/cfi_cmdset_0020.o] Error 1 {standard input}: Assembler messages: {standard input}:250: Error: unknown opcode {standard input}:309: Error: unknown opcode {standard input}:20344: Error: unknown opcode include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 {standard input}:19577: Error: unknown opcode {standard input}:19671: Error: unknown opcode include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 make[4]: *** [scripts/Makefile.build:280: drivers/nvme/host/fc.o] Error 1 {standard input}: Assembler messages: {standard input}:4765: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/net/phy/mscc/mscc_main.o] Error 1 make[4]: *** [scripts/Makefile.build:280: drivers/target/iscsi/iscsi_target_tpg.o] Error 1 {standard input}: Assembler messages: {standard input}:3819: Error: unknown opcode {standard input}: Assembler messages: {standard input}:759: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/mtd/chips/gen_probe.o] Error 1 drivers/mtd/chips/cfi_cmdset_0001.c:1400:15: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@ drivers/mtd/chips/cfi_cmdset_0001.c:1400:15: sparse: expected void * drivers/mtd/chips/cfi_cmdset_0001.c:1400:15: sparse: got void [noderef] __iomem * drivers/mtd/chips/cfi_cmdset_0001.c:179:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] FeatureSupport @@ got restricted __le32 [usertype] @@ drivers/mtd/chips/cfi_cmdset_0001.c:179:30: sparse: expected unsigned int [usertype] FeatureSupport drivers/mtd/chips/cfi_cmdset_0001.c:179:30: sparse: got restricted __le32 [usertype] drivers/mtd/chips/cfi_cmdset_0001.c:180:32: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] BlkStatusRegMask @@ got restricted __le16 [usertype] @@ drivers/mtd/chips/cfi_cmdset_0001.c:180:32: sparse: expected unsigned short [usertype] BlkStatusRegMask drivers/mtd/chips/cfi_cmdset_0001.c:180:32: sparse: got restricted __le16 [usertype] drivers/mtd/chips/cfi_cmdset_0001.c:181:27: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] ProtRegAddr @@ got restricted __le16 [usertype] @@ drivers/mtd/chips/cfi_cmdset_0001.c:181:27: sparse: expected unsigned short [usertype] ProtRegAddr drivers/mtd/chips/cfi_cmdset_0001.c:181:27: sparse: got restricted __le16 [usertype] drivers/mtd/chips/cfi_cmdset_0001.c:415:32: sparse: sparse: cast to restricted __le32 drivers/mtd/chips/cfi_cmdset_0001.c:416:34: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_cmdset_0001.c:417:29: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_cmdset_0001.c:455:51: sparse: sparse: cast to restricted __le16 {standard input}:9394: Error: unknown opcode include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_mm.o] Error 1 drivers/mtd/chips/map_ram.c:93:15: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@ drivers/mtd/chips/map_ram.c:93:15: sparse: expected void * drivers/mtd/chips/map_ram.c:93:15: sparse: got void [noderef] __iomem * {standard input}:21718: Error: unknown opcode {standard input}:23244: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1696: Error: unknown opcode {standard input}:1727: Error: unknown opcode {standard input}:1961: Error: unknown opcode drivers/auxdisplay/charlcd.c:670:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *tmp @@ drivers/auxdisplay/charlcd.c:670:21: sparse: expected char const *__gu_addr drivers/auxdisplay/charlcd.c:670:21: sparse: got char const [noderef] __user *tmp >> drivers/auxdisplay/charlcd.c:670:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/auxdisplay/charlcd.c:670:21: sparse: expected void const volatile [noderef] __user *ptr drivers/auxdisplay/charlcd.c:670:21: sparse: got char const *__gu_addr {standard input}:4297: Error: unknown opcode {standard input}:2149: Error: unknown opcode {standard input}:6837: Error: unknown opcode {standard input}:7771: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_prime.o] Error 1 make[4]: *** [scripts/Makefile.build:280: drivers/target/iscsi/iscsi_target_login.o] Error 1 {standard input}:12582: Error: unknown opcode drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:396:34: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:396:34: sparse: got unsigned char [noderef] [usertype] __user * >> drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ >> drivers/spi/spidev.c:396:34: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:396:34: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/spi/spidev.c:398:34: sparse: expected unsigned int const *__gu_addr drivers/spi/spidev.c:398:34: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/spi/spidev.c:398:34: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:398:34: sparse: got unsigned int const *__gu_addr drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:422:26: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:422:26: sparse: got unsigned char [noderef] [usertype] __user * drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ drivers/spi/spidev.c:422:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:422:26: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:439:26: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:439:26: sparse: got unsigned char [noderef] [usertype] __user * drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ drivers/spi/spidev.c:439:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:439:26: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/spi/spidev.c:452:26: sparse: expected unsigned int const *__gu_addr drivers/spi/spidev.c:452:26: sparse: got unsigned int [noderef] [usertype] __user * drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/spi/spidev.c:452:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:452:26: sparse: got unsigned int const *__gu_addr {standard input}: Assembler messages: {standard input}:3693: Error: unknown opcode {standard input}:23616: Error: unknown opcode {standard input}:17869: Error: unknown opcode {standard input}:19691: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_lib.o] Error 1 {standard input}:10689: Error: unknown opcode {standard input}: Assembler messages: {standard input}:243: Error: unknown opcode drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'dev' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'id' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'cells' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'n_devs' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'mem_base' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'irq_base' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'domain' not described in 'devm_mfd_add_devices' {standard input}:13255: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_error.o] Error 1 drivers/scsi/constants.c:318:9: sparse: sparse: trying to concatenate 24850-character string (8191 bytes max) {standard input}: Assembler messages: {standard input}:2454: Error: unknown opcode {standard input}:2549: Error: unknown opcode {standard input}:4139: Error: unknown opcode drivers/mfd/axp20x-i2c.c:82:36: warning: 'axp20x_i2c_acpi_match' defined but not used [-Wunused-const-variable=] 82 | static const struct acpi_device_id axp20x_i2c_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:4169: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/pcmcia/cs.o] Error 1 {standard input}:4343: Error: unknown opcode {standard input}:5768: Error: unknown opcode {standard input}:5888: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/dma-buf/dma-fence.o] Error 1 {standard input}: Assembler messages: {standard input}:19049: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2228: Error: unknown opcode {standard input}:2367: Error: unknown opcode {standard input}:2474: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/auxdisplay] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/auxdisplay/charlcd.o] Error 1 make[3]: Target '__build' not remade because of errors. drivers/mtd/chips/map_rom.c:79:15: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@ drivers/mtd/chips/map_rom.c:79:15: sparse: expected void * drivers/mtd/chips/map_rom.c:79:15: sparse: got void [noderef] __iomem * {standard input}:14456: Error: unknown opcode {standard input}:14487: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1527: Error: unknown opcode {standard input}:1559: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_framebuffer.o] Error 1 {standard input}: Assembler messages: {standard input}:659: Error: unknown opcode {standard input}:690: Error: unknown opcode {standard input}:985: Error: unknown opcode {standard input}:1113: Error: unknown opcode {standard input}:1167: Error: unknown opcode {standard input}:1407: Error: unknown opcode {standard input}:1544: Error: unknown opcode {standard input}:1605: Error: unknown opcode {standard input}:1670: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/dma-buf/dma-fence-array.o] Error 1 {standard input}:36324: Error: unknown opcode {standard input}:23806: Error: unknown opcode {standard input}:24657: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1214: Error: unknown opcode {standard input}:1272: Error: unknown opcode {standard input}:1972: Error: unknown opcode {standard input}: Assembler messages: {standard input}:5009: Error: unknown opcode {standard input}:5040: Error: unknown opcode {standard input}:5507: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/nvme/host] Error 2 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/nvme] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/nvme/host/core.o] Error 1 make[4]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:2172: Error: unknown opcode {standard input}:2646: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/spi/spidev.o] Error 1 {standard input}: Assembler messages: {standard input}:1033: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2264: Error: unknown opcode {standard input}:8212: Error: unknown opcode {standard input}:25062: Error: unknown opcode {standard input}:25162: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_modeset_lock.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_connector.o] Error 1 {standard input}:2248: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/pcmcia] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}:5540: Error: unknown opcode make[4]: *** [scripts/Makefile.build:497: drivers/net/phy/mscc] Error 2 make[5]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:6587: Error: unknown opcode {standard input}:6618: Error: unknown opcode {standard input}: Assembler messages: {standard input}:3625: Error: unknown opcode {standard input}: Assembler messages: {standard input}:279: Error: unknown opcode {standard input}:706: Error: unknown opcode {standard input}:737: Error: unknown opcode {standard input}:1041: Error: unknown opcode {standard input}:1594: Error: unknown opcode {standard input}:1952: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/dma-buf/dma-fence-chain.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/input/serio/serio.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic.o] Error 1 {standard input}: Assembler messages: {standard input}:2215: Error: unknown opcode {standard input}:3190: Error: unknown opcode {standard input}:4699: Error: unknown opcode {standard input}:5118: Error: unknown opcode drivers/input/serio/serport.c:213:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] __user * @@ make[3]: *** [scripts/Makefile.build:281: drivers/spi/spi.o] Error 1 drivers/input/serio/serport.c:213:21: sparse: expected unsigned long const *__gu_addr drivers/input/serio/serport.c:213:21: sparse: got unsigned long [noderef] __user * >> drivers/input/serio/serport.c:213:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ >> drivers/input/serio/serport.c:213:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/serio/serport.c:213:21: sparse: got unsigned long const *__gu_addr {standard input}:4437: Error: unknown opcode {standard input}:12277: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/target/iscsi/iscsi_target_util.o] Error 1 {standard input}:24613: Error: unknown opcode {standard input}:8699: Error: unknown opcode {standard input}:27000: Error: unknown opcode {standard input}: Assembler messages: {standard input}:489: Error: unknown opcode {standard input}:520: Error: unknown opcode {standard input}:945: Error: unknown opcode {standard input}:2544: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_mode_object.o] Error 1 drivers/net/phy/mdio-boardinfo.c:27: warning: Function parameter or member 'bus' not described in 'mdiobus_setup_mdiodev_from_board_info' drivers/net/phy/mdio-boardinfo.c:27: warning: Function parameter or member 'cb' not described in 'mdiobus_setup_mdiodev_from_board_info' drivers/net/phy/mdio-boardinfo.c:27: warning: Excess function parameter 'mdiodev' description in 'mdiobus_setup_mdiodev_from_board_info' {standard input}: Assembler messages: {standard input}:2397: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/input/gameport] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/input/gameport/gameport.o] Error 1 make[3]: Target '__build' not remade because of errors. {standard input}:27868: Error: unknown opcode {standard input}:28124: Error: unknown opcode {standard input}:29258: Error: unknown opcode {standard input}:29431: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/mtd/chips/cfi_cmdset_0001.o] Error 1 {standard input}:11093: Error: unknown opcode {standard input}:11414: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/target/iscsi/iscsi_target.o] Error 1 {standard input}: Assembler messages: {standard input}:750: Error: unknown opcode {standard input}:781: Error: unknown opcode {standard input}:960: Error: unknown opcode {standard input}:1188: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/dma-buf/sync_file.o] Error 1 {standard input}:12432: Error: unknown opcode {standard input}:13251: Error: unknown opcode drivers/spi/spi-fsl-spi.c:93:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:93:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:93:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:94:33: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *mode @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:94:33: sparse: expected restricted __be32 [noderef] [usertype] __iomem *mode drivers/spi/spi-fsl-spi.c:94:33: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:294:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:294:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:294:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:299:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:299:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:299:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:303:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:303:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:303:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:317:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:317:18: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:317:18: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:350:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:350:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:350:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:459:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:459:18: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:459:18: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:462:45: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:462:45: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:462:45: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:498:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:498:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:498:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:502:53: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:502:53: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:502:53: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:511:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:511:47: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:511:47: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:516:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:516:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:516:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:522:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:522:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:522:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:533:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:533:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:533:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:536:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:536:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:536:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:553:51: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:553:51: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:553:51: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:560:48: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:560:48: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:560:48: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:562:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:562:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:562:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:571:51: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:571:51: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:571:51: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:575:46: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:575:46: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:575:46: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:585:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:585:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:585:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:652:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:652:18: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:652:18: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:655:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:655:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:655:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:656:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:656:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:656:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:657:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:657:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:657:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:658:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:658:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:658:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:669:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:669:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:669:32: sparse: got restricted __be32 * {standard input}:15094: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/mtd/chips/cfi_cmdset_0002.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/mtd/chips] Error 2 {standard input}: Assembler messages: {standard input}:633: Error: unknown opcode {standard input}:664: Error: unknown opcode {standard input}:1073: Error: unknown opcode {standard input}:1322: Error: unknown opcode {standard input}:1604: Error: unknown opcode {standard input}:1953: Error: unknown opcode {standard input}:2122: Error: unknown opcode {standard input}:2303: Error: unknown opcode {standard input}:2563: Error: unknown opcode {standard input}:2748: Error: unknown opcode {standard input}:3150: Error: unknown opcode {standard input}:3382: Error: unknown opcode {standard input}:3998: Error: unknown opcode {standard input}:4049: Error: unknown opcode {standard input}:4457: Error: unknown opcode {standard input}:4618: Error: unknown opcode {standard input}:4651: Error: unknown opcode {standard input}:5378: Error: unknown opcode {standard input}:5495: Error: unknown opcode {standard input}:5552: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/dma-buf/dma-resv.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/input/serio/serport.o] Error 1 {standard input}: Assembler messages: {standard input}:903: Error: unknown opcode {standard input}:1142: Error: unknown opcode {standard input}:1290: Error: unknown opcode {standard input}:1441: Error: unknown opcode {standard input}:1610: Error: unknown opcode {standard input}:1884: Error: unknown opcode {standard input}:1919: Error: unknown opcode drivers/spi/spi-bitbang.c:181: warning: Function parameter or member 'spi' not described in 'spi_bitbang_setup' drivers/spi/spi-bitbang.c:215: warning: Function parameter or member 'spi' not described in 'spi_bitbang_cleanup' drivers/spi/spi-bitbang.c:434: warning: Function parameter or member 'bitbang' not described in 'spi_bitbang_stop' drivers/spi/spi-nxp-fspi.c:472:25: sparse: sparse: cast from restricted __be32 drivers/input/serio/serio_raw.c:219:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/input/serio/serio_raw.c:219:21: sparse: expected char const *__gu_addr drivers/input/serio/serio_raw.c:219:21: sparse: got char const [noderef] __user * >> drivers/input/serio/serio_raw.c:219:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/input/serio/serio_raw.c:219:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/serio/serio_raw.c:219:21: sparse: got char const *__gu_addr drivers/dma-buf/dma-heap.c:43: warning: Function parameter or member 'priv' not described in 'dma_heap' drivers/dma-buf/dma-heap.c:43: warning: Function parameter or member 'heap_devt' not described in 'dma_heap' drivers/dma-buf/dma-heap.c:43: warning: Function parameter or member 'list' not described in 'dma_heap' drivers/dma-buf/dma-heap.c:43: warning: Function parameter or member 'heap_cdev' not described in 'dma_heap' {standard input}: Assembler messages: {standard input}:2232: Error: unknown opcode {standard input}: Assembler messages: {standard input}:26183: Error: unknown opcode {standard input}:26467: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/spi/spi-dw-core.o] Error 1 {standard input}: Assembler messages: {standard input}:1176: Error: unknown opcode {standard input}:1207: Error: unknown opcode {standard input}:3244: Error: unknown opcode {standard input}:4093: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/dma-buf/sw_sync.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_configfs.o] Error 1 {standard input}: Assembler messages: {standard input}:3961: Error: unknown opcode {standard input}: Assembler messages: {standard input}:940: Error: unknown opcode {standard input}:1506: Error: unknown opcode {standard input}:1737: Error: unknown opcode {standard input}:2647: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_tmr.o] Error 1 {standard input}: Assembler messages: {standard input}:1336: Error: unknown opcode {standard input}:1844: Error: unknown opcode {standard input}:7182: Error: unknown opcode {standard input}:7213: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_scan.o] Error 1 {standard input}:1911: Error: unknown opcode {standard input}:2955: Error: unknown opcode {standard input}:3005: Error: unknown opcode {standard input}: Assembler messages: {standard input}:947: Error: unknown opcode {standard input}:2699: Error: unknown opcode {standard input}:3747: Error: unknown opcode {standard input}:3869: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/spi/spi-rockchip.o] Error 1 {standard input}: Assembler messages: {standard input}:1293: Error: unknown opcode {standard input}:1324: Error: unknown opcode {standard input}:2714: Error: unknown opcode {standard input}:3449: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/serio/serio_raw.o] Error 1 {standard input}: Assembler messages: {standard input}:96: Error: unknown opcode {standard input}:950: Error: unknown opcode {standard input}: Assembler messages: {standard input}:955: Error: unknown opcode {standard input}:986: Error: unknown opcode {standard input}:2684: Error: unknown opcode {standard input}:2715: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_client.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/target/iscsi] Error 2 {standard input}:4260: Error: unknown opcode {standard input}:5105: Error: unknown opcode {standard input}:5144: Error: unknown opcode {standard input}:5312: Error: unknown opcode {standard input}:5553: Error: unknown opcode {standard input}:5593: Error: unknown opcode {standard input}:5683: Error: unknown opcode {standard input}:6086: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1303: Error: unknown opcode {standard input}:1334: Error: unknown opcode {standard input}:1561: Error: unknown opcode {standard input}:2084: Error: unknown opcode {standard input}:4488: Error: unknown opcode {standard input}:9089: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_device.o] Error 1 drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: got unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: got unsigned int [noderef] [usertype] __user * drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: got unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: got unsigned int [noderef] [usertype] __user * drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: got unsigned int const *__gu_addr make[2]: *** [scripts/Makefile.build:497: drivers/dma-buf] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}:3236: Error: unknown opcode {standard input}: Assembler messages: {standard input}:9550: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/mtd/devices/docg3.o] Error 1 drivers/input/serio/apbps2.c: In function 'apbps2_open': drivers/input/serio/apbps2.c:106:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 106 | unsigned long tmp; | ^~~ {standard input}: Assembler messages: {standard input}:1690: Error: unknown opcode {standard input}:6751: Error: unknown opcode {standard input}:7204: Error: unknown opcode {standard input}:7321: Error: unknown opcode {standard input}:7935: Error: unknown opcode drivers/mtd/devices/phram.c:85:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *priv @@ drivers/mtd/devices/phram.c:85:34: sparse: expected void [noderef] __iomem *addr drivers/mtd/devices/phram.c:85:34: sparse: got void *priv drivers/mtd/devices/phram.c:101:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *priv @@ got void [noderef] __iomem * @@ drivers/mtd/devices/phram.c:101:23: sparse: expected void *priv drivers/mtd/devices/phram.c:101:23: sparse: got void [noderef] __iomem * drivers/mtd/devices/phram.c:131:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *priv @@ drivers/mtd/devices/phram.c:131:25: sparse: expected void [noderef] __iomem *addr drivers/mtd/devices/phram.c:131:25: sparse: got void *priv {standard input}:4802: Error: unknown opcode {standard input}:5250: Error: unknown opcode {standard input}:6411: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/spi/spi-rspi.o] Error 1 {standard input}: Assembler messages: {standard input}:1130: Error: unknown opcode {standard input}:1161: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_writeback.o] Error 1 {standard input}: Assembler messages: {standard input}:2064: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_syncobj.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/input/serio] Error 2 {standard input}:2128: Error: unknown opcode {standard input}:2155: Error: unknown opcode {standard input}:2203: Error: unknown opcode {standard input}:2263: Error: unknown opcode {standard input}:2290: Error: unknown opcode {standard input}:4073: Error: unknown opcode {standard input}:4354: Error: unknown opcode {standard input}: Assembler messages: {standard input}:69: Error: unknown opcode {standard input}:2330: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/input/joystick/iforce/iforce-main.o] Error 1 {standard input}: Assembler messages: {standard input}:2249: Error: unknown opcode {standard input}:2280: Error: unknown opcode {standard input}:2554: Error: unknown opcode {standard input}:2686: Error: unknown opcode {standard input}:2747: Error: unknown opcode {standard input}:2774: Error: unknown opcode {standard input}:3263: Error: unknown opcode {standard input}:3323: Error: unknown opcode {standard input}:3350: Error: unknown opcode {standard input}:3916: Error: unknown opcode {standard input}:11327: Error: unknown opcode drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/net/hamradio/6pack.c:710:21: sparse: expected int const *__gu_addr drivers/net/hamradio/6pack.c:710:21: sparse: got int [noderef] __user * >> drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/hamradio/6pack.c:710:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/hamradio/6pack.c:710:21: sparse: got int const *__gu_addr {standard input}:14940: Error: unknown opcode {standard input}:5452: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_vblank.o] Error 1 {standard input}:6890: Error: unknown opcode {standard input}:6885: Error: unknown opcode {standard input}:6962: Error: unknown opcode {standard input}:7318: Error: unknown opcode {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}: Assembler messages: {standard input}:4209: Error: unknown opcode {standard input}:4298: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/input/joystick/iforce/iforce-ff.o] Error 1 {standard input}:10137: Error: unknown opcode {standard input}:10322: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/phy.o] Error 1 drivers/mtd/devices/phram.c:19: warning: Function parameter or member 'fmt' not described in 'pr_fmt' {standard input}: Assembler messages: {standard input}:1352: Error: unknown opcode {standard input}:1891: Error: unknown opcode {standard input}:2120: Error: unknown opcode {standard input}:2379: Error: unknown opcode {standard input}:2518: Error: unknown opcode {standard input}:2654: Error: unknown opcode {standard input}:2847: Error: unknown opcode {standard input}:2883: Error: unknown opcode {standard input}:3309: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/caif/caif_serial.o] Error 1 {standard input}:12950: Error: unknown opcode {standard input}:13352: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_alua.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_pr.o] Error 1 drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:925:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:925:21: sparse: got int [noderef] __user *p >> drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/ppp/ppp_generic.c:925:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:925:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:939:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:939:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:939:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:939:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:954:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:954:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:954:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:954:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:651:29: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:651:29: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:651:29: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:651:29: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:681:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:681:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:681:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:681:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:688:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:688:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:688:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:688:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:726:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:726:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:726:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:726:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:755:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:755:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:755:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:755:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:823:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:823:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:823:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:823:21: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:807: Error: unknown opcode {standard input}:988: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/mtd/devices/block2mtd.o] Error 1 {standard input}: Assembler messages: {standard input}:1074: Error: unknown opcode {standard input}:1213: Error: unknown opcode {standard input}:1293: Error: unknown opcode {standard input}: Assembler messages: {standard input}:5244: Error: unknown opcode {standard input}:5575: Error: unknown opcode {standard input}:5630: Error: unknown opcode make[4]: *** [scripts/Makefile.build:497: drivers/input/joystick/iforce] Error 2 make[5]: *** [scripts/Makefile.build:281: drivers/input/joystick/iforce/iforce-packets.o] Error 1 make[5]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:281: drivers/input/keyboard/atkbd.o] Error 1 {standard input}: Assembler messages: {standard input}:1841: Error: unknown opcode {standard input}:1872: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic_uapi.o] Error 1 {standard input}: Assembler messages: {standard input}:705: Error: unknown opcode drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_async.c:420:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_async.c:420:21: sparse: got int [noderef] __user *p >> drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/ppp/ppp_async.c:420:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:420:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/net/ppp/ppp_async.c:435:21: sparse: expected unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:435:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/net/ppp/ppp_async.c:446:21: sparse: expected unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int [noderef] [usertype] __user * drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:446:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_async.c:471:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_async.c:471:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:471:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:471:21: sparse: got int const *__gu_addr {standard input}:2503: Error: unknown opcode {standard input}:2548: Error: unknown opcode {standard input}:2582: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/caif/caif_virtio.o] Error 1 {standard input}: Assembler messages: {standard input}:3541: Error: unknown opcode {standard input}:3573: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_client_modeset.o] Error 1 {standard input}: Assembler messages: {standard input}:1005: Error: unknown opcode {standard input}:1036: Error: unknown opcode {standard input}:2516: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_gem_cma_helper.o] Error 1 {standard input}: Assembler messages: {standard input}:2519: Error: unknown opcode {standard input}:3287: Error: unknown opcode {standard input}:4649: Error: unknown opcode {standard input}:4810: Error: unknown opcode drivers/spi/spi-zynqmp-gqspi.c:205: warning: Function parameter or member 'slavecs' not described in 'zynqmp_gqspi_selectslave' drivers/spi/spi-zynqmp-gqspi.c:205: warning: Function parameter or member 'slavebus' not described in 'zynqmp_gqspi_selectslave' drivers/spi/spi-zynqmp-gqspi.c:205: warning: Excess function parameter 'flashcs' description in 'zynqmp_gqspi_selectslave' drivers/spi/spi-zynqmp-gqspi.c:205: warning: Excess function parameter 'flashbus' description in 'zynqmp_gqspi_selectslave' drivers/spi/spi-zynqmp-gqspi.c:902: warning: Function parameter or member 'dev' not described in 'zynqmp_qspi_suspend' drivers/spi/spi-zynqmp-gqspi.c:902: warning: Excess function parameter '_dev' description in 'zynqmp_qspi_suspend' make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_tpg.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/spi] Error 2 drivers/input/joystick/analog.c:169:17: sparse: sparse: undefined identifier 'boot_cpu_has' drivers/input/joystick/analog.c:169:17: sparse: sparse: undefined identifier 'rdtsc' drivers/input/joystick/analog.c:169:17: sparse: sparse: cast from unknown type drivers/input/joystick/analog.c:179:24: sparse: sparse: undefined identifier 'boot_cpu_has' drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: undefined identifier 'X86_FEATURE_TSC' drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: undefined identifier 'X86_FEATURE_TSC' drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/net/slip/slip.c:458:14: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/net/slip/slip.c:458:14: sparse: void [noderef] __rcu * drivers/net/slip/slip.c:458:14: sparse: void * drivers/net/slip/slip.c:892:9: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/net/slip/slip.c:892:9: sparse: void [noderef] __rcu * drivers/net/slip/slip.c:892:9: sparse: void * drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ >> drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum {standard input}: Assembler messages: {standard input}:1340: Error: unknown opcode {standard input}:1371: Error: unknown opcode {standard input}:1576: Error: unknown opcode {standard input}:1853: Error: unknown opcode {standard input}:2081: Error: unknown opcode {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:176: Error: unknown opcode drivers/input/joystick/analog.c:160:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] 160 | #warning Precise timer not defined for this architecture. | ^~~~~~~ {standard input}:2320: Error: unknown opcode {standard input}:2893: Error: unknown opcode {standard input}:3462: Error: unknown opcode {standard input}:3750: Error: unknown opcode {standard input}:4086: Error: unknown opcode {standard input}:4363: Error: unknown opcode {standard input}:6410: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/hamradio/6pack.o] Error 1 drivers/net/hamradio/baycom_ser_fdx.c:290:43: sparse: sparse: dubious: x | !y {standard input}: Assembler messages: {standard input}:656: Error: unknown opcode {standard input}:701: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/keyboard/newtonkbd.o] Error 1 {standard input}:6282: Error: unknown opcode {standard input}:8161: Error: unknown opcode {standard input}:10803: Error: unknown opcode {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/net/caif] Error 2 make[4]: *** [scripts/Makefile.build:281: drivers/net/caif/caif_hsi.o] Error 1 make[4]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:280: drivers/input/joystick/analog.o] Error 1 {standard input}: Assembler messages: {standard input}:6459: Error: unknown opcode {standard input}:6490: Error: unknown opcode {standard input}:6633: Error: unknown opcode {standard input}:6837: Error: unknown opcode {standard input}:7814: Error: unknown opcode {standard input}:8237: Error: unknown opcode {standard input}:8407: Error: unknown opcode {standard input}:8991: Error: unknown opcode include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (400 becomes 0) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (1000 becomes 0) include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (10000000 becomes 0) {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:878: Error: unknown opcode {standard input}:931: Error: unknown opcode {standard input}: Assembler messages: {standard input}:52: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:2195: Error: unknown opcode {standard input}:2226: Error: unknown opcode {standard input}:2653: Error: unknown opcode {standard input}:3418: Error: unknown opcode {standard input}:3983: Error: unknown opcode {standard input}:4049: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/net/ppp/ppp_async.o] Error 1 {standard input}:4211: Error: unknown opcode {standard input}:4254: Error: unknown opcode drivers/input/keyboard/samsung-keypad.c: In function 'samsung_keypad_irq': drivers/input/keyboard/samsung-keypad.c:149:15: warning: variable 'val' set but not used [-Wunused-but-set-variable] 149 | unsigned int val; | ^~~ {standard input}:4693: Error: unknown opcode {standard input}:4736: Error: unknown opcode {standard input}:6118: Error: unknown opcode {standard input}:6216: Error: unknown opcode {standard input}:6472: Error: unknown opcode {standard input}:6541: Error: unknown opcode {standard input}:6631: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/slip/slip.o] Error 1 {standard input}:17424: Error: unknown opcode drivers/mtd/nand/onenand/onenand_base.c:779:34: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *__from @@ got void [noderef] __iomem * @@ drivers/mtd/nand/onenand/onenand_base.c:779:34: sparse: expected void const *__from drivers/mtd/nand/onenand/onenand_base.c:779:34: sparse: got void [noderef] __iomem * -- make[3]: *** [scripts/Makefile.build:497: drivers/input/keyboard] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}:8751: Error: unknown opcode {standard input}:8811: Error: unknown opcode {standard input}:8838: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/target/target_core_file.o] Error 1 drivers/net/phy/mdio_device.c:188: warning: Function parameter or member 'drv' not described in 'mdio_driver_register' drivers/net/phy/mdio_device.c:188: warning: Excess function parameter 'new_driver' description in 'mdio_driver_register' make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/phy_device.o] Error 1 make[5]: *** [scripts/Makefile.build:280: drivers/mtd/nand/onenand/onenand_base.o] Error 1 make[5]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/mtd/nand/onenand] Error 2 {standard input}: Assembler messages: {standard input}:3784: Error: unknown opcode {standard input}:3818: Error: unknown opcode {standard input}:4649: Error: unknown opcode {standard input}:4680: Error: unknown opcode {standard input}:4869: Error: unknown opcode {standard input}:5089: Error: unknown opcode {standard input}:5116: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/target/target_core_iblock.o] Error 1 {standard input}: Assembler messages: {standard input}:4684: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/media/i2c] Error 2 make[4]: *** [scripts/Makefile.build:281: drivers/media/i2c/ir-kbd-i2c.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/net/slip] Error 2 make[4]: Target '__build' not remade because of errors. drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'input_dev' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'client' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'regmap' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'work' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'regulator' not described in 'drv2665_data' drivers/input/misc/drv260x.c: In function 'drv260x_probe': drivers/input/misc/drv260x.c:478:20: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 478 | if (haptics->mode < DRV260X_LRA_MODE || | ^ drivers/input/misc/drv260x.c:490:23: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 490 | if (haptics->library < DRV260X_LIB_EMPTY || | ^ {standard input}:13511: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1038: Error: unknown opcode {standard input}:1546: Error: unknown opcode {standard input}:1696: Error: unknown opcode {standard input}:1890: Error: unknown opcode {standard input}:2760: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/net/hamradio] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/net/hamradio/hdlcdrv.o] Error 1 make[4]: Target '__build' not remade because of errors. drivers/input/rmi4/rmi_driver.c: In function 'rmi_read_register_desc': drivers/input/rmi4/rmi_driver.c:583:24: warning: comparison is always false due to limited range of data type [-Wtype-limits] 583 | if (size_presence_reg < 0 || size_presence_reg > 35) | ^ drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'input_dev' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'client' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'regmap' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'work' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'enable_gpio' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'regulator' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'magnitude' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'mode' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'library' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'rated_voltage' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'overdrive_voltage' not described in 'drv260x_data' drivers/input/misc/drv260x.c:244: warning: Function parameter or member 'voltage' not described in 'drv260x_calculate_voltage' {standard input}: Assembler messages: {standard input}:633: Error: unknown opcode {standard input}:667: Error: unknown opcode {standard input}: Assembler messages: {standard input}:454: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/joystick/magellan.o] Error 1 {standard input}: Assembler messages: {standard input}:3774: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_transport_srp.o] Error 1 {standard input}:5419: Error: unknown opcode {standard input}:5485: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/mdio_bus.o] Error 1 {standard input}: Assembler messages: {standard input}:1603: Error: unknown opcode {standard input}: Assembler messages: {standard input}:361: Error: unknown opcode {standard input}:1213: Error: unknown opcode {standard input}: Assembler messages: {standard input}:489: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/input/joystick/twidjoy.o] Error 1 make[2]: *** [scripts/Makefile.build:497: drivers/target] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/target/target_core_transport.o] Error 1 make[3]: Target '__build' not remade because of errors. drivers/scsi/virtio_scsi.c:109: warning: Function parameter or member 'vscsi' not described in 'virtscsi_complete_cmd' drivers/scsi/virtio_scsi.c:109: warning: Function parameter or member 'buf' not described in 'virtscsi_complete_cmd' {standard input}:8780: Error: unknown opcode {standard input}:10054: Error: unknown opcode {standard input}:2622: Error: unknown opcode {standard input}: Assembler messages: {standard input}:460: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/joystick/spaceorb.o] Error 1 drivers/scsi/sg.c:415:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:415:21: sparse: expected int const *__gu_addr drivers/scsi/sg.c:415:21: sparse: got int [noderef] __user * >> drivers/scsi/sg.c:415:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/scsi/sg.c:415:21: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:415:21: sparse: got int const *__gu_addr drivers/scsi/sg.c:419:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:419:32: sparse: expected int const *__gu_addr drivers/scsi/sg.c:419:32: sparse: got int [noderef] __user * drivers/scsi/sg.c:419:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:419:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:419:32: sparse: got int const *__gu_addr drivers/scsi/sg.c:425:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] __user * @@ drivers/scsi/sg.c:425:32: sparse: expected signed int const *__gu_addr drivers/scsi/sg.c:425:32: sparse: got signed int [noderef] __user * >> drivers/scsi/sg.c:425:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/scsi/sg.c:425:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:425:32: sparse: got signed int const *__gu_addr drivers/scsi/sg.c:431:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:431:32: sparse: expected int const *__gu_addr drivers/scsi/sg.c:431:32: sparse: got int [noderef] __user * drivers/scsi/sg.c:431:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:431:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:431:32: sparse: got int const *__gu_addr drivers/scsi/sg.c:638:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *[assigned] buf @@ drivers/scsi/sg.c:638:13: sparse: expected char const *__gu_addr drivers/scsi/sg.c:638:13: sparse: got char const [noderef] __user *[assigned] buf >> drivers/scsi/sg.c:638:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/scsi/sg.c:638:13: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:638:13: sparse: got char const *__gu_addr drivers/scsi/sg.c:955:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:955:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:955:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:955:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:955:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:955:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:998:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:998:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:998:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:998:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:998:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:998:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1026:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1026:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1026:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1026:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1026:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1026:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1051:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1051:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1051:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1051:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1051:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1051:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1059:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1059:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1059:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1059:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1059:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1059:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1067:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1067:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1067:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1067:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1067:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1067:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1111:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1111:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1111:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1111:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1111:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1111:26: sparse: got int const *__gu_addr {standard input}:5503: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/rmi4/rmi_driver.o] Error 1 make[3]: *** [scripts/Makefile.build:280: drivers/input/input.o] Error 1 drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'input_dev' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'client' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'regmap' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'work' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'regulator' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'page' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'magnitude' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'frequency' not described in 'drv2667_data' In file included from include/linux/bug.h:5, from include/linux/thread_info.h:12, from include/asm-generic/current.h:5, from ./arch/sh/include/generated/asm/current.h:1, from include/linux/sched.h:12, from include/linux/ratelimit.h:6, from include/linux/dev_printk.h:16, from include/linux/device.h:15, from drivers/mtd/nand/spi/core.c:12: drivers/mtd/nand/spi/core.c: In function 'spinand_get_cfg': drivers/mtd/nand/spi/core.c:55:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 55 | if (WARN_ON(spinand->cur_target < 0 || | ^ arch/sh/include/asm/bug.h:69:25: note: in definition of macro 'WARN_ON' 69 | int __ret_warn_on = !!(x); 2748- | ^ drivers/mtd/nand/spi/core.c: In function 'spinand_set_cfg': drivers/mtd/nand/spi/core.c:68:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 68 | if (WARN_ON(spinand->cur_target < 0 || | ^ arch/sh/include/asm/bug.h:69:25: note: in definition of macro 'WARN_ON' 69 | int __ret_warn_on = !!(x); 2755- | ^ drivers/input/misc/mc13783-pwrbutton.c:32: warning: cannot understand function prototype: 'struct mc13783_pwrb ' make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/input/joystick] Error 2 {standard input}: Assembler messages: {standard input}:7197: Error: unknown opcode {standard input}: Assembler messages: {standard input}:62: Error: unknown opcode {standard input}:1378: Error: unknown opcode {standard input}:1551: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/media/mc/mc-devnode.o] Error 1 drivers/input/rmi4/rmi_f01.c:106: warning: Cannot understand * @ctrl0 - see the bit definitions above. on line 106 - I thought it was a doc line {standard input}:11372: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1617: Error: unknown opcode {standard input}:1648: Error: unknown opcode {standard input}:1839: Error: unknown opcode {standard input}:2239: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/media/v4l2-core/v4l2-device.o] Error 1 {standard input}:14484: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/debug.o] Error 1 drivers/i2c/busses/i2c-rk3x.c:244: warning: Function parameter or member 'i2c' not described in 'rk3x_i2c_start' -- include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (31111110 becomes 1110) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (1110 becomes 10) include/linux/unaligned/be_byteshift.h:38:30: sparse: sparse: cast truncates bits from constant value (3111111000000001 becomes 1) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (3222 becomes 22) include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (32222220 becomes 2220) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (2220 becomes 20) include/linux/unaligned/be_byteshift.h:38:30: sparse: sparse: cast truncates bits from constant value (3222222000000000 becomes 0) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (3111 becomes 11) include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (31111110 becomes 1110) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (1110 becomes 10) include/linux/unaligned/be_byteshift.h:38:30: sparse: sparse: cast truncates bits from constant value (3111111000000001 becomes 1) drivers/net/wireless/ath/ath6kl/wmi.c: In function 'ath6kl_wmi_bitrate_reply_rx': drivers/net/wireless/ath/ath6kl/wmi.c:1204:6: warning: variable 'rate' set but not used [-Wunused-but-set-variable] 1204 | s32 rate; | ^~~~ {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1334: Error: unknown opcode {standard input}:1437: Error: unknown opcode {standard input}:1769: Error: unknown opcode {standard input}:1839: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/i2c/i2c-core-of.o] Error 1 In file included from include/linux/phy.h:14, from drivers/net/phy/at803x.c:10: drivers/net/phy/at803x.c: In function 'at803x_parse_dt': include/linux/bitfield.h:52:28: warning: comparison is always false due to limited range of data type [-Wtype-limits] 52 | BUILD_BUG_ON_MSG((_mask) > (typeof(_reg))~0ull, 2880- | ^ include/linux/compiler.h:319:9: note: in definition of macro '__compiletime_assert' 319 | if (!(condition)) 2883- | ^~~~~~~~~ include/linux/compiler.h:339:2: note: in expansion of macro '_compiletime_assert' 339 | _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/bitfield.h:52:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' 52 | BUILD_BUG_ON_MSG((_mask) > (typeof(_reg))~0ull, 2892- | ^~~~~~~~~~~~~~~~ include/linux/bitfield.h:94:3: note: in expansion of macro '__BF_FIELD_CHECK' 94 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); 2895- | ^~~~~~~~~~~~~~~~ drivers/net/phy/at803x.c:431:24: note: in expansion of macro 'FIELD_PREP' 431 | priv->clk_25m_reg |= FIELD_PREP(mask, sel); | ^~~~~~~~~~ {standard input}:17458: Error: unknown opcode {standard input}: Assembler messages: {standard input}:8653: Error: unknown opcode {standard input}:8872: Error: unknown opcode {standard input}:9073: Error: unknown opcode {standard input}:11038: Error: unknown opcode {standard input}: Assembler messages: {standard input}:116: Error: unknown opcode {standard input}:308: Error: unknown opcode {standard input}:759: Error: unknown opcode {standard input}:1045: Error: unknown opcode {standard input}:1375: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/recovery.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/i2c/i2c-core-base.o] Error 1 {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/main.o] Error 1 {standard input}: Assembler messages: {standard input}:1771: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/at803x.o] Error 1 {standard input}: Assembler messages: {standard input}:832: Error: unknown opcode {standard input}:866: Error: unknown opcode {standard input}:900: Error: unknown opcode {standard input}:1663: Error: unknown opcode {standard input}:1840: Error: unknown opcode {standard input}:1933: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/core.o] Error 1 drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member 'write_cache_variants' not described in 'SPINAND_OP_VARIANTS' drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member '0' not described in 'SPINAND_OP_VARIANTS' {standard input}:13038: Error: unknown opcode {standard input}: Assembler messages: {standard input}:422: Error: unknown opcode {standard input}:453: Error: unknown opcode {standard input}:596: Error: unknown opcode {standard input}:4997: Error: unknown opcode drivers/net/ieee802154/ca8210.c:1840:27: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [addressable] [assigned] [usertype] pan_id @@ got unsigned short [usertype] @@ drivers/net/ieee802154/ca8210.c:1840:27: sparse: expected restricted __le16 [addressable] [assigned] [usertype] pan_id drivers/net/ieee802154/ca8210.c:1840:27: sparse: got unsigned short [usertype] drivers/net/ieee802154/ca8210.c:1845:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [addressable] [assigned] [usertype] pan_id @@ got unsigned short [usertype] @@ drivers/net/ieee802154/ca8210.c:1845:25: sparse: expected restricted __le16 [addressable] [assigned] [usertype] pan_id drivers/net/ieee802154/ca8210.c:1845:25: sparse: got unsigned short [usertype] drivers/net/ieee802154/ca8210.c:1971:28: sparse: sparse: incorrect type in argument 3 (different base types) @@ expected unsigned short [usertype] dst_pan_id @@ got restricted __le16 [addressable] [usertype] pan_id @@ drivers/net/ieee802154/ca8210.c:1971:28: sparse: expected unsigned short [usertype] dst_pan_id drivers/net/ieee802154/ca8210.c:1971:28: sparse: got restricted __le16 [addressable] [usertype] pan_id make[3]: *** [scripts/Makefile.build:497: drivers/media/mc] Error 2 make[4]: *** [scripts/Makefile.build:281: drivers/media/mc/mc-request.o] Error 1 make[4]: Target '__build' not remade because of errors. drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:467:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int [noderef] [usertype] __user * >> drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ >> drivers/mtd/ubi/cdev.c:467:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:512:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:512:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:526:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:526:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:882:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:882:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:969:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:969:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:984:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:984:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:1061:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:1061:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int const *__gu_addr {standard input}:15920: Error: unknown opcode {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}:133: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/cfg80211.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/scsi/st.o] Error 1 {standard input}:18069: Error: unknown opcode drivers/mtd/ubi/build.c:61: warning: Function parameter or member 'ubi_num' not described in 'mtd_dev_param' drivers/ptp/ptp_clockmatrix.c:886: warning: Cannot understand * @brief Maximum absolute value for write phase offset in picoseconds on line 886 - I thought it was a doc line drivers/net/phy/dp83640.c:840:28: sparse: sparse: cast to restricted __be16 drivers/net/phy/dp83640.c:840:28: sparse: sparse: cast to restricted __be16 drivers/net/phy/dp83640.c:840:28: sparse: sparse: cast to restricted __be16 drivers/net/phy/dp83640.c:840:28: sparse: sparse: cast to restricted __be16 {standard input}: Assembler messages: {standard input}:9541: Error: unknown opcode {standard input}:10157: Error: unknown opcode {standard input}:10878: Error: unknown opcode {standard input}:22530: Error: unknown opcode {standard input}: Assembler messages: {standard input}:26163: Error: unknown opcode {standard input}:26696: Error: unknown opcode {standard input}:26766: Error: unknown opcode {standard input}:27013: Error: unknown opcode {standard input}:27083: Error: unknown opcode {standard input}:22467: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/media/v4l2-core/v4l2-ctrls.o] Error 1 {standard input}: Assembler messages: {standard input}:1716: Error: unknown opcode {standard input}:1985: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/media/v4l2-core/v4l2-clk.o] Error 1 drivers/mtd/ubi/kapi.c:464: warning: Function parameter or member 'sgl' not described in 'ubi_leb_read_sg' drivers/mtd/ubi/kapi.c:464: warning: Excess function parameter 'buf' description in 'ubi_leb_read_sg' make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/wmi.o] Error 1 {standard input}: Assembler messages: {standard input}:94: Error: unknown opcode {standard input}:157: Error: unknown opcode drivers/mtd/ubi/wl.c:2054:28: sparse: sparse: context imbalance in 'produce_free_peb' - unexpected unlock {standard input}:28518: Error: unknown opcode drivers/w1/masters/ds2482.c:23: warning: Incorrect use of kernel-doc format: * Allow the active pullup to be disabled, default is enabled. drivers/w1/masters/ds2482.c:32: warning: cannot understand function prototype: 'int ds2482_active_pullup = 1; ' drivers/w1/masters/ds2482.c:82: warning: cannot understand function prototype: 'const u8 ds2482_chan_wr[8] = ' drivers/w1/masters/ds2482.c:132: warning: Function parameter or member 'conf' not described in 'ds2482_calculate_config' drivers/w1/masters/ds2482.c:149: warning: Function parameter or member 'pdev' not described in 'ds2482_select_register' drivers/w1/masters/ds2482.c:149: warning: Function parameter or member 'read_ptr' not described in 'ds2482_select_register' drivers/w1/masters/ds2482.c:170: warning: Function parameter or member 'pdev' not described in 'ds2482_send_cmd' drivers/w1/masters/ds2482.c:170: warning: Function parameter or member 'cmd' not described in 'ds2482_send_cmd' drivers/w1/masters/ds2482.c:190: warning: Function parameter or member 'pdev' not described in 'ds2482_send_cmd_data' drivers/w1/masters/ds2482.c:190: warning: Function parameter or member 'cmd' not described in 'ds2482_send_cmd_data' drivers/w1/masters/ds2482.c:190: warning: Function parameter or member 'byte' not described in 'ds2482_send_cmd_data' drivers/w1/masters/ds2482.c:214: warning: Function parameter or member 'pdev' not described in 'ds2482_wait_1wire_idle' drivers/w1/masters/ds2482.c:241: warning: Function parameter or member 'pdev' not described in 'ds2482_set_channel' drivers/w1/masters/ds2482.c:241: warning: Function parameter or member 'channel' not described in 'ds2482_set_channel' drivers/w1/masters/ds2482.c:264: warning: Function parameter or member 'data' not described in 'ds2482_w1_touch_bit' drivers/w1/masters/ds2482.c:264: warning: Function parameter or member 'bit' not described in 'ds2482_w1_touch_bit' drivers/w1/masters/ds2482.c:296: warning: Function parameter or member 'data' not described in 'ds2482_w1_triplet' drivers/w1/masters/ds2482.c:296: warning: Function parameter or member 'dbit' not described in 'ds2482_w1_triplet' drivers/w1/masters/ds2482.c:326: warning: Function parameter or member 'data' not described in 'ds2482_w1_write_byte' drivers/w1/masters/ds2482.c:326: warning: Function parameter or member 'byte' not described in 'ds2482_w1_write_byte' drivers/w1/masters/ds2482.c:350: warning: Function parameter or member 'data' not described in 'ds2482_w1_read_byte' drivers/w1/masters/ds2482.c:387: warning: Function parameter or member 'data' not described in 'ds2482_w1_reset_bus' drivers/w1/masters/ds2482.c:547: warning: cannot understand function prototype: 'const struct i2c_device_id ds2482_id[] = ' In file included from include/linux/bits.h:23, -- | ^~ make[4]: *** [scripts/Makefile.build:497: drivers/net/wireless/ath] Error 2 make[5]: *** [scripts/Makefile.build:497: drivers/net/wireless/ath/ath6kl] Error 2 make[5]: Target '__build' not remade because of errors. make[6]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:280: drivers/media/dvb-core/dvb_frontend.o] Error 1 drivers/input/rmi4/rmi_f54.c:77: warning: Enum value 'F54_REPORT_NONE' not described in enum 'rmi_f54_report_type' drivers/input/rmi4/rmi_f54.c:77: warning: Enum value 'F54_MAX_REPORT_TYPE' not described in enum 'rmi_f54_report_type' make[7]: *** [scripts/Makefile.build:281: drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.o] Error 1 {standard input}: Assembler messages: {standard input}:69: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/ff-memless.o] Error 1 {standard input}: Assembler messages: {standard input}:150: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2627: Error: unknown opcode {standard input}:2853: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/w1/slaves/w1_therm.o] Error 1 {standard input}: Assembler messages: {standard input}:4053: Error: unknown opcode {standard input}:4416: Error: unknown opcode {standard input}:5294: Error: unknown opcode {standard input}:5775: Error: unknown opcode {standard input}:5806: Error: unknown opcode drivers/w1/w1.c:426:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] rn64_le @@ got restricted __le64 [usertype] @@ drivers/w1/w1.c:426:17: sparse: expected unsigned long long [usertype] rn64_le drivers/w1/w1.c:426:17: sparse: got restricted __le64 [usertype] drivers/w1/w1.c:920:21: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned long long [usertype] rn_le @@ got restricted __le64 [usertype] @@ drivers/w1/w1.c:920:21: sparse: expected unsigned long long [usertype] rn_le drivers/w1/w1.c:920:21: sparse: got restricted __le64 [usertype] drivers/w1/slaves/w1_ds2405.c:30:24: sparse: sparse: cast to restricted __le64 drivers/w1/slaves/w1_ds2405.c:182:32: sparse: sparse: cast to restricted __le64 drivers/net/ieee802154/ca8210.c:326: warning: Function parameter or member 'readq' not described in 'ca8210_test' drivers/net/ieee802154/ca8210.c:375: warning: Function parameter or member 'spi_transfer_complete' not described in 'ca8210_priv' drivers/net/ieee802154/ca8210.c:375: warning: Function parameter or member 'sync_exchange_complete' not described in 'ca8210_priv' drivers/net/ieee802154/ca8210.c:375: warning: Function parameter or member 'promiscuous' not described in 'ca8210_priv' drivers/net/ieee802154/ca8210.c:430: warning: Function parameter or member 'short_address' not described in 'macaddr' drivers/net/ieee802154/ca8210.c:723: warning: Function parameter or member 'cas_ctl' not described in 'ca8210_rx_done' drivers/net/ieee802154/ca8210.c:723: warning: Excess function parameter 'arg' description in 'ca8210_rx_done' drivers/net/ieee802154/ca8210.c:1289: warning: Excess function parameter 'device_ref' description in 'tdme_checkpibattribute' {standard input}:6400: Error: unknown opcode drivers/net/ieee802154/ca8210.c:3053: warning: Function parameter or member 'spi_device' not described in 'ca8210_remove' make[4]: *** [scripts/Makefile.build:280: drivers/media/dvb-core/dvb_ca_en50221.o] Error 1 drivers/net/ieee802154/ca8210.c:3053: warning: Excess function parameter 'priv' description in 'ca8210_remove' drivers/net/ieee802154/ca8210.c:3103: warning: Function parameter or member 'spi_device' not described in 'ca8210_probe' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c: In function 'brcmf_fweh_handle_if_event': drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:131:6: warning: variable 'err' set but not used [-Wunused-but-set-variable] 131 | int err = 0; | ^~~ drivers/net/ieee802154/ca8210.c:3103: warning: Excess function parameter 'priv' description in 'ca8210_probe' drivers/input/rmi4/rmi_i2c.c:39: warning: Function parameter or member 'client' not described in 'rmi_i2c_xport' drivers/input/rmi4/rmi_i2c.c:39: warning: Function parameter or member 'supplies' not described in 'rmi_i2c_xport' drivers/input/rmi4/rmi_i2c.c:39: warning: Function parameter or member 'startup_delay' not described in 'rmi_i2c_xport' drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1741:40: sparse: sparse: incorrect type in initializer (different base types) @@ expected signed int [usertype] requested_dwell @@ got restricted __le32 [usertype] dwell_time @@ drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1741:40: sparse: expected signed int [usertype] requested_dwell drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1741:40: sparse: got restricted __le32 [usertype] dwell_time make[4]: *** [scripts/Makefile.build:281: drivers/media/rc/rc-main.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/input/rmi4] Error 2 make[4]: Target '__build' not remade because of errors. drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:36: warning: Function parameter or member 'datalen' not described in 'brcmf_fweh_queue_item' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:44: warning: Function parameter or member 'code' not described in 'brcmf_fweh_event_name' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:44: warning: Function parameter or member 'name' not described in 'brcmf_fweh_event_name' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:127: warning: Function parameter or member 'emsg' not described in 'brcmf_fweh_handle_if_event' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:127: warning: Function parameter or member 'data' not described in 'brcmf_fweh_handle_if_event' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:127: warning: Excess function parameter 'item' description in 'brcmf_fweh_handle_if_event' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:127: warning: Excess function parameter 'ifpp' description in 'brcmf_fweh_handle_if_event' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:391: warning: Function parameter or member 'packet_len' not described in 'brcmf_fweh_process_event' drivers/net/wireless/marvell/libertas/cfg.c: In function 'lbs_ret_scan': drivers/net/wireless/marvell/libertas/cfg.c:586:6: warning: variable 'ssid_len' set but not used [-Wunused-but-set-variable] 586 | u8 ssid_len = 0; | ^~~~~~~~ drivers/net/wireless/marvell/libertas/cfg.c:585:13: warning: variable 'ssid' set but not used [-Wunused-but-set-variable] 585 | const u8 *ssid = NULL; | ^~~~ drivers/net/wireless/marvell/libertas/cfg.c:507:6: warning: variable 'tsfsize' set but not used [-Wunused-but-set-variable] 507 | int tsfsize; | ^~~~~~~ drivers/net/wireless/marvell/libertas/cfg.c: In function 'lbs_associate': drivers/net/wireless/marvell/libertas/cfg.c:1075:6: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1075 | u8 *tmp; | ^~~ {standard input}: Assembler messages: {standard input}:4685: Error: unknown opcode {standard input}:5831: Error: unknown opcode {standard input}:6023: Error: unknown opcode {standard input}:7361: Error: unknown opcode {standard input}:8193: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/power/supply/power_supply_core.o] Error 1 {standard input}: Assembler messages: {standard input}:828: Error: unknown opcode {standard input}:924: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/sparse-keymap.o] Error 1 {standard input}: Assembler messages: {standard input}:2338: Error: unknown opcode {standard input}:3447: Error: unknown opcode {standard input}:3506: Error: unknown opcode {standard input}:4106: Error: unknown opcode drivers/input/mousedev.c:683:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/input/mousedev.c:683:21: sparse: expected char const *__gu_addr drivers/input/mousedev.c:683:21: sparse: got char const [noderef] __user * >> drivers/input/mousedev.c:683:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/input/mousedev.c:683:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/mousedev.c:683:21: sparse: got char const *__gu_addr {standard input}: Assembler messages: {standard input}:151: Error: unknown opcode {standard input}:310: Error: unknown opcode {standard input}:388: Error: unknown opcode {standard input}:442: Error: unknown opcode {standard input}:964: Error: unknown opcode {standard input}:1011: Error: unknown opcode {standard input}:1188: Error: unknown opcode {standard input}:1238: Error: unknown opcode {standard input}:1825: Error: unknown opcode {standard input}:2025: Error: unknown opcode {standard input}:2459: Error: unknown opcode {standard input}:2649: Error: unknown opcode {standard input}:2753: Error: unknown opcode {standard input}:2786: Error: unknown opcode drivers/input/joydev.c:528:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/input/joydev.c:528:24: sparse: expected signed int const *__gu_addr drivers/input/joydev.c:528:24: sparse: got signed int [noderef] [usertype] __user * >> drivers/input/joydev.c:528:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ >> drivers/input/joydev.c:528:24: sparse: expected void const volatile [noderef] __user *ptr drivers/input/joydev.c:528:24: sparse: got signed int const *__gu_addr drivers/input/joydev.c:680:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected long const *__gu_addr @@ got long [noderef] __user * @@ drivers/input/joydev.c:680:26: sparse: expected long const *__gu_addr drivers/input/joydev.c:680:26: sparse: got long [noderef] __user * >> drivers/input/joydev.c:680:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got long const *__gu_addr @@ drivers/input/joydev.c:680:26: sparse: expected void const volatile [noderef] __user *ptr drivers/input/joydev.c:680:26: sparse: got long const *__gu_addr {standard input}:5323: Error: unknown opcode {standard input}:5889: Error: unknown opcode {standard input}:7566: Error: unknown opcode {standard input}:7818: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/w1/w1.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/media/dvb-core/dvb_ringbuffer.o] Error 1 drivers/mtd/ubi/gluebi.c:446: warning: Function parameter or member 'ns_ptr' not described in 'gluebi_notify' drivers/mtd/ubi/gluebi.c:446: warning: Excess function parameter 'ptr' description in 'gluebi_notify' drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c: In function 'brcmf_p2p_scan_prep': drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:894:31: warning: parameter 'vif' set but not used [-Wunused-but-set-parameter] 894 | struct brcmf_cfg80211_vif *vif) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c: In function 'brcmf_p2p_tx_action_frame': drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1549:6: warning: variable 'timeout' set but not used [-Wunused-but-set-variable] 1549 | s32 timeout = 0; | ^~~~~~~ {standard input}: Assembler messages: {standard input}:7516: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/marvell/libertas/cfg.o] Error 1 {standard input}: Assembler messages: {standard input}:1141: Error: unknown opcode {standard input}:1276: Error: unknown opcode {standard input}: Assembler messages: {standard input}:731: Error: unknown opcode {standard input}:822: Error: unknown opcode {standard input}:885: Error: unknown opcode {standard input}:912: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/w1/w1_int.o] Error 1 {standard input}: Assembler messages: {standard input}:1378: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/w1/w1_family.o] Error 1 {standard input}:3690: Error: unknown opcode {standard input}:4090: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/media/rc/rc-ir-raw.o] Error 1 {standard input}: Assembler messages: {standard input}:11303: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/mtd/ubi] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/mtd/ubi/wl.o] Error 1 make[4]: Target '__build' not remade because of errors. drivers/w1/w1_io.c:396:26: sparse: sparse: cast to restricted __le64 {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c:69: warning: Function parameter or member 'c' not described in 'is_nvram_char' {standard input}:4163: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/mousedev.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/media/v4l2-core] Error 2 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/media/dvb-core] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}:4801: Error: unknown opcode {standard input}:4842: Error: unknown opcode {standard input}:5588: Error: unknown opcode {standard input}:5636: Error: unknown opcode {standard input}: Assembler messages: {standard input}:6541: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/input] Error 2 make[3]: *** [scripts/Makefile.build:281: drivers/input/joydev.o] Error 1 make[3]: Target '__build' not remade because of errors. make[7]: *** [scripts/Makefile.build:281: drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.o] Error 1 drivers/w1/slaves/w1_ds2433.c:50: warning: Function parameter or member 'off' not described in 'w1_f23_fix_count' drivers/w1/slaves/w1_ds2433.c:50: warning: Function parameter or member 'count' not described in 'w1_f23_fix_count' drivers/w1/slaves/w1_ds2433.c:50: warning: Function parameter or member 'size' not described in 'w1_f23_fix_count' drivers/w1/slaves/w1_ds2433.c:153: warning: Function parameter or member 'sl' not described in 'w1_f23_write' drivers/w1/slaves/w1_ds2433.c:153: warning: Function parameter or member 'addr' not described in 'w1_f23_write' drivers/w1/slaves/w1_ds2433.c:153: warning: Function parameter or member 'len' not described in 'w1_f23_write' drivers/w1/slaves/w1_ds2433.c:153: warning: Function parameter or member 'data' not described in 'w1_f23_write' {standard input}: Assembler messages: {standard input}:1581: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/mfd/rave-sp.o] Error 1 {standard input}: Assembler messages: {standard input}:133: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/marvell/libertas/cmdresp.o] Error 1 {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/w1/slaves/w1_ds250x.o] Error 1 {standard input}: Assembler messages: {standard input}:2294: Error: unknown opcode {standard input}:2782: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/media/cec/core/cec-core.o] Error 1 drivers/net/wireless/marvell/libertas/main.c:42:14: sparse: sparse: symbol 'lbs_disablemesh' was not declared. Should it be static? {standard input}: Assembler messages: {standard input}:1514: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/mtd/mtdsuper.o] Error 1 In file included from drivers/net/wireless/marvell/mwifiex/main.c:23: drivers/net/wireless/marvell/mwifiex/wmm.h:41:17: warning: 'tos_to_tid_inv' defined but not used [-Wunused-const-variable=] 41 | static const u8 tos_to_tid_inv[] = { | ^~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:59, from drivers/net/wireless/marvell/mwifiex/main.c:22: drivers/net/wireless/marvell/mwifiex/sdio.h:705:41: warning: 'mwifiex_sdio_sd8801' defined but not used [-Wunused-const-variable=] 705 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8801 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:689:41: warning: 'mwifiex_sdio_sd8987' defined but not used [-Wunused-const-variable=] 689 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8987 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:674:41: warning: 'mwifiex_sdio_sd8887' defined but not used [-Wunused-const-variable=] 674 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8887 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:658:41: warning: 'mwifiex_sdio_sd8997' defined but not used [-Wunused-const-variable=] 658 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8997 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:642:41: warning: 'mwifiex_sdio_sd8977' defined but not used [-Wunused-const-variable=] 642 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8977 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:627:41: warning: 'mwifiex_sdio_sd8897' defined but not used [-Wunused-const-variable=] 627 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:612:41: warning: 'mwifiex_sdio_sd8797' defined but not used [-Wunused-const-variable=] 612 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:597:41: warning: 'mwifiex_sdio_sd8787' defined but not used [-Wunused-const-variable=] 597 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:582:41: warning: 'mwifiex_sdio_sd8786' defined but not used [-Wunused-const-variable=] 582 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = { | ^~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:57, from drivers/net/wireless/marvell/mwifiex/main.c:22: drivers/net/wireless/marvell/mwifiex/pcie.h:310:41: warning: 'mwifiex_pcie8997' defined but not used [-Wunused-const-variable=] 310 | static const struct mwifiex_pcie_device mwifiex_pcie8997 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:300:41: warning: 'mwifiex_pcie8897' defined but not used [-Wunused-const-variable=] 300 | static const struct mwifiex_pcie_device mwifiex_pcie8897 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:292:41: warning: 'mwifiex_pcie8766' defined but not used [-Wunused-const-variable=] 292 | static const struct mwifiex_pcie_device mwifiex_pcie8766 = { | ^~~~~~~~~~~~~~~~ drivers/power/supply/cpcap-battery.c:292: warning: Function parameter or member 'ccd' not described in 'cpcap_battery_read_accumulated' drivers/power/supply/cpcap-battery.c:292: warning: Excess function parameter 'regs' description in 'cpcap_battery_read_accumulated' drivers/mtd/mtdcore.c:1612: warning: Function parameter or member 'section' not described in 'mtd_ooblayout_find_eccregion' drivers/mtd/mtdcore.c:1612: warning: Excess function parameter 'sectionp' description in 'mtd_ooblayout_find_eccregion' {standard input}: Assembler messages: {standard input}:3167: Error: unknown opcode drivers/mtd/mtdchar.c:658:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/mtd/mtdchar.c:658:21: sparse: expected unsigned int const *__gu_addr drivers/mtd/mtdchar.c:658:21: sparse: got unsigned int [noderef] __user * >> drivers/mtd/mtdchar.c:658:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/mtd/mtdchar.c:658:21: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/mtdchar.c:658:21: sparse: got unsigned int const *__gu_addr {standard input}: Assembler messages: {standard input}:131: Error: unknown opcode drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:94: warning: Function parameter or member 'reg50' not described in 'brcmf_btcoex_info' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:94: warning: Function parameter or member 'saved_regs_part2' not described in 'brcmf_btcoex_info' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:233: warning: Function parameter or member 'btci' not described in 'btcmf_btcoex_save_part1' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:253: warning: Function parameter or member 'btci' not described in 'brcmf_btcoex_restore_part1' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:273: warning: Function parameter or member 't' not described in 'brcmf_btcoex_timerfunc' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:453: warning: Function parameter or member 'vif' not described in 'brcmf_btcoex_set_mode' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:453: warning: Function parameter or member 'duration' not described in 'brcmf_btcoex_set_mode' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:453: warning: Excess function parameter 'cfg' description in 'brcmf_btcoex_set_mode' {standard input}:3491: Error: unknown opcode {standard input}:3687: Error: unknown opcode {standard input}:5280: Error: unknown opcode {standard input}:5721: Error: unknown opcode {standard input}:5827: Error: unknown opcode {standard input}:5924: Error: unknown opcode make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/net/phy] Error 2 {standard input}: Assembler messages: {standard input}:669: Error: unknown opcode drivers/mtd/mtdpart.c:300: warning: Function parameter or member 'mtd' not described in '__mtd_del_partition' drivers/mtd/mtdpart.c:300: warning: Excess function parameter 'priv' description in '__mtd_del_partition' make[2]: *** [scripts/Makefile.build:497: drivers/w1] Error 2 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/w1/slaves] Error 2 make[3]: Target '__build' not remade because of errors. make[7]: *** [scripts/Makefile.build:281: drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.o] Error 1 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:496:18: warning: 'brcmf_fws_prio2fifo' defined but not used [-Wunused-const-variable=] 496 | static const int brcmf_fws_prio2fifo[] = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/libertas/main.c: In function 'lbs_start_card': drivers/net/wireless/marvell/libertas/main.c:1068:23: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 1068 | lbs_start_mesh(priv); | ^ {standard input}:8561: Error: unknown opcode {standard input}:8864: Error: unknown opcode {standard input}:8937: Error: unknown opcode {standard input}:9046: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/marvell/mwifiex/main.o] Error 1 make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/marvell/libertas/cmd.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/mfd] Error 2 {standard input}: Assembler messages: {standard input}:3727: Error: unknown opcode {standard input}:4767: Error: unknown opcode {standard input}:5048: Error: unknown opcode {standard input}:7306: Error: unknown opcode {standard input}: Assembler messages: {standard input}:7923: Error: unknown opcode make[6]: *** [scripts/Makefile.build:280: drivers/net/wireless/marvell/libertas/main.o] Error 1 {standard input}: Assembler messages: {standard input}:1252: Error: unknown opcode {standard input}:1694: Error: unknown opcode {standard input}:1725: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/mtd/mtd_blkdevs.o] Error 1 drivers/mtd/rfd_ftl.c:100:13: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:110:25: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:295:29: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned short [usertype] magic @@ got restricted __le16 [usertype] @@ drivers/mtd/rfd_ftl.c:295:29: sparse: expected unsigned short [usertype] magic drivers/mtd/rfd_ftl.c:295:29: sparse: got restricted __le16 [usertype] drivers/mtd/rfd_ftl.c:354:29: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:553:19: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned short [usertype] del @@ got restricted __le16 [usertype] @@ drivers/mtd/rfd_ftl.c:553:19: sparse: expected unsigned short [usertype] del drivers/mtd/rfd_ftl.c:553:19: sparse: got restricted __le16 [usertype] drivers/mtd/rfd_ftl.c:592:21: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:647:15: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] entry @@ got restricted __le16 [usertype] @@ drivers/mtd/rfd_ftl.c:647:15: sparse: expected unsigned short [usertype] entry drivers/mtd/rfd_ftl.c:647:15: sparse: got restricted __le16 [usertype] {standard input}: Assembler messages: {standard input}:139: Error: unknown opcode {standard input}: Assembler messages: {standard input}:444: Error: unknown opcode {standard input}:534: Error: unknown opcode make[6]: *** [scripts/Makefile.build:280: drivers/net/wireless/marvell/libertas/tx.o] Error 1 {standard input}:9374: Error: unknown opcode {standard input}:11272: Error: unknown opcode {standard input}: Assembler messages: {standard input}:959: Error: unknown opcode {standard input}:1008: Error: unknown opcode {standard input}:2026: Error: unknown opcode {standard input}:2264: Error: unknown opcode {standard input}:2354: Error: unknown opcode drivers/hwmon/ad7314.c:52:16: sparse: sparse: cast to restricted __be16 drivers/hwmon/ad7314.c:52:16: sparse: sparse: cast to restricted __be16 drivers/hwmon/ad7314.c:52:16: sparse: sparse: cast to restricted __be16 drivers/hwmon/ad7314.c:52:16: sparse: sparse: cast to restricted __be16 make[3]: *** [scripts/Makefile.build:281: drivers/net/loopback.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/media/rc] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}:8015: Error: unknown opcode {standard input}:13989: Error: unknown opcode {standard input}:8810: Error: unknown opcode drivers/net/wireless/marvell/libertas/firmware.c:134: warning: Function parameter or member 'device' not described in 'lbs_get_firmware_async' drivers/net/wireless/marvell/libertas/firmware.c:134: warning: Excess function parameter 'dev' description in 'lbs_get_firmware_async' make[3]: *** [scripts/Makefile.build:281: drivers/thermal/thermal_core.o] Error 1 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:383: warning: Function parameter or member 'name' not described in 'brcmf_fws_mac_descriptor' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:383: warning: Function parameter or member 'requested_packet' not described in 'brcmf_fws_mac_descriptor' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:383: warning: Function parameter or member 'suppr_transit_count' not described in 'brcmf_fws_mac_descriptor' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:383: warning: Function parameter or member 'send_tim_signal' not described in 'brcmf_fws_mac_descriptor' -- | ^~~~~~~~~~~~~~~~ drivers/leds/led-class.c:516: warning: Function parameter or member 'dev' not described in 'devm_led_classdev_unregister' drivers/leds/led-class.c:516: warning: Excess function parameter 'parent' description in 'devm_led_classdev_unregister' In file included from drivers/net/wireless/marvell/mwifiex/main.h:59, from drivers/net/wireless/marvell/mwifiex/sta_rx.c:26: drivers/net/wireless/marvell/mwifiex/sdio.h:705:41: warning: 'mwifiex_sdio_sd8801' defined but not used [-Wunused-const-variable=] 705 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8801 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:689:41: warning: 'mwifiex_sdio_sd8987' defined but not used [-Wunused-const-variable=] 689 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8987 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:674:41: warning: 'mwifiex_sdio_sd8887' defined but not used [-Wunused-const-variable=] 674 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8887 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:658:41: warning: 'mwifiex_sdio_sd8997' defined but not used [-Wunused-const-variable=] 658 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8997 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:642:41: warning: 'mwifiex_sdio_sd8977' defined but not used [-Wunused-const-variable=] 642 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8977 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:627:41: warning: 'mwifiex_sdio_sd8897' defined but not used [-Wunused-const-variable=] 627 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:612:41: warning: 'mwifiex_sdio_sd8797' defined but not used [-Wunused-const-variable=] 612 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:597:41: warning: 'mwifiex_sdio_sd8787' defined but not used [-Wunused-const-variable=] 597 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:582:41: warning: 'mwifiex_sdio_sd8786' defined but not used [-Wunused-const-variable=] 582 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = { | ^~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:57, from drivers/net/wireless/marvell/mwifiex/sta_rx.c:26: drivers/net/wireless/marvell/mwifiex/pcie.h:310:41: warning: 'mwifiex_pcie8997' defined but not used [-Wunused-const-variable=] 310 | static const struct mwifiex_pcie_device mwifiex_pcie8997 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:300:41: warning: 'mwifiex_pcie8897' defined but not used [-Wunused-const-variable=] 300 | static const struct mwifiex_pcie_device mwifiex_pcie8897 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:292:41: warning: 'mwifiex_pcie8766' defined but not used [-Wunused-const-variable=] 292 | static const struct mwifiex_pcie_device mwifiex_pcie8766 = { | ^~~~~~~~~~~~~~~~ make[3]: *** [scripts/Makefile.build:497: drivers/crypto/ccree] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/crypto] Error 2 drivers/of/of_net.c:104: warning: Function parameter or member 'np' not described in 'of_get_mac_address' In file included from drivers/net/wireless/marvell/mwifiex/main.h:59, from drivers/net/wireless/marvell/mwifiex/ethtool.c:20: drivers/net/wireless/marvell/mwifiex/sdio.h:705:41: warning: 'mwifiex_sdio_sd8801' defined but not used [-Wunused-const-variable=] 705 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8801 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:689:41: warning: 'mwifiex_sdio_sd8987' defined but not used [-Wunused-const-variable=] 689 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8987 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:674:41: warning: 'mwifiex_sdio_sd8887' defined but not used [-Wunused-const-variable=] 674 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8887 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:658:41: warning: 'mwifiex_sdio_sd8997' defined but not used [-Wunused-const-variable=] 658 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8997 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:642:41: warning: 'mwifiex_sdio_sd8977' defined but not used [-Wunused-const-variable=] 642 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8977 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:627:41: warning: 'mwifiex_sdio_sd8897' defined but not used [-Wunused-const-variable=] 627 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:612:41: warning: 'mwifiex_sdio_sd8797' defined but not used [-Wunused-const-variable=] 612 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:597:41: warning: 'mwifiex_sdio_sd8787' defined but not used [-Wunused-const-variable=] 597 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:582:41: warning: 'mwifiex_sdio_sd8786' defined but not used [-Wunused-const-variable=] 582 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = { | ^~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:57, from drivers/net/wireless/marvell/mwifiex/ethtool.c:20: drivers/net/wireless/marvell/mwifiex/pcie.h:310:41: warning: 'mwifiex_pcie8997' defined but not used [-Wunused-const-variable=] 310 | static const struct mwifiex_pcie_device mwifiex_pcie8997 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:300:41: warning: 'mwifiex_pcie8897' defined but not used [-Wunused-const-variable=] 300 | static const struct mwifiex_pcie_device mwifiex_pcie8897 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:292:41: warning: 'mwifiex_pcie8766' defined but not used [-Wunused-const-variable=] 292 | static const struct mwifiex_pcie_device mwifiex_pcie8766 = { | ^~~~~~~~~~~~~~~~ drivers/of/of_reserved_mem.c:53: warning: Function parameter or member 'node' not described in 'fdt_reserved_mem_save_node' drivers/of/of_reserved_mem.c:53: warning: Function parameter or member 'uname' not described in 'fdt_reserved_mem_save_node' drivers/of/of_reserved_mem.c:53: warning: Function parameter or member 'base' not described in 'fdt_reserved_mem_save_node' drivers/of/of_reserved_mem.c:53: warning: Function parameter or member 'size' not described in 'fdt_reserved_mem_save_node' drivers/of/of_reserved_mem.c:76: warning: Function parameter or member 'node' not described in '__reserved_mem_alloc_size' drivers/of/of_reserved_mem.c:76: warning: Function parameter or member 'uname' not described in '__reserved_mem_alloc_size' drivers/of/of_reserved_mem.c:76: warning: Function parameter or member 'res_base' not described in '__reserved_mem_alloc_size' drivers/of/of_reserved_mem.c:76: warning: Function parameter or member 'res_size' not described in '__reserved_mem_alloc_size' drivers/of/of_reserved_mem.c:171: warning: Function parameter or member 'rmem' not described in '__reserved_mem_init_node' drivers/vhost/vringh.c:567:18: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __virtio16 const *__gu_addr @@ got restricted __virtio16 [noderef] [usertype] __user * @@ drivers/vhost/vringh.c:567:18: sparse: expected restricted __virtio16 const *__gu_addr drivers/vhost/vringh.c:567:18: sparse: got restricted __virtio16 [noderef] [usertype] __user * >> drivers/vhost/vringh.c:567:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got restricted __virtio16 const *__gu_addr @@ >> drivers/vhost/vringh.c:567:18: sparse: expected void const volatile [noderef] __user *ptr drivers/vhost/vringh.c:567:18: sparse: got restricted __virtio16 const *__gu_addr In file included from drivers/net/wireless/marvell/mwifiex/main.h:59, from drivers/net/wireless/marvell/mwifiex/11h.c:20: drivers/net/wireless/marvell/mwifiex/sdio.h:705:41: warning: 'mwifiex_sdio_sd8801' defined but not used [-Wunused-const-variable=] 705 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8801 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:689:41: warning: 'mwifiex_sdio_sd8987' defined but not used [-Wunused-const-variable=] 689 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8987 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:674:41: warning: 'mwifiex_sdio_sd8887' defined but not used [-Wunused-const-variable=] 674 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8887 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:658:41: warning: 'mwifiex_sdio_sd8997' defined but not used [-Wunused-const-variable=] 658 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8997 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:642:41: warning: 'mwifiex_sdio_sd8977' defined but not used [-Wunused-const-variable=] 642 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8977 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:627:41: warning: 'mwifiex_sdio_sd8897' defined but not used [-Wunused-const-variable=] 627 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:612:41: warning: 'mwifiex_sdio_sd8797' defined but not used [-Wunused-const-variable=] 612 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:597:41: warning: 'mwifiex_sdio_sd8787' defined but not used [-Wunused-const-variable=] 597 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:582:41: warning: 'mwifiex_sdio_sd8786' defined but not used [-Wunused-const-variable=] 582 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = { | ^~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:57, from drivers/net/wireless/marvell/mwifiex/11h.c:20: drivers/net/wireless/marvell/mwifiex/pcie.h:310:41: warning: 'mwifiex_pcie8997' defined but not used [-Wunused-const-variable=] 310 | static const struct mwifiex_pcie_device mwifiex_pcie8997 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:300:41: warning: 'mwifiex_pcie8897' defined but not used [-Wunused-const-variable=] 300 | static const struct mwifiex_pcie_device mwifiex_pcie8897 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:292:41: warning: 'mwifiex_pcie8766' defined but not used [-Wunused-const-variable=] 292 | static const struct mwifiex_pcie_device mwifiex_pcie8766 = { | ^~~~~~~~~~~~~~~~ drivers/leds/leds-bcm6328.c:103: warning: Function parameter or member 'pin' not described in 'bcm6328_pin2shift' drivers/leds/leds-is31fl32xx.c:85: warning: Function parameter or member 'sw_shutdown_func' not described in 'is31fl32xx_chipdef' {standard input}: Assembler messages: {standard input}:2987: Error: unknown opcode {standard input}:3885: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/of] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/of/overlay.o] Error 1 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}: Error: unaligned opcodes detected in executable segment make[4]: *** [scripts/Makefile.build:281: drivers/mmc/core/sd.o] Error 1 In file included from drivers/net/wireless/marvell/mwifiex/tdls.c:20: drivers/net/wireless/marvell/mwifiex/wmm.h:34:18: warning: 'mwifiex_1d_to_wmm_queue' defined but not used [-Wunused-const-variable=] 34 | static const u16 mwifiex_1d_to_wmm_queue[8] = { 1, 0, 0, 1, 2, 2, 3, 3 }; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:59, from drivers/net/wireless/marvell/mwifiex/tdls.c:19: drivers/net/wireless/marvell/mwifiex/sdio.h:705:41: warning: 'mwifiex_sdio_sd8801' defined but not used [-Wunused-const-variable=] 705 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8801 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:689:41: warning: 'mwifiex_sdio_sd8987' defined but not used [-Wunused-const-variable=] 689 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8987 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:674:41: warning: 'mwifiex_sdio_sd8887' defined but not used [-Wunused-const-variable=] 674 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8887 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:658:41: warning: 'mwifiex_sdio_sd8997' defined but not used [-Wunused-const-variable=] 658 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8997 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:642:41: warning: 'mwifiex_sdio_sd8977' defined but not used [-Wunused-const-variable=] 642 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8977 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:627:41: warning: 'mwifiex_sdio_sd8897' defined but not used [-Wunused-const-variable=] 627 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:612:41: warning: 'mwifiex_sdio_sd8797' defined but not used [-Wunused-const-variable=] 612 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:597:41: warning: 'mwifiex_sdio_sd8787' defined but not used [-Wunused-const-variable=] 597 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:582:41: warning: 'mwifiex_sdio_sd8786' defined but not used [-Wunused-const-variable=] 582 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = { | ^~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:57, from drivers/net/wireless/marvell/mwifiex/tdls.c:19: drivers/net/wireless/marvell/mwifiex/pcie.h:310:41: warning: 'mwifiex_pcie8997' defined but not used [-Wunused-const-variable=] 310 | static const struct mwifiex_pcie_device mwifiex_pcie8997 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:300:41: warning: 'mwifiex_pcie8897' defined but not used [-Wunused-const-variable=] 300 | static const struct mwifiex_pcie_device mwifiex_pcie8897 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:292:41: warning: 'mwifiex_pcie8766' defined but not used [-Wunused-const-variable=] 292 | static const struct mwifiex_pcie_device mwifiex_pcie8766 = { | ^~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/11n.h:25, from drivers/net/wireless/marvell/mwifiex/debugfs.c:23: drivers/net/wireless/marvell/mwifiex/wmm.h:41:17: warning: 'tos_to_tid_inv' defined but not used [-Wunused-const-variable=] 41 | static const u8 tos_to_tid_inv[] = { -- 105 | static const struct mmc_fixup mmc_ext_csd_fixups[] = { | ^~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:139: Error: unknown opcode {standard input}:734: Error: unknown opcode drivers/fsi/fsi-core.c:389:12: sparse: sparse: function 'fsi_slave_claim_range' with external linkage has definition drivers/fsi/fsi-core.c:403:13: sparse: sparse: function 'fsi_slave_release_range' with external linkage has definition drivers/mmc/core/regulator.c:178: warning: Function parameter or member 'mmc' not described in 'mmc_regulator_set_vqmmc' drivers/mmc/core/regulator.c:178: warning: Function parameter or member 'ios' not described in 'mmc_regulator_set_vqmmc' make[3]: *** [scripts/Makefile.build:280: drivers/soundwire/bus.o] Error 1 {standard input}: Assembler messages: {standard input}:5851: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/extcon/extcon.o] Error 1 drivers/nvmem/rave-sp-eeprom.c:48: warning: bad line: drivers/mmc/core/queue.c:212: warning: Function parameter or member 'mq' not described in '__mmc_init_request' drivers/mmc/core/queue.c:212: warning: Excess function parameter 'q' description in '__mmc_init_request' drivers/mcb/mcb-core.c:269: warning: Function parameter or member 'carrier' not described in 'mcb_alloc_bus' drivers/mcb/mcb-core.c:466: warning: Function parameter or member 'mem' not described in 'mcb_release_mem' drivers/mcb/mcb-core.c:466: warning: Excess function parameter 'dev' description in 'mcb_release_mem' {standard input}: Assembler messages: {standard input}:2284: Error: unknown opcode {standard input}:3618: Error: unknown opcode drivers/mcb/mcb-parse.c:54:14: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] reg1 @@ got unsigned int [usertype] r_ @@ drivers/mcb/mcb-parse.c:54:14: sparse: expected restricted __le32 [usertype] reg1 drivers/mcb/mcb-parse.c:54:14: sparse: got unsigned int [usertype] r_ drivers/mcb/mcb-parse.c:55:14: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] reg2 @@ got unsigned int [usertype] r_ @@ drivers/mcb/mcb-parse.c:55:14: sparse: expected restricted __le32 [usertype] reg2 drivers/mcb/mcb-parse.c:55:14: sparse: got unsigned int [usertype] r_ drivers/mcb/mcb-parse.c:59:20: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:60:21: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:61:21: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:62:21: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:63:23: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:64:22: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:93:27: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:94:25: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:150:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] reg @@ got unsigned int [usertype] r_ @@ drivers/mcb/mcb-parse.c:150:21: sparse: expected restricted __le32 [usertype] reg drivers/mcb/mcb-parse.c:150:21: sparse: got unsigned int [usertype] r_ drivers/mcb/mcb-parse.c:152:29: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:198:25: sparse: sparse: cast to restricted __le16 make[2]: *** [scripts/Makefile.build:497: drivers/ipack] Error 2 make[3]: *** [scripts/Makefile.build:497: drivers/ipack/devices] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:281: drivers/ipack/devices/ipoctal.o] Error 1 make[4]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}:2517: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/hwtracing/intel_th/gth.o] Error 1 drivers/extcon/extcon-adc-jack.c:53: warning: Function parameter or member 'dev' not described in 'adc_jack_data' drivers/extcon/extcon-adc-jack.c:53: warning: Function parameter or member 'wakeup_source' not described in 'adc_jack_data' {standard input}: Assembler messages: {standard input}:2947: Error: unknown opcode {standard input}:5905: Error: unknown opcode {standard input}:6153: Error: unknown opcode drivers/hwtracing/intel_th/core.c:849: warning: Function parameter or member 'drvdata' not described in 'intel_th_alloc' drivers/hwtracing/intel_th/core.c:849: warning: Function parameter or member 'ndevres' not described in 'intel_th_alloc' drivers/hwtracing/intel_th/core.c:849: warning: Excess function parameter 'irq' description in 'intel_th_alloc' make[4]: *** [scripts/Makefile.build:280: drivers/mmc/core/sdio_uart.o] Error 1 make[2]: *** [scripts/Makefile.build:497: drivers/hwtracing/intel_th] Error 2 make[3]: Target '__build' not remade because of errors. make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/ras] Error 2 make[2]: *** [scripts/Makefile.build:497: drivers/soundwire] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:6109: Error: unknown opcode {standard input}:6140: Error: unknown opcode {standard input}: Assembler messages: {standard input}:8330: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/hwtracing/stm/core.o] Error 1 {standard input}:6792: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/nvmem] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/nvmem/core.o] Error 1 make[3]: Target '__build' not remade because of errors. drivers/iio/accel/bmc150-accel-i2c.c:51:36: warning: 'bmc150_accel_acpi_match' defined but not used [-Wunused-const-variable=] 51 | static const struct acpi_device_id bmc150_accel_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:497: drivers/mmc] Error 2 make[3]: *** [scripts/Makefile.build:497: drivers/mmc/core] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: Target '__build' not remade because of errors. drivers/iio/accel/bmc150-accel-core.c:218:3: warning: 'bmc150_accel_sample_upd_time' defined but not used [-Wunused-const-variable=] 218 | } bmc150_accel_sample_upd_time[] = { {0x08, 64}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/iio/accel/bma220_spi.c:312:36: warning: 'bma220_acpi_id' defined but not used [-Wunused-const-variable=] 312 | static const struct acpi_device_id bma220_acpi_id[] = { | ^~~~~~~~~~~~~~ drivers/iio/accel/bmc150-accel-spi.c:36:36: warning: 'bmc150_accel_acpi_match' defined but not used [-Wunused-const-variable=] 36 | static const struct acpi_device_id bmc150_accel_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:5478: Error: unknown opcode {standard input}:5509: Error: unknown opcode {standard input}:6192: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/greybus/connection.o] Error 1 drivers/fsi/fsi-scom.c:497:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/fsi/fsi-scom.c:497:13: sparse: expected unsigned int const *__gu_addr drivers/fsi/fsi-scom.c:497:13: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/fsi/fsi-scom.c:497:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/fsi/fsi-scom.c:497:13: sparse: expected void const volatile [noderef] __user *ptr drivers/fsi/fsi-scom.c:497:13: sparse: got unsigned int const *__gu_addr drivers/hwtracing/stm/ftrace.c:38: warning: Function parameter or member 'export' not described in 'stm_ftrace_write' make[2]: *** [scripts/Makefile.build:497: drivers/extcon] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:1280: Error: unknown opcode {standard input}: Assembler messages: {standard input}:5218: Error: unknown opcode {standard input}:5378: Error: unknown opcode {standard input}:3093: Error: unknown opcode {standard input}:3124: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/iio/accel/bmc150-accel-core.o] Error 1 drivers/iio/accel/mma9551.c:596:36: warning: 'mma9551_acpi_match' defined but not used [-Wunused-const-variable=] 596 | static const struct acpi_device_id mma9551_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~ drivers/iio/accel/mxc4005.c:475:36: warning: 'mxc4005_acpi_match' defined but not used [-Wunused-const-variable=] 475 | static const struct acpi_device_id mxc4005_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~ drivers/iio/adc/ad7923.c:159: warning: Function parameter or member 'indio_dev' not described in 'ad7923_update_scan_mode' drivers/iio/adc/ad7923.c:159: warning: Function parameter or member 'active_scan_mask' not described in 'ad7923_update_scan_mode' drivers/iio/adc/ad7923.c:202: warning: Function parameter or member 'irq' not described in 'ad7923_trigger_handler' drivers/iio/adc/ad7923.c:202: warning: Function parameter or member 'p' not described in 'ad7923_trigger_handler' drivers/iio/accel/kxcjk-1013.c:1505:36: warning: 'kx_acpi_match' defined but not used [-Wunused-const-variable=] 1505 | static const struct acpi_device_id kx_acpi_match[] = { | ^~~~~~~~~~~~~ drivers/iio/accel/kxcjk-1013.c:208:3: warning: 'odr_start_up_times' defined but not used [-Wunused-const-variable=] 208 | } odr_start_up_times[KX_MAX_CHIPS][12] = { | ^~~~~~~~~~~~~~~~~~ {standard input}:8004: Error: unknown opcode {standard input}:8739: Error: unknown opcode {standard input}:8873: Error: unknown opcode {standard input}:10708: Error: unknown opcode {standard input}:10842: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/greybus] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/greybus/operation.o] Error 1 make[3]: Target '__build' not remade because of errors. make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/hwtracing/stm] Error 2 drivers/iio/accel/mxc6255.c:169:36: warning: 'mxc6255_acpi_match' defined but not used [-Wunused-const-variable=] 169 | static const struct acpi_device_id mxc6255_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:5133: Error: unknown opcode drivers/iio/accel/stk8312.c:647:36: warning: 'stk8312_acpi_id' defined but not used [-Wunused-const-variable=] 647 | static const struct acpi_device_id stk8312_acpi_id[] = { | ^~~~~~~~~~~~~~~ {standard input}:7235: Error: unknown opcode {standard input}:7423: Error: unknown opcode {standard input}:7501: Error: unknown opcode {standard input}:8109: Error: unknown opcode {standard input}: Assembler messages: {standard input}:857: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/iio/buffer/industrialio-buffer-cb.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/most/core.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/most] Error 2 drivers/iio/chemical/bme680_i2c.c:46:36: warning: 'bme680_acpi_match' defined but not used [-Wunused-const-variable=] 46 | static const struct acpi_device_id bme680_acpi_match[] = { | ^~~~~~~~~~~~~~~~~ drivers/iio/chemical/bme680_spi.c:149:36: warning: 'bme680_acpi_match' defined but not used [-Wunused-const-variable=] 149 | static const struct acpi_device_id bme680_acpi_match[] = { | ^~~~~~~~~~~~~~~~~ make[3]: *** [scripts/Makefile.build:497: drivers/iio/buffer] Error 2 make[4]: Target '__build' not remade because of errors. drivers/iio/adc/mcp320x.c:96: warning: Function parameter or member '____cacheline_aligned' not described in 'mcp320x' drivers/iio/chemical/sgp30.c:236: warning: Function parameter or member 'duration_us' not described in 'sgp_read_cmd' drivers/iio/common/ms_sensors/ms_sensors_i2c.c:186: warning: Function parameter or member 'client' not described in 'ms_sensors_read_serial' drivers/iio/common/ms_sensors/ms_sensors_i2c.c:186: warning: Excess function parameter 'cli' description in 'ms_sensors_read_serial' make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/iio/accel] Error 2 drivers/iio/adc/ad7949.c:58: warning: Function parameter or member 'indio_dev' not described in 'ad7949_adc_chip' drivers/iio/adc/ad7949.c:58: warning: Function parameter or member '____cacheline_aligned' not described in 'ad7949_adc_chip' drivers/iio/adc/ti_am335x_adc.c: In function 'tiadc_buffer_preenable': drivers/iio/adc/ti_am335x_adc.c:297:21: warning: variable 'read' set but not used [-Wunused-but-set-variable] 297 | int i, fifo1count, read; | ^~~~ drivers/iio/adc/ti_am335x_adc.c: In function 'tiadc_buffer_predisable': drivers/iio/adc/ti_am335x_adc.c:346:21: warning: variable 'read' set but not used [-Wunused-but-set-variable] 346 | int fifo1count, i, read; | ^~~~ {standard input}: Assembler messages: {standard input}:1878: Error: unknown opcode {standard input}:3445: Error: unknown opcode make[5]: *** [scripts/Makefile.build:280: drivers/iio/common/ssp_sensors/ssp_dev.o] Error 1 make[5]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/iio/common/ssp_sensors] Error 2 drivers/iio/dac/ad5380.c:64: warning: Function parameter or member 'lock' not described in 'ad5380_state' drivers/iio/adc/max1363.c:190: warning: Function parameter or member 'lock' not described in 'max1363_state' drivers/iio/adc/twl4030-madc.c: In function 'twl4030_madc_threaded_irq_handler': drivers/iio/adc/twl4030-madc.c:475:9: warning: variable 'len' set but not used [-Wunused-but-set-variable] 475 | int i, len, ret; | ^~~ drivers/iio/adc/twl4030-madc.c: In function 'twl4030_madc_conversion': drivers/iio/adc/twl4030-madc.c:619:18: warning: comparison is always false due to limited range of data type [-Wtype-limits] 619 | if (req->method < TWL4030_MADC_RT || req->method > TWL4030_MADC_SW2) { | ^ drivers/iio/gyro/adis16080.c:49: warning: Function parameter or member 'lock' not described in 'adis16080_state' drivers/iio/gyro/adis16080.c:49: warning: Function parameter or member '____cacheline_aligned' not described in 'adis16080_state' {standard input}: Assembler messages: {standard input}:3427: Error: unknown opcode -- sound/core/seq/seq_clientmgr.c:709:9: sparse: sparse: context imbalance in 'deliver_to_subscribers' - different lock contexts for basic block {standard input}: Assembler messages: {standard input}:817: Error: unknown opcode {standard input}:911: Error: unknown opcode {standard input}:983: Error: unknown opcode {standard input}:1212: Error: unknown opcode {standard input}:1638: Error: unknown opcode {standard input}:2539: Error: unknown opcode {standard input}:2699: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_fifo.o] Error 1 {standard input}: Assembler messages: {standard input}:588: Error: unknown opcode {standard input}:679: Error: unknown opcode {standard input}:881: Error: unknown opcode {standard input}:1580: Error: unknown opcode {standard input}:2048: Error: unknown opcode {standard input}: Assembler messages: {standard input}:4526: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_queue.o] Error 1 sound/core/control.c:776:17: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:776:26: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:777:17: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:777:26: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:796:48: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:1462:40: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:1565:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ptr @@ sound/core/control.c:1565:13: sparse: expected int const *__gu_addr sound/core/control.c:1565:13: sparse: got int [noderef] __user *ptr >> sound/core/control.c:1565:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/control.c:1565:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/control.c:1565:13: sparse: got int const *__gu_addr {standard input}:6767: Error: unknown opcode {standard input}:7990: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1544: Error: unknown opcode {standard input}:1823: Error: unknown opcode {standard input}:2489: Error: unknown opcode {standard input}:2708: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_memory.o] Error 1 {standard input}: Assembler messages: {standard input}:3999: Error: unknown opcode {standard input}:8582: Error: unknown opcode {standard input}:13022: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: sound/core/control.o] Error 1 {standard input}: Assembler messages: {standard input}:4126: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_clientmgr.o] Error 1 make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_timer.o] Error 1 sound/core/seq/seq_virmidi.c:65:12: sparse: sparse: context imbalance in 'snd_virmidi_dev_receive_event' - different lock contexts for basic block sound/core/timer.c:2045:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/timer.c:2045:13: sparse: expected int const *__gu_addr sound/core/timer.c:2045:13: sparse: got int [noderef] __user *p >> sound/core/timer.c:2045:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/timer.c:2045:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/timer.c:2045:13: sparse: got int const *__gu_addr sound/core/timer.c:790:25: sparse: sparse: context imbalance in 'snd_timer_process_callbacks' - unexpected unlock {standard input}: Assembler messages: {standard input}:537: Error: unknown opcode {standard input}:1302: Error: unknown opcode {standard input}:1585: Error: unknown opcode {standard input}:2430: Error: unknown opcode {standard input}:3051: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: sound/core/seq/seq_ports.o] Error 1 make[3]: *** [scripts/Makefile.build:497: sound/core/seq] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:8114: Error: unknown opcode sound/core/pcm.c:92:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:92:29: sparse: expected int const *__gu_addr sound/core/pcm.c:92:29: sparse: got int [noderef] __user * >> sound/core/pcm.c:92:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/pcm.c:92:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:92:29: sparse: got int const *__gu_addr sound/core/pcm.c:112:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm.c:112:29: sparse: expected unsigned int const *__gu_addr sound/core/pcm.c:112:29: sparse: got unsigned int [noderef] __user * >> sound/core/pcm.c:112:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm.c:112:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:112:29: sparse: got unsigned int const *__gu_addr sound/core/pcm.c:114:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:114:29: sparse: expected int const *__gu_addr sound/core/pcm.c:114:29: sparse: got int [noderef] __user * sound/core/pcm.c:114:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm.c:114:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:114:29: sparse: got int const *__gu_addr sound/core/pcm.c:119:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm.c:119:29: sparse: expected unsigned int const *__gu_addr sound/core/pcm.c:119:29: sparse: got unsigned int [noderef] __user * sound/core/pcm.c:119:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm.c:119:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:119:29: sparse: got unsigned int const *__gu_addr sound/core/pcm.c:155:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:155:29: sparse: expected int const *__gu_addr sound/core/pcm.c:155:29: sparse: got int [noderef] __user * sound/core/pcm.c:155:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm.c:155:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:155:29: sparse: got int const *__gu_addr sound/core/pcm.c:999:9: sparse: sparse: context imbalance in 'snd_pcm_detach_substream' - different lock contexts for basic block make[2]: *** [scripts/Makefile.build:497: sound/drivers] Error 2 make[3]: *** [scripts/Makefile.build:280: sound/drivers/aloop.o] Error 1 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:3026: Error: unknown opcode {standard input}:3843: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: sound/core/init.o] Error 1 sound/core/pcm_native.c:1010:20: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ sound/core/pcm_native.c:1010:20: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:1010:20: sparse: got unsigned int [noderef] [usertype] __user * >> sound/core/pcm_native.c:1010:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> sound/core/pcm_native.c:1010:20: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:1010:20: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:1036:20: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ sound/core/pcm_native.c:1036:20: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:1036:20: sparse: got unsigned int [noderef] [usertype] __user * sound/core/pcm_native.c:1036:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:1036:20: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:1036:20: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:2944:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:2944:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:2944:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:2944:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:2944:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:2944:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3037:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3037:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3037:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3037:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3037:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3037:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3038:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3038:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3038:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3038:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3038:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3038:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3039:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3039:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3039:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3039:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3039:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3039:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3087:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *_arg @@ sound/core/pcm_native.c:3087:13: sparse: expected int const *__gu_addr sound/core/pcm_native.c:3087:13: sparse: got int [noderef] __user *_arg >> sound/core/pcm_native.c:3087:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm_native.c:3087:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3087:13: sparse: got int const *__gu_addr sound/core/pcm_native.c:3153:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@ sound/core/pcm_native.c:3153:13: sparse: expected unsigned long const *__gu_addr sound/core/pcm_native.c:3153:13: sparse: got unsigned long [noderef] [usertype] __user *_frames >> sound/core/pcm_native.c:3153:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ sound/core/pcm_native.c:3153:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3153:13: sparse: got unsigned long const *__gu_addr sound/core/pcm_native.c:3169:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@ sound/core/pcm_native.c:3169:13: sparse: expected unsigned long const *__gu_addr sound/core/pcm_native.c:3169:13: sparse: got unsigned long [noderef] [usertype] __user *_frames sound/core/pcm_native.c:3169:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ sound/core/pcm_native.c:3169:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3169:13: sparse: got unsigned long const *__gu_addr sound/core/pcm_native.c:3203:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3203:21: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3203:21: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3203:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3203:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3203:21: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:95:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock' - different lock contexts for basic block sound/core/pcm_native.c:96:1: sparse: sparse: context imbalance in 'snd_pcm_group_unlock' - unexpected unlock sound/core/pcm_native.c:97:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock_irq' - different lock contexts for basic block sound/core/pcm_native.c:98:1: sparse: sparse: context imbalance in 'snd_pcm_group_unlock_irq' - unexpected unlock sound/core/pcm_native.c:145:9: sparse: sparse: context imbalance in 'snd_pcm_stream_lock_nested' - different lock contexts for basic block sound/core/pcm_native.c:171:9: sparse: sparse: context imbalance in '_snd_pcm_stream_lock_irqsave' - different lock contexts for basic block sound/core/pcm_native.c:188:39: sparse: sparse: context imbalance in 'snd_pcm_stream_unlock_irqrestore' - unexpected unlock sound/core/pcm_native.c:1186:52: sparse: sparse: context imbalance in 'snd_pcm_action_group' - unexpected unlock sound/core/pcm_native.c:1257:37: sparse: sparse: context imbalance in 'snd_pcm_stream_group_ref' - different lock contexts for basic block sound/core/pcm_native.c: In function 'constrain_mask_params': sound/core/pcm_native.c:264:18: warning: variable 'old_mask' set but not used [-Wunused-but-set-variable] 264 | struct snd_mask old_mask; | ^~~~~~~~ sound/core/pcm_native.c: In function 'constrain_interval_params': sound/core/pcm_native.c:300:22: warning: variable 'old_interval' set but not used [-Wunused-but-set-variable] 300 | struct snd_interval old_interval; | ^~~~~~~~~~~~ sound/core/pcm_native.c: In function 'constrain_params_by_rules': sound/core/pcm_native.c:341:22: warning: variable 'old_interval' set but not used [-Wunused-but-set-variable] 341 | struct snd_interval old_interval; | ^~~~~~~~~~~~ sound/core/pcm_native.c:340:18: warning: variable 'old_mask' set but not used [-Wunused-but-set-variable] 340 | struct snd_mask old_mask; | ^~~~~~~~ sound/core/pcm_native.c: In function 'snd_pcm_hw_params_choose': sound/core/pcm_native.c:625:22: warning: variable 'old_interval' set but not used [-Wunused-but-set-variable] 625 | struct snd_interval old_interval; | ^~~~~~~~~~~~ sound/core/pcm_native.c:624:18: warning: variable 'old_mask' set but not used [-Wunused-but-set-variable] 624 | struct snd_mask old_mask; | ^~~~~~~~ {standard input}: Assembler messages: {standard input}:5977: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: sound/core/pcm.o] Error 1 {standard input}: Assembler messages: {standard input}:8297: Error: unknown opcode {standard input}:9406: Error: unknown opcode {standard input}: Assembler messages: {standard input}:7731: Error: unknown opcode {standard input}:7762: Error: unknown opcode {standard input}:7905: Error: unknown opcode {standard input}:8086: Error: unknown opcode {standard input}:8326: Error: unknown opcode {standard input}:8895: Error: unknown opcode {standard input}:9185: Error: unknown opcode {standard input}:16656: Error: unknown opcode {standard input}:17378: Error: unknown opcode {standard input}:19134: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: sound/core/pcm_native.o] Error 1 make[3]: *** [scripts/Makefile.build:281: sound/core/timer.o] Error 1 sound/core/rawmidi.c:654:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/rawmidi.c:654:13: sparse: expected unsigned int const *__gu_addr sound/core/rawmidi.c:654:13: sparse: got unsigned int [noderef] __user * >> sound/core/rawmidi.c:654:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> sound/core/rawmidi.c:654:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:654:13: sparse: got unsigned int const *__gu_addr sound/core/rawmidi.c:656:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:656:13: sparse: expected int const *__gu_addr sound/core/rawmidi.c:656:13: sparse: got int [noderef] __user * >> sound/core/rawmidi.c:656:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:656:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:656:13: sparse: got int const *__gu_addr sound/core/rawmidi.c:658:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/rawmidi.c:658:13: sparse: expected unsigned int const *__gu_addr sound/core/rawmidi.c:658:13: sparse: got unsigned int [noderef] __user * sound/core/rawmidi.c:658:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/rawmidi.c:658:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:658:13: sparse: got unsigned int const *__gu_addr sound/core/rawmidi.c:836:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:836:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:836:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:836:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:836:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:836:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:874:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:874:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:874:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:874:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:874:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:874:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:889:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:889:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:889:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:889:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:889:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:889:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:923:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:923:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:923:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:923:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:923:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:923:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:945:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:945:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:945:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:945:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:945:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:945:21: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:5681: Error: unknown opcode {standard input}:5971: Error: unknown opcode {standard input}:6100: Error: unknown opcode sound/core/pcm_iec958.c:119: warning: Function parameter or member 'params' not described in 'snd_pcm_create_iec958_consumer_hw_params' sound/core/pcm_iec958.c:119: warning: Excess function parameter 'hw_params' description in 'snd_pcm_create_iec958_consumer_hw_params' {standard input}: Assembler messages: {standard input}:1590: Error: unknown opcode {standard input}:1673: Error: unknown opcode {standard input}:1788: Error: unknown opcode {standard input}:1891: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: sound/core/seq_device.o] Error 1 make[3]: *** [scripts/Makefile.build:280: sound/core/pcm_lib.o] Error 1 {standard input}: Assembler messages: {standard input}:7829: Error: unknown opcode {standard input}:8720: Error: unknown opcode {standard input}:12334: Error: unknown opcode {standard input}:12716: Error: unknown opcode {standard input}:13942: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: sound/core/rawmidi.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: sound/core] Error 2 make[2]: Target '__build' not remade because of errors. -- drivers/mtd/chips/map_rom.c:79:15: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@ drivers/mtd/chips/map_rom.c:79:15: sparse: expected void * drivers/mtd/chips/map_rom.c:79:15: sparse: got void [noderef] __iomem * {standard input}: Assembler messages: {standard input}:1214: Error: unknown opcode {standard input}:1272: Error: unknown opcode {standard input}:1972: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2215: Error: unknown opcode {standard input}:3190: Error: unknown opcode {standard input}:4699: Error: unknown opcode {standard input}:5118: Error: unknown opcode {standard input}:4437: Error: unknown opcode {standard input}:8699: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/mtd/chips/cfi_cmdset_0001.o] Error 1 {standard input}:11093: Error: unknown opcode {standard input}:11414: Error: unknown opcode {standard input}:12432: Error: unknown opcode {standard input}:13251: Error: unknown opcode {standard input}:15094: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/mtd/chips/cfi_cmdset_0002.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/mtd/chips] Error 2 {standard input}: Assembler messages: {standard input}:9550: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/mtd/devices/docg3.o] Error 1 drivers/mtd/devices/phram.c:85:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *priv @@ drivers/mtd/devices/phram.c:85:34: sparse: expected void [noderef] __iomem *addr drivers/mtd/devices/phram.c:85:34: sparse: got void *priv drivers/mtd/devices/phram.c:101:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *priv @@ got void [noderef] __iomem * @@ drivers/mtd/devices/phram.c:101:23: sparse: expected void *priv drivers/mtd/devices/phram.c:101:23: sparse: got void [noderef] __iomem * drivers/mtd/devices/phram.c:131:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *priv @@ drivers/mtd/devices/phram.c:131:25: sparse: expected void [noderef] __iomem *addr drivers/mtd/devices/phram.c:131:25: sparse: got void *priv drivers/mtd/devices/phram.c:19: warning: Function parameter or member 'fmt' not described in 'pr_fmt' {standard input}: Assembler messages: {standard input}:807: Error: unknown opcode {standard input}:988: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/mtd/devices/block2mtd.o] Error 1 drivers/mtd/nand/onenand/onenand_base.c:779:34: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *__from @@ got void [noderef] __iomem * @@ drivers/mtd/nand/onenand/onenand_base.c:779:34: sparse: expected void const *__from drivers/mtd/nand/onenand/onenand_base.c:779:34: sparse: got void [noderef] __iomem * drivers/mtd/nand/onenand/onenand_base.c:817:34: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *__from @@ got void [noderef] __iomem * @@ drivers/mtd/nand/onenand/onenand_base.c:817:34: sparse: expected void const *__from drivers/mtd/nand/onenand/onenand_base.c:817:34: sparse: got void [noderef] __iomem * drivers/mtd/nand/onenand/onenand_base.c:860:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *__to @@ got void [noderef] __iomem * @@ drivers/mtd/nand/onenand/onenand_base.c:860:26: sparse: expected void *__to drivers/mtd/nand/onenand/onenand_base.c:860:26: sparse: got void [noderef] __iomem * make[3]: *** [scripts/Makefile.build:497: drivers/mtd/devices] Error 2 make[4]: Target '__build' not remade because of errors. drivers/mtd/nand/onenand/onenand_bbt.c:33: warning: Function parameter or member 'buf' not described in 'check_short_pattern' drivers/mtd/nand/onenand/onenand_bbt.c:33: warning: Function parameter or member 'len' not described in 'check_short_pattern' drivers/mtd/nand/onenand/onenand_bbt.c:33: warning: Function parameter or member 'paglen' not described in 'check_short_pattern' drivers/mtd/nand/onenand/onenand_bbt.c:33: warning: Function parameter or member 'td' not described in 'check_short_pattern' drivers/mtd/nand/onenand/onenand_bbt.c:57: warning: Function parameter or member 'mtd' not described in 'create_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:57: warning: Function parameter or member 'buf' not described in 'create_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:57: warning: Function parameter or member 'bd' not described in 'create_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:57: warning: Function parameter or member 'chip' not described in 'create_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:132: warning: Function parameter or member 'mtd' not described in 'onenand_memory_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:132: warning: Function parameter or member 'bd' not described in 'onenand_memory_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:145: warning: Function parameter or member 'mtd' not described in 'onenand_isbad_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:145: warning: Function parameter or member 'offs' not described in 'onenand_isbad_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:145: warning: Function parameter or member 'allowbbt' not described in 'onenand_isbad_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:182: warning: Function parameter or member 'mtd' not described in 'onenand_scan_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:182: warning: Function parameter or member 'bd' not described in 'onenand_scan_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:230: warning: Function parameter or member 'mtd' not described in 'onenand_default_bbt' {standard input}: Assembler messages: {standard input}:7022: Error: unknown opcode make[5]: *** [scripts/Makefile.build:280: drivers/mtd/nand/onenand/onenand_base.o] Error 1 make[5]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/mtd/nand/onenand] Error 2 In file included from include/linux/bug.h:5, from include/linux/thread_info.h:12, from include/asm-generic/current.h:5, from ./arch/sh/include/generated/asm/current.h:1, from include/linux/sched.h:12, from include/linux/ratelimit.h:6, from include/linux/dev_printk.h:16, from include/linux/device.h:15, from drivers/mtd/nand/spi/core.c:12: drivers/mtd/nand/spi/core.c: In function 'spinand_get_cfg': drivers/mtd/nand/spi/core.c:55:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 55 | if (WARN_ON(spinand->cur_target < 0 || | ^ arch/sh/include/asm/bug.h:69:25: note: in definition of macro 'WARN_ON' 69 | int __ret_warn_on = !!(x); 308- | ^ drivers/mtd/nand/spi/core.c: In function 'spinand_set_cfg': drivers/mtd/nand/spi/core.c:68:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 68 | if (WARN_ON(spinand->cur_target < 0 || | ^ arch/sh/include/asm/bug.h:69:25: note: in definition of macro 'WARN_ON' 69 | int __ret_warn_on = !!(x); 315- | ^ drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member 'write_cache_variants' not described in 'SPINAND_OP_VARIANTS' drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member '0' not described in 'SPINAND_OP_VARIANTS' drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:467:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int [noderef] [usertype] __user * >> drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ >> drivers/mtd/ubi/cdev.c:467:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:512:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:512:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:526:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:526:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:882:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:882:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:969:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:969:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:984:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:984:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:1061:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:1061:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/build.c:61: warning: Function parameter or member 'ubi_num' not described in 'mtd_dev_param' drivers/mtd/ubi/kapi.c:464: warning: Function parameter or member 'sgl' not described in 'ubi_leb_read_sg' drivers/mtd/ubi/kapi.c:464: warning: Excess function parameter 'buf' description in 'ubi_leb_read_sg' drivers/mtd/ubi/wl.c:2054:28: sparse: sparse: context imbalance in 'produce_free_peb' - unexpected unlock In file included from include/linux/bits.h:23, from include/linux/bitops.h:5, from include/linux/kernel.h:12, from include/linux/uio.h:8, from include/linux/mtd/mtd.h:10, from include/linux/mtd/nand.h:13, from drivers/mtd/nand/bbt.c:12: drivers/mtd/nand/bbt.c: In function 'nanddev_bbt_get_block_status': include/linux/bits.h:27:7: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 27 | (l) > (h), 0))) | ^ include/linux/build_bug.h:16:62: note: in definition of macro 'BUILD_BUG_ON_ZERO' 16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) | ^ include/linux/bits.h:40:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' 40 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^~~~~~~~~~~~~~~~~~~ drivers/mtd/nand/bbt.c:90:18: note: in expansion of macro 'GENMASK' 90 | return status & GENMASK(bits_per_block - 1, 0); | ^~~~~~~ drivers/mtd/nand/bbt.c: In function 'nanddev_bbt_set_block_status': include/linux/bits.h:27:7: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 27 | (l) > (h), 0))) | ^ include/linux/build_bug.h:16:62: note: in definition of macro 'BUILD_BUG_ON_ZERO' 16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) | ^ include/linux/bits.h:40:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' 40 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^~~~~~~~~~~~~~~~~~~ drivers/mtd/nand/bbt.c:114:31: note: in expansion of macro 'GENMASK' 114 | unsigned long val = status & GENMASK(bits_per_block - 1, 0); | ^~~~~~~ include/linux/bits.h:27:7: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 27 | (l) > (h), 0))) | ^ include/linux/build_bug.h:16:62: note: in definition of macro 'BUILD_BUG_ON_ZERO' 16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) | ^ include/linux/bits.h:40:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' 40 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^~~~~~~~~~~~~~~~~~~ drivers/mtd/nand/bbt.c:125:14: note: in expansion of macro 'GENMASK' 125 | pos[1] &= ~GENMASK(rbits - 1, 0); | ^~~~~~~ make[3]: *** [scripts/Makefile.build:497: drivers/mtd/nand] Error 2 make[4]: Target '__build' not remade because of errors. drivers/mtd/ubi/eba.c:1304: warning: Function parameter or member 'vidb' not described in 'ubi_eba_copy_leb' drivers/mtd/ubi/eba.c:1304: warning: Excess function parameter 'vid_hdr' description in 'ubi_eba_copy_leb' drivers/mtd/ubi/eba.c:1483: warning: Function parameter or member 'ai' not described in 'print_rsvd_warning' drivers/mtd/ubi/gluebi.c:446: warning: Function parameter or member 'ns_ptr' not described in 'gluebi_notify' drivers/mtd/ubi/gluebi.c:446: warning: Excess function parameter 'ptr' description in 'gluebi_notify' {standard input}: Assembler messages: {standard input}:11303: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/mtd/ubi] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/mtd/ubi/wl.o] Error 1 make[4]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:1514: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/mtd/mtdsuper.o] Error 1 drivers/mtd/mtdcore.c:1612: warning: Function parameter or member 'section' not described in 'mtd_ooblayout_find_eccregion' drivers/mtd/mtdcore.c:1612: warning: Excess function parameter 'sectionp' description in 'mtd_ooblayout_find_eccregion' drivers/mtd/mtdchar.c:658:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/mtd/mtdchar.c:658:21: sparse: expected unsigned int const *__gu_addr drivers/mtd/mtdchar.c:658:21: sparse: got unsigned int [noderef] __user * >> drivers/mtd/mtdchar.c:658:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/mtd/mtdchar.c:658:21: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/mtdchar.c:658:21: sparse: got unsigned int const *__gu_addr drivers/mtd/mtdpart.c:300: warning: Function parameter or member 'mtd' not described in '__mtd_del_partition' drivers/mtd/mtdpart.c:300: warning: Excess function parameter 'priv' description in '__mtd_del_partition' {standard input}: Assembler messages: {standard input}:1252: Error: unknown opcode {standard input}:1694: Error: unknown opcode {standard input}:1725: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/mtd/mtd_blkdevs.o] Error 1 drivers/mtd/rfd_ftl.c:100:13: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:110:25: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:295:29: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned short [usertype] magic @@ got restricted __le16 [usertype] @@ drivers/mtd/rfd_ftl.c:295:29: sparse: expected unsigned short [usertype] magic drivers/mtd/rfd_ftl.c:295:29: sparse: got restricted __le16 [usertype] drivers/mtd/rfd_ftl.c:354:29: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:553:19: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned short [usertype] del @@ got restricted __le16 [usertype] @@ drivers/mtd/rfd_ftl.c:553:19: sparse: expected unsigned short [usertype] del drivers/mtd/rfd_ftl.c:553:19: sparse: got restricted __le16 [usertype] drivers/mtd/rfd_ftl.c:592:21: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:647:15: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] entry @@ got restricted __le16 [usertype] @@ drivers/mtd/rfd_ftl.c:647:15: sparse: expected unsigned short [usertype] entry drivers/mtd/rfd_ftl.c:647:15: sparse: got restricted __le16 [usertype] {standard input}: Assembler messages: {standard input}:62: Error: unknown opcode {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}:133: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/mtd/mtdoops.o] Error 1 make[3]: *** [scripts/Makefile.build:280: drivers/mtd/sm_ftl.o] Error 1 make[3]: Target '__build' not remade because of errors. -- drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:396:34: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:396:34: sparse: got unsigned char [noderef] [usertype] __user * >> drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ >> drivers/spi/spidev.c:396:34: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:396:34: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/spi/spidev.c:398:34: sparse: expected unsigned int const *__gu_addr drivers/spi/spidev.c:398:34: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/spi/spidev.c:398:34: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:398:34: sparse: got unsigned int const *__gu_addr drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:422:26: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:422:26: sparse: got unsigned char [noderef] [usertype] __user * drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ drivers/spi/spidev.c:422:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:422:26: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:439:26: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:439:26: sparse: got unsigned char [noderef] [usertype] __user * drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ drivers/spi/spidev.c:439:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:439:26: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/spi/spidev.c:452:26: sparse: expected unsigned int const *__gu_addr drivers/spi/spidev.c:452:26: sparse: got unsigned int [noderef] [usertype] __user * drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/spi/spidev.c:452:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:452:26: sparse: got unsigned int const *__gu_addr {standard input}: Assembler messages: {standard input}:19049: Error: unknown opcode {standard input}:23806: Error: unknown opcode {standard input}:24657: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2172: Error: unknown opcode {standard input}:2646: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/spi/spidev.o] Error 1 {standard input}:25062: Error: unknown opcode {standard input}:25162: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/spi/spi.o] Error 1 drivers/spi/spi-fsl-spi.c:93:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:93:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:93:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:94:33: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *mode @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:94:33: sparse: expected restricted __be32 [noderef] [usertype] __iomem *mode drivers/spi/spi-fsl-spi.c:94:33: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:294:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:294:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:294:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:299:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:299:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:299:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:303:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:303:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:303:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:317:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:317:18: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:317:18: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:350:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:350:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:350:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:459:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:459:18: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:459:18: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:462:45: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:462:45: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:462:45: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:498:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:498:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:498:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:502:53: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:502:53: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:502:53: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:511:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:511:47: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:511:47: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:516:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:516:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:516:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:522:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:522:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:522:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:533:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:533:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:533:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:536:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:536:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:536:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:553:51: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:553:51: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:553:51: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:560:48: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:560:48: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:560:48: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:562:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:562:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:562:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:571:51: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:571:51: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:571:51: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:575:46: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:575:46: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:575:46: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:585:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:585:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:585:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:652:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:652:18: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:652:18: sparse: got void [noderef] __iomem *reg_base -- {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/net/phy/mscc/mscc_main.o] Error 1 make[4]: *** [scripts/Makefile.build:497: drivers/net/phy/mscc] Error 2 make[5]: Target '__build' not remade because of errors. drivers/net/phy/mdio-boardinfo.c:27: warning: Function parameter or member 'bus' not described in 'mdiobus_setup_mdiodev_from_board_info' drivers/net/phy/mdio-boardinfo.c:27: warning: Function parameter or member 'cb' not described in 'mdiobus_setup_mdiodev_from_board_info' drivers/net/phy/mdio-boardinfo.c:27: warning: Excess function parameter 'mdiodev' description in 'mdiobus_setup_mdiodev_from_board_info' drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/net/hamradio/6pack.c:710:21: sparse: expected int const *__gu_addr drivers/net/hamradio/6pack.c:710:21: sparse: got int [noderef] __user * >> drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/hamradio/6pack.c:710:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/hamradio/6pack.c:710:21: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:4209: Error: unknown opcode {standard input}:4298: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/phy.o] Error 1 {standard input}: Assembler messages: {standard input}:1352: Error: unknown opcode {standard input}:1891: Error: unknown opcode {standard input}:2120: Error: unknown opcode {standard input}:2379: Error: unknown opcode {standard input}:2518: Error: unknown opcode {standard input}:2654: Error: unknown opcode {standard input}:2847: Error: unknown opcode {standard input}:2883: Error: unknown opcode {standard input}:3309: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/caif/caif_serial.o] Error 1 drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:925:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:925:21: sparse: got int [noderef] __user *p >> drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/ppp/ppp_generic.c:925:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:925:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:939:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:939:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:939:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:939:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:954:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:954:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:954:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:954:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:651:29: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:651:29: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:651:29: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:651:29: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:681:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:681:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:681:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:681:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:688:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:688:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:688:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:688:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:726:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:726:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:726:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:726:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:755:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:755:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:755:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:755:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:823:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:823:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:823:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:823:21: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:705: Error: unknown opcode drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_async.c:420:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_async.c:420:21: sparse: got int [noderef] __user *p >> drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/ppp/ppp_async.c:420:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:420:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/net/ppp/ppp_async.c:435:21: sparse: expected unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:435:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/net/ppp/ppp_async.c:446:21: sparse: expected unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int [noderef] [usertype] __user * drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:446:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_async.c:471:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_async.c:471:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:471:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:471:21: sparse: got int const *__gu_addr {standard input}:2503: Error: unknown opcode {standard input}:2548: Error: unknown opcode {standard input}:2582: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/caif/caif_virtio.o] Error 1 drivers/net/slip/slip.c:458:14: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/net/slip/slip.c:458:14: sparse: void [noderef] __rcu * drivers/net/slip/slip.c:458:14: sparse: void * drivers/net/slip/slip.c:892:9: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/net/slip/slip.c:892:9: sparse: void [noderef] __rcu * drivers/net/slip/slip.c:892:9: sparse: void * drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ >> drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum {standard input}: Assembler messages: {standard input}:1340: Error: unknown opcode {standard input}:1371: Error: unknown opcode {standard input}:1576: Error: unknown opcode {standard input}:1853: Error: unknown opcode {standard input}:2081: Error: unknown opcode {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:176: Error: unknown opcode {standard input}:2320: Error: unknown opcode {standard input}:2893: Error: unknown opcode {standard input}:3462: Error: unknown opcode {standard input}:3750: Error: unknown opcode {standard input}:4086: Error: unknown opcode {standard input}:4363: Error: unknown opcode {standard input}:6410: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/hamradio/6pack.o] Error 1 drivers/net/hamradio/baycom_ser_fdx.c:290:43: sparse: sparse: dubious: x | !y {standard input}:6282: Error: unknown opcode {standard input}:8161: Error: unknown opcode {standard input}:10803: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/net/caif] Error 2 make[4]: *** [scripts/Makefile.build:281: drivers/net/caif/caif_hsi.o] Error 1 make[4]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:6459: Error: unknown opcode {standard input}:6490: Error: unknown opcode {standard input}:6633: Error: unknown opcode {standard input}:6837: Error: unknown opcode {standard input}:7814: Error: unknown opcode {standard input}:8237: Error: unknown opcode {standard input}:8407: Error: unknown opcode {standard input}:8991: Error: unknown opcode {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:878: Error: unknown opcode {standard input}:931: Error: unknown opcode {standard input}: Assembler messages: {standard input}:52: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:2195: Error: unknown opcode {standard input}:2226: Error: unknown opcode {standard input}:2653: Error: unknown opcode {standard input}:3418: Error: unknown opcode {standard input}:3983: Error: unknown opcode {standard input}:4049: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/net/ppp/ppp_async.o] Error 1 {standard input}:4211: Error: unknown opcode {standard input}:4254: Error: unknown opcode {standard input}:4693: Error: unknown opcode {standard input}:4736: Error: unknown opcode {standard input}:6118: Error: unknown opcode {standard input}:6216: Error: unknown opcode {standard input}:6472: Error: unknown opcode {standard input}:6541: Error: unknown opcode {standard input}:6631: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/slip/slip.o] Error 1 {standard input}:17424: Error: unknown opcode {standard input}:18539: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/net/ppp/ppp_generic.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/net/ppp] Error 2 {standard input}: Assembler messages: {standard input}:9423: Error: unknown opcode drivers/net/phy/mdio_device.c:188: warning: Function parameter or member 'drv' not described in 'mdio_driver_register' drivers/net/phy/mdio_device.c:188: warning: Excess function parameter 'new_driver' description in 'mdio_driver_register' make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/phy_device.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/net/slip] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:1038: Error: unknown opcode {standard input}:1546: Error: unknown opcode {standard input}:1696: Error: unknown opcode {standard input}:1890: Error: unknown opcode {standard input}:2760: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/net/hamradio] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/net/hamradio/hdlcdrv.o] Error 1 make[4]: Target '__build' not remade because of errors. -- drivers/auxdisplay/charlcd.c:670:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *tmp @@ drivers/auxdisplay/charlcd.c:670:21: sparse: expected char const *__gu_addr drivers/auxdisplay/charlcd.c:670:21: sparse: got char const [noderef] __user *tmp >> drivers/auxdisplay/charlcd.c:670:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/auxdisplay/charlcd.c:670:21: sparse: expected void const volatile [noderef] __user *ptr drivers/auxdisplay/charlcd.c:670:21: sparse: got char const *__gu_addr {standard input}: Assembler messages: {standard input}:2228: Error: unknown opcode {standard input}:2367: Error: unknown opcode {standard input}:2474: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/auxdisplay/charlcd.o] Error 1 make[3]: Target '__build' not remade because of errors. -- {standard input}: Assembler messages: {standard input}:3625: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/serio/serio.o] Error 1 drivers/input/serio/serport.c:213:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] __user * @@ drivers/input/serio/serport.c:213:21: sparse: expected unsigned long const *__gu_addr drivers/input/serio/serport.c:213:21: sparse: got unsigned long [noderef] __user * >> drivers/input/serio/serport.c:213:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ >> drivers/input/serio/serport.c:213:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/serio/serport.c:213:21: sparse: got unsigned long const *__gu_addr make[3]: *** [scripts/Makefile.build:281: drivers/input/serio/serport.o] Error 1 {standard input}: Assembler messages: {standard input}:903: Error: unknown opcode {standard input}:1142: Error: unknown opcode {standard input}:1290: Error: unknown opcode {standard input}:1441: Error: unknown opcode {standard input}:1610: Error: unknown opcode {standard input}:1884: Error: unknown opcode {standard input}:1919: Error: unknown opcode drivers/input/serio/serio_raw.c:219:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/input/serio/serio_raw.c:219:21: sparse: expected char const *__gu_addr drivers/input/serio/serio_raw.c:219:21: sparse: got char const [noderef] __user * >> drivers/input/serio/serio_raw.c:219:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/input/serio/serio_raw.c:219:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/serio/serio_raw.c:219:21: sparse: got char const *__gu_addr {standard input}: Assembler messages: {standard input}:1293: Error: unknown opcode {standard input}:1324: Error: unknown opcode {standard input}:2714: Error: unknown opcode {standard input}:3449: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/serio/serio_raw.o] Error 1 drivers/input/serio/apbps2.c: In function 'apbps2_open': drivers/input/serio/apbps2.c:106:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 106 | unsigned long tmp; | ^~~ make[3]: Target '__build' not remade because of errors. -- {standard input}:1896: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/rmi4/rmi_bus.o] Error 1 {standard input}: Assembler messages: {standard input}:2063: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/joystick/grip.o] Error 1 {standard input}: Assembler messages: {standard input}:688: Error: unknown opcode {standard input}:732: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/input/keyboard/xtkbd.o] Error 1 {standard input}: Assembler messages: {standard input}:1279: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/joystick/guillemot.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/input/keyboard] Error 2 make[4]: Target '__build' not remade because of errors. drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'input_dev' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'client' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'regmap' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'work' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'regulator' not described in 'drv2665_data' drivers/input/misc/drv260x.c: In function 'drv260x_probe': drivers/input/misc/drv260x.c:478:20: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 478 | if (haptics->mode < DRV260X_LRA_MODE || | ^ drivers/input/misc/drv260x.c:490:23: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 490 | if (haptics->library < DRV260X_LIB_EMPTY || | ^ drivers/input/rmi4/rmi_driver.c: In function 'rmi_read_register_desc': drivers/input/rmi4/rmi_driver.c:583:24: warning: comparison is always false due to limited range of data type [-Wtype-limits] 583 | if (size_presence_reg < 0 || size_presence_reg > 35) | ^ drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'input_dev' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'client' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'regmap' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'work' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'enable_gpio' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'regulator' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'magnitude' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'mode' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'library' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'rated_voltage' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'overdrive_voltage' not described in 'drv260x_data' drivers/input/misc/drv260x.c:244: warning: Function parameter or member 'voltage' not described in 'drv260x_calculate_voltage' {standard input}: Assembler messages: {standard input}:454: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/joystick/magellan.o] Error 1 {standard input}: Assembler messages: {standard input}:1603: Error: unknown opcode {standard input}: Assembler messages: {standard input}:361: Error: unknown opcode {standard input}:1213: Error: unknown opcode {standard input}: Assembler messages: {standard input}:489: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/input/joystick/twidjoy.o] Error 1 {standard input}:8780: Error: unknown opcode {standard input}:10054: Error: unknown opcode {standard input}:2622: Error: unknown opcode {standard input}: Assembler messages: {standard input}:460: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/joystick/spaceorb.o] Error 1 {standard input}:5503: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/rmi4/rmi_driver.o] Error 1 make[3]: *** [scripts/Makefile.build:280: drivers/input/input.o] Error 1 drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'input_dev' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'client' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'regmap' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'work' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'regulator' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'page' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'magnitude' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'frequency' not described in 'drv2667_data' drivers/input/misc/mc13783-pwrbutton.c:32: warning: cannot understand function prototype: 'struct mc13783_pwrb ' make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/input/joystick] Error 2 drivers/input/rmi4/rmi_f01.c:106: warning: Cannot understand * @ctrl0 - see the bit definitions above. on line 106 - I thought it was a doc line {standard input}: Assembler messages: {standard input}:446: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/misc/pcf50633-input.o] Error 1 {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/input/misc] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/input/misc/uinput.o] Error 1 make[4]: Target '__build' not remade because of errors. drivers/input/rmi4/rmi_f54.c:77: warning: Enum value 'F54_REPORT_NONE' not described in enum 'rmi_f54_report_type' drivers/input/rmi4/rmi_f54.c:77: warning: Enum value 'F54_MAX_REPORT_TYPE' not described in enum 'rmi_f54_report_type' {standard input}: Assembler messages: {standard input}:69: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/ff-memless.o] Error 1 drivers/input/rmi4/rmi_i2c.c:39: warning: Function parameter or member 'client' not described in 'rmi_i2c_xport' drivers/input/rmi4/rmi_i2c.c:39: warning: Function parameter or member 'supplies' not described in 'rmi_i2c_xport' drivers/input/rmi4/rmi_i2c.c:39: warning: Function parameter or member 'startup_delay' not described in 'rmi_i2c_xport' make[3]: *** [scripts/Makefile.build:497: drivers/input/rmi4] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:828: Error: unknown opcode {standard input}:924: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/sparse-keymap.o] Error 1 drivers/input/mousedev.c:683:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/input/mousedev.c:683:21: sparse: expected char const *__gu_addr drivers/input/mousedev.c:683:21: sparse: got char const [noderef] __user * >> drivers/input/mousedev.c:683:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/input/mousedev.c:683:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/mousedev.c:683:21: sparse: got char const *__gu_addr drivers/input/joydev.c:528:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/input/joydev.c:528:24: sparse: expected signed int const *__gu_addr drivers/input/joydev.c:528:24: sparse: got signed int [noderef] [usertype] __user * >> drivers/input/joydev.c:528:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ >> drivers/input/joydev.c:528:24: sparse: expected void const volatile [noderef] __user *ptr drivers/input/joydev.c:528:24: sparse: got signed int const *__gu_addr drivers/input/joydev.c:680:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected long const *__gu_addr @@ got long [noderef] __user * @@ drivers/input/joydev.c:680:26: sparse: expected long const *__gu_addr drivers/input/joydev.c:680:26: sparse: got long [noderef] __user * >> drivers/input/joydev.c:680:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got long const *__gu_addr @@ drivers/input/joydev.c:680:26: sparse: expected void const volatile [noderef] __user *ptr drivers/input/joydev.c:680:26: sparse: got long const *__gu_addr {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:4163: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/mousedev.o] Error 1 {standard input}: Assembler messages: {standard input}:6541: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/joydev.o] Error 1 make[3]: Target '__build' not remade because of errors. -- drivers/vhost/vringh.c:567:18: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __virtio16 const *__gu_addr @@ got restricted __virtio16 [noderef] [usertype] __user * @@ drivers/vhost/vringh.c:567:18: sparse: expected restricted __virtio16 const *__gu_addr drivers/vhost/vringh.c:567:18: sparse: got restricted __virtio16 [noderef] [usertype] __user * >> drivers/vhost/vringh.c:567:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got restricted __virtio16 const *__gu_addr @@ >> drivers/vhost/vringh.c:567:18: sparse: expected void const volatile [noderef] __user *ptr drivers/vhost/vringh.c:567:18: sparse: got restricted __virtio16 const *__gu_addr {standard input}: Assembler messages: {standard input}:281: Error: unknown opcode drivers/vhost/iotlb.c:156: warning: Function parameter or member 'last' not described in 'vhost_iotlb_itree_first' drivers/vhost/iotlb.c:156: warning: Excess function parameter 'end' description in 'vhost_iotlb_itree_first' drivers/vhost/iotlb.c:169: warning: Function parameter or member 'map' not described in 'vhost_iotlb_itree_next' drivers/vhost/iotlb.c:169: warning: Function parameter or member 'last' not described in 'vhost_iotlb_itree_next' drivers/vhost/iotlb.c:169: warning: Excess function parameter 'iotlb' description in 'vhost_iotlb_itree_next' drivers/vhost/iotlb.c:169: warning: Excess function parameter 'end' description in 'vhost_iotlb_itree_next' make[3]: *** [scripts/Makefile.build:280: drivers/vhost/vringh.o] Error 1 make[3]: Target '__build' not remade because of errors. -- drivers/fsi/fsi-core.c:389:12: sparse: sparse: function 'fsi_slave_claim_range' with external linkage has definition drivers/fsi/fsi-core.c:403:13: sparse: sparse: function 'fsi_slave_release_range' with external linkage has definition drivers/fsi/fsi-scom.c:497:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/fsi/fsi-scom.c:497:13: sparse: expected unsigned int const *__gu_addr drivers/fsi/fsi-scom.c:497:13: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/fsi/fsi-scom.c:497:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/fsi/fsi-scom.c:497:13: sparse: expected void const volatile [noderef] __user *ptr drivers/fsi/fsi-scom.c:497:13: sparse: got unsigned int const *__gu_addr -- drivers/char/ipmi/ipmi_msghandler.c:210:17: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/char/ipmi/ipmi_msghandler.c:210:17: sparse: struct ipmi_user [noderef] __rcu * drivers/char/ipmi/ipmi_msghandler.c:210:17: sparse: struct ipmi_user * drivers/char/ipmi/ipmi_msghandler.c:1223:9: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/char/ipmi/ipmi_msghandler.c:1223:9: sparse: struct ipmi_user [noderef] __rcu * drivers/char/ipmi/ipmi_msghandler.c:1223:9: sparse: struct ipmi_user * drivers/char/ipmi/ipmi_msghandler.c:1292:9: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/char/ipmi/ipmi_msghandler.c:1292:9: sparse: struct ipmi_user [noderef] __rcu * drivers/char/ipmi/ipmi_msghandler.c:1292:9: sparse: struct ipmi_user * drivers/char/ipmi/ipmi_msghandler.c:3597:25: sparse: sparse: cast removes address space '__rcu' of expression drivers/char/ipmi/ipmi_msghandler.c:204:25: sparse: sparse: context imbalance in 'acquire_ipmi_user' - different lock contexts for basic block include/linux/srcu.h:181:9: sparse: sparse: context imbalance in 'release_ipmi_user' - unexpected unlock drivers/char/ipmi/ipmi_msghandler.c:893:16: sparse: sparse: context imbalance in 'deliver_response' - different lock contexts for basic block drivers/char/ipmi/ipmi_msghandler.c:1275:13: sparse: sparse: context imbalance in '_ipmi_destroy_user' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:1357:5: sparse: sparse: context imbalance in 'ipmi_get_version' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:1379:5: sparse: sparse: context imbalance in 'ipmi_set_my_address' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:1401:5: sparse: sparse: context imbalance in 'ipmi_get_my_address' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:1423:5: sparse: sparse: context imbalance in 'ipmi_set_my_LUN' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:1445:5: sparse: sparse: context imbalance in 'ipmi_get_my_LUN' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:1467:5: sparse: sparse: context imbalance in 'ipmi_get_maintenance_mode' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:1492:5: sparse: sparse: context imbalance in 'ipmi_set_maintenance_mode' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:1534:5: sparse: sparse: context imbalance in 'ipmi_set_gets_events' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:1631:5: sparse: sparse: context imbalance in 'ipmi_register_for_cmd' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:1676:5: sparse: sparse: context imbalance in 'ipmi_unregister_for_cmd' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:1840:39: sparse: sparse: context imbalance in 'smi_send' - unexpected unlock drivers/char/ipmi/ipmi_msghandler.c:2288:5: sparse: sparse: context imbalance in 'ipmi_request_settime' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:2327:5: sparse: sparse: context imbalance in 'ipmi_request_supply_msgs' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:4452:39: sparse: sparse: context imbalance in 'handle_new_recv_msgs' - unexpected unlock drivers/char/ipmi/ipmi_msghandler.c:4509:9: sparse: sparse: context imbalance in 'smi_recv_tasklet' - different lock contexts for basic block drivers/char/ipmi/ipmi_msghandler.c:4544:39: sparse: sparse: context imbalance in 'ipmi_smi_msg_received' - unexpected unlock drivers/char/ipmi/ipmi_msghandler.c:4640:39: sparse: sparse: context imbalance in 'check_msg_timeout' - unexpected unlock drivers/char/ipmi/ipmi_si_intf.c:1044:39: sparse: sparse: context imbalance in 'poll' - unexpected unlock {standard input}: Assembler messages: {standard input}:5233: Error: unknown opcode {standard input}: Assembler messages: {standard input}:236: Error: unknown opcode {standard input}:295: Error: unknown opcode {standard input}:3484: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/char/ipmi/ipmi_si_intf.o] Error 1 {standard input}:5700: Error: unknown opcode {standard input}:6533: Error: unknown opcode {standard input}:7131: Error: unknown opcode {standard input}:7162: Error: unknown opcode {standard input}:7751: Error: unknown opcode {standard input}:8576: Error: unknown opcode {standard input}:8731: Error: unknown opcode {standard input}:9915: Error: unknown opcode {standard input}:10775: Error: unknown opcode {standard input}:19062: Error: unknown opcode {standard input}:23655: Error: unknown opcode {standard input}:24012: Error: unknown opcode {standard input}:27408: Error: unknown opcode {standard input}:27496: Error: unknown opcode {standard input}:29012: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_msghandler.o] Error 1 {standard input}: Assembler messages: {standard input}:1007: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/char/ipmi/ipmi_si_hotmod.o] Error 1 drivers/char/ipmi/ipmi_ssif.c:355:13: sparse: sparse: context imbalance in 'start_clear_flags' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:374:13: sparse: sparse: context imbalance in 'start_flag_fetch' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:415:9: sparse: sparse: context imbalance in 'start_event_fetch' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:438:9: sparse: sparse: context imbalance in 'start_recv_msg_fetch' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:469:17: sparse: sparse: context imbalance in 'handle_flags' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:570:13: sparse: sparse: context imbalance in 'watch_timeout' - different lock contexts for basic block drivers/char/ipmi/ipmi_ssif.c:903:9: sparse: sparse: context imbalance in 'msg_done_handler' - different lock contexts for basic block drivers/char/ipmi/ipmi_ssif.c:1078:17: sparse: sparse: context imbalance in 'start_next_msg' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:1106:9: sparse: sparse: context imbalance in 'sender' - wrong count at exit {standard input}: Assembler messages: {standard input}:2683: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_poweroff.o] Error 1 drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: expected char const *__gu_addr drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: got char const [noderef] __user * >> drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: expected void const volatile [noderef] __user *ptr drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: got char const *__gu_addr {standard input}: Assembler messages: {standard input}:3307: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2708: Error: unknown opcode {standard input}:4332: Error: unknown opcode {standard input}:4958: Error: unknown opcode {standard input}:5123: Error: unknown opcode {standard input}:5293: Error: unknown opcode {standard input}:5453: Error: unknown opcode {standard input}:6020: Error: unknown opcode {standard input}:6287: Error: unknown opcode {standard input}:6384: Error: unknown opcode {standard input}:6612: Error: unknown opcode {standard input}:6723: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_watchdog.o] Error 1 make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_ssif.o] Error 1 make[3]: Target '__build' not remade because of errors. -- drivers/tty/vt/vt_ioctl.c:1004:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] __user * @@ drivers/tty/vt/vt_ioctl.c:1004:21: sparse: expected unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1004:21: sparse: got unsigned short [noderef] __user * >> drivers/tty/vt/vt_ioctl.c:1004:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ >> drivers/tty/vt/vt_ioctl.c:1004:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt_ioctl.c:1004:21: sparse: got unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] __user * @@ drivers/tty/vt/vt_ioctl.c:1005:21: sparse: expected unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: got unsigned short [noderef] __user * drivers/tty/vt/vt_ioctl.c:1005:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ drivers/tty/vt/vt_ioctl.c:1005:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: got unsigned short const *__gu_addr drivers/tty/serial/8250/8250_core.c: In function 'serial8250_isa_init_ports': drivers/tty/serial/8250/8250_core.c:537:9: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 537 | i < ARRAY_SIZE(old_serial_port) && i < nr_uarts; | ^ {standard input}: Assembler messages: {standard input}:2439: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/vt_ioctl.o] Error 1 drivers/tty/serial/8250/8250_port.c:1884:5: sparse: sparse: context imbalance in 'serial8250_handle_irq' - different lock contexts for basic block drivers/tty/serial/8250/8250_port.c:3295:9: sparse: sparse: context imbalance in 'serial8250_console_write' - different lock contexts for basic block drivers/tty/serial/8250/8250_dw.c:631:36: warning: 'dw8250_acpi_match' defined but not used [-Wunused-const-variable=] 631 | static const struct acpi_device_id dw8250_acpi_match[] = { | ^~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:5769: Error: unknown opcode {standard input}:5872: Error: unknown opcode make[5]: *** [scripts/Makefile.build:280: drivers/tty/serial/8250/8250_port.o] Error 1 make[5]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/tty/serial/8250] Error 2 drivers/tty/serial/serial_core.c:139:9: sparse: sparse: context imbalance in 'uart_start' - different lock contexts for basic block drivers/tty/serial/serial_core.c:219:17: sparse: sparse: context imbalance in 'uart_port_startup' - different lock contexts for basic block drivers/tty/serial/serial_core.c:321:9: sparse: sparse: context imbalance in 'uart_shutdown' - different lock contexts for basic block drivers/tty/serial/serial_core.c:569:9: sparse: sparse: context imbalance in 'uart_put_char' - different lock contexts for basic block drivers/tty/serial/serial_core.c:617:9: sparse: sparse: context imbalance in 'uart_write' - different lock contexts for basic block drivers/tty/serial/serial_core.c:620:12: sparse: sparse: context imbalance in 'uart_write_room' - different lock contexts for basic block drivers/tty/serial/serial_core.c:633:12: sparse: sparse: context imbalance in 'uart_chars_in_buffer' - different lock contexts for basic block drivers/tty/serial/serial_core.c:670:9: sparse: sparse: context imbalance in 'uart_flush_buffer' - different lock contexts for basic block drivers/tty/serdev/core.c: In function 'serdev_controller_remove': drivers/tty/serdev/core.c:791:6: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 791 | int dummy; | ^~~~~ {standard input}: Assembler messages: {standard input}:653: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/selection.o] Error 1 drivers/tty/serdev/core.c:811: warning: Function parameter or member 'owner' not described in '__serdev_device_driver_register' drivers/tty/vt/keyboard.c:1729:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/vt/keyboard.c:1729:21: sparse: expected unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1729:21: sparse: got unsigned int [noderef] __user * >> drivers/tty/vt/keyboard.c:1729:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/tty/vt/keyboard.c:1729:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/keyboard.c:1729:21: sparse: got unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1767:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/vt/keyboard.c:1767:21: sparse: expected unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1767:21: sparse: got unsigned int [noderef] __user * drivers/tty/vt/keyboard.c:1767:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/tty/vt/keyboard.c:1767:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/keyboard.c:1767:21: sparse: got unsigned int const *__gu_addr drivers/tty/vt/keyboard.c: In function 'k_fn': drivers/tty/vt/keyboard.c:744:22: warning: comparison is always true due to limited range of data type [-Wtype-limits] 744 | if ((unsigned)value < ARRAY_SIZE(func_table)) { | ^ {standard input}: Assembler messages: {standard input}:5636: Error: unknown opcode {standard input}:5715: Error: unknown opcode {standard input}:5869: Error: unknown opcode {standard input}:5897: Error: unknown opcode {standard input}:5932: Error: unknown opcode {standard input}:6237: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1251: Error: unknown opcode {standard input}:1578: Error: unknown opcode {standard input}:1773: Error: unknown opcode {standard input}:1941: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/tty/serdev/serdev-ttyport.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/tty/serdev] Error 2 {standard input}:6569: Error: unknown opcode {standard input}:6833: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/keyboard.o] Error 1 drivers/tty/vt/defkeymap.c:28:9: sparse: sparse: symbol 'shift_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:47:9: sparse: sparse: symbol 'altgr_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:66:9: sparse: sparse: symbol 'ctrl_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:85:9: sparse: sparse: symbol 'shift_ctrl_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:104:9: sparse: sparse: symbol 'alt_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:123:9: sparse: sparse: symbol 'ctrl_alt_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:149:14: sparse: sparse: symbol 'keymap_count' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:157:6: sparse: sparse: symbol 'func_buf' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:188:6: sparse: sparse: symbol 'funcbufptr' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:189:5: sparse: sparse: symbol 'funcbufsize' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:190:5: sparse: sparse: symbol 'funcbufleft' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:192:6: sparse: sparse: symbol 'func_table' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:226:18: sparse: sparse: symbol 'accent_table' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:263:14: sparse: sparse: symbol 'accent_table_size' was not declared. Should it be static? drivers/tty/vt/vt.c:4294:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user * @@ drivers/tty/vt/vt.c:4294:13: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:4294:13: sparse: got char [noderef] __user * >> drivers/tty/vt/vt.c:4294:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/vt/vt.c:4294:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:4294:13: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:225:5: sparse: sparse: symbol 'console_blank_hook' was not declared. Should it be static? drivers/tty/vt/consolemap_deftbl.c:10:4: sparse: sparse: symbol 'dfont_unicount' was not declared. Should it be static? drivers/tty/vt/consolemap_deftbl.c:46:5: sparse: sparse: symbol 'dfont_unitable' was not declared. Should it be static? drivers/tty/vt/vt.c:2985:19: sparse: sparse: symbol 'console_driver' was not declared. Should it be static? drivers/tty/vt/vt.c:3141:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user *p @@ drivers/tty/vt/vt.c:3141:13: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:3141:13: sparse: got char [noderef] __user *p drivers/tty/vt/vt.c:3141:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/tty/vt/vt.c:3141:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3141:13: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:3194:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user * @@ drivers/tty/vt/vt.c:3194:37: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:3194:37: sparse: got char [noderef] __user * drivers/tty/vt/vt.c:3194:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/tty/vt/vt.c:3194:37: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3194:37: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:3207:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/tty/vt/vt.c:3207:29: sparse: expected signed int const *__gu_addr drivers/tty/vt/vt.c:3207:29: sparse: got signed int [noderef] [usertype] __user * >> drivers/tty/vt/vt.c:3207:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/tty/vt/vt.c:3207:29: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3207:29: sparse: got signed int const *__gu_addr {standard input}: Assembler messages: {standard input}:258: Error: unknown opcode drivers/tty/serial/max3100.c:202:13: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [usertype] etx @@ got restricted __be16 [usertype] @@ drivers/tty/serial/max3100.c:202:13: sparse: expected unsigned short [addressable] [usertype] etx drivers/tty/serial/max3100.c:202:13: sparse: got restricted __be16 [usertype] drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 include/linux/spinlock.h:409:9: sparse: sparse: context imbalance in 'serial_console_write' - unexpected unlock {standard input}:12727: Error: unknown opcode {standard input}:18464: Error: unknown opcode {standard input}:19522: Error: unknown opcode drivers/tty/vt/consolemap.c:716: warning: Function parameter or member 'src_vc' not described in 'con_copy_unimap' drivers/tty/vt/consolemap.c:716: warning: Excess function parameter 'src_vt' description in 'con_copy_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'ct' not described in 'con_get_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'uct' not described in 'con_get_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'list' not described in 'con_get_unimap' make[4]: *** [scripts/Makefile.build:280: drivers/tty/vt/vt.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/tty/vt] Error 2 {standard input}: Assembler messages: {standard input}:220: Error: unknown opcode {standard input}:327: Error: unknown opcode drivers/tty/serial/ifx6x60.c:230:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __be32 [usertype] @@ drivers/tty/serial/ifx6x60.c:230:25: sparse: expected unsigned int [usertype] drivers/tty/serial/ifx6x60.c:230:25: sparse: got restricted __be32 [usertype] drivers/tty/serial/ifx6x60.c:204:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] @@ got restricted __be16 [usertype] @@ drivers/tty/serial/ifx6x60.c:204:25: sparse: expected unsigned short [usertype] drivers/tty/serial/ifx6x60.c:204:25: sparse: got restricted __be16 [usertype] drivers/tty/tty_io.c:2189:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user *p @@ drivers/tty/tty_io.c:2189:13: sparse: expected char const *__gu_addr drivers/tty/tty_io.c:2189:13: sparse: got char [noderef] __user *p >> drivers/tty/tty_io.c:2189:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/tty_io.c:2189:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2189:13: sparse: got char const *__gu_addr drivers/tty/tty_io.c:2330:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/tty/tty_io.c:2330:13: sparse: expected int const *__gu_addr drivers/tty/tty_io.c:2330:13: sparse: got int [noderef] __user *p >> drivers/tty/tty_io.c:2330:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/tty/tty_io.c:2330:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2330:13: sparse: got int const *__gu_addr drivers/tty/tty_io.c:2448:18: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user *p @@ drivers/tty/tty_io.c:2448:18: sparse: expected unsigned int const *__gu_addr drivers/tty/tty_io.c:2448:18: sparse: got unsigned int [noderef] __user *p >> drivers/tty/tty_io.c:2448:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/tty/tty_io.c:2448:18: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2448:18: sparse: got unsigned int const *__gu_addr include/linux/spinlock.h:409:9: sparse: sparse: context imbalance in 'linflex_console_write' - unexpected unlock drivers/tty/serial/digicolor-usart.c:412:26: sparse: sparse: context imbalance in 'digicolor_uart_console_write' - different lock contexts for basic block {standard input}: Assembler messages: {standard input}:4929: Error: unknown opcode {standard input}:5877: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/serial/sc16is7xx.o] Error 1 {standard input}: Assembler messages: {standard input}:255: Error: unknown opcode {standard input}:318: Error: unknown opcode {standard input}:4985: Error: unknown opcode {standard input}:5016: Error: unknown opcode {standard input}:5690: Error: unknown opcode {standard input}:10136: Error: unknown opcode drivers/tty/serial/sifive.c:157: warning: cannot understand function prototype: 'struct sifive_serial_port ' {standard input}:10604: Error: unknown opcode {standard input}:10862: Error: unknown opcode {standard input}:12350: Error: unknown opcode {standard input}:14125: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_io.o] Error 1 {standard input}:13546: Error: unknown opcode {standard input}:13840: Error: unknown opcode drivers/tty/serial/men_z135_uart.c:182: warning: Function parameter or member 'uart' not described in 'men_z135_handle_modem_status' drivers/tty/serial/men_z135_uart.c:182: warning: Excess function parameter 'port' description in 'men_z135_handle_modem_status' drivers/tty/serial/men_z135_uart.c:244: warning: Function parameter or member 'uart' not described in 'men_z135_handle_rx' drivers/tty/serial/men_z135_uart.c:244: warning: Excess function parameter 'arg' description in 'men_z135_handle_rx' drivers/tty/serial/men_z135_uart.c:294: warning: Function parameter or member 'uart' not described in 'men_z135_handle_tx' drivers/tty/serial/men_z135_uart.c:294: warning: Excess function parameter 'arg' description in 'men_z135_handle_tx' drivers/tty/serial/men_z135_uart.c:604: warning: Function parameter or member 'port' not described in 'men_z135_enable_ms' {standard input}:14520: Error: unknown opcode {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:2753: Error: unknown opcode {standard input}:3244: Error: unknown opcode {standard input}:5104: Error: unknown opcode {standard input}:6454: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/tty/serial/serial_core.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/tty/serial] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/tty/serial/ifx6x60.o] Error 1 make[4]: Target '__build' not remade because of errors. drivers/tty/tty_ioctl.c:842:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/tty_ioctl.c:842:21: sparse: expected unsigned int const *__gu_addr drivers/tty/tty_ioctl.c:842:21: sparse: got unsigned int [noderef] __user * >> drivers/tty/tty_ioctl.c:842:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/tty/tty_ioctl.c:842:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_ioctl.c:842:21: sparse: got unsigned int const *__gu_addr include/asm-generic/termios.h:25:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:25:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:25:13: sparse: got unsigned short const [noderef] __user * >> include/asm-generic/termios.h:25:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ >> include/asm-generic/termios.h:25:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:25:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:29:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:29:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:29:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:29:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:29:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:29:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:33:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:33:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:33:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:33:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:33:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:33:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:37:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:37:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:37:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:37:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:37:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:37:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:41:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char const [noderef] __user * @@ include/asm-generic/termios.h:41:13: sparse: expected unsigned char const *__gu_addr include/asm-generic/termios.h:41:13: sparse: got unsigned char const [noderef] __user * >> include/asm-generic/termios.h:41:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ include/asm-generic/termios.h:41:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:41:13: sparse: got unsigned char const *__gu_addr {standard input}: Assembler messages: {standard input}:69: Error: unknown opcode {standard input}:142: Error: unknown opcode {standard input}:462: Error: unknown opcode {standard input}:1553: Error: unknown opcode {standard input}:1614: Error: unknown opcode {standard input}:1798: Error: unknown opcode {standard input}:1998: Error: unknown opcode {standard input}:2036: Error: unknown opcode drivers/tty/tty_ldisc.c:884:6: warning: no previous prototype for 'tty_sysctl_init' [-Wmissing-prototypes] 884 | void tty_sysctl_init(void) | ^~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:2927: Error: unknown opcode {standard input}:3313: Error: unknown opcode {standard input}:5003: Error: unknown opcode {standard input}:5186: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_ioctl.o] Error 1 {standard input}: Assembler messages: {standard input}:1471: Error: unknown opcode {standard input}:1599: Error: unknown opcode {standard input}:1849: Error: unknown opcode {standard input}:2533: Error: unknown opcode {standard input}:2588: Error: unknown opcode {standard input}:2940: Error: unknown opcode {standard input}:3007: Error: unknown opcode {standard input}:3135: Error: unknown opcode {standard input}:3169: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_ldisc.o] Error 1 {standard input}: Assembler messages: {standard input}:365: Error: unknown opcode {standard input}:750: Error: unknown opcode {standard input}:801: Error: unknown opcode {standard input}:835: Error: unknown opcode {standard input}:1936: Error: unknown opcode {standard input}:2081: Error: unknown opcode {standard input}:2260: Error: unknown opcode {standard input}:2572: Error: unknown opcode {standard input}:2619: Error: unknown opcode {standard input}:2901: Error: unknown opcode {standard input}:3066: Error: unknown opcode {standard input}:3311: Error: unknown opcode {standard input}:3382: Error: unknown opcode {standard input}:3468: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_buffer.o] Error 1 {standard input}:2720: Error: unknown opcode {standard input}:2992: Error: unknown opcode {standard input}:6144: Error: unknown opcode {standard input}:6769: Error: unknown opcode {standard input}:6868: Error: unknown opcode {standard input}:8445: Error: unknown opcode {standard input}: Assembler messages: {standard input}:292: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_mutex.o] Error 1 {standard input}:11054: Error: unknown opcode {standard input}:11374: Error: unknown opcode {standard input}:11564: Error: unknown opcode {standard input}:12774: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_tty.o] Error 1 drivers/tty/tty_jobctrl.c:77:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:77:9: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:77:9: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:80:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:80:34: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:80:34: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:120:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:120:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:120:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:122:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:122:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:122:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:131:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:131:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:131:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:152:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:152:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:152:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:161:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:161:9: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:161:9: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:163:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:163:40: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:163:40: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:200:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:200:41: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:200:41: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:208:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:208:51: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:208:51: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:219:43: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:219:43: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:219:43: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:281:39: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:281:39: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:281:39: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:284:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:284:41: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:284:41: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:293:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:293:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:293:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:309:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:309:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:309:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:484:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] [usertype] __user *p @@ drivers/tty/tty_jobctrl.c:484:13: sparse: expected int const *__gu_addr drivers/tty/tty_jobctrl.c:484:13: sparse: got int [noderef] [usertype] __user *p >> drivers/tty/tty_jobctrl.c:484:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/tty/tty_jobctrl.c:484:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_jobctrl.c:484:13: sparse: got int const *__gu_addr drivers/tty/tty_jobctrl.c:18:41: sparse: sparse: dereference of noderef expression {standard input}: Assembler messages: {standard input}:2488: Error: unknown opcode {standard input}:2519: Error: unknown opcode {standard input}:2685: Error: unknown opcode {standard input}:3321: Error: unknown opcode {standard input}:3363: Error: unknown opcode {standard input}:3664: Error: unknown opcode {standard input}:3706: Error: unknown opcode {standard input}:3998: Error: unknown opcode {standard input}:4856: Error: unknown opcode {standard input}:5065: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_port.o] Error 1 drivers/tty/pty.c:163:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/tty/pty.c:163:13: sparse: expected int const *__gu_addr drivers/tty/pty.c:163:13: sparse: got int [noderef] __user *arg >> drivers/tty/pty.c:163:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/tty/pty.c:163:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/pty.c:163:13: sparse: got int const *__gu_addr drivers/tty/pty.c:183:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/tty/pty.c:183:13: sparse: expected int const *__gu_addr drivers/tty/pty.c:183:13: sparse: got int [noderef] __user *arg drivers/tty/pty.c:183:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/tty/pty.c:183:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/pty.c:183:13: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}: Assembler messages: {standard input}:45: Error: unknown opcode {standard input}:401: Error: unknown opcode {standard input}:432: Error: unknown opcode {standard input}:661: Error: unknown opcode {standard input}:828: Error: unknown opcode {standard input}:1271: Error: unknown opcode {standard input}:1426: Error: unknown opcode {standard input}:1599: Error: unknown opcode {standard input}:1658: Error: unknown opcode {standard input}:2032: Error: unknown opcode {standard input}:2233: Error: unknown opcode {standard input}:3142: Error: unknown opcode {standard input}:3367: Error: unknown opcode {standard input}:3419: Error: unknown opcode {standard input}:3809: Error: unknown opcode {standard input}:3958: Error: unknown opcode {standard input}:2345: Error: unknown opcode {standard input}:2455: Error: unknown opcode {standard input}:3112: Error: unknown opcode {standard input}:3490: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/pty.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_ldsem.o] Error 1 drivers/tty/tty_baudrate.c:143: warning: Function parameter or member 'ibaud' not described in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:143: warning: Function parameter or member 'obaud' not described in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:143: warning: Excess function parameter 'ispeed' description in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:143: warning: Excess function parameter 'ospeed' description in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:234: warning: Function parameter or member 'tty' not described in 'tty_encode_baud_rate' drivers/tty/tty_baudrate.c:234: warning: Function parameter or member 'obaud' not described in 'tty_encode_baud_rate' drivers/tty/tty_baudrate.c:234: warning: Excess function parameter 'obad' description in 'tty_encode_baud_rate' {standard input}: Assembler messages: {standard input}:596: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_tracesink.o] Error 1 {standard input}: Assembler messages: {standard input}:145: Error: unknown opcode {standard input}:1445: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_jobctrl.o] Error 1 drivers/tty/sysrq.c:1110:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *buf @@ drivers/tty/sysrq.c:1110:21: sparse: expected char const *__gu_addr drivers/tty/sysrq.c:1110:21: sparse: got char const [noderef] __user *buf >> drivers/tty/sysrq.c:1110:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/sysrq.c:1110:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/sysrq.c:1110:21: sparse: got char const *__gu_addr drivers/tty/sysrq.c:148:13: sparse: sparse: context imbalance in 'sysrq_handle_crash' - unexpected unlock drivers/tty/n_gsm.c:2808:29: sparse: sparse: restricted __be16 degrades to integer {standard input}: Assembler messages: {standard input}:3059: Error: unknown opcode {standard input}:3460: Error: unknown opcode {standard input}:4170: Error: unknown opcode {standard input}:4708: Error: unknown opcode {standard input}:4790: Error: unknown opcode {standard input}:5416: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_hdlc.o] Error 1 {standard input}: Assembler messages: {standard input}:4429: Error: unknown opcode {standard input}:4530: Error: unknown opcode {standard input}:4650: Error: unknown opcode {standard input}:4835: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/sysrq.o] Error 1 {standard input}: Assembler messages: {standard input}:2953: Error: unknown opcode {standard input}:4259: Error: unknown opcode {standard input}:4290: Error: unknown opcode {standard input}:4445: Error: unknown opcode {standard input}:4757: Error: unknown opcode {standard input}:5146: Error: unknown opcode {standard input}:5278: Error: unknown opcode {standard input}:10885: Error: unknown opcode {standard input}:12291: Error: unknown opcode {standard input}:14437: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_gsm.o] Error 1 make[3]: Target '__build' not remade because of errors. -- {standard input}: Assembler messages: {standard input}:1272: Error: unknown opcode {standard input}:1303: Error: unknown opcode {standard input}:1614: Error: unknown opcode {standard input}:1977: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/char/hw_random/core.o] Error 1 {standard input}: Assembler messages: {standard input}:197: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/char/hw_random/ba431-rng.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/char/hw_random] Error 2 make[4]: Target '__build' not remade because of errors. drivers/char/tpm/st33zp24/i2c.c:291:36: warning: 'st33zp24_i2c_acpi_match' defined but not used [-Wunused-const-variable=] 291 | static const struct acpi_device_id st33zp24_i2c_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ drivers/char/tpm/st33zp24/spi.c:408:36: warning: 'st33zp24_spi_acpi_match' defined but not used [-Wunused-const-variable=] 408 | static const struct acpi_device_id st33zp24_spi_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:113: Error: unknown opcode {standard input}:268: Error: unknown opcode {standard input}:415: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/char/tpm/tpm-dev.o] Error 1 drivers/char/tpm/tpm_tis_spi_main.c:278:36: warning: 'acpi_tis_spi_match' defined but not used [-Wunused-const-variable=] 278 | static const struct acpi_device_id acpi_tis_spi_match[] = { | ^~~~~~~~~~~~~~~~~~ drivers/char/mem.c:163:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *addr @@ got void [noderef] __user *__cl_addr @@ drivers/char/mem.c:163:37: sparse: expected void *addr drivers/char/mem.c:163:37: sparse: got void [noderef] __user *__cl_addr drivers/char/mem.c:98:29: warning: no previous prototype for 'unxlate_dev_mem_ptr' [-Wmissing-prototypes] 98 | #define unxlate_dev_mem_ptr unxlate_dev_mem_ptr | ^~~~~~~~~~~~~~~~~~~ drivers/char/mem.c:99:13: note: in expansion of macro 'unxlate_dev_mem_ptr' 99 | void __weak unxlate_dev_mem_ptr(phys_addr_t phys, void *addr) | ^~~~~~~~~~~~~~~~~~~ make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/char/tpm] Error 2 drivers/char/random.c:1943:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/char/random.c:1943:21: sparse: expected int const *__gu_addr drivers/char/random.c:1943:21: sparse: got int [noderef] __user *p >> drivers/char/random.c:1943:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/char/random.c:1943:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1943:21: sparse: got int const *__gu_addr drivers/char/random.c:1949:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/char/random.c:1949:21: sparse: expected int const *__gu_addr drivers/char/random.c:1949:21: sparse: got int [noderef] __user * drivers/char/random.c:1949:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/char/random.c:1949:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1949:21: sparse: got int const *__gu_addr drivers/char/random.c:1953:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/char/random.c:1953:21: sparse: expected int const *__gu_addr drivers/char/random.c:1953:21: sparse: got int [noderef] __user * drivers/char/random.c:1953:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/char/random.c:1953:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1953:21: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:427: Error: unknown opcode {standard input}:975: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/char/misc.o] Error 1 drivers/char/random.c:2296:6: warning: no previous prototype for 'add_hwgenerator_randomness' [-Wmissing-prototypes] 2296 | void add_hwgenerator_randomness(const char *buffer, size_t count, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:11802: Error: unknown opcode {standard input}:12977: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/char/random.o] Error 1 make[3]: Target '__build' not remade because of errors. -- 456 | if (brightness < S6E3HA2_MIN_BRIGHTNESS || | ^ drivers/gpu/drm/panel/panel-tpo-tpg110.c:95: warning: Function parameter or member 'panel_mode' not described in 'tpg110' drivers/gpu/drm/panel/panel-tpo-tpg110.c:376: warning: Function parameter or member 'connector' not described in 'tpg110_get_modes' {standard input}: Assembler messages: {standard input}:2129: Error: unknown opcode make[5]: *** [scripts/Makefile.build:280: drivers/gpu/drm/panel/panel-sony-acx565akm.o] Error 1 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:527:5: sparse: sparse: symbol 'analogix_dp_start_aux_transaction' was not declared. Should it be static? drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:571:5: sparse: sparse: symbol 'analogix_dp_write_byte_to_dpcd' was not declared. Should it be static? make[4]: *** [scripts/Makefile.build:497: drivers/gpu/drm/panel] Error 2 make[5]: Target '__build' not remade because of errors. drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:527:5: warning: no previous prototype for 'analogix_dp_start_aux_transaction' [-Wmissing-prototypes] 527 | int analogix_dp_start_aux_transaction(struct analogix_dp_device *dp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:571:5: warning: no previous prototype for 'analogix_dp_write_byte_to_dpcd' [-Wmissing-prototypes] 571 | int analogix_dp_write_byte_to_dpcd(struct analogix_dp_device *dp, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c:253:9: sparse: sparse: cast truncates bits from constant value (ffffff7f becomes 7f) drivers/gpu/drm/bridge/synopsys/dw-hdmi.c:3210:30: sparse: sparse: cast truncates bits from constant value (ffffff0d becomes d) {standard input}: Assembler messages: {standard input}:2390: Error: unknown opcode {standard input}:2452: Error: unknown opcode {standard input}:2844: Error: unknown opcode {standard input}:2920: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/gpu/drm/bridge/ti-sn65dsi86.o] Error 1 {standard input}: Assembler messages: {standard input}:279: Error: unknown opcode {standard input}:352: Error: unknown opcode {standard input}:6515: Error: unknown opcode {standard input}:6546: Error: unknown opcode {standard input}:8294: Error: unknown opcode {standard input}:8500: Error: unknown opcode {standard input}: Assembler messages: {standard input}:10066: Error: unknown opcode {standard input}:10097: Error: unknown opcode make[4]: *** [scripts/Makefile.build:497: drivers/gpu/drm/bridge] Error 2 make[5]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:1149: Error: unknown opcode {standard input}:1183: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_damage_helper.o] Error 1 {standard input}: Assembler messages: {standard input}:1928: Error: unknown opcode {standard input}:1959: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic_state_helper.o] Error 1 {standard input}:13031: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic_helper.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_dp_mst_topology.o] Error 1 {standard input}: Assembler messages: {standard input}:657: Error: unknown opcode {standard input}:688: Error: unknown opcode {standard input}:1165: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_gem_framebuffer_helper.o] Error 1 {standard input}: Assembler messages: {standard input}:436: Error: unknown opcode {standard input}:975: Error: unknown opcode {standard input}:1006: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_auth.o] Error 1 {standard input}: Assembler messages: {standard input}:404: Error: unknown opcode {standard input}:753: Error: unknown opcode {standard input}:784: Error: unknown opcode {standard input}:1407: Error: unknown opcode {standard input}:1741: Error: unknown opcode {standard input}:2068: Error: unknown opcode {standard input}:2507: Error: unknown opcode {standard input}:2760: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_dp_aux_dev.o] Error 1 {standard input}: Assembler messages: {standard input}:1496: Error: unknown opcode {standard input}:1527: Error: unknown opcode {standard input}:2992: Error: unknown opcode {standard input}:3198: Error: unknown opcode {standard input}:4561: Error: unknown opcode {standard input}:5094: Error: unknown opcode {standard input}:5238: Error: unknown opcode {standard input}:6799: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_gem.o] Error 1 drivers/gpu/drm/drm_memory.c:135:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *handle @@ got void [noderef] __iomem * @@ drivers/gpu/drm/drm_memory.c:135:29: sparse: expected void *handle drivers/gpu/drm/drm_memory.c:135:29: sparse: got void [noderef] __iomem * drivers/gpu/drm/drm_memory.c:144:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *handle @@ got void [noderef] __iomem * @@ drivers/gpu/drm/drm_memory.c:144:29: sparse: expected void *handle drivers/gpu/drm/drm_memory.c:144:29: sparse: got void [noderef] __iomem * drivers/gpu/drm/drm_memory.c:156:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *handle @@ drivers/gpu/drm/drm_memory.c:156:28: sparse: expected void [noderef] __iomem *addr drivers/gpu/drm/drm_memory.c:156:28: sparse: got void *handle {standard input}: Assembler messages: {standard input}:1486: Error: unknown opcode {standard input}:1517: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_self_refresh_helper.o] Error 1 {standard input}: Assembler messages: {standard input}:8803: Error: unknown opcode {standard input}:8837: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_fb_helper.o] Error 1 drivers/gpu/drm/drm_drv.c:434:6: sparse: sparse: context imbalance in 'drm_dev_enter' - different lock contexts for basic block include/linux/srcu.h:181:9: sparse: sparse: context imbalance in 'drm_dev_exit' - unexpected unlock drivers/gpu/drm/drm_crtc.c:707:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_crtc.c:707:29: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_crtc.c:707:29: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/gpu/drm/drm_crtc.c:707:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/gpu/drm/drm_crtc.c:707:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_crtc.c:707:29: sparse: got unsigned int const *__gu_addr {standard input}: Assembler messages: {standard input}:593: Error: unknown opcode {standard input}:624: Error: unknown opcode {standard input}:2720: Error: unknown opcode {standard input}:4309: Error: unknown opcode {standard input}:4568: Error: unknown opcode {standard input}:5064: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_file.o] Error 1 {standard input}: Assembler messages: {standard input}:229: Error: unknown opcode {standard input}:323: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_hashtab.o] Error 1 {standard input}: Assembler messages: {standard input}:1831: Error: unknown opcode {standard input}:1862: Error: unknown opcode {standard input}:2115: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_drv.o] Error 1 {standard input}: Assembler messages: {standard input}:4765: Error: unknown opcode {standard input}:9394: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_mm.o] Error 1 {standard input}: Assembler messages: {standard input}:1696: Error: unknown opcode {standard input}:1727: Error: unknown opcode {standard input}:1961: Error: unknown opcode {standard input}:2149: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_prime.o] Error 1 {standard input}: Assembler messages: {standard input}:1527: Error: unknown opcode {standard input}:1559: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_framebuffer.o] Error 1 {standard input}: Assembler messages: {standard input}:5009: Error: unknown opcode {standard input}:5040: Error: unknown opcode {standard input}:5507: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2264: Error: unknown opcode {standard input}:8212: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_modeset_lock.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_connector.o] Error 1 {standard input}: Assembler messages: {standard input}:6587: Error: unknown opcode {standard input}:6618: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic.o] Error 1 {standard input}: Assembler messages: {standard input}:489: Error: unknown opcode {standard input}:520: Error: unknown opcode {standard input}:945: Error: unknown opcode {standard input}:2544: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_mode_object.o] Error 1 {standard input}: Assembler messages: {standard input}:1336: Error: unknown opcode {standard input}:1844: Error: unknown opcode {standard input}:1911: Error: unknown opcode {standard input}:2955: Error: unknown opcode {standard input}:3005: Error: unknown opcode {standard input}: Assembler messages: {standard input}:955: Error: unknown opcode {standard input}:986: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_client.o] Error 1 {standard input}: Assembler messages: {standard input}:1303: Error: unknown opcode {standard input}:1334: Error: unknown opcode {standard input}:1561: Error: unknown opcode {standard input}:2084: Error: unknown opcode {standard input}:4488: Error: unknown opcode drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: got unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: got unsigned int [noderef] [usertype] __user * drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: got unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: got unsigned int [noderef] [usertype] __user * drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: got unsigned int const *__gu_addr {standard input}:3236: Error: unknown opcode {standard input}:6751: Error: unknown opcode {standard input}:7204: Error: unknown opcode {standard input}:7321: Error: unknown opcode {standard input}:7935: Error: unknown opcode {standard input}:4802: Error: unknown opcode {standard input}:5250: Error: unknown opcode {standard input}:6411: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1130: Error: unknown opcode {standard input}:1161: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_writeback.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_syncobj.o] Error 1 {standard input}:11327: Error: unknown opcode {standard input}:14940: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_vblank.o] Error 1 {standard input}: Assembler messages: {standard input}:1841: Error: unknown opcode {standard input}:1872: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic_uapi.o] Error 1 {standard input}: Assembler messages: {standard input}:3541: Error: unknown opcode {standard input}:3573: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_client_modeset.o] Error 1 {standard input}: Assembler messages: {standard input}:1005: Error: unknown opcode {standard input}:1036: Error: unknown opcode {standard input}:2516: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_gem_cma_helper.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/gpu/drm] Error 2 make[3]: Target '__build' not remade because of errors. -- drivers/misc/eeprom/eeprom_93cx6.c:239: warning: Function parameter or member 'byte' not described in 'eeprom_93cx6_readb' drivers/misc/eeprom/eeprom_93cx6.c:239: warning: Excess function parameter 'word' description in 'eeprom_93cx6_readb' drivers/misc/eeprom/eeprom_93cx6.c:280: warning: Function parameter or member 'bytes' not described in 'eeprom_93cx6_multireadb' drivers/misc/eeprom/eeprom_93cx6.c:280: warning: Excess function parameter 'words' description in 'eeprom_93cx6_multireadb' drivers/misc/eeprom/at24.c:228:36: warning: 'at24_acpi_ids' defined but not used [-Wunused-const-variable=] 228 | static const struct acpi_device_id at24_acpi_ids[] = { | ^~~~~~~~~~~~~ drivers/misc/ti-st/st_core.c:283:41: sparse: sparse: cast to restricted __le16 drivers/misc/eeprom/idt_89hpesx.c:597:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] memaddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:597:31: sparse: expected unsigned short [addressable] [assigned] [usertype] memaddr drivers/misc/eeprom/idt_89hpesx.c:597:31: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:669:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] memaddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:669:31: sparse: expected unsigned short [addressable] [assigned] [usertype] memaddr drivers/misc/eeprom/idt_89hpesx.c:669:31: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:767:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] csraddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:767:24: sparse: expected unsigned short [addressable] [assigned] [usertype] csraddr drivers/misc/eeprom/idt_89hpesx.c:767:24: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:768:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [addressable] [assigned] [usertype] data @@ got restricted __le32 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:768:21: sparse: expected unsigned int [addressable] [assigned] [usertype] data drivers/misc/eeprom/idt_89hpesx.c:768:21: sparse: got restricted __le32 [usertype] drivers/misc/eeprom/idt_89hpesx.c:832:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] csraddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:832:24: sparse: expected unsigned short [addressable] [assigned] [usertype] csraddr drivers/misc/eeprom/idt_89hpesx.c:832:24: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:857:17: sparse: sparse: cast to restricted __le32 {standard input}: Assembler messages: {standard input}:68: Error: unknown opcode {standard input}:2359: Error: unknown opcode {standard input}:2442: Error: unknown opcode {standard input}:3396: Error: unknown opcode {standard input}:3565: Error: unknown opcode {standard input}:3706: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/misc/ti-st/st_core.o] Error 1 drivers/misc/lis3lv02d/lis3lv02d.c:182:52: sparse: sparse: cast to restricted __le16 {standard input}: Assembler messages: {standard input}:2656: Error: unknown opcode {standard input}:2711: Error: unknown opcode {standard input}:2905: Error: unknown opcode {standard input}:3299: Error: unknown opcode {standard input}:3433: Error: unknown opcode {standard input}:4219: Error: unknown opcode {standard input}:4538: Error: unknown opcode {standard input}:4943: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/misc/lis3lv02d/lis3lv02d.o] Error 1 drivers/misc/ti-st/st_kim.c:42: warning: Function parameter or member 'id' not described in 'st_get_plat_device' drivers/misc/ti-st/st_kim.c:53: warning: Function parameter or member 'kim_gdata' not described in 'validate_firmware_response' drivers/misc/ti-st/st_kim.c:126: warning: Function parameter or member 'kim_gdata' not described in 'kim_int_recv' drivers/misc/ti-st/st_kim.c:126: warning: Function parameter or member 'data' not described in 'kim_int_recv' drivers/misc/ti-st/st_kim.c:126: warning: Function parameter or member 'count' not described in 'kim_int_recv' drivers/misc/ti-st/st_kim.c:272: warning: Function parameter or member 'kim_gdata' not described in 'download_firmware' drivers/misc/ti-st/st_kim.c:445: warning: Function parameter or member 'kim_data' not described in 'st_kim_start' drivers/misc/ti-st/st_kim.c:509: warning: Function parameter or member 'kim_data' not described in 'st_kim_stop' drivers/misc/ti-st/st_kim.c:661: warning: Function parameter or member 'core_data' not described in 'st_kim_ref' drivers/misc/ti-st/st_kim.c:661: warning: Function parameter or member 'id' not described in 'st_kim_ref' >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *ptr @@ got restricted __le64 * @@ >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: expected void const volatile [noderef] __iomem *ptr drivers/misc/mic/vop/vop_main.c:551:51: sparse: got restricted __le64 * drivers/misc/mic/vop/vop_main.c:560:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:560:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:560:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:579:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc drivers/misc/mic/vop/vop_main.c: In function '_vop_scan_devices': drivers/misc/mic/vop/vop_main.c:617:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 617 | int ret; | ^~~ make[3]: *** [scripts/Makefile.build:497: drivers/misc/ti-st] Error 2 make[4]: Target '__build' not remade because of errors. drivers/misc/enclosure.c:115: warning: Function parameter or member 'name' not described in 'enclosure_register' drivers/misc/enclosure.c:115: warning: Function parameter or member 'cb' not described in 'enclosure_register' drivers/misc/enclosure.c:283: warning: Function parameter or member 'number' not described in 'enclosure_component_alloc' drivers/misc/enclosure.c:283: warning: Excess function parameter 'num' description in 'enclosure_component_alloc' drivers/misc/enclosure.c:363: warning: Function parameter or member 'component' not described in 'enclosure_add_device' drivers/misc/enclosure.c:363: warning: Excess function parameter 'num' description in 'enclosure_add_device' drivers/misc/enclosure.c:398: warning: Function parameter or member 'dev' not described in 'enclosure_remove_device' drivers/misc/enclosure.c:398: warning: Excess function parameter 'num' description in 'enclosure_remove_device' make[3]: *** [scripts/Makefile.build:497: drivers/misc/lis3lv02d] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:6221: Error: unknown opcode {standard input}:6680: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/misc/mic] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/misc/mic/vop] Error 2 make[4]: Target '__build' not remade because of errors. make[5]: *** [scripts/Makefile.build:281: drivers/misc/mic/vop/vop_vringh.o] Error 1 make[5]: Target '__build' not remade because of errors. -- {standard input}: Assembler messages: {standard input}:4257: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi.o] Error 1 drivers/scsi/scsi_ioctl.c:48:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/scsi/scsi_ioctl.c:48:21: sparse: expected unsigned int const *__gu_addr drivers/scsi/scsi_ioctl.c:48:21: sparse: got unsigned int [noderef] __user * >> drivers/scsi/scsi_ioctl.c:48:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/scsi/scsi_ioctl.c:48:21: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/scsi_ioctl.c:48:21: sparse: got unsigned int const *__gu_addr drivers/scsi/scsi_error.c:2341:17: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/scsi/scsi_error.c:2341:17: sparse: expected int const *__gu_addr drivers/scsi/scsi_error.c:2341:17: sparse: got int [noderef] __user *arg >> drivers/scsi/scsi_error.c:2341:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/scsi/scsi_error.c:2341:17: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/scsi_error.c:2341:17: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:491: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsicam.o] Error 1 {standard input}: Assembler messages: {standard input}:250: Error: unknown opcode {standard input}:309: Error: unknown opcode {standard input}:12582: Error: unknown opcode {standard input}: Assembler messages: {standard input}:3693: Error: unknown opcode {standard input}:17869: Error: unknown opcode {standard input}:19691: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_lib.o] Error 1 {standard input}:10689: Error: unknown opcode {standard input}:13255: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_error.o] Error 1 drivers/scsi/constants.c:318:9: sparse: sparse: trying to concatenate 24850-character string (8191 bytes max) {standard input}: Assembler messages: {standard input}:3961: Error: unknown opcode {standard input}:7182: Error: unknown opcode {standard input}:7213: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_scan.o] Error 1 {standard input}: Assembler messages: {standard input}:3774: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_transport_srp.o] Error 1 drivers/scsi/virtio_scsi.c:109: warning: Function parameter or member 'vscsi' not described in 'virtscsi_complete_cmd' drivers/scsi/virtio_scsi.c:109: warning: Function parameter or member 'buf' not described in 'virtscsi_complete_cmd' drivers/scsi/sg.c:415:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:415:21: sparse: expected int const *__gu_addr drivers/scsi/sg.c:415:21: sparse: got int [noderef] __user * >> drivers/scsi/sg.c:415:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/scsi/sg.c:415:21: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:415:21: sparse: got int const *__gu_addr drivers/scsi/sg.c:419:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:419:32: sparse: expected int const *__gu_addr drivers/scsi/sg.c:419:32: sparse: got int [noderef] __user * drivers/scsi/sg.c:419:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:419:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:419:32: sparse: got int const *__gu_addr drivers/scsi/sg.c:425:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] __user * @@ drivers/scsi/sg.c:425:32: sparse: expected signed int const *__gu_addr drivers/scsi/sg.c:425:32: sparse: got signed int [noderef] __user * >> drivers/scsi/sg.c:425:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/scsi/sg.c:425:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:425:32: sparse: got signed int const *__gu_addr drivers/scsi/sg.c:431:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:431:32: sparse: expected int const *__gu_addr drivers/scsi/sg.c:431:32: sparse: got int [noderef] __user * drivers/scsi/sg.c:431:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:431:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:431:32: sparse: got int const *__gu_addr drivers/scsi/sg.c:638:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *[assigned] buf @@ drivers/scsi/sg.c:638:13: sparse: expected char const *__gu_addr drivers/scsi/sg.c:638:13: sparse: got char const [noderef] __user *[assigned] buf >> drivers/scsi/sg.c:638:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/scsi/sg.c:638:13: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:638:13: sparse: got char const *__gu_addr drivers/scsi/sg.c:955:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:955:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:955:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:955:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:955:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:955:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:998:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:998:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:998:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:998:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:998:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:998:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1026:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1026:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1026:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1026:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1026:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1026:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1051:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1051:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1051:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1051:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1051:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1051:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1059:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1059:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1059:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1059:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1059:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1059:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1067:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1067:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1067:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1067:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1067:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1067:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1111:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1111:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1111:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1111:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1111:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1111:26: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:7142: Error: unknown opcode {standard input}:7173: Error: unknown opcode {standard input}: Assembler messages: {standard input}:7760: Error: unknown opcode {standard input}:7791: Error: unknown opcode {standard input}:9132: Error: unknown opcode {standard input}:9359: Error: unknown opcode {standard input}:11729: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/sg.o] Error 1 include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (5c0 becomes c0) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (600 becomes 0) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (525 becomes 25) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (624 becomes 24) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (2100 becomes 0) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (3222 becomes 22) include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (32222220 becomes 2220) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (2220 becomes 20) include/linux/unaligned/be_byteshift.h:38:30: sparse: sparse: cast truncates bits from constant value (3222222000000000 becomes 0) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (3111 becomes 11) include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (31111110 becomes 1110) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (1110 becomes 10) include/linux/unaligned/be_byteshift.h:38:30: sparse: sparse: cast truncates bits from constant value (3111111000000001 becomes 1) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (3222 becomes 22) include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (32222220 becomes 2220) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (2220 becomes 20) include/linux/unaligned/be_byteshift.h:38:30: sparse: sparse: cast truncates bits from constant value (3222222000000000 becomes 0) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (3111 becomes 11) include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (31111110 becomes 1110) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (1110 becomes 10) include/linux/unaligned/be_byteshift.h:38:30: sparse: sparse: cast truncates bits from constant value (3111111000000001 becomes 1) {standard input}:17458: Error: unknown opcode {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}:133: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/st.o] Error 1 {standard input}:22467: Error: unknown opcode {standard input}: Assembler messages: {standard input}:94: Error: unknown opcode {standard input}:157: Error: unknown opcode {standard input}:28518: Error: unknown opcode {standard input}:33728: Error: unknown opcode {standard input}:37881: Error: unknown opcode {standard input}:39114: Error: unknown opcode {standard input}:39248: Error: unknown opcode {standard input}:43949: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_debug.o] Error 1 {standard input}:7664: Error: unknown opcode {standard input}:8489: Error: unknown opcode {standard input}:8556: Error: unknown opcode {standard input}:8615: Error: unknown opcode {standard input}:8668: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_sysfs.o] Error 1 make[3]: Target '__build' not remade because of errors. -- sound/core/seq/seq_clientmgr.c:709:9: sparse: sparse: context imbalance in 'deliver_to_subscribers' - different lock contexts for basic block {standard input}: Assembler messages: {standard input}:817: Error: unknown opcode {standard input}:911: Error: unknown opcode {standard input}:983: Error: unknown opcode {standard input}:1212: Error: unknown opcode {standard input}:1638: Error: unknown opcode {standard input}:2539: Error: unknown opcode {standard input}:2699: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_fifo.o] Error 1 {standard input}: Assembler messages: {standard input}:588: Error: unknown opcode {standard input}:679: Error: unknown opcode {standard input}:881: Error: unknown opcode {standard input}:1580: Error: unknown opcode {standard input}:2048: Error: unknown opcode {standard input}: Assembler messages: {standard input}:4526: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_queue.o] Error 1 sound/core/control.c:776:17: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:776:26: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:777:17: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:777:26: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:796:48: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:1462:40: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:1565:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ptr @@ sound/core/control.c:1565:13: sparse: expected int const *__gu_addr sound/core/control.c:1565:13: sparse: got int [noderef] __user *ptr >> sound/core/control.c:1565:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/control.c:1565:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/control.c:1565:13: sparse: got int const *__gu_addr {standard input}:6767: Error: unknown opcode {standard input}:7990: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1544: Error: unknown opcode {standard input}:1823: Error: unknown opcode {standard input}:2489: Error: unknown opcode {standard input}:2708: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_memory.o] Error 1 {standard input}: Assembler messages: {standard input}:3999: Error: unknown opcode {standard input}:8582: Error: unknown opcode {standard input}:13022: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: sound/core/control.o] Error 1 {standard input}: Assembler messages: {standard input}:4126: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_clientmgr.o] Error 1 make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_timer.o] Error 1 sound/core/seq/seq_virmidi.c:65:12: sparse: sparse: context imbalance in 'snd_virmidi_dev_receive_event' - different lock contexts for basic block sound/core/timer.c:2045:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/timer.c:2045:13: sparse: expected int const *__gu_addr sound/core/timer.c:2045:13: sparse: got int [noderef] __user *p >> sound/core/timer.c:2045:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/timer.c:2045:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/timer.c:2045:13: sparse: got int const *__gu_addr sound/core/timer.c:790:25: sparse: sparse: context imbalance in 'snd_timer_process_callbacks' - unexpected unlock {standard input}: Assembler messages: {standard input}:537: Error: unknown opcode {standard input}:1302: Error: unknown opcode {standard input}:1585: Error: unknown opcode {standard input}:2430: Error: unknown opcode {standard input}:3051: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: sound/core/seq/seq_ports.o] Error 1 make[3]: *** [scripts/Makefile.build:497: sound/core/seq] Error 2 make[4]: Target '__build' not remade because of errors. sound/core/pcm.c:92:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:92:29: sparse: expected int const *__gu_addr sound/core/pcm.c:92:29: sparse: got int [noderef] __user * >> sound/core/pcm.c:92:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/pcm.c:92:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:92:29: sparse: got int const *__gu_addr sound/core/pcm.c:112:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm.c:112:29: sparse: expected unsigned int const *__gu_addr sound/core/pcm.c:112:29: sparse: got unsigned int [noderef] __user * >> sound/core/pcm.c:112:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm.c:112:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:112:29: sparse: got unsigned int const *__gu_addr sound/core/pcm.c:114:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:114:29: sparse: expected int const *__gu_addr sound/core/pcm.c:114:29: sparse: got int [noderef] __user * sound/core/pcm.c:114:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm.c:114:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:114:29: sparse: got int const *__gu_addr sound/core/pcm.c:119:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm.c:119:29: sparse: expected unsigned int const *__gu_addr sound/core/pcm.c:119:29: sparse: got unsigned int [noderef] __user * sound/core/pcm.c:119:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm.c:119:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:119:29: sparse: got unsigned int const *__gu_addr sound/core/pcm.c:155:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:155:29: sparse: expected int const *__gu_addr sound/core/pcm.c:155:29: sparse: got int [noderef] __user * sound/core/pcm.c:155:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm.c:155:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:155:29: sparse: got int const *__gu_addr sound/core/pcm.c:999:9: sparse: sparse: context imbalance in 'snd_pcm_detach_substream' - different lock contexts for basic block {standard input}: Assembler messages: {standard input}:3026: Error: unknown opcode {standard input}:3843: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: sound/core/init.o] Error 1 sound/core/pcm_native.c:1010:20: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ sound/core/pcm_native.c:1010:20: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:1010:20: sparse: got unsigned int [noderef] [usertype] __user * >> sound/core/pcm_native.c:1010:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> sound/core/pcm_native.c:1010:20: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:1010:20: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:1036:20: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ sound/core/pcm_native.c:1036:20: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:1036:20: sparse: got unsigned int [noderef] [usertype] __user * sound/core/pcm_native.c:1036:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:1036:20: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:1036:20: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:2944:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:2944:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:2944:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:2944:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:2944:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:2944:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3037:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3037:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3037:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3037:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3037:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3037:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3038:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3038:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3038:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3038:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3038:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3038:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3039:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3039:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3039:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3039:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3039:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3039:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3087:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *_arg @@ sound/core/pcm_native.c:3087:13: sparse: expected int const *__gu_addr sound/core/pcm_native.c:3087:13: sparse: got int [noderef] __user *_arg >> sound/core/pcm_native.c:3087:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm_native.c:3087:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3087:13: sparse: got int const *__gu_addr sound/core/pcm_native.c:3153:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@ sound/core/pcm_native.c:3153:13: sparse: expected unsigned long const *__gu_addr sound/core/pcm_native.c:3153:13: sparse: got unsigned long [noderef] [usertype] __user *_frames >> sound/core/pcm_native.c:3153:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ sound/core/pcm_native.c:3153:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3153:13: sparse: got unsigned long const *__gu_addr sound/core/pcm_native.c:3169:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@ sound/core/pcm_native.c:3169:13: sparse: expected unsigned long const *__gu_addr sound/core/pcm_native.c:3169:13: sparse: got unsigned long [noderef] [usertype] __user *_frames sound/core/pcm_native.c:3169:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ sound/core/pcm_native.c:3169:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3169:13: sparse: got unsigned long const *__gu_addr sound/core/pcm_native.c:3203:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3203:21: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3203:21: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3203:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3203:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3203:21: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:95:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock' - different lock contexts for basic block sound/core/pcm_native.c:96:1: sparse: sparse: context imbalance in 'snd_pcm_group_unlock' - unexpected unlock sound/core/pcm_native.c:97:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock_irq' - different lock contexts for basic block sound/core/pcm_native.c:98:1: sparse: sparse: context imbalance in 'snd_pcm_group_unlock_irq' - unexpected unlock sound/core/pcm_native.c:145:9: sparse: sparse: context imbalance in 'snd_pcm_stream_lock_nested' - different lock contexts for basic block sound/core/pcm_native.c:171:9: sparse: sparse: context imbalance in '_snd_pcm_stream_lock_irqsave' - different lock contexts for basic block sound/core/pcm_native.c:188:39: sparse: sparse: context imbalance in 'snd_pcm_stream_unlock_irqrestore' - unexpected unlock sound/core/pcm_native.c:1186:52: sparse: sparse: context imbalance in 'snd_pcm_action_group' - unexpected unlock sound/core/pcm_native.c:1257:37: sparse: sparse: context imbalance in 'snd_pcm_stream_group_ref' - different lock contexts for basic block sound/core/pcm_native.c: In function 'constrain_mask_params': sound/core/pcm_native.c:264:18: warning: variable 'old_mask' set but not used [-Wunused-but-set-variable] 264 | struct snd_mask old_mask; | ^~~~~~~~ sound/core/pcm_native.c: In function 'constrain_interval_params': sound/core/pcm_native.c:300:22: warning: variable 'old_interval' set but not used [-Wunused-but-set-variable] 300 | struct snd_interval old_interval; | ^~~~~~~~~~~~ sound/core/pcm_native.c: In function 'constrain_params_by_rules': sound/core/pcm_native.c:341:22: warning: variable 'old_interval' set but not used [-Wunused-but-set-variable] 341 | struct snd_interval old_interval; | ^~~~~~~~~~~~ sound/core/pcm_native.c:340:18: warning: variable 'old_mask' set but not used [-Wunused-but-set-variable] 340 | struct snd_mask old_mask; | ^~~~~~~~ sound/core/pcm_native.c: In function 'snd_pcm_hw_params_choose': sound/core/pcm_native.c:625:22: warning: variable 'old_interval' set but not used [-Wunused-but-set-variable] 625 | struct snd_interval old_interval; | ^~~~~~~~~~~~ sound/core/pcm_native.c:624:18: warning: variable 'old_mask' set but not used [-Wunused-but-set-variable] 624 | struct snd_mask old_mask; | ^~~~~~~~ {standard input}: Assembler messages: {standard input}:5977: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: sound/core/pcm.o] Error 1 {standard input}: Assembler messages: {standard input}:8297: Error: unknown opcode {standard input}:9406: Error: unknown opcode {standard input}: Assembler messages: {standard input}:7731: Error: unknown opcode {standard input}:7762: Error: unknown opcode {standard input}:7905: Error: unknown opcode {standard input}:8086: Error: unknown opcode {standard input}:8326: Error: unknown opcode {standard input}:8895: Error: unknown opcode {standard input}:9185: Error: unknown opcode {standard input}:16656: Error: unknown opcode {standard input}:17378: Error: unknown opcode {standard input}:19134: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: sound/core/pcm_native.o] Error 1 make[3]: *** [scripts/Makefile.build:281: sound/core/timer.o] Error 1 sound/core/rawmidi.c:654:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/rawmidi.c:654:13: sparse: expected unsigned int const *__gu_addr sound/core/rawmidi.c:654:13: sparse: got unsigned int [noderef] __user * >> sound/core/rawmidi.c:654:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> sound/core/rawmidi.c:654:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:654:13: sparse: got unsigned int const *__gu_addr sound/core/rawmidi.c:656:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:656:13: sparse: expected int const *__gu_addr sound/core/rawmidi.c:656:13: sparse: got int [noderef] __user * >> sound/core/rawmidi.c:656:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:656:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:656:13: sparse: got int const *__gu_addr sound/core/rawmidi.c:658:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/rawmidi.c:658:13: sparse: expected unsigned int const *__gu_addr sound/core/rawmidi.c:658:13: sparse: got unsigned int [noderef] __user * sound/core/rawmidi.c:658:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/rawmidi.c:658:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:658:13: sparse: got unsigned int const *__gu_addr sound/core/rawmidi.c:836:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:836:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:836:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:836:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:836:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:836:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:874:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:874:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:874:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:874:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:874:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:874:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:889:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:889:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:889:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:889:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:889:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:889:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:923:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:923:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:923:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:923:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:923:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:923:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:945:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:945:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:945:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:945:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:945:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:945:21: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:5681: Error: unknown opcode {standard input}:5971: Error: unknown opcode {standard input}:6100: Error: unknown opcode sound/core/pcm_iec958.c:119: warning: Function parameter or member 'params' not described in 'snd_pcm_create_iec958_consumer_hw_params' sound/core/pcm_iec958.c:119: warning: Excess function parameter 'hw_params' description in 'snd_pcm_create_iec958_consumer_hw_params' {standard input}: Assembler messages: {standard input}:1590: Error: unknown opcode {standard input}:1673: Error: unknown opcode {standard input}:1788: Error: unknown opcode {standard input}:1891: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: sound/core/seq_device.o] Error 1 make[3]: *** [scripts/Makefile.build:280: sound/core/pcm_lib.o] Error 1 {standard input}: Assembler messages: {standard input}:7829: Error: unknown opcode {standard input}:8720: Error: unknown opcode {standard input}:12334: Error: unknown opcode {standard input}:12716: Error: unknown opcode {standard input}:13942: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: sound/core/rawmidi.o] Error 1 make[3]: Target '__build' not remade because of errors. -- sound/core/control.c:776:17: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:776:26: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:777:17: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:777:26: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:796:48: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:1462:40: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:1565:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ptr @@ sound/core/control.c:1565:13: sparse: expected int const *__gu_addr sound/core/control.c:1565:13: sparse: got int [noderef] __user *ptr >> sound/core/control.c:1565:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/control.c:1565:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/control.c:1565:13: sparse: got int const *__gu_addr -- sound/core/timer.c:2045:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/timer.c:2045:13: sparse: expected int const *__gu_addr sound/core/timer.c:2045:13: sparse: got int [noderef] __user *p >> sound/core/timer.c:2045:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/timer.c:2045:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/timer.c:2045:13: sparse: got int const *__gu_addr sound/core/timer.c:790:25: sparse: sparse: context imbalance in 'snd_timer_process_callbacks' - unexpected unlock -- sound/core/pcm.c:92:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:92:29: sparse: expected int const *__gu_addr sound/core/pcm.c:92:29: sparse: got int [noderef] __user * >> sound/core/pcm.c:92:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/pcm.c:92:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:92:29: sparse: got int const *__gu_addr sound/core/pcm.c:112:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm.c:112:29: sparse: expected unsigned int const *__gu_addr sound/core/pcm.c:112:29: sparse: got unsigned int [noderef] __user * >> sound/core/pcm.c:112:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm.c:112:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:112:29: sparse: got unsigned int const *__gu_addr sound/core/pcm.c:114:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:114:29: sparse: expected int const *__gu_addr sound/core/pcm.c:114:29: sparse: got int [noderef] __user * sound/core/pcm.c:114:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm.c:114:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:114:29: sparse: got int const *__gu_addr sound/core/pcm.c:119:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm.c:119:29: sparse: expected unsigned int const *__gu_addr sound/core/pcm.c:119:29: sparse: got unsigned int [noderef] __user * sound/core/pcm.c:119:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm.c:119:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:119:29: sparse: got unsigned int const *__gu_addr sound/core/pcm.c:155:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:155:29: sparse: expected int const *__gu_addr sound/core/pcm.c:155:29: sparse: got int [noderef] __user * sound/core/pcm.c:155:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm.c:155:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:155:29: sparse: got int const *__gu_addr sound/core/pcm.c:999:9: sparse: sparse: context imbalance in 'snd_pcm_detach_substream' - different lock contexts for basic block -- sound/core/pcm_native.c:1010:20: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ sound/core/pcm_native.c:1010:20: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:1010:20: sparse: got unsigned int [noderef] [usertype] __user * >> sound/core/pcm_native.c:1010:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> sound/core/pcm_native.c:1010:20: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:1010:20: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:1036:20: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ sound/core/pcm_native.c:1036:20: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:1036:20: sparse: got unsigned int [noderef] [usertype] __user * sound/core/pcm_native.c:1036:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:1036:20: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:1036:20: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:2944:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:2944:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:2944:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:2944:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:2944:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:2944:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3037:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3037:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3037:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3037:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3037:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3037:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3038:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3038:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3038:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3038:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3038:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3038:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3039:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3039:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3039:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3039:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3039:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3039:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3087:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *_arg @@ sound/core/pcm_native.c:3087:13: sparse: expected int const *__gu_addr sound/core/pcm_native.c:3087:13: sparse: got int [noderef] __user *_arg >> sound/core/pcm_native.c:3087:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm_native.c:3087:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3087:13: sparse: got int const *__gu_addr sound/core/pcm_native.c:3153:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@ sound/core/pcm_native.c:3153:13: sparse: expected unsigned long const *__gu_addr sound/core/pcm_native.c:3153:13: sparse: got unsigned long [noderef] [usertype] __user *_frames >> sound/core/pcm_native.c:3153:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ sound/core/pcm_native.c:3153:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3153:13: sparse: got unsigned long const *__gu_addr sound/core/pcm_native.c:3169:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@ sound/core/pcm_native.c:3169:13: sparse: expected unsigned long const *__gu_addr sound/core/pcm_native.c:3169:13: sparse: got unsigned long [noderef] [usertype] __user *_frames sound/core/pcm_native.c:3169:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ sound/core/pcm_native.c:3169:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3169:13: sparse: got unsigned long const *__gu_addr sound/core/pcm_native.c:3203:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3203:21: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3203:21: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3203:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3203:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3203:21: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:95:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock' - different lock contexts for basic block sound/core/pcm_native.c:96:1: sparse: sparse: context imbalance in 'snd_pcm_group_unlock' - unexpected unlock sound/core/pcm_native.c:97:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock_irq' - different lock contexts for basic block sound/core/pcm_native.c:98:1: sparse: sparse: context imbalance in 'snd_pcm_group_unlock_irq' - unexpected unlock sound/core/pcm_native.c:145:9: sparse: sparse: context imbalance in 'snd_pcm_stream_lock_nested' - different lock contexts for basic block sound/core/pcm_native.c:171:9: sparse: sparse: context imbalance in '_snd_pcm_stream_lock_irqsave' - different lock contexts for basic block sound/core/pcm_native.c:188:39: sparse: sparse: context imbalance in 'snd_pcm_stream_unlock_irqrestore' - unexpected unlock sound/core/pcm_native.c:1186:52: sparse: sparse: context imbalance in 'snd_pcm_action_group' - unexpected unlock sound/core/pcm_native.c:1257:37: sparse: sparse: context imbalance in 'snd_pcm_stream_group_ref' - different lock contexts for basic block -- sound/core/rawmidi.c:654:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/rawmidi.c:654:13: sparse: expected unsigned int const *__gu_addr sound/core/rawmidi.c:654:13: sparse: got unsigned int [noderef] __user * >> sound/core/rawmidi.c:654:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> sound/core/rawmidi.c:654:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:654:13: sparse: got unsigned int const *__gu_addr sound/core/rawmidi.c:656:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:656:13: sparse: expected int const *__gu_addr sound/core/rawmidi.c:656:13: sparse: got int [noderef] __user * >> sound/core/rawmidi.c:656:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:656:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:656:13: sparse: got int const *__gu_addr sound/core/rawmidi.c:658:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/rawmidi.c:658:13: sparse: expected unsigned int const *__gu_addr sound/core/rawmidi.c:658:13: sparse: got unsigned int [noderef] __user * sound/core/rawmidi.c:658:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/rawmidi.c:658:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:658:13: sparse: got unsigned int const *__gu_addr sound/core/rawmidi.c:836:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:836:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:836:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:836:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:836:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:836:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:874:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:874:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:874:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:874:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:874:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:874:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:889:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:889:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:889:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:889:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:889:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:889:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:923:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:923:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:923:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:923:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:923:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:923:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:945:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:945:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:945:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:945:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:945:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:945:21: sparse: got int const *__gu_addr -- drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: expected char const *__gu_addr drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: got char const [noderef] __user * >> drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: expected void const volatile [noderef] __user *ptr drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: got char const *__gu_addr -- drivers/tty/tty_ioctl.c:842:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/tty_ioctl.c:842:21: sparse: expected unsigned int const *__gu_addr drivers/tty/tty_ioctl.c:842:21: sparse: got unsigned int [noderef] __user * >> drivers/tty/tty_ioctl.c:842:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/tty/tty_ioctl.c:842:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_ioctl.c:842:21: sparse: got unsigned int const *__gu_addr include/asm-generic/termios.h:25:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:25:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:25:13: sparse: got unsigned short const [noderef] __user * >> include/asm-generic/termios.h:25:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ >> include/asm-generic/termios.h:25:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:25:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:29:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:29:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:29:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:29:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:29:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:29:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:33:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:33:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:33:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:33:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:33:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:33:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:37:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:37:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:37:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:37:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:37:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:37:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:41:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char const [noderef] __user * @@ include/asm-generic/termios.h:41:13: sparse: expected unsigned char const *__gu_addr include/asm-generic/termios.h:41:13: sparse: got unsigned char const [noderef] __user * >> include/asm-generic/termios.h:41:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ include/asm-generic/termios.h:41:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:41:13: sparse: got unsigned char const *__gu_addr -- drivers/tty/tty_jobctrl.c:77:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:77:9: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:77:9: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:80:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:80:34: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:80:34: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:120:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:120:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:120:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:122:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:122:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:122:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:131:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:131:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:131:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:152:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:152:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:152:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:161:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:161:9: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:161:9: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:163:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:163:40: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:163:40: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:200:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:200:41: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:200:41: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:208:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:208:51: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:208:51: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:219:43: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:219:43: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:219:43: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:281:39: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:281:39: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:281:39: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:284:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:284:41: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:284:41: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:293:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:293:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:293:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:309:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:309:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:309:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:484:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] [usertype] __user *p @@ drivers/tty/tty_jobctrl.c:484:13: sparse: expected int const *__gu_addr drivers/tty/tty_jobctrl.c:484:13: sparse: got int [noderef] [usertype] __user *p >> drivers/tty/tty_jobctrl.c:484:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/tty/tty_jobctrl.c:484:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_jobctrl.c:484:13: sparse: got int const *__gu_addr drivers/tty/tty_jobctrl.c:18:41: sparse: sparse: dereference of noderef expression -- drivers/tty/pty.c:163:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/tty/pty.c:163:13: sparse: expected int const *__gu_addr drivers/tty/pty.c:163:13: sparse: got int [noderef] __user *arg >> drivers/tty/pty.c:163:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/tty/pty.c:163:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/pty.c:163:13: sparse: got int const *__gu_addr drivers/tty/pty.c:183:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/tty/pty.c:183:13: sparse: expected int const *__gu_addr drivers/tty/pty.c:183:13: sparse: got int [noderef] __user *arg drivers/tty/pty.c:183:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/tty/pty.c:183:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/pty.c:183:13: sparse: got int const *__gu_addr -- drivers/tty/sysrq.c:1110:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *buf @@ drivers/tty/sysrq.c:1110:21: sparse: expected char const *__gu_addr drivers/tty/sysrq.c:1110:21: sparse: got char const [noderef] __user *buf >> drivers/tty/sysrq.c:1110:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/sysrq.c:1110:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/sysrq.c:1110:21: sparse: got char const *__gu_addr drivers/tty/sysrq.c:148:13: sparse: sparse: context imbalance in 'sysrq_handle_crash' - unexpected unlock -- drivers/tty/vt/vt_ioctl.c:1004:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] __user * @@ drivers/tty/vt/vt_ioctl.c:1004:21: sparse: expected unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1004:21: sparse: got unsigned short [noderef] __user * >> drivers/tty/vt/vt_ioctl.c:1004:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ >> drivers/tty/vt/vt_ioctl.c:1004:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt_ioctl.c:1004:21: sparse: got unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] __user * @@ drivers/tty/vt/vt_ioctl.c:1005:21: sparse: expected unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: got unsigned short [noderef] __user * drivers/tty/vt/vt_ioctl.c:1005:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ drivers/tty/vt/vt_ioctl.c:1005:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: got unsigned short const *__gu_addr {standard input}: Assembler messages: {standard input}:2439: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/vt_ioctl.o] Error 1 {standard input}: Assembler messages: {standard input}:653: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/selection.o] Error 1 drivers/tty/vt/keyboard.c:1729:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/vt/keyboard.c:1729:21: sparse: expected unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1729:21: sparse: got unsigned int [noderef] __user * >> drivers/tty/vt/keyboard.c:1729:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/tty/vt/keyboard.c:1729:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/keyboard.c:1729:21: sparse: got unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1767:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/vt/keyboard.c:1767:21: sparse: expected unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1767:21: sparse: got unsigned int [noderef] __user * drivers/tty/vt/keyboard.c:1767:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/tty/vt/keyboard.c:1767:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/keyboard.c:1767:21: sparse: got unsigned int const *__gu_addr drivers/tty/vt/keyboard.c: In function 'k_fn': drivers/tty/vt/keyboard.c:744:22: warning: comparison is always true due to limited range of data type [-Wtype-limits] 744 | if ((unsigned)value < ARRAY_SIZE(func_table)) { | ^ {standard input}: Assembler messages: {standard input}:5636: Error: unknown opcode {standard input}:5715: Error: unknown opcode {standard input}:5869: Error: unknown opcode {standard input}:5897: Error: unknown opcode {standard input}:5932: Error: unknown opcode {standard input}:6237: Error: unknown opcode {standard input}:6569: Error: unknown opcode {standard input}:6833: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/keyboard.o] Error 1 drivers/tty/vt/defkeymap.c:28:9: sparse: sparse: symbol 'shift_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:47:9: sparse: sparse: symbol 'altgr_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:66:9: sparse: sparse: symbol 'ctrl_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:85:9: sparse: sparse: symbol 'shift_ctrl_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:104:9: sparse: sparse: symbol 'alt_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:123:9: sparse: sparse: symbol 'ctrl_alt_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:149:14: sparse: sparse: symbol 'keymap_count' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:157:6: sparse: sparse: symbol 'func_buf' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:188:6: sparse: sparse: symbol 'funcbufptr' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:189:5: sparse: sparse: symbol 'funcbufsize' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:190:5: sparse: sparse: symbol 'funcbufleft' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:192:6: sparse: sparse: symbol 'func_table' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:226:18: sparse: sparse: symbol 'accent_table' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:263:14: sparse: sparse: symbol 'accent_table_size' was not declared. Should it be static? drivers/tty/vt/vt.c:4294:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user * @@ drivers/tty/vt/vt.c:4294:13: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:4294:13: sparse: got char [noderef] __user * >> drivers/tty/vt/vt.c:4294:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/vt/vt.c:4294:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:4294:13: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:225:5: sparse: sparse: symbol 'console_blank_hook' was not declared. Should it be static? drivers/tty/vt/consolemap_deftbl.c:10:4: sparse: sparse: symbol 'dfont_unicount' was not declared. Should it be static? drivers/tty/vt/consolemap_deftbl.c:46:5: sparse: sparse: symbol 'dfont_unitable' was not declared. Should it be static? drivers/tty/vt/vt.c:2985:19: sparse: sparse: symbol 'console_driver' was not declared. Should it be static? drivers/tty/vt/vt.c:3141:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user *p @@ drivers/tty/vt/vt.c:3141:13: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:3141:13: sparse: got char [noderef] __user *p drivers/tty/vt/vt.c:3141:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/tty/vt/vt.c:3141:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3141:13: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:3194:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user * @@ drivers/tty/vt/vt.c:3194:37: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:3194:37: sparse: got char [noderef] __user * drivers/tty/vt/vt.c:3194:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/tty/vt/vt.c:3194:37: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3194:37: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:3207:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/tty/vt/vt.c:3207:29: sparse: expected signed int const *__gu_addr drivers/tty/vt/vt.c:3207:29: sparse: got signed int [noderef] [usertype] __user * >> drivers/tty/vt/vt.c:3207:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/tty/vt/vt.c:3207:29: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3207:29: sparse: got signed int const *__gu_addr {standard input}: Assembler messages: {standard input}:258: Error: unknown opcode {standard input}:12727: Error: unknown opcode {standard input}:18464: Error: unknown opcode {standard input}:19522: Error: unknown opcode drivers/tty/vt/consolemap.c:716: warning: Function parameter or member 'src_vc' not described in 'con_copy_unimap' drivers/tty/vt/consolemap.c:716: warning: Excess function parameter 'src_vt' description in 'con_copy_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'ct' not described in 'con_get_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'uct' not described in 'con_get_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'list' not described in 'con_get_unimap' make[4]: *** [scripts/Makefile.build:280: drivers/tty/vt/vt.o] Error 1 make[4]: Target '__build' not remade because of errors. -- drivers/tty/tty_io.c:2189:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user *p @@ drivers/tty/tty_io.c:2189:13: sparse: expected char const *__gu_addr drivers/tty/tty_io.c:2189:13: sparse: got char [noderef] __user *p >> drivers/tty/tty_io.c:2189:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/tty_io.c:2189:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2189:13: sparse: got char const *__gu_addr drivers/tty/tty_io.c:2330:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/tty/tty_io.c:2330:13: sparse: expected int const *__gu_addr drivers/tty/tty_io.c:2330:13: sparse: got int [noderef] __user *p >> drivers/tty/tty_io.c:2330:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/tty/tty_io.c:2330:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2330:13: sparse: got int const *__gu_addr drivers/tty/tty_io.c:2448:18: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user *p @@ drivers/tty/tty_io.c:2448:18: sparse: expected unsigned int const *__gu_addr drivers/tty/tty_io.c:2448:18: sparse: got unsigned int [noderef] __user *p >> drivers/tty/tty_io.c:2448:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/tty/tty_io.c:2448:18: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2448:18: sparse: got unsigned int const *__gu_addr -- drivers/tty/vt/vt_ioctl.c:1004:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] __user * @@ drivers/tty/vt/vt_ioctl.c:1004:21: sparse: expected unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1004:21: sparse: got unsigned short [noderef] __user * >> drivers/tty/vt/vt_ioctl.c:1004:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ >> drivers/tty/vt/vt_ioctl.c:1004:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt_ioctl.c:1004:21: sparse: got unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] __user * @@ drivers/tty/vt/vt_ioctl.c:1005:21: sparse: expected unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: got unsigned short [noderef] __user * drivers/tty/vt/vt_ioctl.c:1005:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ drivers/tty/vt/vt_ioctl.c:1005:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: got unsigned short const *__gu_addr -- drivers/tty/vt/keyboard.c:1729:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/vt/keyboard.c:1729:21: sparse: expected unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1729:21: sparse: got unsigned int [noderef] __user * >> drivers/tty/vt/keyboard.c:1729:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/tty/vt/keyboard.c:1729:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/keyboard.c:1729:21: sparse: got unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1767:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/vt/keyboard.c:1767:21: sparse: expected unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1767:21: sparse: got unsigned int [noderef] __user * drivers/tty/vt/keyboard.c:1767:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/tty/vt/keyboard.c:1767:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/keyboard.c:1767:21: sparse: got unsigned int const *__gu_addr -- drivers/tty/vt/vt.c:4294:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user * @@ drivers/tty/vt/vt.c:4294:13: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:4294:13: sparse: got char [noderef] __user * >> drivers/tty/vt/vt.c:4294:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/vt/vt.c:4294:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:4294:13: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:225:5: sparse: sparse: symbol 'console_blank_hook' was not declared. Should it be static? drivers/tty/vt/vt.c:2985:19: sparse: sparse: symbol 'console_driver' was not declared. Should it be static? drivers/tty/vt/vt.c:3141:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user *p @@ drivers/tty/vt/vt.c:3141:13: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:3141:13: sparse: got char [noderef] __user *p drivers/tty/vt/vt.c:3141:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/tty/vt/vt.c:3141:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3141:13: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:3194:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user * @@ drivers/tty/vt/vt.c:3194:37: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:3194:37: sparse: got char [noderef] __user * drivers/tty/vt/vt.c:3194:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/tty/vt/vt.c:3194:37: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3194:37: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:3207:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/tty/vt/vt.c:3207:29: sparse: expected signed int const *__gu_addr drivers/tty/vt/vt.c:3207:29: sparse: got signed int [noderef] [usertype] __user * >> drivers/tty/vt/vt.c:3207:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/tty/vt/vt.c:3207:29: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3207:29: sparse: got signed int const *__gu_addr -- drivers/char/random.c:1943:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/char/random.c:1943:21: sparse: expected int const *__gu_addr drivers/char/random.c:1943:21: sparse: got int [noderef] __user *p >> drivers/char/random.c:1943:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/char/random.c:1943:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1943:21: sparse: got int const *__gu_addr drivers/char/random.c:1949:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/char/random.c:1949:21: sparse: expected int const *__gu_addr drivers/char/random.c:1949:21: sparse: got int [noderef] __user * drivers/char/random.c:1949:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/char/random.c:1949:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1949:21: sparse: got int const *__gu_addr drivers/char/random.c:1953:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/char/random.c:1953:21: sparse: expected int const *__gu_addr drivers/char/random.c:1953:21: sparse: got int [noderef] __user * drivers/char/random.c:1953:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/char/random.c:1953:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1953:21: sparse: got int const *__gu_addr -- 456 | if (brightness < S6E3HA2_MIN_BRIGHTNESS || | ^ drivers/gpu/drm/panel/panel-tpo-tpg110.c:95: warning: Function parameter or member 'panel_mode' not described in 'tpg110' drivers/gpu/drm/panel/panel-tpo-tpg110.c:376: warning: Function parameter or member 'connector' not described in 'tpg110_get_modes' {standard input}: Assembler messages: {standard input}:2129: Error: unknown opcode make[5]: *** [scripts/Makefile.build:280: drivers/gpu/drm/panel/panel-sony-acx565akm.o] Error 1 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:527:5: sparse: sparse: symbol 'analogix_dp_start_aux_transaction' was not declared. Should it be static? drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:571:5: sparse: sparse: symbol 'analogix_dp_write_byte_to_dpcd' was not declared. Should it be static? make[4]: *** [scripts/Makefile.build:497: drivers/gpu/drm/panel] Error 2 make[5]: Target '__build' not remade because of errors. drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:527:5: warning: no previous prototype for 'analogix_dp_start_aux_transaction' [-Wmissing-prototypes] 527 | int analogix_dp_start_aux_transaction(struct analogix_dp_device *dp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:571:5: warning: no previous prototype for 'analogix_dp_write_byte_to_dpcd' [-Wmissing-prototypes] 571 | int analogix_dp_write_byte_to_dpcd(struct analogix_dp_device *dp, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c:253:9: sparse: sparse: cast truncates bits from constant value (ffffff7f becomes 7f) drivers/gpu/drm/bridge/synopsys/dw-hdmi.c:3210:30: sparse: sparse: cast truncates bits from constant value (ffffff0d becomes d) {standard input}: Assembler messages: {standard input}:2390: Error: unknown opcode {standard input}:2452: Error: unknown opcode {standard input}:2844: Error: unknown opcode {standard input}:2920: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/gpu/drm/bridge/ti-sn65dsi86.o] Error 1 {standard input}: Assembler messages: {standard input}:279: Error: unknown opcode {standard input}:352: Error: unknown opcode {standard input}:6515: Error: unknown opcode {standard input}:6546: Error: unknown opcode {standard input}:8294: Error: unknown opcode {standard input}:8500: Error: unknown opcode {standard input}: Assembler messages: {standard input}:10066: Error: unknown opcode {standard input}:10097: Error: unknown opcode make[4]: *** [scripts/Makefile.build:497: drivers/gpu/drm/bridge] Error 2 make[5]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:1149: Error: unknown opcode {standard input}:1183: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_damage_helper.o] Error 1 {standard input}: Assembler messages: {standard input}:1928: Error: unknown opcode {standard input}:1959: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic_state_helper.o] Error 1 {standard input}:13031: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic_helper.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_dp_mst_topology.o] Error 1 {standard input}: Assembler messages: {standard input}:657: Error: unknown opcode {standard input}:688: Error: unknown opcode {standard input}:1165: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_gem_framebuffer_helper.o] Error 1 {standard input}: Assembler messages: {standard input}:436: Error: unknown opcode {standard input}:975: Error: unknown opcode {standard input}:1006: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_auth.o] Error 1 {standard input}: Assembler messages: {standard input}:404: Error: unknown opcode {standard input}:753: Error: unknown opcode {standard input}:784: Error: unknown opcode {standard input}:1407: Error: unknown opcode {standard input}:1741: Error: unknown opcode {standard input}:2068: Error: unknown opcode {standard input}:2507: Error: unknown opcode {standard input}:2760: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_dp_aux_dev.o] Error 1 {standard input}: Assembler messages: {standard input}:1496: Error: unknown opcode {standard input}:1527: Error: unknown opcode {standard input}:2992: Error: unknown opcode {standard input}:3198: Error: unknown opcode {standard input}:4561: Error: unknown opcode {standard input}:5094: Error: unknown opcode {standard input}:5238: Error: unknown opcode {standard input}:6799: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_gem.o] Error 1 drivers/gpu/drm/drm_memory.c:135:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *handle @@ got void [noderef] __iomem * @@ drivers/gpu/drm/drm_memory.c:135:29: sparse: expected void *handle drivers/gpu/drm/drm_memory.c:135:29: sparse: got void [noderef] __iomem * drivers/gpu/drm/drm_memory.c:144:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *handle @@ got void [noderef] __iomem * @@ drivers/gpu/drm/drm_memory.c:144:29: sparse: expected void *handle drivers/gpu/drm/drm_memory.c:144:29: sparse: got void [noderef] __iomem * drivers/gpu/drm/drm_memory.c:156:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *handle @@ drivers/gpu/drm/drm_memory.c:156:28: sparse: expected void [noderef] __iomem *addr drivers/gpu/drm/drm_memory.c:156:28: sparse: got void *handle {standard input}: Assembler messages: {standard input}:1486: Error: unknown opcode {standard input}:1517: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_self_refresh_helper.o] Error 1 {standard input}: Assembler messages: {standard input}:8803: Error: unknown opcode {standard input}:8837: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_fb_helper.o] Error 1 drivers/gpu/drm/drm_drv.c:434:6: sparse: sparse: context imbalance in 'drm_dev_enter' - different lock contexts for basic block include/linux/srcu.h:181:9: sparse: sparse: context imbalance in 'drm_dev_exit' - unexpected unlock drivers/gpu/drm/drm_crtc.c:707:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_crtc.c:707:29: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_crtc.c:707:29: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/gpu/drm/drm_crtc.c:707:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/gpu/drm/drm_crtc.c:707:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_crtc.c:707:29: sparse: got unsigned int const *__gu_addr {standard input}: Assembler messages: {standard input}:593: Error: unknown opcode {standard input}:624: Error: unknown opcode {standard input}:2720: Error: unknown opcode {standard input}:4309: Error: unknown opcode {standard input}:4568: Error: unknown opcode {standard input}:5064: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_file.o] Error 1 {standard input}: Assembler messages: {standard input}:229: Error: unknown opcode {standard input}:323: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_hashtab.o] Error 1 {standard input}: Assembler messages: {standard input}:1831: Error: unknown opcode {standard input}:1862: Error: unknown opcode {standard input}:2115: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_drv.o] Error 1 {standard input}: Assembler messages: {standard input}:4765: Error: unknown opcode {standard input}:9394: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_mm.o] Error 1 {standard input}: Assembler messages: {standard input}:1696: Error: unknown opcode {standard input}:1727: Error: unknown opcode {standard input}:1961: Error: unknown opcode {standard input}:2149: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_prime.o] Error 1 {standard input}: Assembler messages: {standard input}:1527: Error: unknown opcode {standard input}:1559: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_framebuffer.o] Error 1 {standard input}: Assembler messages: {standard input}:5009: Error: unknown opcode {standard input}:5040: Error: unknown opcode {standard input}:5507: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2264: Error: unknown opcode {standard input}:8212: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_modeset_lock.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_connector.o] Error 1 {standard input}: Assembler messages: {standard input}:6587: Error: unknown opcode {standard input}:6618: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic.o] Error 1 {standard input}: Assembler messages: {standard input}:489: Error: unknown opcode {standard input}:520: Error: unknown opcode {standard input}:945: Error: unknown opcode {standard input}:2544: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_mode_object.o] Error 1 {standard input}: Assembler messages: {standard input}:1336: Error: unknown opcode {standard input}:1844: Error: unknown opcode {standard input}:1911: Error: unknown opcode {standard input}:2955: Error: unknown opcode {standard input}:3005: Error: unknown opcode {standard input}: Assembler messages: {standard input}:955: Error: unknown opcode {standard input}:986: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_client.o] Error 1 {standard input}: Assembler messages: {standard input}:1303: Error: unknown opcode {standard input}:1334: Error: unknown opcode {standard input}:1561: Error: unknown opcode {standard input}:2084: Error: unknown opcode {standard input}:4488: Error: unknown opcode drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: got unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: got unsigned int [noderef] [usertype] __user * drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: got unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: got unsigned int [noderef] [usertype] __user * drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: got unsigned int const *__gu_addr {standard input}:3236: Error: unknown opcode {standard input}:6751: Error: unknown opcode {standard input}:7204: Error: unknown opcode {standard input}:7321: Error: unknown opcode {standard input}:7935: Error: unknown opcode {standard input}:4802: Error: unknown opcode {standard input}:5250: Error: unknown opcode {standard input}:6411: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1130: Error: unknown opcode {standard input}:1161: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_writeback.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_syncobj.o] Error 1 {standard input}:11327: Error: unknown opcode {standard input}:14940: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_vblank.o] Error 1 {standard input}: Assembler messages: {standard input}:1841: Error: unknown opcode {standard input}:1872: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic_uapi.o] Error 1 {standard input}: Assembler messages: {standard input}:3541: Error: unknown opcode {standard input}:3573: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_client_modeset.o] Error 1 {standard input}: Assembler messages: {standard input}:1005: Error: unknown opcode {standard input}:1036: Error: unknown opcode {standard input}:2516: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_gem_cma_helper.o] Error 1 make[4]: Target '__build' not remade because of errors. -- drivers/gpu/drm/drm_crtc.c:707:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_crtc.c:707:29: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_crtc.c:707:29: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/gpu/drm/drm_crtc.c:707:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/gpu/drm/drm_crtc.c:707:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_crtc.c:707:29: sparse: got unsigned int const *__gu_addr -- drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: got unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: got unsigned int [noderef] [usertype] __user * drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: got unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: got unsigned int [noderef] [usertype] __user * drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: got unsigned int const *__gu_addr -- >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *ptr @@ got restricted __le64 * @@ >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: expected void const volatile [noderef] __iomem *ptr drivers/misc/mic/vop/vop_main.c:551:51: sparse: got restricted __le64 * drivers/misc/mic/vop/vop_main.c:560:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:560:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:560:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:579:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc drivers/misc/mic/vop/vop_main.c: In function '_vop_scan_devices': drivers/misc/mic/vop/vop_main.c:617:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 617 | int ret; | ^~~ {standard input}: Assembler messages: {standard input}:6221: Error: unknown opcode {standard input}:6680: Error: unknown opcode make[4]: *** [scripts/Makefile.build:497: drivers/misc/mic/vop] Error 2 make[4]: Target '__build' not remade because of errors. make[5]: *** [scripts/Makefile.build:281: drivers/misc/mic/vop/vop_vringh.o] Error 1 make[5]: Target '__build' not remade because of errors. -- drivers/scsi/scsi_ioctl.c:48:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/scsi/scsi_ioctl.c:48:21: sparse: expected unsigned int const *__gu_addr drivers/scsi/scsi_ioctl.c:48:21: sparse: got unsigned int [noderef] __user * >> drivers/scsi/scsi_ioctl.c:48:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/scsi/scsi_ioctl.c:48:21: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/scsi_ioctl.c:48:21: sparse: got unsigned int const *__gu_addr -- drivers/scsi/scsi_error.c:2341:17: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/scsi/scsi_error.c:2341:17: sparse: expected int const *__gu_addr drivers/scsi/scsi_error.c:2341:17: sparse: got int [noderef] __user *arg >> drivers/scsi/scsi_error.c:2341:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/scsi/scsi_error.c:2341:17: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/scsi_error.c:2341:17: sparse: got int const *__gu_addr -- drivers/scsi/sg.c:415:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:415:21: sparse: expected int const *__gu_addr drivers/scsi/sg.c:415:21: sparse: got int [noderef] __user * >> drivers/scsi/sg.c:415:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/scsi/sg.c:415:21: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:415:21: sparse: got int const *__gu_addr drivers/scsi/sg.c:419:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:419:32: sparse: expected int const *__gu_addr drivers/scsi/sg.c:419:32: sparse: got int [noderef] __user * drivers/scsi/sg.c:419:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:419:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:419:32: sparse: got int const *__gu_addr drivers/scsi/sg.c:425:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] __user * @@ drivers/scsi/sg.c:425:32: sparse: expected signed int const *__gu_addr drivers/scsi/sg.c:425:32: sparse: got signed int [noderef] __user * >> drivers/scsi/sg.c:425:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/scsi/sg.c:425:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:425:32: sparse: got signed int const *__gu_addr drivers/scsi/sg.c:431:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:431:32: sparse: expected int const *__gu_addr drivers/scsi/sg.c:431:32: sparse: got int [noderef] __user * drivers/scsi/sg.c:431:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:431:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:431:32: sparse: got int const *__gu_addr drivers/scsi/sg.c:638:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *[assigned] buf @@ drivers/scsi/sg.c:638:13: sparse: expected char const *__gu_addr drivers/scsi/sg.c:638:13: sparse: got char const [noderef] __user *[assigned] buf >> drivers/scsi/sg.c:638:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/scsi/sg.c:638:13: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:638:13: sparse: got char const *__gu_addr drivers/scsi/sg.c:955:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:955:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:955:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:955:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:955:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:955:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:998:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:998:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:998:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:998:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:998:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:998:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1026:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1026:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1026:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1026:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1026:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1026:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1051:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1051:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1051:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1051:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1051:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1051:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1059:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1059:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1059:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1059:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1059:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1059:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1067:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1067:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1067:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1067:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1067:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1067:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1111:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1111:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1111:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1111:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1111:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1111:26: sparse: got int const *__gu_addr vim +467 drivers/mtd/ubi/cdev.c 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 377 f429b2ea8eadb5 Artem Bityutskiy 2009-01-16 378 static long vol_cdev_ioctl(struct file *file, unsigned int cmd, f429b2ea8eadb5 Artem Bityutskiy 2009-01-16 379 unsigned long arg) 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 380 { 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 381 int err = 0; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 382 struct ubi_volume_desc *desc = file->private_data; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 383 struct ubi_volume *vol = desc->vol; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 384 struct ubi_device *ubi = vol->ubi; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 385 void __user *argp = (void __user *)arg; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 386 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 387 switch (cmd) { 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 388 /* Volume update command */ 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 389 case UBI_IOCVOLUP: 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 390 { 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 391 int64_t bytes, rsvd_bytes; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 392 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 393 if (!capable(CAP_SYS_RESOURCE)) { 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 394 err = -EPERM; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 395 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 396 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 397 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 398 err = copy_from_user(&bytes, argp, sizeof(int64_t)); 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 399 if (err) { 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 400 err = -EFAULT; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 401 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 402 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 403 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 404 if (desc->mode == UBI_READONLY) { 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 405 err = -EROFS; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 406 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 407 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 408 73789a3d9fd8e5 Bruce Leonard 2008-07-03 409 rsvd_bytes = (long long)vol->reserved_pebs * 5f09aaa9b30c91 Boris Brezillon 2016-09-16 410 vol->usable_leb_size; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 411 if (bytes < 0 || bytes > rsvd_bytes) { 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 412 err = -EINVAL; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 413 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 414 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 415 45fc5c81d03601 Tanya Brokhman 2014-11-09 416 err = get_exclusive(desc); 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 417 if (err < 0) 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 418 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 419 1b68d0eea5dadd Artem Bityutskiy 2008-01-24 420 err = ubi_start_update(ubi, vol, bytes); fda322a1b3b9e8 Ezequiel Garcia 2014-08-29 421 if (bytes == 0) { fda322a1b3b9e8 Ezequiel Garcia 2014-08-29 422 ubi_volume_notify(ubi, vol, UBI_VOLUME_UPDATED); 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 423 revoke_exclusive(desc, UBI_READWRITE); fda322a1b3b9e8 Ezequiel Garcia 2014-08-29 424 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 425 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 426 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 427 e653879c269735 Artem Bityutskiy 2008-01-24 428 /* Atomic logical eraseblock change command */ e653879c269735 Artem Bityutskiy 2008-01-24 429 case UBI_IOCEBCH: e653879c269735 Artem Bityutskiy 2008-01-24 430 { e653879c269735 Artem Bityutskiy 2008-01-24 431 struct ubi_leb_change_req req; e653879c269735 Artem Bityutskiy 2008-01-24 432 e653879c269735 Artem Bityutskiy 2008-01-24 433 err = copy_from_user(&req, argp, e653879c269735 Artem Bityutskiy 2008-01-24 434 sizeof(struct ubi_leb_change_req)); e653879c269735 Artem Bityutskiy 2008-01-24 435 if (err) { e653879c269735 Artem Bityutskiy 2008-01-24 436 err = -EFAULT; e653879c269735 Artem Bityutskiy 2008-01-24 437 break; e653879c269735 Artem Bityutskiy 2008-01-24 438 } e653879c269735 Artem Bityutskiy 2008-01-24 439 e653879c269735 Artem Bityutskiy 2008-01-24 440 if (desc->mode == UBI_READONLY || e653879c269735 Artem Bityutskiy 2008-01-24 441 vol->vol_type == UBI_STATIC_VOLUME) { e653879c269735 Artem Bityutskiy 2008-01-24 442 err = -EROFS; e653879c269735 Artem Bityutskiy 2008-01-24 443 break; e653879c269735 Artem Bityutskiy 2008-01-24 444 } e653879c269735 Artem Bityutskiy 2008-01-24 445 e653879c269735 Artem Bityutskiy 2008-01-24 446 /* Validate the request */ e653879c269735 Artem Bityutskiy 2008-01-24 447 err = -EINVAL; 9a5f09ac0ab83e Boris Brezillon 2016-09-16 448 if (!ubi_leb_valid(vol, req.lnum) || 299d0c5b27346a Brian Norris 2015-02-28 449 req.bytes < 0 || req.bytes > vol->usable_leb_size) e653879c269735 Artem Bityutskiy 2008-01-24 450 break; e653879c269735 Artem Bityutskiy 2008-01-24 451 45fc5c81d03601 Tanya Brokhman 2014-11-09 452 err = get_exclusive(desc); e653879c269735 Artem Bityutskiy 2008-01-24 453 if (err < 0) e653879c269735 Artem Bityutskiy 2008-01-24 454 break; e653879c269735 Artem Bityutskiy 2008-01-24 455 e653879c269735 Artem Bityutskiy 2008-01-24 456 err = ubi_start_leb_change(ubi, vol, &req); e653879c269735 Artem Bityutskiy 2008-01-24 457 if (req.bytes == 0) e653879c269735 Artem Bityutskiy 2008-01-24 458 revoke_exclusive(desc, UBI_READWRITE); e653879c269735 Artem Bityutskiy 2008-01-24 459 break; e653879c269735 Artem Bityutskiy 2008-01-24 460 } e653879c269735 Artem Bityutskiy 2008-01-24 461 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 462 /* Logical eraseblock erasure command */ 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 463 case UBI_IOCEBER: 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 464 { 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 465 int32_t lnum; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 466 bf07803a6827ef Christoph Hellwig 2007-05-17 @467 err = get_user(lnum, (__user int32_t *)argp); 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 468 if (err) { 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 469 err = -EFAULT; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 470 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 471 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 472 e653879c269735 Artem Bityutskiy 2008-01-24 473 if (desc->mode == UBI_READONLY || e653879c269735 Artem Bityutskiy 2008-01-24 474 vol->vol_type == UBI_STATIC_VOLUME) { 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 475 err = -EROFS; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 476 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 477 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 478 9a5f09ac0ab83e Boris Brezillon 2016-09-16 479 if (!ubi_leb_valid(vol, lnum)) { 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 480 err = -EINVAL; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 481 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 482 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 483 c8566350a3229c Artem Bityutskiy 2008-07-16 484 dbg_gen("erase LEB %d:%d", vol->vol_id, lnum); 89b96b69290668 Artem Bityutskiy 2007-12-16 485 err = ubi_eba_unmap_leb(ubi, vol, lnum); 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 486 if (err) 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 487 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 488 62f384552b6756 Joel Reardon 2012-05-20 489 err = ubi_wl_flush(ubi, UBI_ALL, UBI_ALL); 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 490 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 491 } 141e6ebd1b1759 Corentin Chary 2009-01-05 492 141e6ebd1b1759 Corentin Chary 2009-01-05 493 /* Logical eraseblock map command */ 141e6ebd1b1759 Corentin Chary 2009-01-05 494 case UBI_IOCEBMAP: 141e6ebd1b1759 Corentin Chary 2009-01-05 495 { 141e6ebd1b1759 Corentin Chary 2009-01-05 496 struct ubi_map_req req; 141e6ebd1b1759 Corentin Chary 2009-01-05 497 141e6ebd1b1759 Corentin Chary 2009-01-05 498 err = copy_from_user(&req, argp, sizeof(struct ubi_map_req)); 141e6ebd1b1759 Corentin Chary 2009-01-05 499 if (err) { 141e6ebd1b1759 Corentin Chary 2009-01-05 500 err = -EFAULT; 141e6ebd1b1759 Corentin Chary 2009-01-05 501 break; 141e6ebd1b1759 Corentin Chary 2009-01-05 502 } b36a261e8c0ab3 Richard Weinberger 2012-05-14 503 err = ubi_leb_map(desc, req.lnum); 141e6ebd1b1759 Corentin Chary 2009-01-05 504 break; 141e6ebd1b1759 Corentin Chary 2009-01-05 505 } c3da23be1673be Corentin Chary 2009-01-05 506 c3da23be1673be Corentin Chary 2009-01-05 507 /* Logical eraseblock un-map command */ c3da23be1673be Corentin Chary 2009-01-05 508 case UBI_IOCEBUNMAP: c3da23be1673be Corentin Chary 2009-01-05 509 { c3da23be1673be Corentin Chary 2009-01-05 510 int32_t lnum; c3da23be1673be Corentin Chary 2009-01-05 511 c3da23be1673be Corentin Chary 2009-01-05 512 err = get_user(lnum, (__user int32_t *)argp); c3da23be1673be Corentin Chary 2009-01-05 513 if (err) { c3da23be1673be Corentin Chary 2009-01-05 514 err = -EFAULT; c3da23be1673be Corentin Chary 2009-01-05 515 break; c3da23be1673be Corentin Chary 2009-01-05 516 } c3da23be1673be Corentin Chary 2009-01-05 517 err = ubi_leb_unmap(desc, lnum); c3da23be1673be Corentin Chary 2009-01-05 518 break; c3da23be1673be Corentin Chary 2009-01-05 519 } a27ce8f55dd5fd Corentin Chary 2009-01-05 520 a27ce8f55dd5fd Corentin Chary 2009-01-05 521 /* Check if logical eraseblock is mapped command */ a27ce8f55dd5fd Corentin Chary 2009-01-05 522 case UBI_IOCEBISMAP: a27ce8f55dd5fd Corentin Chary 2009-01-05 523 { a27ce8f55dd5fd Corentin Chary 2009-01-05 524 int32_t lnum; a27ce8f55dd5fd Corentin Chary 2009-01-05 525 a27ce8f55dd5fd Corentin Chary 2009-01-05 526 err = get_user(lnum, (__user int32_t *)argp); a27ce8f55dd5fd Corentin Chary 2009-01-05 527 if (err) { a27ce8f55dd5fd Corentin Chary 2009-01-05 528 err = -EFAULT; a27ce8f55dd5fd Corentin Chary 2009-01-05 529 break; a27ce8f55dd5fd Corentin Chary 2009-01-05 530 } a27ce8f55dd5fd Corentin Chary 2009-01-05 531 err = ubi_is_mapped(desc, lnum); a27ce8f55dd5fd Corentin Chary 2009-01-05 532 break; a27ce8f55dd5fd Corentin Chary 2009-01-05 533 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 534 766fb95ba06e1b Sidney Amani 2009-01-27 535 /* Set volume property command */ 6748482f4153fc Artem Bityutskiy 2011-03-15 536 case UBI_IOCSETVOLPROP: 766fb95ba06e1b Sidney Amani 2009-01-27 537 { 6748482f4153fc Artem Bityutskiy 2011-03-15 538 struct ubi_set_vol_prop_req req; 766fb95ba06e1b Sidney Amani 2009-01-27 539 766fb95ba06e1b Sidney Amani 2009-01-27 540 err = copy_from_user(&req, argp, 6748482f4153fc Artem Bityutskiy 2011-03-15 541 sizeof(struct ubi_set_vol_prop_req)); 766fb95ba06e1b Sidney Amani 2009-01-27 542 if (err) { 766fb95ba06e1b Sidney Amani 2009-01-27 543 err = -EFAULT; 766fb95ba06e1b Sidney Amani 2009-01-27 544 break; 766fb95ba06e1b Sidney Amani 2009-01-27 545 } 766fb95ba06e1b Sidney Amani 2009-01-27 546 switch (req.property) { 6748482f4153fc Artem Bityutskiy 2011-03-15 547 case UBI_VOL_PROP_DIRECT_WRITE: f089c0b28cdba1 Artem Bityutskiy 2009-05-07 548 mutex_lock(&ubi->device_mutex); 766fb95ba06e1b Sidney Amani 2009-01-27 549 desc->vol->direct_writes = !!req.value; f089c0b28cdba1 Artem Bityutskiy 2009-05-07 550 mutex_unlock(&ubi->device_mutex); 766fb95ba06e1b Sidney Amani 2009-01-27 551 break; 766fb95ba06e1b Sidney Amani 2009-01-27 552 default: 766fb95ba06e1b Sidney Amani 2009-01-27 553 err = -EINVAL; 766fb95ba06e1b Sidney Amani 2009-01-27 554 break; 766fb95ba06e1b Sidney Amani 2009-01-27 555 } 766fb95ba06e1b Sidney Amani 2009-01-27 556 break; 766fb95ba06e1b Sidney Amani 2009-01-27 557 } 766fb95ba06e1b Sidney Amani 2009-01-27 558 8af871887fcba4 Artem Bityutskiy 2014-03-05 559 /* Create a R/O block device on top of the UBI volume */ 8af871887fcba4 Artem Bityutskiy 2014-03-05 560 case UBI_IOCVOLCRBLK: 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 561 { 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 562 struct ubi_volume_info vi; 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 563 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 564 ubi_get_volume_info(desc, &vi); 4d283ee2517303 Artem Bityutskiy 2014-03-04 565 err = ubiblock_create(&vi); 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 566 break; 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 567 } 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 568 8af871887fcba4 Artem Bityutskiy 2014-03-05 569 /* Remove the R/O block device */ 8af871887fcba4 Artem Bityutskiy 2014-03-05 570 case UBI_IOCVOLRMBLK: 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 571 { 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 572 struct ubi_volume_info vi; 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 573 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 574 ubi_get_volume_info(desc, &vi); 4d283ee2517303 Artem Bityutskiy 2014-03-04 575 err = ubiblock_remove(&vi); 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 576 break; 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 577 } 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 578 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 579 default: 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 580 err = -ENOTTY; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 581 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 582 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 583 return err; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 584 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 585 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 26759 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user, io}_ptr() @ 2020-06-30 11:58 ` kernel test robot 0 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-06-30 11:58 UTC (permalink / raw) To: kbuild-all [-- Attachment #1: Type: text/plain, Size: 997058 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on next-20200626] [cannot apply to linux/master linus/master v5.8-rc2 v5.8-rc1 v5.7 v5.8-rc3] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200628-152401 base: 36e3135df4d426612fc77db26a312c2531108603 config: sh-randconfig-s031-20200630 (attached as .config) compiler: sh4-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.2-3-gfa153962-dirty # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C= CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=sh If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:467:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int [noderef] [usertype] __user * >> drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ >> drivers/mtd/ubi/cdev.c:467:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:512:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:512:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:526:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:526:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:882:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:882:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:969:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:969:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:984:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:984:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:1061:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:1061:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/build.c:61: warning: Function parameter or member 'ubi_num' not described in 'mtd_dev_param' drivers/mtd/ubi/kapi.c:464: warning: Function parameter or member 'sgl' not described in 'ubi_leb_read_sg' drivers/mtd/ubi/kapi.c:464: warning: Excess function parameter 'buf' description in 'ubi_leb_read_sg' drivers/mtd/ubi/wl.c:2054:28: sparse: sparse: context imbalance in 'produce_free_peb' - unexpected unlock drivers/mtd/ubi/eba.c:1304: warning: Function parameter or member 'vidb' not described in 'ubi_eba_copy_leb' drivers/mtd/ubi/eba.c:1304: warning: Excess function parameter 'vid_hdr' description in 'ubi_eba_copy_leb' drivers/mtd/ubi/eba.c:1483: warning: Function parameter or member 'ai' not described in 'print_rsvd_warning' drivers/mtd/ubi/gluebi.c:446: warning: Function parameter or member 'ns_ptr' not described in 'gluebi_notify' drivers/mtd/ubi/gluebi.c:446: warning: Excess function parameter 'ptr' description in 'gluebi_notify' {standard input}: Assembler messages: {standard input}:11303: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/mtd/ubi/wl.o] Error 1 make[4]: Target '__build' not remade because of errors. -- drivers/mtd/mtdchar.c:658:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/mtd/mtdchar.c:658:21: sparse: expected unsigned int const *__gu_addr drivers/mtd/mtdchar.c:658:21: sparse: got unsigned int [noderef] __user * >> drivers/mtd/mtdchar.c:658:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/mtd/mtdchar.c:658:21: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/mtdchar.c:658:21: sparse: got unsigned int const *__gu_addr -- drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:396:34: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:396:34: sparse: got unsigned char [noderef] [usertype] __user * >> drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ >> drivers/spi/spidev.c:396:34: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:396:34: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/spi/spidev.c:398:34: sparse: expected unsigned int const *__gu_addr drivers/spi/spidev.c:398:34: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/spi/spidev.c:398:34: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:398:34: sparse: got unsigned int const *__gu_addr drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:422:26: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:422:26: sparse: got unsigned char [noderef] [usertype] __user * drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ drivers/spi/spidev.c:422:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:422:26: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:439:26: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:439:26: sparse: got unsigned char [noderef] [usertype] __user * drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ drivers/spi/spidev.c:439:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:439:26: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/spi/spidev.c:452:26: sparse: expected unsigned int const *__gu_addr drivers/spi/spidev.c:452:26: sparse: got unsigned int [noderef] [usertype] __user * drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/spi/spidev.c:452:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:452:26: sparse: got unsigned int const *__gu_addr -- drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/net/hamradio/6pack.c:710:21: sparse: expected int const *__gu_addr drivers/net/hamradio/6pack.c:710:21: sparse: got int [noderef] __user * >> drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/hamradio/6pack.c:710:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/hamradio/6pack.c:710:21: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:1340: Error: unknown opcode {standard input}:1371: Error: unknown opcode {standard input}:1576: Error: unknown opcode {standard input}:1853: Error: unknown opcode {standard input}:2081: Error: unknown opcode {standard input}:2320: Error: unknown opcode {standard input}:2893: Error: unknown opcode {standard input}:3462: Error: unknown opcode {standard input}:3750: Error: unknown opcode {standard input}:4086: Error: unknown opcode {standard input}:4363: Error: unknown opcode {standard input}:6410: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/hamradio/6pack.o] Error 1 drivers/net/hamradio/baycom_ser_fdx.c:290:43: sparse: sparse: dubious: x | !y {standard input}: Assembler messages: {standard input}:1038: Error: unknown opcode {standard input}:1546: Error: unknown opcode {standard input}:1696: Error: unknown opcode {standard input}:1890: Error: unknown opcode {standard input}:2760: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/net/hamradio/hdlcdrv.o] Error 1 make[4]: Target '__build' not remade because of errors. -- drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:925:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:925:21: sparse: got int [noderef] __user *p >> drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/ppp/ppp_generic.c:925:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:925:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:939:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:939:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:939:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:939:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:954:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:954:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:954:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:954:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:651:29: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:651:29: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:651:29: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:651:29: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:681:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:681:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:681:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:681:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:688:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:688:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:688:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:688:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:726:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:726:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:726:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:726:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:755:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:755:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:755:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:755:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:823:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:823:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:823:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:823:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_async.c:420:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_async.c:420:21: sparse: got int [noderef] __user *p >> drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/ppp/ppp_async.c:420:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:420:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/net/ppp/ppp_async.c:435:21: sparse: expected unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:435:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/net/ppp/ppp_async.c:446:21: sparse: expected unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int [noderef] [usertype] __user * drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:446:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_async.c:471:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_async.c:471:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:471:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:471:21: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:6459: Error: unknown opcode {standard input}:6490: Error: unknown opcode {standard input}:6633: Error: unknown opcode {standard input}:6837: Error: unknown opcode {standard input}:7814: Error: unknown opcode {standard input}:8237: Error: unknown opcode {standard input}:8407: Error: unknown opcode {standard input}:8991: Error: unknown opcode {standard input}: Assembler messages: {standard input}:52: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:2195: Error: unknown opcode {standard input}:2226: Error: unknown opcode {standard input}:2653: Error: unknown opcode {standard input}:3418: Error: unknown opcode {standard input}:3983: Error: unknown opcode {standard input}:4049: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/net/ppp/ppp_async.o] Error 1 {standard input}:17424: Error: unknown opcode {standard input}:18539: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/net/ppp/ppp_generic.o] Error 1 make[4]: Target '__build' not remade because of errors. -- drivers/net/slip/slip.c:458:14: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/net/slip/slip.c:458:14: sparse: void [noderef] __rcu * drivers/net/slip/slip.c:458:14: sparse: void * drivers/net/slip/slip.c:892:9: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/net/slip/slip.c:892:9: sparse: void [noderef] __rcu * drivers/net/slip/slip.c:892:9: sparse: void * drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ >> drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:878: Error: unknown opcode {standard input}:931: Error: unknown opcode {standard input}:4211: Error: unknown opcode {standard input}:4254: Error: unknown opcode {standard input}:4693: Error: unknown opcode {standard input}:4736: Error: unknown opcode {standard input}:6118: Error: unknown opcode {standard input}:6216: Error: unknown opcode {standard input}:6472: Error: unknown opcode {standard input}:6541: Error: unknown opcode {standard input}:6631: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/slip/slip.o] Error 1 make[4]: Target '__build' not remade because of errors. -- drivers/auxdisplay/charlcd.c:670:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *tmp @@ drivers/auxdisplay/charlcd.c:670:21: sparse: expected char const *__gu_addr drivers/auxdisplay/charlcd.c:670:21: sparse: got char const [noderef] __user *tmp >> drivers/auxdisplay/charlcd.c:670:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/auxdisplay/charlcd.c:670:21: sparse: expected void const volatile [noderef] __user *ptr drivers/auxdisplay/charlcd.c:670:21: sparse: got char const *__gu_addr -- drivers/input/serio/serport.c:213:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] __user * @@ drivers/input/serio/serport.c:213:21: sparse: expected unsigned long const *__gu_addr drivers/input/serio/serport.c:213:21: sparse: got unsigned long [noderef] __user * >> drivers/input/serio/serport.c:213:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ >> drivers/input/serio/serport.c:213:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/serio/serport.c:213:21: sparse: got unsigned long const *__gu_addr -- drivers/input/serio/serio_raw.c:219:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/input/serio/serio_raw.c:219:21: sparse: expected char const *__gu_addr drivers/input/serio/serio_raw.c:219:21: sparse: got char const [noderef] __user * >> drivers/input/serio/serio_raw.c:219:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/input/serio/serio_raw.c:219:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/serio/serio_raw.c:219:21: sparse: got char const *__gu_addr -- drivers/input/mousedev.c:683:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/input/mousedev.c:683:21: sparse: expected char const *__gu_addr drivers/input/mousedev.c:683:21: sparse: got char const [noderef] __user * >> drivers/input/mousedev.c:683:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/input/mousedev.c:683:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/mousedev.c:683:21: sparse: got char const *__gu_addr -- drivers/input/joydev.c:528:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/input/joydev.c:528:24: sparse: expected signed int const *__gu_addr drivers/input/joydev.c:528:24: sparse: got signed int [noderef] [usertype] __user * >> drivers/input/joydev.c:528:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ >> drivers/input/joydev.c:528:24: sparse: expected void const volatile [noderef] __user *ptr drivers/input/joydev.c:528:24: sparse: got signed int const *__gu_addr drivers/input/joydev.c:680:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected long const *__gu_addr @@ got long [noderef] __user * @@ drivers/input/joydev.c:680:26: sparse: expected long const *__gu_addr drivers/input/joydev.c:680:26: sparse: got long [noderef] __user * >> drivers/input/joydev.c:680:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got long const *__gu_addr @@ drivers/input/joydev.c:680:26: sparse: expected void const volatile [noderef] __user *ptr drivers/input/joydev.c:680:26: sparse: got long const *__gu_addr -- drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/net/hamradio/6pack.c:710:21: sparse: expected int const *__gu_addr drivers/net/hamradio/6pack.c:710:21: sparse: got int [noderef] __user * >> drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/hamradio/6pack.c:710:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/hamradio/6pack.c:710:21: sparse: got int const *__gu_addr -- drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:925:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:925:21: sparse: got int [noderef] __user *p >> drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/ppp/ppp_generic.c:925:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:925:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:939:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:939:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:939:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:939:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:954:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:954:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:954:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:954:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:651:29: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:651:29: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:651:29: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:651:29: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:681:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:681:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:681:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:681:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:688:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:688:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:688:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:688:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:726:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:726:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:726:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:726:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:755:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:755:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:755:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:755:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:823:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:823:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:823:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:823:21: sparse: got int const *__gu_addr -- drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_async.c:420:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_async.c:420:21: sparse: got int [noderef] __user *p >> drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/ppp/ppp_async.c:420:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:420:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/net/ppp/ppp_async.c:435:21: sparse: expected unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:435:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/net/ppp/ppp_async.c:446:21: sparse: expected unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int [noderef] [usertype] __user * drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:446:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_async.c:471:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_async.c:471:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:471:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:471:21: sparse: got int const *__gu_addr -- drivers/net/slip/slip.c:458:14: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/net/slip/slip.c:458:14: sparse: void [noderef] __rcu * drivers/net/slip/slip.c:458:14: sparse: void * drivers/net/slip/slip.c:892:9: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/net/slip/slip.c:892:9: sparse: void [noderef] __rcu * drivers/net/slip/slip.c:892:9: sparse: void * drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ >> drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ -- >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *ptr @@ got restricted __le64 * @@ >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: expected void const volatile [noderef] __iomem *ptr drivers/misc/mic/vop/vop_main.c:551:51: sparse: got restricted __le64 * drivers/misc/mic/vop/vop_main.c:560:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:560:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:560:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:579:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc drivers/misc/mic/vop/vop_main.c: In function '_vop_scan_devices': drivers/misc/mic/vop/vop_main.c:617:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 617 | int ret; | ^~~ {standard input}: Assembler messages: {standard input}:6221: Error: unknown opcode {standard input}:6680: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/misc/mic/vop/vop_vringh.o] Error 1 make[5]: Target '__build' not remade because of errors. -- drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:467:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int [noderef] [usertype] __user * >> drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ >> drivers/mtd/ubi/cdev.c:467:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:512:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:512:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:526:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:526:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:882:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:882:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:969:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:969:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:984:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:984:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:1061:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:1061:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int const *__gu_addr -- >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *ptr @@ got restricted __le64 * @@ >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: expected void const volatile [noderef] __iomem *ptr drivers/misc/mic/vop/vop_main.c:551:51: sparse: got restricted __le64 * drivers/misc/mic/vop/vop_main.c:560:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:560:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:560:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:579:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc -- drivers/vhost/vringh.c:567:18: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __virtio16 const *__gu_addr @@ got restricted __virtio16 [noderef] [usertype] __user * @@ drivers/vhost/vringh.c:567:18: sparse: expected restricted __virtio16 const *__gu_addr drivers/vhost/vringh.c:567:18: sparse: got restricted __virtio16 [noderef] [usertype] __user * >> drivers/vhost/vringh.c:567:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got restricted __virtio16 const *__gu_addr @@ >> drivers/vhost/vringh.c:567:18: sparse: expected void const volatile [noderef] __user *ptr drivers/vhost/vringh.c:567:18: sparse: got restricted __virtio16 const *__gu_addr -- drivers/fsi/fsi-scom.c:497:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/fsi/fsi-scom.c:497:13: sparse: expected unsigned int const *__gu_addr drivers/fsi/fsi-scom.c:497:13: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/fsi/fsi-scom.c:497:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/fsi/fsi-scom.c:497:13: sparse: expected void const volatile [noderef] __user *ptr drivers/fsi/fsi-scom.c:497:13: sparse: got unsigned int const *__gu_addr -- drivers/char/ipmi/ipmi_msghandler.c:2327:5: sparse: sparse: context imbalance in 'ipmi_request_supply_msgs' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:4452:39: sparse: sparse: context imbalance in 'handle_new_recv_msgs' - unexpected unlock drivers/char/ipmi/ipmi_msghandler.c:4509:9: sparse: sparse: context imbalance in 'smi_recv_tasklet' - different lock contexts for basic block drivers/char/ipmi/ipmi_msghandler.c:4544:39: sparse: sparse: context imbalance in 'ipmi_smi_msg_received' - unexpected unlock drivers/char/ipmi/ipmi_msghandler.c:4640:39: sparse: sparse: context imbalance in 'check_msg_timeout' - unexpected unlock drivers/pci/of.c:262: warning: Function parameter or member 'ib_resources' not described in 'devm_of_pci_get_host_bridge_resources' sound/core/seq/seq_clientmgr.c:709:9: sparse: sparse: context imbalance in 'deliver_to_subscribers' - different lock contexts for basic block drivers/virtio/virtio_ring.c:1400:50: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected restricted __virtio16 [usertype] *p @@ got restricted __le16 * @@ drivers/virtio/virtio_ring.c:1400:50: sparse: expected restricted __virtio16 [usertype] *p drivers/virtio/virtio_ring.c:1400:50: sparse: got restricted __le16 * drivers/virtio/virtio_ring.c:1401:33: sparse: sparse: incorrect type in argument 3 (different base types) @@ expected restricted __virtio16 [usertype] v @@ got restricted __le16 [usertype] @@ drivers/virtio/virtio_ring.c:1401:33: sparse: expected restricted __virtio16 [usertype] v drivers/virtio/virtio_ring.c:1401:33: sparse: got restricted __le16 [usertype] include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast to restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast to restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast from restricted __virtio16 include/linux/virtio_ring.h:53:17: sparse: sparse: cast to restricted __virtio16 In file included from include/linux/bits.h:23, from include/linux/bitops.h:5, from include/linux/kernel.h:12, from include/asm-generic/bug.h:20, from arch/sh/include/asm/bug.h:112, from include/linux/bug.h:5, from include/linux/thread_info.h:12, from include/asm-generic/current.h:5, from ./arch/sh/include/generated/asm/current.h:1, from include/linux/sched.h:12, from include/linux/ratelimit.h:6, from include/linux/dev_printk.h:16, from include/linux/device.h:15, from drivers/pinctrl/sh-pfc/pinctrl.c:10: drivers/pinctrl/sh-pfc/pinctrl.c: In function 'sh_pfc_pinconf_get_drive_strength': include/linux/bits.h:27:7: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 27 | (l) > (h), 0))) | ^ include/linux/build_bug.h:16:62: note: in definition of macro 'BUILD_BUG_ON_ZERO' 16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) | ^ include/linux/bits.h:40:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' 40 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^~~~~~~~~~~~~~~~~~~ drivers/pinctrl/sh-pfc/pinctrl.c:523:26: note: in expansion of macro 'GENMASK' 523 | val = (val >> offset) & GENMASK(size - 1, 0); | ^~~~~~~ {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}:133: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2608: Error: unknown opcode {standard input}:2716: Error: unknown opcode {standard input}:2865: Error: unknown opcode {standard input}:4434: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/gpio/gpiolib-of.o] Error 1 drivers/clk/clkdev.c: In function 'vclkdev_alloc': drivers/clk/clkdev.c:173:3: warning: function 'vclkdev_alloc' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 173 | vscnprintf(cla->dev_id, sizeof(cla->dev_id), dev_fmt, ap); | ^~~~~~~~~~ make[3]: *** [scripts/Makefile.build:281: drivers/gpio/gpiolib-cdev.o] Error 1 {standard input}: Assembler messages: {standard input}:817: Error: unknown opcode {standard input}:911: Error: unknown opcode {standard input}:983: Error: unknown opcode {standard input}:1212: Error: unknown opcode {standard input}:1638: Error: unknown opcode {standard input}:2539: Error: unknown opcode {standard input}:2699: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_fifo.o] Error 1 {standard input}: Assembler messages: {standard input}:1564: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/clk/clk-fixed-factor.o] Error 1 drivers/clk/clk-fixed-rate.c:173: warning: Function parameter or member 'node' not described in 'of_fixed_clk_setup' {standard input}: Assembler messages: {standard input}:588: Error: unknown opcode {standard input}:679: Error: unknown opcode {standard input}:881: Error: unknown opcode {standard input}:1580: Error: unknown opcode {standard input}:2048: Error: unknown opcode {standard input}: Assembler messages: {standard input}:4526: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_queue.o] Error 1 sound/core/control.c:776:17: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:776:26: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:777:17: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:777:26: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:796:48: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:1462:40: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:1565:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ptr @@ sound/core/control.c:1565:13: sparse: expected int const *__gu_addr sound/core/control.c:1565:13: sparse: got int [noderef] __user *ptr >> sound/core/control.c:1565:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/control.c:1565:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/control.c:1565:13: sparse: got int const *__gu_addr {standard input}:6767: Error: unknown opcode {standard input}:7990: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1544: Error: unknown opcode {standard input}:1823: Error: unknown opcode {standard input}:2489: Error: unknown opcode {standard input}:2708: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_memory.o] Error 1 {standard input}: Assembler messages: {standard input}:598: Error: unknown opcode {standard input}:661: Error: unknown opcode {standard input}: Assembler messages: {standard input}:3999: Error: unknown opcode {standard input}:8582: Error: unknown opcode {standard input}: Assembler messages: {standard input}:396: Error: unknown opcode {standard input}:449: Error: unknown opcode {standard input}:496: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/gpio/gpiolib-legacy.o] Error 1 {standard input}: Assembler messages: {standard input}:701: Error: unknown opcode {standard input}:842: Error: unknown opcode {standard input}:1135: Error: unknown opcode {standard input}:1381: Error: unknown opcode {standard input}:1520: Error: unknown opcode {standard input}:13022: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: sound/core/control.o] Error 1 {standard input}: Assembler messages: {standard input}:4126: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_clientmgr.o] Error 1 make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_timer.o] Error 1 sound/core/seq/seq_virmidi.c:65:12: sparse: sparse: context imbalance in 'snd_virmidi_dev_receive_event' - different lock contexts for basic block drivers/char/ipmi/ipmi_si_intf.c:1044:39: sparse: sparse: context imbalance in 'poll' - unexpected unlock sound/core/timer.c:2045:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/timer.c:2045:13: sparse: expected int const *__gu_addr sound/core/timer.c:2045:13: sparse: got int [noderef] __user *p >> sound/core/timer.c:2045:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/timer.c:2045:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/timer.c:2045:13: sparse: got int const *__gu_addr sound/core/timer.c:790:25: sparse: sparse: context imbalance in 'snd_timer_process_callbacks' - unexpected unlock {standard input}:4251: Error: unknown opcode {standard input}: Assembler messages: {standard input}:537: Error: unknown opcode {standard input}:1302: Error: unknown opcode {standard input}:1585: Error: unknown opcode {standard input}:2430: Error: unknown opcode {standard input}:3051: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: sound/core/seq/seq_ports.o] Error 1 In file included from include/linux/bits.h:23, from include/linux/bitops.h:5, from include/linux/kernel.h:12, from include/asm-generic/bug.h:20, from arch/sh/include/asm/bug.h:112, from include/linux/bug.h:5, from include/linux/thread_info.h:12, from include/asm-generic/current.h:5, from ./arch/sh/include/generated/asm/current.h:1, from include/linux/sched.h:12, from include/linux/ratelimit.h:6, from include/linux/dev_printk.h:16, from include/linux/device.h:15, from include/linux/gpio/driver.h:5, from drivers/gpio/gpio-cadence.c:11: drivers/gpio/gpio-cadence.c: In function 'cdns_gpio_probe': include/linux/bits.h:27:7: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 27 | (l) > (h), 0))) | ^ include/linux/build_bug.h:16:62: note: in definition of macro 'BUILD_BUG_ON_ZERO' 16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) | ^ include/linux/bits.h:40:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' 40 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^~~~~~~~~~~~~~~~~~~ drivers/gpio/gpio-cadence.c:178:12: note: in expansion of macro 'GENMASK' 178 | iowrite32(GENMASK(num_gpios - 1, 0), | ^~~~~~~ include/linux/bits.h:27:7: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 27 | (l) > (h), 0))) | ^ include/linux/build_bug.h:16:62: note: in definition of macro 'BUILD_BUG_ON_ZERO' 16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) | ^ include/linux/bits.h:40:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' 40 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^~~~~~~~~~~~~~~~~~~ drivers/gpio/gpio-cadence.c:251:12: note: in expansion of macro 'GENMASK' 251 | iowrite32(GENMASK(num_gpios - 1, 0), | ^~~~~~~ {standard input}: Assembler messages: {standard input}:290: Error: unknown opcode {standard input}:11573: Error: unknown opcode {standard input}:11920: Error: unknown opcode drivers/gpio/gpio-altera.c:34: warning: Function parameter or member 'irq_chip' not described in 'altera_gpio_chip' drivers/gpio/gpio-altera.c:78: warning: Function parameter or member 'd' not described in 'altera_gpio_irq_set_type' drivers/gpio/gpio-altera.c:78: warning: Function parameter or member 'type' not described in 'altera_gpio_irq_set_type' make[3]: *** [scripts/Makefile.build:497: sound/core/seq] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}:9475: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/bus/mhi/core/pm.o] Error 1 {standard input}:2423: Error: unknown opcode drivers/video/backlight/lcd.c:191: warning: Function parameter or member 'parent' not described in 'lcd_device_register' {standard input}: Assembler messages: {standard input}:229: Error: unknown opcode {standard input}: Assembler messages: {standard input}:8114: Error: unknown opcode sound/core/pcm.c:92:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:92:29: sparse: expected int const *__gu_addr sound/core/pcm.c:92:29: sparse: got int [noderef] __user * >> sound/core/pcm.c:92:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/pcm.c:92:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:92:29: sparse: got int const *__gu_addr sound/core/pcm.c:112:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm.c:112:29: sparse: expected unsigned int const *__gu_addr sound/core/pcm.c:112:29: sparse: got unsigned int [noderef] __user * >> sound/core/pcm.c:112:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm.c:112:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:112:29: sparse: got unsigned int const *__gu_addr sound/core/pcm.c:114:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:114:29: sparse: expected int const *__gu_addr sound/core/pcm.c:114:29: sparse: got int [noderef] __user * sound/core/pcm.c:114:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm.c:114:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:114:29: sparse: got int const *__gu_addr sound/core/pcm.c:119:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm.c:119:29: sparse: expected unsigned int const *__gu_addr sound/core/pcm.c:119:29: sparse: got unsigned int [noderef] __user * sound/core/pcm.c:119:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm.c:119:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:119:29: sparse: got unsigned int const *__gu_addr sound/core/pcm.c:155:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:155:29: sparse: expected int const *__gu_addr sound/core/pcm.c:155:29: sparse: got int [noderef] __user * sound/core/pcm.c:155:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm.c:155:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:155:29: sparse: got int const *__gu_addr sound/core/pcm.c:999:9: sparse: sparse: context imbalance in 'snd_pcm_detach_substream' - different lock contexts for basic block make[5]: *** [scripts/Makefile.build:281: drivers/bus/mhi/core/boot.o] Error 1 make[2]: *** [scripts/Makefile.build:497: sound/drivers] Error 2 make[3]: *** [scripts/Makefile.build:280: sound/drivers/aloop.o] Error 1 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:3026: Error: unknown opcode {standard input}:3843: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: sound/core/init.o] Error 1 drivers/regulator/internal.h:43:42: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:1627:56: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:1629:56: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:455:17: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:455:25: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:469:47: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:3347:65: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:3823:47: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:3965:65: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:5527:54: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:5528:54: sparse: sparse: restricted suspend_state_t degrades to integer {standard input}: Assembler messages: {standard input}:434: Error: unknown opcode {standard input}:509: Error: unknown opcode {standard input}:613: Error: unknown opcode sound/core/pcm_native.c:1010:20: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ sound/core/pcm_native.c:1010:20: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:1010:20: sparse: got unsigned int [noderef] [usertype] __user * >> sound/core/pcm_native.c:1010:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> sound/core/pcm_native.c:1010:20: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:1010:20: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:1036:20: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ sound/core/pcm_native.c:1036:20: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:1036:20: sparse: got unsigned int [noderef] [usertype] __user * sound/core/pcm_native.c:1036:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:1036:20: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:1036:20: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:2944:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:2944:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:2944:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:2944:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:2944:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:2944:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3037:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3037:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3037:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3037:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3037:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3037:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3038:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3038:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3038:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3038:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3038:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3038:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3039:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3039:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3039:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3039:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3039:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3039:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3087:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *_arg @@ sound/core/pcm_native.c:3087:13: sparse: expected int const *__gu_addr sound/core/pcm_native.c:3087:13: sparse: got int [noderef] __user *_arg >> sound/core/pcm_native.c:3087:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm_native.c:3087:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3087:13: sparse: got int const *__gu_addr sound/core/pcm_native.c:3153:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@ sound/core/pcm_native.c:3153:13: sparse: expected unsigned long const *__gu_addr sound/core/pcm_native.c:3153:13: sparse: got unsigned long [noderef] [usertype] __user *_frames >> sound/core/pcm_native.c:3153:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ sound/core/pcm_native.c:3153:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3153:13: sparse: got unsigned long const *__gu_addr sound/core/pcm_native.c:3169:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@ sound/core/pcm_native.c:3169:13: sparse: expected unsigned long const *__gu_addr sound/core/pcm_native.c:3169:13: sparse: got unsigned long [noderef] [usertype] __user *_frames sound/core/pcm_native.c:3169:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ sound/core/pcm_native.c:3169:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3169:13: sparse: got unsigned long const *__gu_addr sound/core/pcm_native.c:3203:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3203:21: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3203:21: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3203:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3203:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3203:21: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:95:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock' - different lock contexts for basic block sound/core/pcm_native.c:96:1: sparse: sparse: context imbalance in 'snd_pcm_group_unlock' - unexpected unlock sound/core/pcm_native.c:97:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock_irq' - different lock contexts for basic block sound/core/pcm_native.c:98:1: sparse: sparse: context imbalance in 'snd_pcm_group_unlock_irq' - unexpected unlock sound/core/pcm_native.c:145:9: sparse: sparse: context imbalance in 'snd_pcm_stream_lock_nested' - different lock contexts for basic block sound/core/pcm_native.c:171:9: sparse: sparse: context imbalance in '_snd_pcm_stream_lock_irqsave' - different lock contexts for basic block sound/core/pcm_native.c:188:39: sparse: sparse: context imbalance in 'snd_pcm_stream_unlock_irqrestore' - unexpected unlock sound/core/pcm_native.c:1186:52: sparse: sparse: context imbalance in 'snd_pcm_action_group' - unexpected unlock sound/core/pcm_native.c:1257:37: sparse: sparse: context imbalance in 'snd_pcm_stream_group_ref' - different lock contexts for basic block {standard input}: Assembler messages: {standard input}:5233: Error: unknown opcode {standard input}: Assembler messages: {standard input}:4553: Error: unknown opcode {standard input}: Assembler messages: {standard input}:236: Error: unknown opcode {standard input}:295: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/bus/mhi/core/init.o] Error 1 {standard input}:3362: Error: unknown opcode sound/core/pcm_native.c: In function 'constrain_mask_params': sound/core/pcm_native.c:264:18: warning: variable 'old_mask' set but not used [-Wunused-but-set-variable] 264 | struct snd_mask old_mask; | ^~~~~~~~ sound/core/pcm_native.c: In function 'constrain_interval_params': sound/core/pcm_native.c:300:22: warning: variable 'old_interval' set but not used [-Wunused-but-set-variable] 300 | struct snd_interval old_interval; | ^~~~~~~~~~~~ sound/core/pcm_native.c: In function 'constrain_params_by_rules': sound/core/pcm_native.c:341:22: warning: variable 'old_interval' set but not used [-Wunused-but-set-variable] 341 | struct snd_interval old_interval; | ^~~~~~~~~~~~ sound/core/pcm_native.c:340:18: warning: variable 'old_mask' set but not used [-Wunused-but-set-variable] 340 | struct snd_mask old_mask; | ^~~~~~~~ sound/core/pcm_native.c: In function 'snd_pcm_hw_params_choose': sound/core/pcm_native.c:625:22: warning: variable 'old_interval' set but not used [-Wunused-but-set-variable] 625 | struct snd_interval old_interval; | ^~~~~~~~~~~~ sound/core/pcm_native.c:624:18: warning: variable 'old_mask' set but not used [-Wunused-but-set-variable] 624 | struct snd_mask old_mask; | ^~~~~~~~ {standard input}: Assembler messages: {standard input}:3018: Error: unknown opcode {standard input}:4538: Error: unknown opcode {standard input}:4659: Error: unknown opcode {standard input}:5501: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/bus/moxtet.o] Error 1 {standard input}:3484: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/char/ipmi/ipmi_si_intf.o] Error 1 {standard input}:4920: Error: unknown opcode {standard input}:5376: Error: unknown opcode {standard input}:5736: Error: unknown opcode {standard input}:5700: Error: unknown opcode {standard input}:6533: Error: unknown opcode {standard input}:7131: Error: unknown opcode {standard input}:7162: Error: unknown opcode {standard input}:7751: Error: unknown opcode {standard input}: Assembler messages: {standard input}:5977: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: sound/core/pcm.o] Error 1 {standard input}:6527: Error: unknown opcode {standard input}:9334: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/bus/mhi/core/main.o] Error 1 make[5]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/bus] Error 2 make[3]: *** [scripts/Makefile.build:497: drivers/bus/mhi] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/bus/mhi/core] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}:8576: Error: unknown opcode {standard input}:8731: Error: unknown opcode {standard input}:9915: Error: unknown opcode drivers/video/backlight/ili922x.c:116: warning: Function parameter or member 's' not described in 'CHECK_FREQ_REG' drivers/video/backlight/ili922x.c:116: warning: Function parameter or member 'x' not described in 'CHECK_FREQ_REG' drivers/video/backlight/ili922x.c:127: warning: cannot understand function prototype: 'int ili922x_id = 1; ' drivers/video/backlight/ili922x.c:136: warning: cannot understand function prototype: 'struct ili922x ' drivers/video/backlight/ili922x.c:298: warning: Function parameter or member 'spi' not described in 'ili922x_reg_dump' make[3]: *** [scripts/Makefile.build:280: drivers/virtio/virtio_ring.o] Error 1 make[2]: *** [scripts/Makefile.build:497: drivers/virtio] Error 2 make[3]: Target '__build' not remade because of errors. drivers/regulator/internal.h:43:42: sparse: sparse: restricted suspend_state_t degrades to integer {standard input}:10775: Error: unknown opcode {standard input}: Assembler messages: {standard input}:8297: Error: unknown opcode drivers/phy/phy-core.c:1078: warning: Function parameter or member 'children' not described in '__devm_of_phy_provider_register' drivers/phy/phy-core.c:1125: warning: Function parameter or member 'phy_provider' not described in 'devm_of_phy_provider_unregister' {standard input}:9406: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/gpio/gpiolib.o] Error 1 {standard input}: Assembler messages: {standard input}:7731: Error: unknown opcode {standard input}:7762: Error: unknown opcode {standard input}:7905: Error: unknown opcode {standard input}:8086: Error: unknown opcode {standard input}: Assembler messages: {standard input}:8767: Error: unknown opcode {standard input}:8326: Error: unknown opcode {standard input}:8895: Error: unknown opcode {standard input}:9185: Error: unknown opcode {standard input}:11789: Error: unknown opcode {standard input}:16656: Error: unknown opcode {standard input}:17378: Error: unknown opcode drivers/tty/vt/vt_ioctl.c:1004:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] __user * @@ drivers/tty/vt/vt_ioctl.c:1004:21: sparse: expected unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1004:21: sparse: got unsigned short [noderef] __user * >> drivers/tty/vt/vt_ioctl.c:1004:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ >> drivers/tty/vt/vt_ioctl.c:1004:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt_ioctl.c:1004:21: sparse: got unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] __user * @@ drivers/tty/vt/vt_ioctl.c:1005:21: sparse: expected unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: got unsigned short [noderef] __user * drivers/tty/vt/vt_ioctl.c:1005:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ drivers/tty/vt/vt_ioctl.c:1005:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: got unsigned short const *__gu_addr {standard input}:19062: Error: unknown opcode {standard input}:24388: Error: unknown opcode {standard input}:19134: Error: unknown opcode drivers/video/of_videomode.c:32: warning: Function parameter or member 'np' not described in 'of_get_videomode' drivers/video/of_videomode.c:32: warning: Function parameter or member 'vm' not described in 'of_get_videomode' drivers/video/of_videomode.c:32: warning: Function parameter or member 'index' not described in 'of_get_videomode' make[3]: *** [scripts/Makefile.build:281: sound/core/pcm_native.o] Error 1 drivers/tty/serial/8250/8250_core.c: In function 'serial8250_isa_init_ports': drivers/tty/serial/8250/8250_core.c:537:9: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 537 | i < ARRAY_SIZE(old_serial_port) && i < nr_uarts; | ^ make[3]: *** [scripts/Makefile.build:281: sound/core/timer.o] Error 1 drivers/clk/clk-si5341.c: In function 'si5341_output_get_parent': drivers/clk/clk-si5341.c:886:6: warning: variable 'err' set but not used [-Wunused-but-set-variable] 886 | int err; | ^~~ {standard input}: Assembler messages: {standard input}:15972: Error: unknown opcode {standard input}:16003: Error: unknown opcode {standard input}:30099: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/regulator/core.o] Error 1 {standard input}: Assembler messages: {standard input}:1404: Error: unknown opcode {standard input}:1435: Error: unknown opcode {standard input}:2854: Error: unknown opcode {standard input}:5067: Error: unknown opcode {standard input}:5165: Error: unknown opcode {standard input}:5942: Error: unknown opcode {standard input}:6548: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/reset/core.o] Error 1 drivers/video/of_display_timing.c:58: warning: Function parameter or member 'dt' not described in 'of_parse_display_timing' sound/core/rawmidi.c:654:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/rawmidi.c:654:13: sparse: expected unsigned int const *__gu_addr sound/core/rawmidi.c:654:13: sparse: got unsigned int [noderef] __user * >> sound/core/rawmidi.c:654:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> sound/core/rawmidi.c:654:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:654:13: sparse: got unsigned int const *__gu_addr sound/core/rawmidi.c:656:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:656:13: sparse: expected int const *__gu_addr sound/core/rawmidi.c:656:13: sparse: got int [noderef] __user * >> sound/core/rawmidi.c:656:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:656:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:656:13: sparse: got int const *__gu_addr sound/core/rawmidi.c:658:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/rawmidi.c:658:13: sparse: expected unsigned int const *__gu_addr sound/core/rawmidi.c:658:13: sparse: got unsigned int [noderef] __user * sound/core/rawmidi.c:658:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/rawmidi.c:658:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:658:13: sparse: got unsigned int const *__gu_addr sound/core/rawmidi.c:836:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:836:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:836:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:836:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:836:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:836:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:874:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:874:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:874:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:874:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:874:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:874:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:889:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:889:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:889:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:889:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:889:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:889:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:923:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:923:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:923:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:923:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:923:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:923:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:945:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:945:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:945:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:945:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:945:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:945:21: sparse: got int const *__gu_addr drivers/regulator/internal.h:43:42: sparse: sparse: restricted suspend_state_t degrades to integer {standard input}:23655: Error: unknown opcode {standard input}:24012: Error: unknown opcode drivers/video/backlight/lms501kf03.c:96:28: warning: 'seq_sleep_in' defined but not used [-Wunused-const-variable=] 96 | static const unsigned char seq_sleep_in[] = { | ^~~~~~~~~~~~ drivers/video/backlight/lms501kf03.c:92:28: warning: 'seq_up_dn' defined but not used [-Wunused-const-variable=] 92 | static const unsigned char seq_up_dn[] = { | ^~~~~~~~~ {standard input}: Assembler messages: {standard input}:5681: Error: unknown opcode {standard input}:5971: Error: unknown opcode {standard input}:6100: Error: unknown opcode sound/core/pcm_iec958.c:119: warning: Function parameter or member 'params' not described in 'snd_pcm_create_iec958_consumer_hw_params' sound/core/pcm_iec958.c:119: warning: Excess function parameter 'hw_params' description in 'snd_pcm_create_iec958_consumer_hw_params' {standard input}: Assembler messages: {standard input}:2439: Error: unknown opcode {standard input}:27408: Error: unknown opcode {standard input}:27496: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/vt_ioctl.o] Error 1 {standard input}:29012: Error: unknown opcode {standard input}: Assembler messages: {standard input}:7334: Error: unknown opcode {standard input}:7365: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_msghandler.o] Error 1 drivers/tty/serial/8250/8250_port.c:1884:5: sparse: sparse: context imbalance in 'serial8250_handle_irq' - different lock contexts for basic block drivers/tty/serial/8250/8250_port.c:3295:9: sparse: sparse: context imbalance in 'serial8250_console_write' - different lock contexts for basic block drivers/video/fbdev/core/fb_notify.c:44: warning: Function parameter or member 'val' not described in 'fb_notifier_call_chain' drivers/video/fbdev/core/fb_notify.c:44: warning: Function parameter or member 'v' not described in 'fb_notifier_call_chain' {standard input}:11646: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/pinctrl/core.o] Error 1 {standard input}: Assembler messages: {standard input}:1590: Error: unknown opcode {standard input}:1673: Error: unknown opcode {standard input}:1788: Error: unknown opcode {standard input}:1891: Error: unknown opcode {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}:133: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: sound/core/seq_device.o] Error 1 {standard input}:4994: Error: unknown opcode {standard input}:5079: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/gpio/gpio-pca953x.o] Error 1 {standard input}: Assembler messages: {standard input}:1007: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/char/ipmi/ipmi_si_hotmod.o] Error 1 drivers/tty/serial/8250/8250_dw.c:631:36: warning: 'dw8250_acpi_match' defined but not used [-Wunused-const-variable=] 631 | static const struct acpi_device_id dw8250_acpi_match[] = { | ^~~~~~~~~~~~~~~~~ make[3]: *** [scripts/Makefile.build:280: sound/core/pcm_lib.o] Error 1 drivers/gpio/gpio-tqmx86.c:262:37: sparse: sparse: cast truncates bits from constant value (ffffff0f becomes f) drivers/pinctrl/pinmux.c:83: warning: Function parameter or member 'pctldev' not described in 'pinmux_can_be_used_for_gpio' drivers/pinctrl/pinmux.c:108: warning: Function parameter or member 'pctldev' not described in 'pin_request' drivers/pinctrl/pinmux.c:261: warning: Function parameter or member 'gpio' not described in 'pinmux_request_gpio' drivers/pinctrl/pinmux.c:751: warning: Function parameter or member 'selector' not described in 'pinmux_generic_get_function' drivers/pinctrl/pinmux.c:751: warning: Excess function parameter 'group_selector' description in 'pinmux_generic_get_function' drivers/pinctrl/devicetree.c:27: warning: Function parameter or member 'map' not described in 'pinctrl_dt_map' drivers/pinctrl/devicetree.c:27: warning: Function parameter or member 'num_maps' not described in 'pinctrl_dt_map' drivers/pinctrl/devicetree.c:409: warning: Function parameter or member 'out_args' not described in 'pinctrl_parse_index_with_args' drivers/pinctrl/devicetree.c:409: warning: Excess function parameter 'out_arts' description in 'pinctrl_parse_index_with_args' {standard input}: Assembler messages: {standard input}:7829: Error: unknown opcode {standard input}:8720: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1272: Error: unknown opcode {standard input}:1303: Error: unknown opcode {standard input}:1614: Error: unknown opcode {standard input}:1977: Error: unknown opcode {standard input}:12334: Error: unknown opcode {standard input}:12716: Error: unknown opcode {standard input}:13942: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: sound/core/rawmidi.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: sound/core] Error 2 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1765: sound] Error 2 make[4]: *** [scripts/Makefile.build:281: drivers/char/hw_random/core.o] Error 1 drivers/char/ipmi/ipmi_ssif.c:355:13: sparse: sparse: context imbalance in 'start_clear_flags' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:374:13: sparse: sparse: context imbalance in 'start_flag_fetch' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:415:9: sparse: sparse: context imbalance in 'start_event_fetch' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:438:9: sparse: sparse: context imbalance in 'start_recv_msg_fetch' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:469:17: sparse: sparse: context imbalance in 'handle_flags' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:570:13: sparse: sparse: context imbalance in 'watch_timeout' - different lock contexts for basic block drivers/char/ipmi/ipmi_ssif.c:903:9: sparse: sparse: context imbalance in 'msg_done_handler' - different lock contexts for basic block drivers/char/ipmi/ipmi_ssif.c:1078:17: sparse: sparse: context imbalance in 'start_next_msg' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:1106:9: sparse: sparse: context imbalance in 'sender' - wrong count at exit drivers/pinctrl/pinconf-generic.c:242: warning: Function parameter or member 'pctldev' not described in 'pinconf_generic_parse_dt_config' drivers/video/fbdev/ocfb.c:327:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void [noderef] __iomem *fb_virt @@ got void * @@ drivers/video/fbdev/ocfb.c:327:24: sparse: expected void [noderef] __iomem *fb_virt drivers/video/fbdev/ocfb.c:327:24: sparse: got void * drivers/video/fbdev/ocfb.c:367:64: sparse: sparse: incorrect type in argument 3 (different address spaces) @@ expected void *cpu_addr @@ got void [noderef] __iomem *fb_virt @@ drivers/video/fbdev/ocfb.c:367:64: sparse: expected void *cpu_addr drivers/video/fbdev/ocfb.c:367:64: sparse: got void [noderef] __iomem *fb_virt drivers/video/fbdev/ocfb.c:380:32: sparse: sparse: incorrect type in argument 3 (different address spaces) @@ expected void *cpu_addr @@ got void [noderef] __iomem *fb_virt @@ drivers/video/fbdev/ocfb.c:380:32: sparse: expected void *cpu_addr drivers/video/fbdev/ocfb.c:380:32: sparse: got void [noderef] __iomem *fb_virt {standard input}: Assembler messages: {standard input}:6038: Error: unknown opcode {standard input}:7532: Error: unknown opcode {standard input}:7606: Error: unknown opcode {standard input}:7896: Error: unknown opcode {standard input}: Assembler messages: {standard input}:5769: Error: unknown opcode {standard input}:5872: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/video/fbdev/core/fbmem.o] Error 1 make[5]: *** [scripts/Makefile.build:280: drivers/tty/serial/8250/8250_port.o] Error 1 {standard input}: Assembler messages: {standard input}:197: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/char/hw_random/ba431-rng.o] Error 1 {standard input}:35531: Error: unknown opcode {standard input}:37684: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/clk/clk.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/clk] Error 2 {standard input}: Assembler messages: {standard input}:2683: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_poweroff.o] Error 1 make[2]: *** [scripts/Makefile.build:497: drivers/reset] Error 2 make[3]: Target '__build' not remade because of errors. include/linux/lightnvm.h:461:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:454:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:453:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:452:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:490:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:483:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:482:54: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:481:53: sparse: sparse: invalid access past the end of 'l' (4 8) drivers/lightnvm/core.c:703:36: sparse: sparse: invalid access past the end of 'ppa' (4 8) include/linux/lightnvm.h:461:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:454:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:453:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:452:35: sparse: sparse: invalid access past the end of 'r' (4 8) drivers/lightnvm/core.c:928:36: sparse: sparse: invalid access past the end of 'ppa' (4 8) drivers/lightnvm/core.c:927:36: sparse: sparse: invalid access past the end of 'ppa' (4 8) drivers/lightnvm/core.c:897:35: sparse: sparse: invalid access past the end of 'ppa' (4 8) drivers/lightnvm/core.c:896:34: sparse: sparse: invalid access past the end of 'ppa' (4 8) include/linux/lightnvm.h:461:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:454:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:453:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:452:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:461:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:454:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:453:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:452:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:490:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:483:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:482:54: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:481:53: sparse: sparse: invalid access past the end of 'l' (4 8) drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: expected char const *__gu_addr drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: got char const [noderef] __user * >> drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: expected void const volatile [noderef] __user *ptr drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: got char const *__gu_addr make[5]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/tty/serial/8250] Error 2 drivers/tty/serial/serial_core.c:139:9: sparse: sparse: context imbalance in 'uart_start' - different lock contexts for basic block drivers/tty/serial/serial_core.c:219:17: sparse: sparse: context imbalance in 'uart_port_startup' - different lock contexts for basic block drivers/tty/serial/serial_core.c:321:9: sparse: sparse: context imbalance in 'uart_shutdown' - different lock contexts for basic block drivers/tty/serial/serial_core.c:569:9: sparse: sparse: context imbalance in 'uart_put_char' - different lock contexts for basic block drivers/tty/serial/serial_core.c:617:9: sparse: sparse: context imbalance in 'uart_write' - different lock contexts for basic block drivers/tty/serial/serial_core.c:620:12: sparse: sparse: context imbalance in 'uart_write_room' - different lock contexts for basic block drivers/tty/serial/serial_core.c:633:12: sparse: sparse: context imbalance in 'uart_chars_in_buffer' - different lock contexts for basic block drivers/tty/serial/serial_core.c:670:9: sparse: sparse: context imbalance in 'uart_flush_buffer' - different lock contexts for basic block drivers/video/fbdev/core/fbmon.c:617: warning: Function parameter or member 'specs' not described in 'fb_create_modedb' drivers/video/fbdev/core/fbmon.c:1103: warning: bad line: drivers/regulator/devres.c:187: warning: Function parameter or member 'dev' not described in 'devm_regulator_register' drivers/regulator/devres.c:226: warning: Function parameter or member 'dev' not described in 'devm_regulator_unregister' drivers/regulator/devres.c:226: warning: Function parameter or member 'rdev' not described in 'devm_regulator_unregister' drivers/regulator/devres.c:226: warning: Excess function parameter 'regulator' description in 'devm_regulator_unregister' {standard input}: Assembler messages: {standard input}:3307: Error: unknown opcode drivers/regulator/of_regulator.c:18:43: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:193:22: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:196:22: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:199:22: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:202:22: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:203:22: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:252:26: sparse: sparse: restricted suspend_state_t degrades to integer drivers/tty/serdev/core.c: In function 'serdev_controller_remove': drivers/tty/serdev/core.c:791:6: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 791 | int dummy; | ^~~~~ make[3]: *** [scripts/Makefile.build:497: drivers/char/hw_random] Error 2 make[4]: Target '__build' not remade because of errors. drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long word @@ got restricted __le32 [usertype] @@ drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: expected unsigned long word drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: got restricted __le32 [usertype] drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: sparse: cast to restricted __le32 {standard input}: Assembler messages: {standard input}:653: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/pinctrl] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:2708: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/selection.o] Error 1 {standard input}:4332: Error: unknown opcode {standard input}:4958: Error: unknown opcode {standard input}:5123: Error: unknown opcode {standard input}:5293: Error: unknown opcode {standard input}:5453: Error: unknown opcode {standard input}:6020: Error: unknown opcode {standard input}:6287: Error: unknown opcode {standard input}:6384: Error: unknown opcode {standard input}:6612: Error: unknown opcode {standard input}:6723: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_watchdog.o] Error 1 drivers/tty/serdev/core.c:811: warning: Function parameter or member 'owner' not described in '__serdev_device_driver_register' drivers/tty/vt/keyboard.c:1729:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/vt/keyboard.c:1729:21: sparse: expected unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1729:21: sparse: got unsigned int [noderef] __user * >> drivers/tty/vt/keyboard.c:1729:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/tty/vt/keyboard.c:1729:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/keyboard.c:1729:21: sparse: got unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1767:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/vt/keyboard.c:1767:21: sparse: expected unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1767:21: sparse: got unsigned int [noderef] __user * drivers/tty/vt/keyboard.c:1767:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/tty/vt/keyboard.c:1767:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/keyboard.c:1767:21: sparse: got unsigned int const *__gu_addr drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long word @@ got restricted __le32 [usertype] @@ drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: expected unsigned long word drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: got restricted __le32 [usertype] drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: sparse: cast to restricted __le32 drivers/video/backlight/backlight.c:329: warning: Function parameter or member 'reason' not described in 'backlight_force_update' drivers/video/backlight/backlight.c:354: warning: Function parameter or member 'props' not described in 'backlight_device_register' drivers/video/fbdev/core/fbcon.c: In function 'fbcon_exit': drivers/video/fbdev/core/fbcon.c:3653:7: warning: variable 'pending' set but not used [-Wunused-but-set-variable] 3653 | int pending = 0; | ^~~~~~~ drivers/tty/vt/keyboard.c: In function 'k_fn': drivers/tty/vt/keyboard.c:744:22: warning: comparison is always true due to limited range of data type [-Wtype-limits] 744 | if ((unsigned)value < ARRAY_SIZE(func_table)) { | ^ make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_ssif.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/char/ipmi] Error 2 {standard input}: Assembler messages: {standard input}:842: Error: unknown opcode {standard input}:1418: Error: unknown opcode {standard input}:1660: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/video/fbdev/core/fb_defio.o] Error 1 {standard input}: Assembler messages: {standard input}:5636: Error: unknown opcode {standard input}:5715: Error: unknown opcode {standard input}:5869: Error: unknown opcode {standard input}:5897: Error: unknown opcode {standard input}:5932: Error: unknown opcode {standard input}:6237: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1251: Error: unknown opcode {standard input}:1578: Error: unknown opcode {standard input}:1773: Error: unknown opcode {standard input}:1941: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/tty/serdev/serdev-ttyport.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/tty/serdev] Error 2 {standard input}:6569: Error: unknown opcode {standard input}:6833: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/keyboard.o] Error 1 drivers/tty/vt/defkeymap.c:28:9: sparse: sparse: symbol 'shift_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:47:9: sparse: sparse: symbol 'altgr_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:66:9: sparse: sparse: symbol 'ctrl_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:85:9: sparse: sparse: symbol 'shift_ctrl_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:104:9: sparse: sparse: symbol 'alt_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:123:9: sparse: sparse: symbol 'ctrl_alt_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:149:14: sparse: sparse: symbol 'keymap_count' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:157:6: sparse: sparse: symbol 'func_buf' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:188:6: sparse: sparse: symbol 'funcbufptr' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:189:5: sparse: sparse: symbol 'funcbufsize' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:190:5: sparse: sparse: symbol 'funcbufleft' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:192:6: sparse: sparse: symbol 'func_table' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:226:18: sparse: sparse: symbol 'accent_table' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:263:14: sparse: sparse: symbol 'accent_table_size' was not declared. Should it be static? drivers/tty/vt/vt.c:4294:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user * @@ drivers/tty/vt/vt.c:4294:13: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:4294:13: sparse: got char [noderef] __user * >> drivers/tty/vt/vt.c:4294:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/vt/vt.c:4294:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:4294:13: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:225:5: sparse: sparse: symbol 'console_blank_hook' was not declared. Should it be static? drivers/tty/vt/consolemap_deftbl.c:10:4: sparse: sparse: symbol 'dfont_unicount' was not declared. Should it be static? drivers/tty/vt/consolemap_deftbl.c:46:5: sparse: sparse: symbol 'dfont_unitable' was not declared. Should it be static? drivers/tty/vt/vt.c:2985:19: sparse: sparse: symbol 'console_driver' was not declared. Should it be static? drivers/tty/vt/vt.c:3141:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user *p @@ drivers/tty/vt/vt.c:3141:13: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:3141:13: sparse: got char [noderef] __user *p drivers/tty/vt/vt.c:3141:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/tty/vt/vt.c:3141:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3141:13: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:3194:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user * @@ drivers/tty/vt/vt.c:3194:37: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:3194:37: sparse: got char [noderef] __user * drivers/tty/vt/vt.c:3194:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/tty/vt/vt.c:3194:37: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3194:37: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:3207:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/tty/vt/vt.c:3207:29: sparse: expected signed int const *__gu_addr drivers/tty/vt/vt.c:3207:29: sparse: got signed int [noderef] [usertype] __user * >> drivers/tty/vt/vt.c:3207:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/tty/vt/vt.c:3207:29: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3207:29: sparse: got signed int const *__gu_addr drivers/regulator/of_regulator.c:546: warning: Function parameter or member 'rdev' not described in 'of_check_coupling_data' {standard input}: Assembler messages: {standard input}:258: Error: unknown opcode drivers/char/tpm/st33zp24/i2c.c:291:36: warning: 'st33zp24_i2c_acpi_match' defined but not used [-Wunused-const-variable=] 291 | static const struct acpi_device_id st33zp24_i2c_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ drivers/tty/serial/max3100.c:202:13: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [usertype] etx @@ got restricted __be16 [usertype] @@ drivers/tty/serial/max3100.c:202:13: sparse: expected unsigned short [addressable] [usertype] etx drivers/tty/serial/max3100.c:202:13: sparse: got restricted __be16 [usertype] drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 include/linux/spinlock.h:409:9: sparse: sparse: context imbalance in 'serial_console_write' - unexpected unlock {standard input}:12727: Error: unknown opcode {standard input}:18464: Error: unknown opcode {standard input}:19522: Error: unknown opcode drivers/gpu/drm/i2c/tda998x_drv.c:1711:50: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __be32 const [usertype] *p @@ got unsigned int const [usertype] * @@ drivers/gpu/drm/i2c/tda998x_drv.c:1711:50: sparse: expected restricted __be32 const [usertype] *p drivers/gpu/drm/i2c/tda998x_drv.c:1711:50: sparse: got unsigned int const [usertype] * drivers/gpu/drm/i2c/tda998x_drv.c:1712:52: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __be32 const [usertype] *p @@ got unsigned int const [usertype] * @@ drivers/gpu/drm/i2c/tda998x_drv.c:1712:52: sparse: expected restricted __be32 const [usertype] *p drivers/gpu/drm/i2c/tda998x_drv.c:1712:52: sparse: got unsigned int const [usertype] * drivers/char/tpm/st33zp24/spi.c:408:36: warning: 'st33zp24_spi_acpi_match' defined but not used [-Wunused-const-variable=] 408 | static const struct acpi_device_id st33zp24_spi_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ drivers/tty/vt/consolemap.c:716: warning: Function parameter or member 'src_vc' not described in 'con_copy_unimap' drivers/tty/vt/consolemap.c:716: warning: Excess function parameter 'src_vt' description in 'con_copy_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'ct' not described in 'con_get_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'uct' not described in 'con_get_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'list' not described in 'con_get_unimap' drivers/base/firmware_loader/main.c:266:9: sparse: sparse: context imbalance in 'free_fw_priv' - wrong count at exit {standard input}: Assembler messages: {standard input}:148: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/gpio] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:280: drivers/tty/vt/vt.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/tty/vt] Error 2 {standard input}:3721: Error: unknown opcode {standard input}:3752: Error: unknown opcode {standard input}: Assembler messages: {standard input}:220: Error: unknown opcode {standard input}:327: Error: unknown opcode {standard input}: Assembler messages: {standard input}:133: Error: unknown opcode {standard input}:164: Error: unknown opcode make[7]: *** [scripts/Makefile.build:281: drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.o] Error 1 drivers/tty/serial/ifx6x60.c:230:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __be32 [usertype] @@ drivers/tty/serial/ifx6x60.c:230:25: sparse: expected unsigned int [usertype] drivers/tty/serial/ifx6x60.c:230:25: sparse: got restricted __be32 [usertype] drivers/tty/serial/ifx6x60.c:204:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] @@ got restricted __be16 [usertype] @@ drivers/tty/serial/ifx6x60.c:204:25: sparse: expected unsigned short [usertype] drivers/tty/serial/ifx6x60.c:204:25: sparse: got restricted __be16 [usertype] drivers/tty/tty_io.c:2189:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user *p @@ drivers/tty/tty_io.c:2189:13: sparse: expected char const *__gu_addr drivers/tty/tty_io.c:2189:13: sparse: got char [noderef] __user *p >> drivers/tty/tty_io.c:2189:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/tty_io.c:2189:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2189:13: sparse: got char const *__gu_addr drivers/tty/tty_io.c:2330:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/tty/tty_io.c:2330:13: sparse: expected int const *__gu_addr drivers/tty/tty_io.c:2330:13: sparse: got int [noderef] __user *p >> drivers/tty/tty_io.c:2330:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/tty/tty_io.c:2330:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2330:13: sparse: got int const *__gu_addr drivers/tty/tty_io.c:2448:18: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user *p @@ drivers/tty/tty_io.c:2448:18: sparse: expected unsigned int const *__gu_addr drivers/tty/tty_io.c:2448:18: sparse: got unsigned int [noderef] __user *p >> drivers/tty/tty_io.c:2448:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/tty/tty_io.c:2448:18: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2448:18: sparse: got unsigned int const *__gu_addr drivers/regulator/ad5398.c:48:17: sparse: sparse: cast to restricted __be16 drivers/regulator/ad5398.c:48:17: sparse: sparse: cast to restricted __be16 drivers/regulator/ad5398.c:48:17: sparse: sparse: cast to restricted __be16 drivers/regulator/ad5398.c:48:17: sparse: sparse: cast to restricted __be16 drivers/regulator/ad5398.c:58:13: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short val @@ got restricted __be16 [usertype] @@ drivers/regulator/ad5398.c:58:13: sparse: expected unsigned short val drivers/regulator/ad5398.c:58:13: sparse: got restricted __be16 [usertype] include/linux/spinlock.h:409:9: sparse: sparse: context imbalance in 'linflex_console_write' - unexpected unlock drivers/tty/serial/digicolor-usart.c:412:26: sparse: sparse: context imbalance in 'digicolor_uart_console_write' - different lock contexts for basic block drivers/misc/eeprom/eeprom_93cx6.c:239: warning: Function parameter or member 'byte' not described in 'eeprom_93cx6_readb' drivers/misc/eeprom/eeprom_93cx6.c:239: warning: Excess function parameter 'word' description in 'eeprom_93cx6_readb' drivers/misc/eeprom/eeprom_93cx6.c:280: warning: Function parameter or member 'bytes' not described in 'eeprom_93cx6_multireadb' drivers/misc/eeprom/eeprom_93cx6.c:280: warning: Excess function parameter 'words' description in 'eeprom_93cx6_multireadb' {standard input}:7328: Error: unknown opcode {standard input}:7422: Error: unknown opcode {standard input}:9021: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/lightnvm/core.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/lightnvm] Error 2 drivers/misc/eeprom/at24.c:228:36: warning: 'at24_acpi_ids' defined but not used [-Wunused-const-variable=] 228 | static const struct acpi_device_id at24_acpi_ids[] = { | ^~~~~~~~~~~~~ drivers/misc/ti-st/st_core.c:283:41: sparse: sparse: cast to restricted __le16 {standard input}: Assembler messages: {standard input}:4929: Error: unknown opcode {standard input}:5877: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/serial/sc16is7xx.o] Error 1 {standard input}: Assembler messages: {standard input}:255: Error: unknown opcode {standard input}:318: Error: unknown opcode drivers/misc/eeprom/idt_89hpesx.c:597:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] memaddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:597:31: sparse: expected unsigned short [addressable] [assigned] [usertype] memaddr drivers/misc/eeprom/idt_89hpesx.c:597:31: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:669:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] memaddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:669:31: sparse: expected unsigned short [addressable] [assigned] [usertype] memaddr drivers/misc/eeprom/idt_89hpesx.c:669:31: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:767:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] csraddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:767:24: sparse: expected unsigned short [addressable] [assigned] [usertype] csraddr drivers/misc/eeprom/idt_89hpesx.c:767:24: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:768:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [addressable] [assigned] [usertype] data @@ got restricted __le32 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:768:21: sparse: expected unsigned int [addressable] [assigned] [usertype] data drivers/misc/eeprom/idt_89hpesx.c:768:21: sparse: got restricted __le32 [usertype] drivers/misc/eeprom/idt_89hpesx.c:832:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] csraddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:832:24: sparse: expected unsigned short [addressable] [assigned] [usertype] csraddr drivers/misc/eeprom/idt_89hpesx.c:832:24: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:857:17: sparse: sparse: cast to restricted __le32 {standard input}:4985: Error: unknown opcode {standard input}:5016: Error: unknown opcode {standard input}:5690: Error: unknown opcode {standard input}:10136: Error: unknown opcode {standard input}: Assembler messages: {standard input}:113: Error: unknown opcode {standard input}:268: Error: unknown opcode {standard input}:415: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/char/tpm/tpm-dev.o] Error 1 drivers/tty/serial/sifive.c:157: warning: cannot understand function prototype: 'struct sifive_serial_port ' {standard input}:10604: Error: unknown opcode {standard input}:10862: Error: unknown opcode {standard input}:12350: Error: unknown opcode {standard input}:14125: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_io.o] Error 1 make[4]: *** [scripts/Makefile.build:497: drivers/video/fbdev/core] Error 2 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/video/fbdev] Error 2 make[3]: Target '__build' not remade because of errors. make[5]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/video] Error 2 {standard input}: Assembler messages: {standard input}:1604: Error: unknown opcode {standard input}:1635: Error: unknown opcode {standard input}:3057: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/base/firmware_loader/main.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/base/firmware_loader] Error 2 {standard input}:13546: Error: unknown opcode {standard input}:13840: Error: unknown opcode drivers/tty/serial/men_z135_uart.c:182: warning: Function parameter or member 'uart' not described in 'men_z135_handle_modem_status' drivers/tty/serial/men_z135_uart.c:182: warning: Excess function parameter 'port' description in 'men_z135_handle_modem_status' drivers/tty/serial/men_z135_uart.c:244: warning: Function parameter or member 'uart' not described in 'men_z135_handle_rx' drivers/tty/serial/men_z135_uart.c:244: warning: Excess function parameter 'arg' description in 'men_z135_handle_rx' drivers/tty/serial/men_z135_uart.c:294: warning: Function parameter or member 'uart' not described in 'men_z135_handle_tx' drivers/tty/serial/men_z135_uart.c:294: warning: Excess function parameter 'arg' description in 'men_z135_handle_tx' drivers/tty/serial/men_z135_uart.c:604: warning: Function parameter or member 'port' not described in 'men_z135_enable_ms' drivers/gpu/drm/panel/panel-simple.c:42: warning: Cannot understand * @modes: Pointer to array of fixed modes appropriate for this panel. If on line 42 - I thought it was a doc line {standard input}: Assembler messages: {standard input}:68: Error: unknown opcode {standard input}:2359: Error: unknown opcode {standard input}:2442: Error: unknown opcode {standard input}:3396: Error: unknown opcode {standard input}:3565: Error: unknown opcode {standard input}:3706: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/misc/ti-st/st_core.o] Error 1 {standard input}:14520: Error: unknown opcode {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:2753: Error: unknown opcode {standard input}:3244: Error: unknown opcode {standard input}:5104: Error: unknown opcode {standard input}:6454: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/tty/serial/serial_core.o] Error 1 {standard input}: Assembler messages: {standard input}:2813: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/tty/serial] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/tty/serial/ifx6x60.o] Error 1 make[4]: Target '__build' not remade because of errors. {standard input}:4294: Error: unknown opcode {standard input}:4937: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/base/dd.o] Error 1 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c:218:15: sparse: sparse: symbol 'vint_table' was not declared. Should it be static? drivers/misc/lis3lv02d/lis3lv02d.c:182:52: sparse: sparse: cast to restricted __le16 make[4]: *** [scripts/Makefile.build:497: drivers/gpu/drm/arm] Error 2 make[5]: *** [scripts/Makefile.build:497: drivers/gpu/drm/arm/display] Error 2 make[5]: Target '__build' not remade because of errors. make[6]: *** [scripts/Makefile.build:497: drivers/gpu/drm/arm/display/komeda] Error 2 make[6]: Target '__build' not remade because of errors. make[7]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:2656: Error: unknown opcode {standard input}:2711: Error: unknown opcode {standard input}:2905: Error: unknown opcode {standard input}:3299: Error: unknown opcode {standard input}:3433: Error: unknown opcode {standard input}:4219: Error: unknown opcode {standard input}:4538: Error: unknown opcode {standard input}:4943: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/misc/lis3lv02d/lis3lv02d.o] Error 1 drivers/misc/ti-st/st_kim.c:42: warning: Function parameter or member 'id' not described in 'st_get_plat_device' drivers/misc/ti-st/st_kim.c:53: warning: Function parameter or member 'kim_gdata' not described in 'validate_firmware_response' drivers/misc/ti-st/st_kim.c:126: warning: Function parameter or member 'kim_gdata' not described in 'kim_int_recv' drivers/misc/ti-st/st_kim.c:126: warning: Function parameter or member 'data' not described in 'kim_int_recv' drivers/misc/ti-st/st_kim.c:126: warning: Function parameter or member 'count' not described in 'kim_int_recv' drivers/misc/ti-st/st_kim.c:272: warning: Function parameter or member 'kim_gdata' not described in 'download_firmware' drivers/misc/ti-st/st_kim.c:445: warning: Function parameter or member 'kim_data' not described in 'st_kim_start' drivers/misc/ti-st/st_kim.c:509: warning: Function parameter or member 'kim_data' not described in 'st_kim_stop' drivers/misc/ti-st/st_kim.c:661: warning: Function parameter or member 'core_data' not described in 'st_kim_ref' drivers/misc/ti-st/st_kim.c:661: warning: Function parameter or member 'id' not described in 'st_kim_ref' drivers/base/platform.c:1352:20: warning: no previous prototype for 'early_platform_cleanup' [-Wmissing-prototypes] 1352 | void __weak __init early_platform_cleanup(void) { } | ^~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c: In function 's6e3ha2_set_brightness': drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c:456:17: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 456 | if (brightness < S6E3HA2_MIN_BRIGHTNESS || | ^ drivers/char/tpm/tpm_tis_spi_main.c:278:36: warning: 'acpi_tis_spi_match' defined but not used [-Wunused-const-variable=] 278 | static const struct acpi_device_id acpi_tis_spi_match[] = { | ^~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:1799: Error: unknown opcode >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *ptr @@ got restricted __le64 * @@ >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: expected void const volatile [noderef] __iomem *ptr drivers/misc/mic/vop/vop_main.c:551:51: sparse: got restricted __le64 * drivers/misc/mic/vop/vop_main.c:560:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:560:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:560:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:579:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc drivers/tty/tty_ioctl.c:842:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/tty_ioctl.c:842:21: sparse: expected unsigned int const *__gu_addr drivers/tty/tty_ioctl.c:842:21: sparse: got unsigned int [noderef] __user * >> drivers/tty/tty_ioctl.c:842:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/tty/tty_ioctl.c:842:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_ioctl.c:842:21: sparse: got unsigned int const *__gu_addr include/asm-generic/termios.h:25:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:25:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:25:13: sparse: got unsigned short const [noderef] __user * >> include/asm-generic/termios.h:25:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ >> include/asm-generic/termios.h:25:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:25:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:29:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:29:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:29:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:29:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:29:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:29:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:33:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:33:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:33:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:33:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:33:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:33:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:37:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:37:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:37:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:37:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:37:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:37:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:41:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char const [noderef] __user * @@ include/asm-generic/termios.h:41:13: sparse: expected unsigned char const *__gu_addr include/asm-generic/termios.h:41:13: sparse: got unsigned char const [noderef] __user * >> include/asm-generic/termios.h:41:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ include/asm-generic/termios.h:41:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:41:13: sparse: got unsigned char const *__gu_addr drivers/char/mem.c:163:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *addr @@ got void [noderef] __user *__cl_addr @@ drivers/char/mem.c:163:37: sparse: expected void *addr drivers/char/mem.c:163:37: sparse: got void [noderef] __user *__cl_addr {standard input}:10077: Error: unknown opcode {standard input}:10108: Error: unknown opcode {standard input}:10266: Error: unknown opcode drivers/gpu/drm/panel/panel-tpo-tpg110.c:95: warning: Function parameter or member 'panel_mode' not described in 'tpg110' drivers/gpu/drm/panel/panel-tpo-tpg110.c:376: warning: Function parameter or member 'connector' not described in 'tpg110_get_modes' drivers/misc/mic/vop/vop_main.c: In function '_vop_scan_devices': drivers/misc/mic/vop/vop_main.c:617:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 617 | int ret; | ^~~ make[3]: *** [scripts/Makefile.build:497: drivers/misc/ti-st] Error 2 make[4]: Target '__build' not remade because of errors. drivers/base/devres.c:1114:9: sparse: sparse: cast removes address space '__percpu' of expression {standard input}: Assembler messages: {standard input}:69: Error: unknown opcode {standard input}:142: Error: unknown opcode {standard input}:462: Error: unknown opcode {standard input}:1553: Error: unknown opcode {standard input}:1614: Error: unknown opcode {standard input}:1798: Error: unknown opcode {standard input}:1998: Error: unknown opcode {standard input}:2036: Error: unknown opcode drivers/char/mem.c:98:29: warning: no previous prototype for 'unxlate_dev_mem_ptr' [-Wmissing-prototypes] 98 | #define unxlate_dev_mem_ptr unxlate_dev_mem_ptr | ^~~~~~~~~~~~~~~~~~~ drivers/char/mem.c:99:13: note: in expansion of macro 'unxlate_dev_mem_ptr' 99 | void __weak unxlate_dev_mem_ptr(phys_addr_t phys, void *addr) | ^~~~~~~~~~~~~~~~~~~ drivers/tty/tty_ldisc.c:884:6: warning: no previous prototype for 'tty_sysctl_init' [-Wmissing-prototypes] 884 | void tty_sysctl_init(void) | ^~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:2129: Error: unknown opcode make[5]: *** [scripts/Makefile.build:280: drivers/gpu/drm/panel/panel-sony-acx565akm.o] Error 1 {standard input}: Assembler messages: {standard input}:2927: Error: unknown opcode {standard input}:3313: Error: unknown opcode {standard input}:5003: Error: unknown opcode {standard input}:5186: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_ioctl.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/char/tpm] Error 2 drivers/base/devtmpfs.c:362:36: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected char const [noderef] __user * @@ got char * @@ drivers/base/devtmpfs.c:362:36: sparse: expected char const [noderef] __user * drivers/base/devtmpfs.c:362:36: sparse: got char * drivers/base/devtmpfs.c:388:36: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected char const [noderef] __user * @@ got char * @@ drivers/base/devtmpfs.c:388:36: sparse: expected char const [noderef] __user * drivers/base/devtmpfs.c:388:36: sparse: got char * drivers/base/devtmpfs.c:391:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected char const [noderef] __user *filename @@ got char * @@ drivers/base/devtmpfs.c:391:20: sparse: expected char const [noderef] __user *filename drivers/base/devtmpfs.c:391:20: sparse: got char * drivers/base/devtmpfs.c:392:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected char const [noderef] __user *filename @@ got char * @@ drivers/base/devtmpfs.c:392:21: sparse: expected char const [noderef] __user *filename drivers/base/devtmpfs.c:392:21: sparse: got char * {standard input}: Assembler messages: {standard input}:1471: Error: unknown opcode {standard input}:1599: Error: unknown opcode {standard input}:1849: Error: unknown opcode drivers/misc/enclosure.c:115: warning: Function parameter or member 'name' not described in 'enclosure_register' drivers/misc/enclosure.c:115: warning: Function parameter or member 'cb' not described in 'enclosure_register' drivers/misc/enclosure.c:283: warning: Function parameter or member 'number' not described in 'enclosure_component_alloc' drivers/misc/enclosure.c:283: warning: Excess function parameter 'num' description in 'enclosure_component_alloc' drivers/misc/enclosure.c:363: warning: Function parameter or member 'component' not described in 'enclosure_add_device' drivers/misc/enclosure.c:363: warning: Excess function parameter 'num' description in 'enclosure_add_device' drivers/misc/enclosure.c:398: warning: Function parameter or member 'dev' not described in 'enclosure_remove_device' drivers/misc/enclosure.c:398: warning: Excess function parameter 'num' description in 'enclosure_remove_device' {standard input}:2533: Error: unknown opcode {standard input}:2588: Error: unknown opcode {standard input}:2940: Error: unknown opcode {standard input}:3007: Error: unknown opcode {standard input}:3135: Error: unknown opcode {standard input}:3169: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_ldisc.o] Error 1 {standard input}: Assembler messages: {standard input}:365: Error: unknown opcode {standard input}:750: Error: unknown opcode {standard input}:801: Error: unknown opcode {standard input}:835: Error: unknown opcode {standard input}:1936: Error: unknown opcode {standard input}:2081: Error: unknown opcode {standard input}:2260: Error: unknown opcode {standard input}:2572: Error: unknown opcode {standard input}:2619: Error: unknown opcode {standard input}:2901: Error: unknown opcode {standard input}:3066: Error: unknown opcode {standard input}:3311: Error: unknown opcode {standard input}:3382: Error: unknown opcode {standard input}:3468: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_buffer.o] Error 1 {standard input}:17253: Error: unknown opcode {standard input}:2720: Error: unknown opcode {standard input}:2992: Error: unknown opcode drivers/base/attribute_container.c:304: warning: Function parameter or member 'fn' not described in 'attribute_container_device_trigger_safe' drivers/base/attribute_container.c:304: warning: Function parameter or member 'undo' not described in 'attribute_container_device_trigger_safe' drivers/base/attribute_container.c:357: warning: Function parameter or member 'fn' not described in 'attribute_container_device_trigger' drivers/base/attribute_container.c:471: warning: Function parameter or member 'cont' not described in 'attribute_container_add_class_device_adapter' drivers/base/attribute_container.c:471: warning: Function parameter or member 'dev' not described in 'attribute_container_add_class_device_adapter' drivers/base/attribute_container.c:471: warning: Function parameter or member 'classdev' not described in 'attribute_container_add_class_device_adapter' {standard input}: Assembler messages: {standard input}:77: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/misc/lis3lv02d] Error 2 make[4]: Target '__build' not remade because of errors. drivers/base/devcon.c:12: warning: Function parameter or member 'devcon_lock' not described in 'DEFINE_MUTEX' make[4]: *** [scripts/Makefile.build:281: drivers/base/regmap/regcache-rbtree.o] Error 1 {standard input}:6144: Error: unknown opcode drivers/regulator/max8998.c:418:5: sparse: sparse: symbol 'max8998_get_current_limit' was not declared. Should it be static? drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:527:5: sparse: sparse: symbol 'analogix_dp_start_aux_transaction' was not declared. Should it be static? drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:571:5: sparse: sparse: symbol 'analogix_dp_write_byte_to_dpcd' was not declared. Should it be static? make[3]: *** [scripts/Makefile.build:281: drivers/base/core.o] Error 1 drivers/char/random.c:1943:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/char/random.c:1943:21: sparse: expected int const *__gu_addr drivers/char/random.c:1943:21: sparse: got int [noderef] __user *p >> drivers/char/random.c:1943:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/char/random.c:1943:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1943:21: sparse: got int const *__gu_addr drivers/char/random.c:1949:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/char/random.c:1949:21: sparse: expected int const *__gu_addr drivers/char/random.c:1949:21: sparse: got int [noderef] __user * drivers/char/random.c:1949:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/char/random.c:1949:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1949:21: sparse: got int const *__gu_addr drivers/char/random.c:1953:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/char/random.c:1953:21: sparse: expected int const *__gu_addr drivers/char/random.c:1953:21: sparse: got int [noderef] __user * drivers/char/random.c:1953:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/char/random.c:1953:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1953:21: sparse: got int const *__gu_addr {standard input}:6769: Error: unknown opcode {standard input}:6868: Error: unknown opcode {standard input}:8445: Error: unknown opcode {standard input}: Assembler messages: {standard input}:292: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_mutex.o] Error 1 make[4]: *** [scripts/Makefile.build:497: drivers/gpu/drm/panel] Error 2 make[5]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:456: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/regulator/max77686-regulator.o] Error 1 {standard input}: Assembler messages: {standard input}:427: Error: unknown opcode {standard input}:975: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/char/misc.o] Error 1 {standard input}:11054: Error: unknown opcode {standard input}:11374: Error: unknown opcode {standard input}:11564: Error: unknown opcode {standard input}:12774: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_tty.o] Error 1 {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}:133: Error: unknown opcode {standard input}:1985: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/base/cacheinfo.o] Error 1 drivers/base/module.c: In function 'module_add_driver': drivers/base/module.c:36:6: warning: variable 'no_warn' set but not used [-Wunused-but-set-variable] 36 | int no_warn; | ^~~~~~~ drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:527:5: warning: no previous prototype for 'analogix_dp_start_aux_transaction' [-Wmissing-prototypes] 527 | int analogix_dp_start_aux_transaction(struct analogix_dp_device *dp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:571:5: warning: no previous prototype for 'analogix_dp_write_byte_to_dpcd' [-Wmissing-prototypes] 571 | int analogix_dp_write_byte_to_dpcd(struct analogix_dp_device *dp, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/regulator/max8998.c:418:5: warning: no previous prototype for 'max8998_get_current_limit' [-Wmissing-prototypes] 418 | int max8998_get_current_limit(struct regulator_dev *rdev) | ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/tty/tty_jobctrl.c:77:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:77:9: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:77:9: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:80:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:80:34: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:80:34: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:120:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:120:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:120:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:122:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:122:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:122:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:131:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:131:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:131:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:152:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:152:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:152:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:161:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:161:9: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:161:9: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:163:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:163:40: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:163:40: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:200:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:200:41: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:200:41: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:208:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:208:51: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:208:51: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:219:43: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:219:43: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:219:43: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:281:39: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:281:39: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:281:39: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:284:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:284:41: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:284:41: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:293:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:293:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:293:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:309:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:309:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:309:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:484:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] [usertype] __user *p @@ drivers/tty/tty_jobctrl.c:484:13: sparse: expected int const *__gu_addr drivers/tty/tty_jobctrl.c:484:13: sparse: got int [noderef] [usertype] __user *p >> drivers/tty/tty_jobctrl.c:484:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/tty/tty_jobctrl.c:484:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_jobctrl.c:484:13: sparse: got int const *__gu_addr drivers/tty/tty_jobctrl.c:18:41: sparse: sparse: dereference of noderef expression {standard input}: Assembler messages: {standard input}:2488: Error: unknown opcode {standard input}:2519: Error: unknown opcode {standard input}:2685: Error: unknown opcode {standard input}:3321: Error: unknown opcode {standard input}:3363: Error: unknown opcode {standard input}:3664: Error: unknown opcode {standard input}:3706: Error: unknown opcode {standard input}:3998: Error: unknown opcode {standard input}:4856: Error: unknown opcode {standard input}:5065: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_port.o] Error 1 drivers/tty/pty.c:163:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/tty/pty.c:163:13: sparse: expected int const *__gu_addr drivers/tty/pty.c:163:13: sparse: got int [noderef] __user *arg >> drivers/tty/pty.c:163:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/tty/pty.c:163:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/pty.c:163:13: sparse: got int const *__gu_addr drivers/tty/pty.c:183:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/tty/pty.c:183:13: sparse: expected int const *__gu_addr drivers/tty/pty.c:183:13: sparse: got int [noderef] __user *arg drivers/tty/pty.c:183:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/tty/pty.c:183:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/pty.c:183:13: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:1081: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/base/devtmpfs.o] Error 1 {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}: Assembler messages: {standard input}:45: Error: unknown opcode {standard input}:401: Error: unknown opcode {standard input}:432: Error: unknown opcode {standard input}:661: Error: unknown opcode {standard input}:828: Error: unknown opcode {standard input}:1271: Error: unknown opcode {standard input}:1426: Error: unknown opcode {standard input}:1599: Error: unknown opcode {standard input}:1658: Error: unknown opcode {standard input}:2032: Error: unknown opcode {standard input}:2233: Error: unknown opcode {standard input}:3142: Error: unknown opcode {standard input}:3367: Error: unknown opcode {standard input}:3419: Error: unknown opcode {standard input}:3809: Error: unknown opcode {standard input}:3958: Error: unknown opcode {standard input}:2345: Error: unknown opcode {standard input}:2455: Error: unknown opcode {standard input}:3112: Error: unknown opcode {standard input}:3490: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/pty.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_ldsem.o] Error 1 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c:253:9: sparse: sparse: cast truncates bits from constant value (ffffff7f becomes 7f) drivers/gpu/drm/bridge/synopsys/dw-hdmi.c:3210:30: sparse: sparse: cast truncates bits from constant value (ffffff0d becomes d) drivers/tty/tty_baudrate.c:143: warning: Function parameter or member 'ibaud' not described in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:143: warning: Function parameter or member 'obaud' not described in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:143: warning: Excess function parameter 'ispeed' description in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:143: warning: Excess function parameter 'ospeed' description in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:234: warning: Function parameter or member 'tty' not described in 'tty_encode_baud_rate' drivers/tty/tty_baudrate.c:234: warning: Function parameter or member 'obaud' not described in 'tty_encode_baud_rate' drivers/tty/tty_baudrate.c:234: warning: Excess function parameter 'obad' description in 'tty_encode_baud_rate' {standard input}: Assembler messages: {standard input}:596: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_tracesink.o] Error 1 {standard input}: Assembler messages: {standard input}:145: Error: unknown opcode {standard input}:1445: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_jobctrl.o] Error 1 drivers/tty/sysrq.c:1110:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *buf @@ drivers/tty/sysrq.c:1110:21: sparse: expected char const *__gu_addr drivers/tty/sysrq.c:1110:21: sparse: got char const [noderef] __user *buf >> drivers/tty/sysrq.c:1110:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/sysrq.c:1110:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/sysrq.c:1110:21: sparse: got char const *__gu_addr drivers/tty/sysrq.c:148:13: sparse: sparse: context imbalance in 'sysrq_handle_crash' - unexpected unlock {standard input}: Assembler messages: {standard input}:6221: Error: unknown opcode {standard input}:6680: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/misc] Error 2 make[3]: *** [scripts/Makefile.build:497: drivers/misc/mic] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/misc/mic/vop] Error 2 make[4]: Target '__build' not remade because of errors. make[5]: *** [scripts/Makefile.build:281: drivers/misc/mic/vop/vop_vringh.o] Error 1 make[5]: Target '__build' not remade because of errors. drivers/tty/n_gsm.c:2808:29: sparse: sparse: restricted __be16 degrades to integer drivers/char/random.c:2296:6: warning: no previous prototype for 'add_hwgenerator_randomness' [-Wmissing-prototypes] 2296 | void add_hwgenerator_randomness(const char *buffer, size_t count, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:3059: Error: unknown opcode {standard input}:3460: Error: unknown opcode {standard input}:4170: Error: unknown opcode {standard input}:4708: Error: unknown opcode {standard input}:4790: Error: unknown opcode {standard input}:5416: Error: unknown opcode drivers/regulator/stpmic1_regulator.c:25: warning: cannot understand function prototype: 'struct stpmic1_regulator_cfg ' make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_hdlc.o] Error 1 drivers/regulator/tps65218-regulator.c: In function 'tps65218_pmic_set_suspend_enable': drivers/regulator/tps65218-regulator.c:131:10: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 131 | if (rid < TPS65218_DCDC_1 || rid > TPS65218_LDO_1) | ^ drivers/regulator/tps65218-regulator.c: In function 'tps65218_pmic_set_suspend_disable': drivers/regulator/tps65218-regulator.c:144:10: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 144 | if (rid < TPS65218_DCDC_1 || rid > TPS65218_LDO_1) | ^ drivers/dax/super.c:31:5: sparse: sparse: context imbalance in 'dax_read_lock' - wrong count at exit include/linux/srcu.h:181:9: sparse: sparse: context imbalance in 'dax_read_unlock' - unexpected unlock {standard input}: Assembler messages: {standard input}:11802: Error: unknown opcode {standard input}:12977: Error: unknown opcode {standard input}: Assembler messages: {standard input}:4429: Error: unknown opcode {standard input}:4530: Error: unknown opcode {standard input}:4650: Error: unknown opcode {standard input}:4835: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/sysrq.o] Error 1 make[3]: *** [scripts/Makefile.build:280: drivers/char/random.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/char] Error 2 {standard input}: Assembler messages: {standard input}:2390: Error: unknown opcode {standard input}:2452: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2380: Error: unknown opcode {standard input}:2844: Error: unknown opcode {standard input}:2920: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/dma-buf/heaps/heap-helpers.o] Error 1 make[5]: *** [scripts/Makefile.build:281: drivers/gpu/drm/bridge/ti-sn65dsi86.o] Error 1 drivers/regulator/wm8400-regulator.c:243: warning: Function parameter or member 'dev' not described in 'wm8400_register_regulator' drivers/regulator/wm8400-regulator.c:243: warning: Function parameter or member 'reg' not described in 'wm8400_register_regulator' drivers/regulator/wm8400-regulator.c:243: warning: Function parameter or member 'initdata' not described in 'wm8400_register_regulator' drivers/nvme/host/core.c:1509:23: sparse: sparse: context imbalance in 'nvme_get_ns_from_disk' - wrong count at exit include/linux/srcu.h:181:9: sparse: sparse: context imbalance in 'nvme_put_ns_from_disk' - unexpected unlock drivers/mfd/wm8350-core.c:136: warning: Function parameter or member 'wm8350' not described in 'wm8350_reg_lock' drivers/mfd/wm8350-core.c:165: warning: Function parameter or member 'wm8350' not described in 'wm8350_reg_unlock' {standard input}: Assembler messages: {standard input}:279: Error: unknown opcode {standard input}:352: Error: unknown opcode {standard input}:6515: Error: unknown opcode {standard input}:6546: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2221: Error: unknown opcode {standard input}:2698: Error: unknown opcode {standard input}:4036: Error: unknown opcode {standard input}:4746: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/nvme/host/multipath.o] Error 1 {standard input}:8294: Error: unknown opcode {standard input}:8500: Error: unknown opcode include/linux/lightnvm.h:490:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:483:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:482:54: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:481:53: sparse: sparse: invalid access past the end of 'l' (4 8) drivers/dax/bus.c: In function 'do_id_store': drivers/dax/bus.c:93:27: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 93 | /* nothing to remove */; | ^ drivers/dax/bus.c:98:29: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 98 | /* dax_id already added */; | ^ drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35890' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35892' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35893' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35894' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35895' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35896' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_UNKNOWN' not described in enum 'tc3589x_version' {standard input}: Assembler messages: {standard input}:1484: Error: unknown opcode -- {standard input}: Assembler messages: {standard input}:4257: Error: unknown opcode drivers/mtd/chips/cfi_probe.c:226:27: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:228:28: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:229:27: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:230:28: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:231:36: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:232:38: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:240:49: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi.o] Error 1 {standard input}: Assembler messages: {standard input}:1496: Error: unknown opcode {standard input}:1527: Error: unknown opcode {standard input}:2992: Error: unknown opcode {standard input}:3198: Error: unknown opcode {standard input}:10885: Error: unknown opcode {standard input}:12291: Error: unknown opcode {standard input}:4561: Error: unknown opcode {standard input}:5094: Error: unknown opcode {standard input}:5238: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1292: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/mtd/chips/cfi_probe.o] Error 1 {standard input}:6799: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_gem.o] Error 1 drivers/scsi/scsi_ioctl.c:48:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/scsi/scsi_ioctl.c:48:21: sparse: expected unsigned int const *__gu_addr drivers/scsi/scsi_ioctl.c:48:21: sparse: got unsigned int [noderef] __user * >> drivers/scsi/scsi_ioctl.c:48:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/scsi/scsi_ioctl.c:48:21: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/scsi_ioctl.c:48:21: sparse: got unsigned int const *__gu_addr drivers/mtd/chips/cfi_util.c:97:26: sparse: sparse: restricted __be16 degrades to integer drivers/mtd/chips/cfi_util.c:97:26: sparse: sparse: restricted __le16 degrades to integer drivers/mtd/chips/cfi_util.c:100:26: sparse: sparse: restricted __be32 degrades to integer drivers/mtd/chips/cfi_util.c:100:26: sparse: sparse: restricted __le32 degrades to integer drivers/mtd/chips/cfi_util.c:185:23: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_util.c:185:23: sparse: sparse: cast to restricted __be16 drivers/mtd/chips/cfi_util.c:185:23: sparse: sparse: cast to restricted __be16 drivers/mtd/chips/cfi_util.c:185:23: sparse: sparse: cast to restricted __be16 drivers/mtd/chips/cfi_util.c:185:23: sparse: sparse: cast to restricted __be16 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __le32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/drm_memory.c:135:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *handle @@ got void [noderef] __iomem * @@ drivers/gpu/drm/drm_memory.c:135:29: sparse: expected void *handle drivers/gpu/drm/drm_memory.c:135:29: sparse: got void [noderef] __iomem * drivers/gpu/drm/drm_memory.c:144:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *handle @@ got void [noderef] __iomem * @@ drivers/gpu/drm/drm_memory.c:144:29: sparse: expected void *handle drivers/gpu/drm/drm_memory.c:144:29: sparse: got void [noderef] __iomem * drivers/gpu/drm/drm_memory.c:156:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *handle @@ drivers/gpu/drm/drm_memory.c:156:28: sparse: expected void [noderef] __iomem *addr drivers/gpu/drm/drm_memory.c:156:28: sparse: got void *handle {standard input}: Assembler messages: {standard input}:52: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1486: Error: unknown opcode {standard input}:1517: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_self_refresh_helper.o] Error 1 {standard input}: Assembler messages: {standard input}:8803: Error: unknown opcode {standard input}:8837: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_fb_helper.o] Error 1 {standard input}:5287: Error: unknown opcode {standard input}:6945: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/hsi/clients/hsi_char.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/hsi/clients] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}:14437: Error: unknown opcode drivers/gpu/drm/drm_drv.c:434:6: sparse: sparse: context imbalance in 'drm_dev_enter' - different lock contexts for basic block include/linux/srcu.h:181:9: sparse: sparse: context imbalance in 'drm_dev_exit' - unexpected unlock {standard input}: Assembler messages: {standard input}:127: Error: unknown opcode {standard input}:327: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/target/iscsi/iscsi_target_device.o] Error 1 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __le32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __le32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mfd/twl4030-irq.c:485:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word @@ got restricted __le32 [usertype] @@ drivers/mfd/twl4030-irq.c:485:26: sparse: expected unsigned int [usertype] word drivers/mfd/twl4030-irq.c:485:26: sparse: got restricted __le32 [usertype] drivers/mfd/twl4030-irq.c:573:40: sparse: sparse: cast to restricted __le32 make[2]: *** [scripts/Makefile.build:497: drivers/tty] Error 2 make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_gsm.o] Error 1 make[3]: Target '__build' not remade because of errors. drivers/mfd/tps65218.c:58: warning: Function parameter or member 'tps' not described in 'tps65218_reg_write' drivers/mfd/tps65218.c:58: warning: Excess function parameter 'tps65218' description in 'tps65218_reg_write' drivers/mfd/tps65218.c:90: warning: Function parameter or member 'tps' not described in 'tps65218_update_bits' drivers/mfd/tps65218.c:90: warning: Excess function parameter 'tps65218' description in 'tps65218_update_bits' drivers/gpu/drm/drm_crtc.c:707:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_crtc.c:707:29: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_crtc.c:707:29: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/gpu/drm/drm_crtc.c:707:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/gpu/drm/drm_crtc.c:707:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_crtc.c:707:29: sparse: got unsigned int const *__gu_addr drivers/scsi/scsi_error.c:2341:17: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/scsi/scsi_error.c:2341:17: sparse: expected int const *__gu_addr drivers/scsi/scsi_error.c:2341:17: sparse: got int [noderef] __user *arg >> drivers/scsi/scsi_error.c:2341:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/scsi/scsi_error.c:2341:17: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/scsi_error.c:2341:17: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:160: Error: unknown opcode {standard input}:506: Error: unknown opcode {standard input}:2884: Error: unknown opcode {standard input}: Assembler messages: {standard input}:491: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsicam.o] Error 1 {standard input}: Assembler messages: {standard input}:593: Error: unknown opcode {standard input}:624: Error: unknown opcode {standard input}:4556: Error: unknown opcode {standard input}:4587: Error: unknown opcode {standard input}:5597: Error: unknown opcode {standard input}:2720: Error: unknown opcode {standard input}:4309: Error: unknown opcode {standard input}:4568: Error: unknown opcode {standard input}:5064: Error: unknown opcode {standard input}: Assembler messages: {standard input}:4245: Error: unknown opcode {standard input}:4276: Error: unknown opcode {standard input}:4585: Error: unknown opcode {standard input}:4805: Error: unknown opcode {standard input}:5287: Error: unknown opcode {standard input}:5396: Error: unknown opcode {standard input}:8335: Error: unknown opcode {standard input}:8445: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_file.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/dma-buf/dma-buf.o] Error 1 {standard input}:8024: Error: unknown opcode {standard input}:8115: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2514: Error: unknown opcode {standard input}:2545: Error: unknown opcode {standard input}:2898: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/nvme/host/fabrics.o] Error 1 {standard input}: Assembler messages: {standard input}:229: Error: unknown opcode {standard input}:323: Error: unknown opcode {standard input}:10758: Error: unknown opcode {standard input}:10797: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_hashtab.o] Error 1 {standard input}: Assembler messages: {standard input}:11856: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/hsi] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:709: Error: unknown opcode {standard input}:1531: Error: unknown opcode {standard input}:14498: Error: unknown opcode {standard input}:14726: Error: unknown opcode {standard input}:14757: Error: unknown opcode {standard input}:14912: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2252: Error: unknown opcode {standard input}:2503: Error: unknown opcode {standard input}:2534: Error: unknown opcode {standard input}:2933: Error: unknown opcode {standard input}:16015: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1831: Error: unknown opcode {standard input}:1862: Error: unknown opcode {standard input}:4738: Error: unknown opcode {standard input}:4874: Error: unknown opcode {standard input}:7458: Error: unknown opcode {standard input}:7492: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/target/iscsi/iscsi_target_nego.o] Error 1 {standard input}:15553: Error: unknown opcode {standard input}:15618: Error: unknown opcode {standard input}:15746: Error: unknown opcode {standard input}:15842: Error: unknown opcode {standard input}:2115: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_drv.o] Error 1 {standard input}:2296: Error: unknown opcode {standard input}:3076: Error: unknown opcode {standard input}:3916: Error: unknown opcode {standard input}:4112: Error: unknown opcode {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1395: Error: unknown opcode {standard input}:17398: Error: unknown opcode {standard input}:17709: Error: unknown opcode {standard input}:18513: Error: unknown opcode {standard input}: Assembler messages: {standard input}:745: Error: unknown opcode {standard input}:811: Error: unknown opcode {standard input}:5845: Error: unknown opcode {standard input}:6146: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/mfd/twl6030-irq.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/mtd/chips/cfi_cmdset_0020.o] Error 1 {standard input}: Assembler messages: {standard input}:250: Error: unknown opcode {standard input}:309: Error: unknown opcode {standard input}:20344: Error: unknown opcode include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 {standard input}:19577: Error: unknown opcode {standard input}:19671: Error: unknown opcode include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 make[4]: *** [scripts/Makefile.build:280: drivers/nvme/host/fc.o] Error 1 {standard input}: Assembler messages: {standard input}:4765: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/net/phy/mscc/mscc_main.o] Error 1 make[4]: *** [scripts/Makefile.build:280: drivers/target/iscsi/iscsi_target_tpg.o] Error 1 {standard input}: Assembler messages: {standard input}:3819: Error: unknown opcode {standard input}: Assembler messages: {standard input}:759: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/mtd/chips/gen_probe.o] Error 1 drivers/mtd/chips/cfi_cmdset_0001.c:1400:15: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@ drivers/mtd/chips/cfi_cmdset_0001.c:1400:15: sparse: expected void * drivers/mtd/chips/cfi_cmdset_0001.c:1400:15: sparse: got void [noderef] __iomem * drivers/mtd/chips/cfi_cmdset_0001.c:179:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] FeatureSupport @@ got restricted __le32 [usertype] @@ drivers/mtd/chips/cfi_cmdset_0001.c:179:30: sparse: expected unsigned int [usertype] FeatureSupport drivers/mtd/chips/cfi_cmdset_0001.c:179:30: sparse: got restricted __le32 [usertype] drivers/mtd/chips/cfi_cmdset_0001.c:180:32: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] BlkStatusRegMask @@ got restricted __le16 [usertype] @@ drivers/mtd/chips/cfi_cmdset_0001.c:180:32: sparse: expected unsigned short [usertype] BlkStatusRegMask drivers/mtd/chips/cfi_cmdset_0001.c:180:32: sparse: got restricted __le16 [usertype] drivers/mtd/chips/cfi_cmdset_0001.c:181:27: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] ProtRegAddr @@ got restricted __le16 [usertype] @@ drivers/mtd/chips/cfi_cmdset_0001.c:181:27: sparse: expected unsigned short [usertype] ProtRegAddr drivers/mtd/chips/cfi_cmdset_0001.c:181:27: sparse: got restricted __le16 [usertype] drivers/mtd/chips/cfi_cmdset_0001.c:415:32: sparse: sparse: cast to restricted __le32 drivers/mtd/chips/cfi_cmdset_0001.c:416:34: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_cmdset_0001.c:417:29: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_cmdset_0001.c:455:51: sparse: sparse: cast to restricted __le16 {standard input}:9394: Error: unknown opcode include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_mm.o] Error 1 drivers/mtd/chips/map_ram.c:93:15: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@ drivers/mtd/chips/map_ram.c:93:15: sparse: expected void * drivers/mtd/chips/map_ram.c:93:15: sparse: got void [noderef] __iomem * {standard input}:21718: Error: unknown opcode {standard input}:23244: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1696: Error: unknown opcode {standard input}:1727: Error: unknown opcode {standard input}:1961: Error: unknown opcode drivers/auxdisplay/charlcd.c:670:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *tmp @@ drivers/auxdisplay/charlcd.c:670:21: sparse: expected char const *__gu_addr drivers/auxdisplay/charlcd.c:670:21: sparse: got char const [noderef] __user *tmp >> drivers/auxdisplay/charlcd.c:670:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/auxdisplay/charlcd.c:670:21: sparse: expected void const volatile [noderef] __user *ptr drivers/auxdisplay/charlcd.c:670:21: sparse: got char const *__gu_addr {standard input}:4297: Error: unknown opcode {standard input}:2149: Error: unknown opcode {standard input}:6837: Error: unknown opcode {standard input}:7771: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_prime.o] Error 1 make[4]: *** [scripts/Makefile.build:280: drivers/target/iscsi/iscsi_target_login.o] Error 1 {standard input}:12582: Error: unknown opcode drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:396:34: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:396:34: sparse: got unsigned char [noderef] [usertype] __user * >> drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ >> drivers/spi/spidev.c:396:34: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:396:34: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/spi/spidev.c:398:34: sparse: expected unsigned int const *__gu_addr drivers/spi/spidev.c:398:34: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/spi/spidev.c:398:34: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:398:34: sparse: got unsigned int const *__gu_addr drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:422:26: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:422:26: sparse: got unsigned char [noderef] [usertype] __user * drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ drivers/spi/spidev.c:422:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:422:26: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:439:26: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:439:26: sparse: got unsigned char [noderef] [usertype] __user * drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ drivers/spi/spidev.c:439:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:439:26: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/spi/spidev.c:452:26: sparse: expected unsigned int const *__gu_addr drivers/spi/spidev.c:452:26: sparse: got unsigned int [noderef] [usertype] __user * drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/spi/spidev.c:452:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:452:26: sparse: got unsigned int const *__gu_addr {standard input}: Assembler messages: {standard input}:3693: Error: unknown opcode {standard input}:23616: Error: unknown opcode {standard input}:17869: Error: unknown opcode {standard input}:19691: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_lib.o] Error 1 {standard input}:10689: Error: unknown opcode {standard input}: Assembler messages: {standard input}:243: Error: unknown opcode drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'dev' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'id' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'cells' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'n_devs' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'mem_base' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'irq_base' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'domain' not described in 'devm_mfd_add_devices' {standard input}:13255: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_error.o] Error 1 drivers/scsi/constants.c:318:9: sparse: sparse: trying to concatenate 24850-character string (8191 bytes max) {standard input}: Assembler messages: {standard input}:2454: Error: unknown opcode {standard input}:2549: Error: unknown opcode {standard input}:4139: Error: unknown opcode drivers/mfd/axp20x-i2c.c:82:36: warning: 'axp20x_i2c_acpi_match' defined but not used [-Wunused-const-variable=] 82 | static const struct acpi_device_id axp20x_i2c_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:4169: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/pcmcia/cs.o] Error 1 {standard input}:4343: Error: unknown opcode {standard input}:5768: Error: unknown opcode {standard input}:5888: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/dma-buf/dma-fence.o] Error 1 {standard input}: Assembler messages: {standard input}:19049: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2228: Error: unknown opcode {standard input}:2367: Error: unknown opcode {standard input}:2474: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/auxdisplay] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/auxdisplay/charlcd.o] Error 1 make[3]: Target '__build' not remade because of errors. drivers/mtd/chips/map_rom.c:79:15: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@ drivers/mtd/chips/map_rom.c:79:15: sparse: expected void * drivers/mtd/chips/map_rom.c:79:15: sparse: got void [noderef] __iomem * {standard input}:14456: Error: unknown opcode {standard input}:14487: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1527: Error: unknown opcode {standard input}:1559: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_framebuffer.o] Error 1 {standard input}: Assembler messages: {standard input}:659: Error: unknown opcode {standard input}:690: Error: unknown opcode {standard input}:985: Error: unknown opcode {standard input}:1113: Error: unknown opcode {standard input}:1167: Error: unknown opcode {standard input}:1407: Error: unknown opcode {standard input}:1544: Error: unknown opcode {standard input}:1605: Error: unknown opcode {standard input}:1670: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/dma-buf/dma-fence-array.o] Error 1 {standard input}:36324: Error: unknown opcode {standard input}:23806: Error: unknown opcode {standard input}:24657: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1214: Error: unknown opcode {standard input}:1272: Error: unknown opcode {standard input}:1972: Error: unknown opcode {standard input}: Assembler messages: {standard input}:5009: Error: unknown opcode {standard input}:5040: Error: unknown opcode {standard input}:5507: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/nvme/host] Error 2 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/nvme] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/nvme/host/core.o] Error 1 make[4]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:2172: Error: unknown opcode {standard input}:2646: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/spi/spidev.o] Error 1 {standard input}: Assembler messages: {standard input}:1033: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2264: Error: unknown opcode {standard input}:8212: Error: unknown opcode {standard input}:25062: Error: unknown opcode {standard input}:25162: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_modeset_lock.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_connector.o] Error 1 {standard input}:2248: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/pcmcia] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}:5540: Error: unknown opcode make[4]: *** [scripts/Makefile.build:497: drivers/net/phy/mscc] Error 2 make[5]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:6587: Error: unknown opcode {standard input}:6618: Error: unknown opcode {standard input}: Assembler messages: {standard input}:3625: Error: unknown opcode {standard input}: Assembler messages: {standard input}:279: Error: unknown opcode {standard input}:706: Error: unknown opcode {standard input}:737: Error: unknown opcode {standard input}:1041: Error: unknown opcode {standard input}:1594: Error: unknown opcode {standard input}:1952: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/dma-buf/dma-fence-chain.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/input/serio/serio.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic.o] Error 1 {standard input}: Assembler messages: {standard input}:2215: Error: unknown opcode {standard input}:3190: Error: unknown opcode {standard input}:4699: Error: unknown opcode {standard input}:5118: Error: unknown opcode drivers/input/serio/serport.c:213:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] __user * @@ make[3]: *** [scripts/Makefile.build:281: drivers/spi/spi.o] Error 1 drivers/input/serio/serport.c:213:21: sparse: expected unsigned long const *__gu_addr drivers/input/serio/serport.c:213:21: sparse: got unsigned long [noderef] __user * >> drivers/input/serio/serport.c:213:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ >> drivers/input/serio/serport.c:213:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/serio/serport.c:213:21: sparse: got unsigned long const *__gu_addr {standard input}:4437: Error: unknown opcode {standard input}:12277: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/target/iscsi/iscsi_target_util.o] Error 1 {standard input}:24613: Error: unknown opcode {standard input}:8699: Error: unknown opcode {standard input}:27000: Error: unknown opcode {standard input}: Assembler messages: {standard input}:489: Error: unknown opcode {standard input}:520: Error: unknown opcode {standard input}:945: Error: unknown opcode {standard input}:2544: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_mode_object.o] Error 1 drivers/net/phy/mdio-boardinfo.c:27: warning: Function parameter or member 'bus' not described in 'mdiobus_setup_mdiodev_from_board_info' drivers/net/phy/mdio-boardinfo.c:27: warning: Function parameter or member 'cb' not described in 'mdiobus_setup_mdiodev_from_board_info' drivers/net/phy/mdio-boardinfo.c:27: warning: Excess function parameter 'mdiodev' description in 'mdiobus_setup_mdiodev_from_board_info' {standard input}: Assembler messages: {standard input}:2397: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/input/gameport] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/input/gameport/gameport.o] Error 1 make[3]: Target '__build' not remade because of errors. {standard input}:27868: Error: unknown opcode {standard input}:28124: Error: unknown opcode {standard input}:29258: Error: unknown opcode {standard input}:29431: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/mtd/chips/cfi_cmdset_0001.o] Error 1 {standard input}:11093: Error: unknown opcode {standard input}:11414: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/target/iscsi/iscsi_target.o] Error 1 {standard input}: Assembler messages: {standard input}:750: Error: unknown opcode {standard input}:781: Error: unknown opcode {standard input}:960: Error: unknown opcode {standard input}:1188: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/dma-buf/sync_file.o] Error 1 {standard input}:12432: Error: unknown opcode {standard input}:13251: Error: unknown opcode drivers/spi/spi-fsl-spi.c:93:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:93:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:93:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:94:33: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *mode @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:94:33: sparse: expected restricted __be32 [noderef] [usertype] __iomem *mode drivers/spi/spi-fsl-spi.c:94:33: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:294:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:294:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:294:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:299:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:299:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:299:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:303:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:303:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:303:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:317:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:317:18: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:317:18: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:350:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:350:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:350:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:459:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:459:18: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:459:18: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:462:45: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:462:45: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:462:45: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:498:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:498:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:498:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:502:53: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:502:53: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:502:53: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:511:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:511:47: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:511:47: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:516:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:516:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:516:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:522:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:522:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:522:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:533:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:533:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:533:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:536:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:536:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:536:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:553:51: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:553:51: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:553:51: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:560:48: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:560:48: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:560:48: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:562:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:562:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:562:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:571:51: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:571:51: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:571:51: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:575:46: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:575:46: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:575:46: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:585:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:585:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:585:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:652:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:652:18: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:652:18: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:655:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:655:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:655:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:656:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:656:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:656:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:657:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:657:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:657:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:658:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:658:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:658:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:669:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:669:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:669:32: sparse: got restricted __be32 * {standard input}:15094: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/mtd/chips/cfi_cmdset_0002.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/mtd/chips] Error 2 {standard input}: Assembler messages: {standard input}:633: Error: unknown opcode {standard input}:664: Error: unknown opcode {standard input}:1073: Error: unknown opcode {standard input}:1322: Error: unknown opcode {standard input}:1604: Error: unknown opcode {standard input}:1953: Error: unknown opcode {standard input}:2122: Error: unknown opcode {standard input}:2303: Error: unknown opcode {standard input}:2563: Error: unknown opcode {standard input}:2748: Error: unknown opcode {standard input}:3150: Error: unknown opcode {standard input}:3382: Error: unknown opcode {standard input}:3998: Error: unknown opcode {standard input}:4049: Error: unknown opcode {standard input}:4457: Error: unknown opcode {standard input}:4618: Error: unknown opcode {standard input}:4651: Error: unknown opcode {standard input}:5378: Error: unknown opcode {standard input}:5495: Error: unknown opcode {standard input}:5552: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/dma-buf/dma-resv.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/input/serio/serport.o] Error 1 {standard input}: Assembler messages: {standard input}:903: Error: unknown opcode {standard input}:1142: Error: unknown opcode {standard input}:1290: Error: unknown opcode {standard input}:1441: Error: unknown opcode {standard input}:1610: Error: unknown opcode {standard input}:1884: Error: unknown opcode {standard input}:1919: Error: unknown opcode drivers/spi/spi-bitbang.c:181: warning: Function parameter or member 'spi' not described in 'spi_bitbang_setup' drivers/spi/spi-bitbang.c:215: warning: Function parameter or member 'spi' not described in 'spi_bitbang_cleanup' drivers/spi/spi-bitbang.c:434: warning: Function parameter or member 'bitbang' not described in 'spi_bitbang_stop' drivers/spi/spi-nxp-fspi.c:472:25: sparse: sparse: cast from restricted __be32 drivers/input/serio/serio_raw.c:219:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/input/serio/serio_raw.c:219:21: sparse: expected char const *__gu_addr drivers/input/serio/serio_raw.c:219:21: sparse: got char const [noderef] __user * >> drivers/input/serio/serio_raw.c:219:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/input/serio/serio_raw.c:219:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/serio/serio_raw.c:219:21: sparse: got char const *__gu_addr drivers/dma-buf/dma-heap.c:43: warning: Function parameter or member 'priv' not described in 'dma_heap' drivers/dma-buf/dma-heap.c:43: warning: Function parameter or member 'heap_devt' not described in 'dma_heap' drivers/dma-buf/dma-heap.c:43: warning: Function parameter or member 'list' not described in 'dma_heap' drivers/dma-buf/dma-heap.c:43: warning: Function parameter or member 'heap_cdev' not described in 'dma_heap' {standard input}: Assembler messages: {standard input}:2232: Error: unknown opcode {standard input}: Assembler messages: {standard input}:26183: Error: unknown opcode {standard input}:26467: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/spi/spi-dw-core.o] Error 1 {standard input}: Assembler messages: {standard input}:1176: Error: unknown opcode {standard input}:1207: Error: unknown opcode {standard input}:3244: Error: unknown opcode {standard input}:4093: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/dma-buf/sw_sync.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_configfs.o] Error 1 {standard input}: Assembler messages: {standard input}:3961: Error: unknown opcode {standard input}: Assembler messages: {standard input}:940: Error: unknown opcode {standard input}:1506: Error: unknown opcode {standard input}:1737: Error: unknown opcode {standard input}:2647: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_tmr.o] Error 1 {standard input}: Assembler messages: {standard input}:1336: Error: unknown opcode {standard input}:1844: Error: unknown opcode {standard input}:7182: Error: unknown opcode {standard input}:7213: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_scan.o] Error 1 {standard input}:1911: Error: unknown opcode {standard input}:2955: Error: unknown opcode {standard input}:3005: Error: unknown opcode {standard input}: Assembler messages: {standard input}:947: Error: unknown opcode {standard input}:2699: Error: unknown opcode {standard input}:3747: Error: unknown opcode {standard input}:3869: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/spi/spi-rockchip.o] Error 1 {standard input}: Assembler messages: {standard input}:1293: Error: unknown opcode {standard input}:1324: Error: unknown opcode {standard input}:2714: Error: unknown opcode {standard input}:3449: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/serio/serio_raw.o] Error 1 {standard input}: Assembler messages: {standard input}:96: Error: unknown opcode {standard input}:950: Error: unknown opcode {standard input}: Assembler messages: {standard input}:955: Error: unknown opcode {standard input}:986: Error: unknown opcode {standard input}:2684: Error: unknown opcode {standard input}:2715: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_client.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/target/iscsi] Error 2 {standard input}:4260: Error: unknown opcode {standard input}:5105: Error: unknown opcode {standard input}:5144: Error: unknown opcode {standard input}:5312: Error: unknown opcode {standard input}:5553: Error: unknown opcode {standard input}:5593: Error: unknown opcode {standard input}:5683: Error: unknown opcode {standard input}:6086: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1303: Error: unknown opcode {standard input}:1334: Error: unknown opcode {standard input}:1561: Error: unknown opcode {standard input}:2084: Error: unknown opcode {standard input}:4488: Error: unknown opcode {standard input}:9089: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_device.o] Error 1 drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: got unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: got unsigned int [noderef] [usertype] __user * drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: got unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: got unsigned int [noderef] [usertype] __user * drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: got unsigned int const *__gu_addr make[2]: *** [scripts/Makefile.build:497: drivers/dma-buf] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}:3236: Error: unknown opcode {standard input}: Assembler messages: {standard input}:9550: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/mtd/devices/docg3.o] Error 1 drivers/input/serio/apbps2.c: In function 'apbps2_open': drivers/input/serio/apbps2.c:106:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 106 | unsigned long tmp; | ^~~ {standard input}: Assembler messages: {standard input}:1690: Error: unknown opcode {standard input}:6751: Error: unknown opcode {standard input}:7204: Error: unknown opcode {standard input}:7321: Error: unknown opcode {standard input}:7935: Error: unknown opcode drivers/mtd/devices/phram.c:85:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *priv @@ drivers/mtd/devices/phram.c:85:34: sparse: expected void [noderef] __iomem *addr drivers/mtd/devices/phram.c:85:34: sparse: got void *priv drivers/mtd/devices/phram.c:101:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *priv @@ got void [noderef] __iomem * @@ drivers/mtd/devices/phram.c:101:23: sparse: expected void *priv drivers/mtd/devices/phram.c:101:23: sparse: got void [noderef] __iomem * drivers/mtd/devices/phram.c:131:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *priv @@ drivers/mtd/devices/phram.c:131:25: sparse: expected void [noderef] __iomem *addr drivers/mtd/devices/phram.c:131:25: sparse: got void *priv {standard input}:4802: Error: unknown opcode {standard input}:5250: Error: unknown opcode {standard input}:6411: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/spi/spi-rspi.o] Error 1 {standard input}: Assembler messages: {standard input}:1130: Error: unknown opcode {standard input}:1161: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_writeback.o] Error 1 {standard input}: Assembler messages: {standard input}:2064: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_syncobj.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/input/serio] Error 2 {standard input}:2128: Error: unknown opcode {standard input}:2155: Error: unknown opcode {standard input}:2203: Error: unknown opcode {standard input}:2263: Error: unknown opcode {standard input}:2290: Error: unknown opcode {standard input}:4073: Error: unknown opcode {standard input}:4354: Error: unknown opcode {standard input}: Assembler messages: {standard input}:69: Error: unknown opcode {standard input}:2330: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/input/joystick/iforce/iforce-main.o] Error 1 {standard input}: Assembler messages: {standard input}:2249: Error: unknown opcode {standard input}:2280: Error: unknown opcode {standard input}:2554: Error: unknown opcode {standard input}:2686: Error: unknown opcode {standard input}:2747: Error: unknown opcode {standard input}:2774: Error: unknown opcode {standard input}:3263: Error: unknown opcode {standard input}:3323: Error: unknown opcode {standard input}:3350: Error: unknown opcode {standard input}:3916: Error: unknown opcode {standard input}:11327: Error: unknown opcode drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/net/hamradio/6pack.c:710:21: sparse: expected int const *__gu_addr drivers/net/hamradio/6pack.c:710:21: sparse: got int [noderef] __user * >> drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/hamradio/6pack.c:710:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/hamradio/6pack.c:710:21: sparse: got int const *__gu_addr {standard input}:14940: Error: unknown opcode {standard input}:5452: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_vblank.o] Error 1 {standard input}:6890: Error: unknown opcode {standard input}:6885: Error: unknown opcode {standard input}:6962: Error: unknown opcode {standard input}:7318: Error: unknown opcode {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}: Assembler messages: {standard input}:4209: Error: unknown opcode {standard input}:4298: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/input/joystick/iforce/iforce-ff.o] Error 1 {standard input}:10137: Error: unknown opcode {standard input}:10322: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/phy.o] Error 1 drivers/mtd/devices/phram.c:19: warning: Function parameter or member 'fmt' not described in 'pr_fmt' {standard input}: Assembler messages: {standard input}:1352: Error: unknown opcode {standard input}:1891: Error: unknown opcode {standard input}:2120: Error: unknown opcode {standard input}:2379: Error: unknown opcode {standard input}:2518: Error: unknown opcode {standard input}:2654: Error: unknown opcode {standard input}:2847: Error: unknown opcode {standard input}:2883: Error: unknown opcode {standard input}:3309: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/caif/caif_serial.o] Error 1 {standard input}:12950: Error: unknown opcode {standard input}:13352: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_alua.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_pr.o] Error 1 drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:925:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:925:21: sparse: got int [noderef] __user *p >> drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/ppp/ppp_generic.c:925:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:925:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:939:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:939:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:939:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:939:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:954:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:954:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:954:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:954:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:651:29: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:651:29: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:651:29: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:651:29: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:681:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:681:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:681:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:681:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:688:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:688:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:688:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:688:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:726:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:726:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:726:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:726:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:755:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:755:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:755:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:755:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:823:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:823:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:823:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:823:21: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:807: Error: unknown opcode {standard input}:988: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/mtd/devices/block2mtd.o] Error 1 {standard input}: Assembler messages: {standard input}:1074: Error: unknown opcode {standard input}:1213: Error: unknown opcode {standard input}:1293: Error: unknown opcode {standard input}: Assembler messages: {standard input}:5244: Error: unknown opcode {standard input}:5575: Error: unknown opcode {standard input}:5630: Error: unknown opcode make[4]: *** [scripts/Makefile.build:497: drivers/input/joystick/iforce] Error 2 make[5]: *** [scripts/Makefile.build:281: drivers/input/joystick/iforce/iforce-packets.o] Error 1 make[5]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:281: drivers/input/keyboard/atkbd.o] Error 1 {standard input}: Assembler messages: {standard input}:1841: Error: unknown opcode {standard input}:1872: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic_uapi.o] Error 1 {standard input}: Assembler messages: {standard input}:705: Error: unknown opcode drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_async.c:420:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_async.c:420:21: sparse: got int [noderef] __user *p >> drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/ppp/ppp_async.c:420:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:420:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/net/ppp/ppp_async.c:435:21: sparse: expected unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:435:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/net/ppp/ppp_async.c:446:21: sparse: expected unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int [noderef] [usertype] __user * drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:446:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_async.c:471:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_async.c:471:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:471:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:471:21: sparse: got int const *__gu_addr {standard input}:2503: Error: unknown opcode {standard input}:2548: Error: unknown opcode {standard input}:2582: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/caif/caif_virtio.o] Error 1 {standard input}: Assembler messages: {standard input}:3541: Error: unknown opcode {standard input}:3573: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_client_modeset.o] Error 1 {standard input}: Assembler messages: {standard input}:1005: Error: unknown opcode {standard input}:1036: Error: unknown opcode {standard input}:2516: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_gem_cma_helper.o] Error 1 {standard input}: Assembler messages: {standard input}:2519: Error: unknown opcode {standard input}:3287: Error: unknown opcode {standard input}:4649: Error: unknown opcode {standard input}:4810: Error: unknown opcode drivers/spi/spi-zynqmp-gqspi.c:205: warning: Function parameter or member 'slavecs' not described in 'zynqmp_gqspi_selectslave' drivers/spi/spi-zynqmp-gqspi.c:205: warning: Function parameter or member 'slavebus' not described in 'zynqmp_gqspi_selectslave' drivers/spi/spi-zynqmp-gqspi.c:205: warning: Excess function parameter 'flashcs' description in 'zynqmp_gqspi_selectslave' drivers/spi/spi-zynqmp-gqspi.c:205: warning: Excess function parameter 'flashbus' description in 'zynqmp_gqspi_selectslave' drivers/spi/spi-zynqmp-gqspi.c:902: warning: Function parameter or member 'dev' not described in 'zynqmp_qspi_suspend' drivers/spi/spi-zynqmp-gqspi.c:902: warning: Excess function parameter '_dev' description in 'zynqmp_qspi_suspend' make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_tpg.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/spi] Error 2 drivers/input/joystick/analog.c:169:17: sparse: sparse: undefined identifier 'boot_cpu_has' drivers/input/joystick/analog.c:169:17: sparse: sparse: undefined identifier 'rdtsc' drivers/input/joystick/analog.c:169:17: sparse: sparse: cast from unknown type drivers/input/joystick/analog.c:179:24: sparse: sparse: undefined identifier 'boot_cpu_has' drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: undefined identifier 'X86_FEATURE_TSC' drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: undefined identifier 'X86_FEATURE_TSC' drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/net/slip/slip.c:458:14: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/net/slip/slip.c:458:14: sparse: void [noderef] __rcu * drivers/net/slip/slip.c:458:14: sparse: void * drivers/net/slip/slip.c:892:9: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/net/slip/slip.c:892:9: sparse: void [noderef] __rcu * drivers/net/slip/slip.c:892:9: sparse: void * drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ >> drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum {standard input}: Assembler messages: {standard input}:1340: Error: unknown opcode {standard input}:1371: Error: unknown opcode {standard input}:1576: Error: unknown opcode {standard input}:1853: Error: unknown opcode {standard input}:2081: Error: unknown opcode {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:176: Error: unknown opcode drivers/input/joystick/analog.c:160:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] 160 | #warning Precise timer not defined for this architecture. | ^~~~~~~ {standard input}:2320: Error: unknown opcode {standard input}:2893: Error: unknown opcode {standard input}:3462: Error: unknown opcode {standard input}:3750: Error: unknown opcode {standard input}:4086: Error: unknown opcode {standard input}:4363: Error: unknown opcode {standard input}:6410: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/hamradio/6pack.o] Error 1 drivers/net/hamradio/baycom_ser_fdx.c:290:43: sparse: sparse: dubious: x | !y {standard input}: Assembler messages: {standard input}:656: Error: unknown opcode {standard input}:701: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/keyboard/newtonkbd.o] Error 1 {standard input}:6282: Error: unknown opcode {standard input}:8161: Error: unknown opcode {standard input}:10803: Error: unknown opcode {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/net/caif] Error 2 make[4]: *** [scripts/Makefile.build:281: drivers/net/caif/caif_hsi.o] Error 1 make[4]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:280: drivers/input/joystick/analog.o] Error 1 {standard input}: Assembler messages: {standard input}:6459: Error: unknown opcode {standard input}:6490: Error: unknown opcode {standard input}:6633: Error: unknown opcode {standard input}:6837: Error: unknown opcode {standard input}:7814: Error: unknown opcode {standard input}:8237: Error: unknown opcode {standard input}:8407: Error: unknown opcode {standard input}:8991: Error: unknown opcode include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (400 becomes 0) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (1000 becomes 0) include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (10000000 becomes 0) {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:878: Error: unknown opcode {standard input}:931: Error: unknown opcode {standard input}: Assembler messages: {standard input}:52: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:2195: Error: unknown opcode {standard input}:2226: Error: unknown opcode {standard input}:2653: Error: unknown opcode {standard input}:3418: Error: unknown opcode {standard input}:3983: Error: unknown opcode {standard input}:4049: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/net/ppp/ppp_async.o] Error 1 {standard input}:4211: Error: unknown opcode {standard input}:4254: Error: unknown opcode drivers/input/keyboard/samsung-keypad.c: In function 'samsung_keypad_irq': drivers/input/keyboard/samsung-keypad.c:149:15: warning: variable 'val' set but not used [-Wunused-but-set-variable] 149 | unsigned int val; | ^~~ {standard input}:4693: Error: unknown opcode {standard input}:4736: Error: unknown opcode {standard input}:6118: Error: unknown opcode {standard input}:6216: Error: unknown opcode {standard input}:6472: Error: unknown opcode {standard input}:6541: Error: unknown opcode {standard input}:6631: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/slip/slip.o] Error 1 {standard input}:17424: Error: unknown opcode drivers/mtd/nand/onenand/onenand_base.c:779:34: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *__from @@ got void [noderef] __iomem * @@ drivers/mtd/nand/onenand/onenand_base.c:779:34: sparse: expected void const *__from drivers/mtd/nand/onenand/onenand_base.c:779:34: sparse: got void [noderef] __iomem * -- make[3]: *** [scripts/Makefile.build:497: drivers/input/keyboard] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}:8751: Error: unknown opcode {standard input}:8811: Error: unknown opcode {standard input}:8838: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/target/target_core_file.o] Error 1 drivers/net/phy/mdio_device.c:188: warning: Function parameter or member 'drv' not described in 'mdio_driver_register' drivers/net/phy/mdio_device.c:188: warning: Excess function parameter 'new_driver' description in 'mdio_driver_register' make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/phy_device.o] Error 1 make[5]: *** [scripts/Makefile.build:280: drivers/mtd/nand/onenand/onenand_base.o] Error 1 make[5]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/mtd/nand/onenand] Error 2 {standard input}: Assembler messages: {standard input}:3784: Error: unknown opcode {standard input}:3818: Error: unknown opcode {standard input}:4649: Error: unknown opcode {standard input}:4680: Error: unknown opcode {standard input}:4869: Error: unknown opcode {standard input}:5089: Error: unknown opcode {standard input}:5116: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/target/target_core_iblock.o] Error 1 {standard input}: Assembler messages: {standard input}:4684: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/media/i2c] Error 2 make[4]: *** [scripts/Makefile.build:281: drivers/media/i2c/ir-kbd-i2c.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/net/slip] Error 2 make[4]: Target '__build' not remade because of errors. drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'input_dev' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'client' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'regmap' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'work' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'regulator' not described in 'drv2665_data' drivers/input/misc/drv260x.c: In function 'drv260x_probe': drivers/input/misc/drv260x.c:478:20: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 478 | if (haptics->mode < DRV260X_LRA_MODE || | ^ drivers/input/misc/drv260x.c:490:23: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 490 | if (haptics->library < DRV260X_LIB_EMPTY || | ^ {standard input}:13511: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1038: Error: unknown opcode {standard input}:1546: Error: unknown opcode {standard input}:1696: Error: unknown opcode {standard input}:1890: Error: unknown opcode {standard input}:2760: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/net/hamradio] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/net/hamradio/hdlcdrv.o] Error 1 make[4]: Target '__build' not remade because of errors. drivers/input/rmi4/rmi_driver.c: In function 'rmi_read_register_desc': drivers/input/rmi4/rmi_driver.c:583:24: warning: comparison is always false due to limited range of data type [-Wtype-limits] 583 | if (size_presence_reg < 0 || size_presence_reg > 35) | ^ drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'input_dev' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'client' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'regmap' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'work' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'enable_gpio' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'regulator' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'magnitude' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'mode' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'library' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'rated_voltage' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'overdrive_voltage' not described in 'drv260x_data' drivers/input/misc/drv260x.c:244: warning: Function parameter or member 'voltage' not described in 'drv260x_calculate_voltage' {standard input}: Assembler messages: {standard input}:633: Error: unknown opcode {standard input}:667: Error: unknown opcode {standard input}: Assembler messages: {standard input}:454: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/joystick/magellan.o] Error 1 {standard input}: Assembler messages: {standard input}:3774: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_transport_srp.o] Error 1 {standard input}:5419: Error: unknown opcode {standard input}:5485: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/mdio_bus.o] Error 1 {standard input}: Assembler messages: {standard input}:1603: Error: unknown opcode {standard input}: Assembler messages: {standard input}:361: Error: unknown opcode {standard input}:1213: Error: unknown opcode {standard input}: Assembler messages: {standard input}:489: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/input/joystick/twidjoy.o] Error 1 make[2]: *** [scripts/Makefile.build:497: drivers/target] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/target/target_core_transport.o] Error 1 make[3]: Target '__build' not remade because of errors. drivers/scsi/virtio_scsi.c:109: warning: Function parameter or member 'vscsi' not described in 'virtscsi_complete_cmd' drivers/scsi/virtio_scsi.c:109: warning: Function parameter or member 'buf' not described in 'virtscsi_complete_cmd' {standard input}:8780: Error: unknown opcode {standard input}:10054: Error: unknown opcode {standard input}:2622: Error: unknown opcode {standard input}: Assembler messages: {standard input}:460: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/joystick/spaceorb.o] Error 1 drivers/scsi/sg.c:415:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:415:21: sparse: expected int const *__gu_addr drivers/scsi/sg.c:415:21: sparse: got int [noderef] __user * >> drivers/scsi/sg.c:415:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/scsi/sg.c:415:21: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:415:21: sparse: got int const *__gu_addr drivers/scsi/sg.c:419:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:419:32: sparse: expected int const *__gu_addr drivers/scsi/sg.c:419:32: sparse: got int [noderef] __user * drivers/scsi/sg.c:419:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:419:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:419:32: sparse: got int const *__gu_addr drivers/scsi/sg.c:425:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] __user * @@ drivers/scsi/sg.c:425:32: sparse: expected signed int const *__gu_addr drivers/scsi/sg.c:425:32: sparse: got signed int [noderef] __user * >> drivers/scsi/sg.c:425:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/scsi/sg.c:425:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:425:32: sparse: got signed int const *__gu_addr drivers/scsi/sg.c:431:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:431:32: sparse: expected int const *__gu_addr drivers/scsi/sg.c:431:32: sparse: got int [noderef] __user * drivers/scsi/sg.c:431:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:431:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:431:32: sparse: got int const *__gu_addr drivers/scsi/sg.c:638:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *[assigned] buf @@ drivers/scsi/sg.c:638:13: sparse: expected char const *__gu_addr drivers/scsi/sg.c:638:13: sparse: got char const [noderef] __user *[assigned] buf >> drivers/scsi/sg.c:638:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/scsi/sg.c:638:13: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:638:13: sparse: got char const *__gu_addr drivers/scsi/sg.c:955:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:955:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:955:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:955:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:955:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:955:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:998:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:998:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:998:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:998:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:998:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:998:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1026:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1026:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1026:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1026:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1026:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1026:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1051:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1051:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1051:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1051:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1051:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1051:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1059:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1059:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1059:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1059:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1059:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1059:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1067:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1067:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1067:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1067:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1067:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1067:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1111:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1111:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1111:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1111:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1111:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1111:26: sparse: got int const *__gu_addr {standard input}:5503: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/rmi4/rmi_driver.o] Error 1 make[3]: *** [scripts/Makefile.build:280: drivers/input/input.o] Error 1 drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'input_dev' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'client' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'regmap' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'work' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'regulator' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'page' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'magnitude' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'frequency' not described in 'drv2667_data' In file included from include/linux/bug.h:5, from include/linux/thread_info.h:12, from include/asm-generic/current.h:5, from ./arch/sh/include/generated/asm/current.h:1, from include/linux/sched.h:12, from include/linux/ratelimit.h:6, from include/linux/dev_printk.h:16, from include/linux/device.h:15, from drivers/mtd/nand/spi/core.c:12: drivers/mtd/nand/spi/core.c: In function 'spinand_get_cfg': drivers/mtd/nand/spi/core.c:55:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 55 | if (WARN_ON(spinand->cur_target < 0 || | ^ arch/sh/include/asm/bug.h:69:25: note: in definition of macro 'WARN_ON' 69 | int __ret_warn_on = !!(x); 3036- | ^ drivers/mtd/nand/spi/core.c: In function 'spinand_set_cfg': drivers/mtd/nand/spi/core.c:68:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 68 | if (WARN_ON(spinand->cur_target < 0 || | ^ arch/sh/include/asm/bug.h:69:25: note: in definition of macro 'WARN_ON' 69 | int __ret_warn_on = !!(x); 3043- | ^ drivers/input/misc/mc13783-pwrbutton.c:32: warning: cannot understand function prototype: 'struct mc13783_pwrb ' make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/input/joystick] Error 2 {standard input}: Assembler messages: {standard input}:7197: Error: unknown opcode {standard input}: Assembler messages: {standard input}:62: Error: unknown opcode {standard input}:1378: Error: unknown opcode {standard input}:1551: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/media/mc/mc-devnode.o] Error 1 drivers/input/rmi4/rmi_f01.c:106: warning: Cannot understand * @ctrl0 - see the bit definitions above. on line 106 - I thought it was a doc line {standard input}:11372: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1617: Error: unknown opcode {standard input}:1648: Error: unknown opcode {standard input}:1839: Error: unknown opcode {standard input}:2239: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/media/v4l2-core/v4l2-device.o] Error 1 {standard input}:14484: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/debug.o] Error 1 drivers/i2c/busses/i2c-rk3x.c:244: warning: Function parameter or member 'i2c' not described in 'rk3x_i2c_start' -- include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (31111110 becomes 1110) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (1110 becomes 10) include/linux/unaligned/be_byteshift.h:38:30: sparse: sparse: cast truncates bits from constant value (3111111000000001 becomes 1) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (3222 becomes 22) include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (32222220 becomes 2220) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (2220 becomes 20) include/linux/unaligned/be_byteshift.h:38:30: sparse: sparse: cast truncates bits from constant value (3222222000000000 becomes 0) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (3111 becomes 11) include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (31111110 becomes 1110) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (1110 becomes 10) include/linux/unaligned/be_byteshift.h:38:30: sparse: sparse: cast truncates bits from constant value (3111111000000001 becomes 1) drivers/net/wireless/ath/ath6kl/wmi.c: In function 'ath6kl_wmi_bitrate_reply_rx': drivers/net/wireless/ath/ath6kl/wmi.c:1204:6: warning: variable 'rate' set but not used [-Wunused-but-set-variable] 1204 | s32 rate; | ^~~~ {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1334: Error: unknown opcode {standard input}:1437: Error: unknown opcode {standard input}:1769: Error: unknown opcode {standard input}:1839: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/i2c/i2c-core-of.o] Error 1 In file included from include/linux/phy.h:14, from drivers/net/phy/at803x.c:10: drivers/net/phy/at803x.c: In function 'at803x_parse_dt': include/linux/bitfield.h:52:28: warning: comparison is always false due to limited range of data type [-Wtype-limits] 52 | BUILD_BUG_ON_MSG((_mask) > (typeof(_reg))~0ull, 3168- | ^ include/linux/compiler.h:319:9: note: in definition of macro '__compiletime_assert' 319 | if (!(condition)) 3171- | ^~~~~~~~~ include/linux/compiler.h:339:2: note: in expansion of macro '_compiletime_assert' 339 | _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/bitfield.h:52:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' 52 | BUILD_BUG_ON_MSG((_mask) > (typeof(_reg))~0ull, 3180- | ^~~~~~~~~~~~~~~~ include/linux/bitfield.h:94:3: note: in expansion of macro '__BF_FIELD_CHECK' 94 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); 3183- | ^~~~~~~~~~~~~~~~ drivers/net/phy/at803x.c:431:24: note: in expansion of macro 'FIELD_PREP' 431 | priv->clk_25m_reg |= FIELD_PREP(mask, sel); | ^~~~~~~~~~ {standard input}:17458: Error: unknown opcode {standard input}: Assembler messages: {standard input}:8653: Error: unknown opcode {standard input}:8872: Error: unknown opcode {standard input}:9073: Error: unknown opcode {standard input}:11038: Error: unknown opcode {standard input}: Assembler messages: {standard input}:116: Error: unknown opcode {standard input}:308: Error: unknown opcode {standard input}:759: Error: unknown opcode {standard input}:1045: Error: unknown opcode {standard input}:1375: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/recovery.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/i2c/i2c-core-base.o] Error 1 {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/main.o] Error 1 {standard input}: Assembler messages: {standard input}:1771: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/at803x.o] Error 1 {standard input}: Assembler messages: {standard input}:832: Error: unknown opcode {standard input}:866: Error: unknown opcode {standard input}:900: Error: unknown opcode {standard input}:1663: Error: unknown opcode {standard input}:1840: Error: unknown opcode {standard input}:1933: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/core.o] Error 1 drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member 'write_cache_variants' not described in 'SPINAND_OP_VARIANTS' drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member '0' not described in 'SPINAND_OP_VARIANTS' {standard input}:13038: Error: unknown opcode {standard input}: Assembler messages: {standard input}:422: Error: unknown opcode {standard input}:453: Error: unknown opcode {standard input}:596: Error: unknown opcode {standard input}:4997: Error: unknown opcode drivers/net/ieee802154/ca8210.c:1840:27: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [addressable] [assigned] [usertype] pan_id @@ got unsigned short [usertype] @@ drivers/net/ieee802154/ca8210.c:1840:27: sparse: expected restricted __le16 [addressable] [assigned] [usertype] pan_id drivers/net/ieee802154/ca8210.c:1840:27: sparse: got unsigned short [usertype] drivers/net/ieee802154/ca8210.c:1845:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [addressable] [assigned] [usertype] pan_id @@ got unsigned short [usertype] @@ drivers/net/ieee802154/ca8210.c:1845:25: sparse: expected restricted __le16 [addressable] [assigned] [usertype] pan_id drivers/net/ieee802154/ca8210.c:1845:25: sparse: got unsigned short [usertype] drivers/net/ieee802154/ca8210.c:1971:28: sparse: sparse: incorrect type in argument 3 (different base types) @@ expected unsigned short [usertype] dst_pan_id @@ got restricted __le16 [addressable] [usertype] pan_id @@ drivers/net/ieee802154/ca8210.c:1971:28: sparse: expected unsigned short [usertype] dst_pan_id drivers/net/ieee802154/ca8210.c:1971:28: sparse: got restricted __le16 [addressable] [usertype] pan_id make[3]: *** [scripts/Makefile.build:497: drivers/media/mc] Error 2 make[4]: *** [scripts/Makefile.build:281: drivers/media/mc/mc-request.o] Error 1 make[4]: Target '__build' not remade because of errors. drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:467:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int [noderef] [usertype] __user * >> drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ >> drivers/mtd/ubi/cdev.c:467:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:512:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:512:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:526:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:526:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:882:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:882:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:969:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:969:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:984:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:984:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:1061:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:1061:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int const *__gu_addr {standard input}:15920: Error: unknown opcode {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}:133: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/cfg80211.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/scsi/st.o] Error 1 {standard input}:18069: Error: unknown opcode drivers/mtd/ubi/build.c:61: warning: Function parameter or member 'ubi_num' not described in 'mtd_dev_param' drivers/ptp/ptp_clockmatrix.c:886: warning: Cannot understand * @brief Maximum absolute value for write phase offset in picoseconds on line 886 - I thought it was a doc line drivers/net/phy/dp83640.c:840:28: sparse: sparse: cast to restricted __be16 drivers/net/phy/dp83640.c:840:28: sparse: sparse: cast to restricted __be16 drivers/net/phy/dp83640.c:840:28: sparse: sparse: cast to restricted __be16 drivers/net/phy/dp83640.c:840:28: sparse: sparse: cast to restricted __be16 {standard input}: Assembler messages: {standard input}:9541: Error: unknown opcode {standard input}:10157: Error: unknown opcode {standard input}:10878: Error: unknown opcode {standard input}:22530: Error: unknown opcode {standard input}: Assembler messages: {standard input}:26163: Error: unknown opcode {standard input}:26696: Error: unknown opcode {standard input}:26766: Error: unknown opcode {standard input}:27013: Error: unknown opcode {standard input}:27083: Error: unknown opcode {standard input}:22467: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/media/v4l2-core/v4l2-ctrls.o] Error 1 {standard input}: Assembler messages: {standard input}:1716: Error: unknown opcode {standard input}:1985: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/media/v4l2-core/v4l2-clk.o] Error 1 drivers/mtd/ubi/kapi.c:464: warning: Function parameter or member 'sgl' not described in 'ubi_leb_read_sg' drivers/mtd/ubi/kapi.c:464: warning: Excess function parameter 'buf' description in 'ubi_leb_read_sg' make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/wmi.o] Error 1 {standard input}: Assembler messages: {standard input}:94: Error: unknown opcode {standard input}:157: Error: unknown opcode drivers/mtd/ubi/wl.c:2054:28: sparse: sparse: context imbalance in 'produce_free_peb' - unexpected unlock {standard input}:28518: Error: unknown opcode drivers/w1/masters/ds2482.c:23: warning: Incorrect use of kernel-doc format: * Allow the active pullup to be disabled, default is enabled. drivers/w1/masters/ds2482.c:32: warning: cannot understand function prototype: 'int ds2482_active_pullup = 1; ' drivers/w1/masters/ds2482.c:82: warning: cannot understand function prototype: 'const u8 ds2482_chan_wr[8] = ' drivers/w1/masters/ds2482.c:132: warning: Function parameter or member 'conf' not described in 'ds2482_calculate_config' drivers/w1/masters/ds2482.c:149: warning: Function parameter or member 'pdev' not described in 'ds2482_select_register' drivers/w1/masters/ds2482.c:149: warning: Function parameter or member 'read_ptr' not described in 'ds2482_select_register' drivers/w1/masters/ds2482.c:170: warning: Function parameter or member 'pdev' not described in 'ds2482_send_cmd' drivers/w1/masters/ds2482.c:170: warning: Function parameter or member 'cmd' not described in 'ds2482_send_cmd' drivers/w1/masters/ds2482.c:190: warning: Function parameter or member 'pdev' not described in 'ds2482_send_cmd_data' drivers/w1/masters/ds2482.c:190: warning: Function parameter or member 'cmd' not described in 'ds2482_send_cmd_data' drivers/w1/masters/ds2482.c:190: warning: Function parameter or member 'byte' not described in 'ds2482_send_cmd_data' drivers/w1/masters/ds2482.c:214: warning: Function parameter or member 'pdev' not described in 'ds2482_wait_1wire_idle' drivers/w1/masters/ds2482.c:241: warning: Function parameter or member 'pdev' not described in 'ds2482_set_channel' drivers/w1/masters/ds2482.c:241: warning: Function parameter or member 'channel' not described in 'ds2482_set_channel' drivers/w1/masters/ds2482.c:264: warning: Function parameter or member 'data' not described in 'ds2482_w1_touch_bit' drivers/w1/masters/ds2482.c:264: warning: Function parameter or member 'bit' not described in 'ds2482_w1_touch_bit' drivers/w1/masters/ds2482.c:296: warning: Function parameter or member 'data' not described in 'ds2482_w1_triplet' drivers/w1/masters/ds2482.c:296: warning: Function parameter or member 'dbit' not described in 'ds2482_w1_triplet' drivers/w1/masters/ds2482.c:326: warning: Function parameter or member 'data' not described in 'ds2482_w1_write_byte' drivers/w1/masters/ds2482.c:326: warning: Function parameter or member 'byte' not described in 'ds2482_w1_write_byte' drivers/w1/masters/ds2482.c:350: warning: Function parameter or member 'data' not described in 'ds2482_w1_read_byte' drivers/w1/masters/ds2482.c:387: warning: Function parameter or member 'data' not described in 'ds2482_w1_reset_bus' drivers/w1/masters/ds2482.c:547: warning: cannot understand function prototype: 'const struct i2c_device_id ds2482_id[] = ' In file included from include/linux/bits.h:23, -- | ^~ make[4]: *** [scripts/Makefile.build:497: drivers/net/wireless/ath] Error 2 make[5]: *** [scripts/Makefile.build:497: drivers/net/wireless/ath/ath6kl] Error 2 make[5]: Target '__build' not remade because of errors. make[6]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:280: drivers/media/dvb-core/dvb_frontend.o] Error 1 drivers/input/rmi4/rmi_f54.c:77: warning: Enum value 'F54_REPORT_NONE' not described in enum 'rmi_f54_report_type' drivers/input/rmi4/rmi_f54.c:77: warning: Enum value 'F54_MAX_REPORT_TYPE' not described in enum 'rmi_f54_report_type' make[7]: *** [scripts/Makefile.build:281: drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.o] Error 1 {standard input}: Assembler messages: {standard input}:69: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/ff-memless.o] Error 1 {standard input}: Assembler messages: {standard input}:150: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2627: Error: unknown opcode {standard input}:2853: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/w1/slaves/w1_therm.o] Error 1 {standard input}: Assembler messages: {standard input}:4053: Error: unknown opcode {standard input}:4416: Error: unknown opcode {standard input}:5294: Error: unknown opcode {standard input}:5775: Error: unknown opcode {standard input}:5806: Error: unknown opcode drivers/w1/w1.c:426:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] rn64_le @@ got restricted __le64 [usertype] @@ drivers/w1/w1.c:426:17: sparse: expected unsigned long long [usertype] rn64_le drivers/w1/w1.c:426:17: sparse: got restricted __le64 [usertype] drivers/w1/w1.c:920:21: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned long long [usertype] rn_le @@ got restricted __le64 [usertype] @@ drivers/w1/w1.c:920:21: sparse: expected unsigned long long [usertype] rn_le drivers/w1/w1.c:920:21: sparse: got restricted __le64 [usertype] drivers/w1/slaves/w1_ds2405.c:30:24: sparse: sparse: cast to restricted __le64 drivers/w1/slaves/w1_ds2405.c:182:32: sparse: sparse: cast to restricted __le64 drivers/net/ieee802154/ca8210.c:326: warning: Function parameter or member 'readq' not described in 'ca8210_test' drivers/net/ieee802154/ca8210.c:375: warning: Function parameter or member 'spi_transfer_complete' not described in 'ca8210_priv' drivers/net/ieee802154/ca8210.c:375: warning: Function parameter or member 'sync_exchange_complete' not described in 'ca8210_priv' drivers/net/ieee802154/ca8210.c:375: warning: Function parameter or member 'promiscuous' not described in 'ca8210_priv' drivers/net/ieee802154/ca8210.c:430: warning: Function parameter or member 'short_address' not described in 'macaddr' drivers/net/ieee802154/ca8210.c:723: warning: Function parameter or member 'cas_ctl' not described in 'ca8210_rx_done' drivers/net/ieee802154/ca8210.c:723: warning: Excess function parameter 'arg' description in 'ca8210_rx_done' drivers/net/ieee802154/ca8210.c:1289: warning: Excess function parameter 'device_ref' description in 'tdme_checkpibattribute' {standard input}:6400: Error: unknown opcode drivers/net/ieee802154/ca8210.c:3053: warning: Function parameter or member 'spi_device' not described in 'ca8210_remove' make[4]: *** [scripts/Makefile.build:280: drivers/media/dvb-core/dvb_ca_en50221.o] Error 1 drivers/net/ieee802154/ca8210.c:3053: warning: Excess function parameter 'priv' description in 'ca8210_remove' drivers/net/ieee802154/ca8210.c:3103: warning: Function parameter or member 'spi_device' not described in 'ca8210_probe' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c: In function 'brcmf_fweh_handle_if_event': drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:131:6: warning: variable 'err' set but not used [-Wunused-but-set-variable] 131 | int err = 0; | ^~~ drivers/net/ieee802154/ca8210.c:3103: warning: Excess function parameter 'priv' description in 'ca8210_probe' drivers/input/rmi4/rmi_i2c.c:39: warning: Function parameter or member 'client' not described in 'rmi_i2c_xport' drivers/input/rmi4/rmi_i2c.c:39: warning: Function parameter or member 'supplies' not described in 'rmi_i2c_xport' drivers/input/rmi4/rmi_i2c.c:39: warning: Function parameter or member 'startup_delay' not described in 'rmi_i2c_xport' drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1741:40: sparse: sparse: incorrect type in initializer (different base types) @@ expected signed int [usertype] requested_dwell @@ got restricted __le32 [usertype] dwell_time @@ drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1741:40: sparse: expected signed int [usertype] requested_dwell drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1741:40: sparse: got restricted __le32 [usertype] dwell_time make[4]: *** [scripts/Makefile.build:281: drivers/media/rc/rc-main.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/input/rmi4] Error 2 make[4]: Target '__build' not remade because of errors. drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:36: warning: Function parameter or member 'datalen' not described in 'brcmf_fweh_queue_item' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:44: warning: Function parameter or member 'code' not described in 'brcmf_fweh_event_name' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:44: warning: Function parameter or member 'name' not described in 'brcmf_fweh_event_name' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:127: warning: Function parameter or member 'emsg' not described in 'brcmf_fweh_handle_if_event' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:127: warning: Function parameter or member 'data' not described in 'brcmf_fweh_handle_if_event' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:127: warning: Excess function parameter 'item' description in 'brcmf_fweh_handle_if_event' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:127: warning: Excess function parameter 'ifpp' description in 'brcmf_fweh_handle_if_event' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:391: warning: Function parameter or member 'packet_len' not described in 'brcmf_fweh_process_event' drivers/net/wireless/marvell/libertas/cfg.c: In function 'lbs_ret_scan': drivers/net/wireless/marvell/libertas/cfg.c:586:6: warning: variable 'ssid_len' set but not used [-Wunused-but-set-variable] 586 | u8 ssid_len = 0; | ^~~~~~~~ drivers/net/wireless/marvell/libertas/cfg.c:585:13: warning: variable 'ssid' set but not used [-Wunused-but-set-variable] 585 | const u8 *ssid = NULL; | ^~~~ drivers/net/wireless/marvell/libertas/cfg.c:507:6: warning: variable 'tsfsize' set but not used [-Wunused-but-set-variable] 507 | int tsfsize; | ^~~~~~~ drivers/net/wireless/marvell/libertas/cfg.c: In function 'lbs_associate': drivers/net/wireless/marvell/libertas/cfg.c:1075:6: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1075 | u8 *tmp; | ^~~ {standard input}: Assembler messages: {standard input}:4685: Error: unknown opcode {standard input}:5831: Error: unknown opcode {standard input}:6023: Error: unknown opcode {standard input}:7361: Error: unknown opcode {standard input}:8193: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/power/supply/power_supply_core.o] Error 1 {standard input}: Assembler messages: {standard input}:828: Error: unknown opcode {standard input}:924: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/sparse-keymap.o] Error 1 {standard input}: Assembler messages: {standard input}:2338: Error: unknown opcode {standard input}:3447: Error: unknown opcode {standard input}:3506: Error: unknown opcode {standard input}:4106: Error: unknown opcode drivers/input/mousedev.c:683:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/input/mousedev.c:683:21: sparse: expected char const *__gu_addr drivers/input/mousedev.c:683:21: sparse: got char const [noderef] __user * >> drivers/input/mousedev.c:683:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/input/mousedev.c:683:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/mousedev.c:683:21: sparse: got char const *__gu_addr {standard input}: Assembler messages: {standard input}:151: Error: unknown opcode {standard input}:310: Error: unknown opcode {standard input}:388: Error: unknown opcode {standard input}:442: Error: unknown opcode {standard input}:964: Error: unknown opcode {standard input}:1011: Error: unknown opcode {standard input}:1188: Error: unknown opcode {standard input}:1238: Error: unknown opcode {standard input}:1825: Error: unknown opcode {standard input}:2025: Error: unknown opcode {standard input}:2459: Error: unknown opcode {standard input}:2649: Error: unknown opcode {standard input}:2753: Error: unknown opcode {standard input}:2786: Error: unknown opcode drivers/input/joydev.c:528:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/input/joydev.c:528:24: sparse: expected signed int const *__gu_addr drivers/input/joydev.c:528:24: sparse: got signed int [noderef] [usertype] __user * >> drivers/input/joydev.c:528:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ >> drivers/input/joydev.c:528:24: sparse: expected void const volatile [noderef] __user *ptr drivers/input/joydev.c:528:24: sparse: got signed int const *__gu_addr drivers/input/joydev.c:680:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected long const *__gu_addr @@ got long [noderef] __user * @@ drivers/input/joydev.c:680:26: sparse: expected long const *__gu_addr drivers/input/joydev.c:680:26: sparse: got long [noderef] __user * >> drivers/input/joydev.c:680:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got long const *__gu_addr @@ drivers/input/joydev.c:680:26: sparse: expected void const volatile [noderef] __user *ptr drivers/input/joydev.c:680:26: sparse: got long const *__gu_addr {standard input}:5323: Error: unknown opcode {standard input}:5889: Error: unknown opcode {standard input}:7566: Error: unknown opcode {standard input}:7818: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/w1/w1.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/media/dvb-core/dvb_ringbuffer.o] Error 1 drivers/mtd/ubi/gluebi.c:446: warning: Function parameter or member 'ns_ptr' not described in 'gluebi_notify' drivers/mtd/ubi/gluebi.c:446: warning: Excess function parameter 'ptr' description in 'gluebi_notify' drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c: In function 'brcmf_p2p_scan_prep': drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:894:31: warning: parameter 'vif' set but not used [-Wunused-but-set-parameter] 894 | struct brcmf_cfg80211_vif *vif) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c: In function 'brcmf_p2p_tx_action_frame': drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1549:6: warning: variable 'timeout' set but not used [-Wunused-but-set-variable] 1549 | s32 timeout = 0; | ^~~~~~~ {standard input}: Assembler messages: {standard input}:7516: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/marvell/libertas/cfg.o] Error 1 {standard input}: Assembler messages: {standard input}:1141: Error: unknown opcode {standard input}:1276: Error: unknown opcode {standard input}: Assembler messages: {standard input}:731: Error: unknown opcode {standard input}:822: Error: unknown opcode {standard input}:885: Error: unknown opcode {standard input}:912: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/w1/w1_int.o] Error 1 {standard input}: Assembler messages: {standard input}:1378: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/w1/w1_family.o] Error 1 {standard input}:3690: Error: unknown opcode {standard input}:4090: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/media/rc/rc-ir-raw.o] Error 1 {standard input}: Assembler messages: {standard input}:11303: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/mtd/ubi] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/mtd/ubi/wl.o] Error 1 make[4]: Target '__build' not remade because of errors. drivers/w1/w1_io.c:396:26: sparse: sparse: cast to restricted __le64 {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c:69: warning: Function parameter or member 'c' not described in 'is_nvram_char' {standard input}:4163: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/mousedev.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/media/v4l2-core] Error 2 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/media/dvb-core] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}:4801: Error: unknown opcode {standard input}:4842: Error: unknown opcode {standard input}:5588: Error: unknown opcode {standard input}:5636: Error: unknown opcode {standard input}: Assembler messages: {standard input}:6541: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/input] Error 2 make[3]: *** [scripts/Makefile.build:281: drivers/input/joydev.o] Error 1 make[3]: Target '__build' not remade because of errors. make[7]: *** [scripts/Makefile.build:281: drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.o] Error 1 drivers/w1/slaves/w1_ds2433.c:50: warning: Function parameter or member 'off' not described in 'w1_f23_fix_count' drivers/w1/slaves/w1_ds2433.c:50: warning: Function parameter or member 'count' not described in 'w1_f23_fix_count' drivers/w1/slaves/w1_ds2433.c:50: warning: Function parameter or member 'size' not described in 'w1_f23_fix_count' drivers/w1/slaves/w1_ds2433.c:153: warning: Function parameter or member 'sl' not described in 'w1_f23_write' drivers/w1/slaves/w1_ds2433.c:153: warning: Function parameter or member 'addr' not described in 'w1_f23_write' drivers/w1/slaves/w1_ds2433.c:153: warning: Function parameter or member 'len' not described in 'w1_f23_write' drivers/w1/slaves/w1_ds2433.c:153: warning: Function parameter or member 'data' not described in 'w1_f23_write' {standard input}: Assembler messages: {standard input}:1581: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/mfd/rave-sp.o] Error 1 {standard input}: Assembler messages: {standard input}:133: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/marvell/libertas/cmdresp.o] Error 1 {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/w1/slaves/w1_ds250x.o] Error 1 {standard input}: Assembler messages: {standard input}:2294: Error: unknown opcode {standard input}:2782: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/media/cec/core/cec-core.o] Error 1 drivers/net/wireless/marvell/libertas/main.c:42:14: sparse: sparse: symbol 'lbs_disablemesh' was not declared. Should it be static? {standard input}: Assembler messages: {standard input}:1514: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/mtd/mtdsuper.o] Error 1 In file included from drivers/net/wireless/marvell/mwifiex/main.c:23: drivers/net/wireless/marvell/mwifiex/wmm.h:41:17: warning: 'tos_to_tid_inv' defined but not used [-Wunused-const-variable=] 41 | static const u8 tos_to_tid_inv[] = { | ^~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:59, from drivers/net/wireless/marvell/mwifiex/main.c:22: drivers/net/wireless/marvell/mwifiex/sdio.h:705:41: warning: 'mwifiex_sdio_sd8801' defined but not used [-Wunused-const-variable=] 705 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8801 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:689:41: warning: 'mwifiex_sdio_sd8987' defined but not used [-Wunused-const-variable=] 689 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8987 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:674:41: warning: 'mwifiex_sdio_sd8887' defined but not used [-Wunused-const-variable=] 674 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8887 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:658:41: warning: 'mwifiex_sdio_sd8997' defined but not used [-Wunused-const-variable=] 658 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8997 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:642:41: warning: 'mwifiex_sdio_sd8977' defined but not used [-Wunused-const-variable=] 642 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8977 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:627:41: warning: 'mwifiex_sdio_sd8897' defined but not used [-Wunused-const-variable=] 627 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:612:41: warning: 'mwifiex_sdio_sd8797' defined but not used [-Wunused-const-variable=] 612 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:597:41: warning: 'mwifiex_sdio_sd8787' defined but not used [-Wunused-const-variable=] 597 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:582:41: warning: 'mwifiex_sdio_sd8786' defined but not used [-Wunused-const-variable=] 582 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = { | ^~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:57, from drivers/net/wireless/marvell/mwifiex/main.c:22: drivers/net/wireless/marvell/mwifiex/pcie.h:310:41: warning: 'mwifiex_pcie8997' defined but not used [-Wunused-const-variable=] 310 | static const struct mwifiex_pcie_device mwifiex_pcie8997 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:300:41: warning: 'mwifiex_pcie8897' defined but not used [-Wunused-const-variable=] 300 | static const struct mwifiex_pcie_device mwifiex_pcie8897 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:292:41: warning: 'mwifiex_pcie8766' defined but not used [-Wunused-const-variable=] 292 | static const struct mwifiex_pcie_device mwifiex_pcie8766 = { | ^~~~~~~~~~~~~~~~ drivers/power/supply/cpcap-battery.c:292: warning: Function parameter or member 'ccd' not described in 'cpcap_battery_read_accumulated' drivers/power/supply/cpcap-battery.c:292: warning: Excess function parameter 'regs' description in 'cpcap_battery_read_accumulated' drivers/mtd/mtdcore.c:1612: warning: Function parameter or member 'section' not described in 'mtd_ooblayout_find_eccregion' drivers/mtd/mtdcore.c:1612: warning: Excess function parameter 'sectionp' description in 'mtd_ooblayout_find_eccregion' {standard input}: Assembler messages: {standard input}:3167: Error: unknown opcode drivers/mtd/mtdchar.c:658:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/mtd/mtdchar.c:658:21: sparse: expected unsigned int const *__gu_addr drivers/mtd/mtdchar.c:658:21: sparse: got unsigned int [noderef] __user * >> drivers/mtd/mtdchar.c:658:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/mtd/mtdchar.c:658:21: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/mtdchar.c:658:21: sparse: got unsigned int const *__gu_addr {standard input}: Assembler messages: {standard input}:131: Error: unknown opcode drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:94: warning: Function parameter or member 'reg50' not described in 'brcmf_btcoex_info' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:94: warning: Function parameter or member 'saved_regs_part2' not described in 'brcmf_btcoex_info' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:233: warning: Function parameter or member 'btci' not described in 'btcmf_btcoex_save_part1' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:253: warning: Function parameter or member 'btci' not described in 'brcmf_btcoex_restore_part1' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:273: warning: Function parameter or member 't' not described in 'brcmf_btcoex_timerfunc' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:453: warning: Function parameter or member 'vif' not described in 'brcmf_btcoex_set_mode' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:453: warning: Function parameter or member 'duration' not described in 'brcmf_btcoex_set_mode' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:453: warning: Excess function parameter 'cfg' description in 'brcmf_btcoex_set_mode' {standard input}:3491: Error: unknown opcode {standard input}:3687: Error: unknown opcode {standard input}:5280: Error: unknown opcode {standard input}:5721: Error: unknown opcode {standard input}:5827: Error: unknown opcode {standard input}:5924: Error: unknown opcode make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/net/phy] Error 2 {standard input}: Assembler messages: {standard input}:669: Error: unknown opcode drivers/mtd/mtdpart.c:300: warning: Function parameter or member 'mtd' not described in '__mtd_del_partition' drivers/mtd/mtdpart.c:300: warning: Excess function parameter 'priv' description in '__mtd_del_partition' make[2]: *** [scripts/Makefile.build:497: drivers/w1] Error 2 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/w1/slaves] Error 2 make[3]: Target '__build' not remade because of errors. make[7]: *** [scripts/Makefile.build:281: drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.o] Error 1 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:496:18: warning: 'brcmf_fws_prio2fifo' defined but not used [-Wunused-const-variable=] 496 | static const int brcmf_fws_prio2fifo[] = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/libertas/main.c: In function 'lbs_start_card': drivers/net/wireless/marvell/libertas/main.c:1068:23: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 1068 | lbs_start_mesh(priv); | ^ {standard input}:8561: Error: unknown opcode {standard input}:8864: Error: unknown opcode {standard input}:8937: Error: unknown opcode {standard input}:9046: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/marvell/mwifiex/main.o] Error 1 make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/marvell/libertas/cmd.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/mfd] Error 2 {standard input}: Assembler messages: {standard input}:3727: Error: unknown opcode {standard input}:4767: Error: unknown opcode {standard input}:5048: Error: unknown opcode {standard input}:7306: Error: unknown opcode {standard input}: Assembler messages: {standard input}:7923: Error: unknown opcode make[6]: *** [scripts/Makefile.build:280: drivers/net/wireless/marvell/libertas/main.o] Error 1 {standard input}: Assembler messages: {standard input}:1252: Error: unknown opcode {standard input}:1694: Error: unknown opcode {standard input}:1725: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/mtd/mtd_blkdevs.o] Error 1 drivers/mtd/rfd_ftl.c:100:13: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:110:25: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:295:29: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned short [usertype] magic @@ got restricted __le16 [usertype] @@ drivers/mtd/rfd_ftl.c:295:29: sparse: expected unsigned short [usertype] magic drivers/mtd/rfd_ftl.c:295:29: sparse: got restricted __le16 [usertype] drivers/mtd/rfd_ftl.c:354:29: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:553:19: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned short [usertype] del @@ got restricted __le16 [usertype] @@ drivers/mtd/rfd_ftl.c:553:19: sparse: expected unsigned short [usertype] del drivers/mtd/rfd_ftl.c:553:19: sparse: got restricted __le16 [usertype] drivers/mtd/rfd_ftl.c:592:21: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:647:15: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] entry @@ got restricted __le16 [usertype] @@ drivers/mtd/rfd_ftl.c:647:15: sparse: expected unsigned short [usertype] entry drivers/mtd/rfd_ftl.c:647:15: sparse: got restricted __le16 [usertype] {standard input}: Assembler messages: {standard input}:139: Error: unknown opcode {standard input}: Assembler messages: {standard input}:444: Error: unknown opcode {standard input}:534: Error: unknown opcode make[6]: *** [scripts/Makefile.build:280: drivers/net/wireless/marvell/libertas/tx.o] Error 1 {standard input}:9374: Error: unknown opcode {standard input}:11272: Error: unknown opcode {standard input}: Assembler messages: {standard input}:959: Error: unknown opcode {standard input}:1008: Error: unknown opcode {standard input}:2026: Error: unknown opcode {standard input}:2264: Error: unknown opcode {standard input}:2354: Error: unknown opcode drivers/hwmon/ad7314.c:52:16: sparse: sparse: cast to restricted __be16 drivers/hwmon/ad7314.c:52:16: sparse: sparse: cast to restricted __be16 drivers/hwmon/ad7314.c:52:16: sparse: sparse: cast to restricted __be16 drivers/hwmon/ad7314.c:52:16: sparse: sparse: cast to restricted __be16 make[3]: *** [scripts/Makefile.build:281: drivers/net/loopback.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/media/rc] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}:8015: Error: unknown opcode {standard input}:13989: Error: unknown opcode {standard input}:8810: Error: unknown opcode drivers/net/wireless/marvell/libertas/firmware.c:134: warning: Function parameter or member 'device' not described in 'lbs_get_firmware_async' drivers/net/wireless/marvell/libertas/firmware.c:134: warning: Excess function parameter 'dev' description in 'lbs_get_firmware_async' make[3]: *** [scripts/Makefile.build:281: drivers/thermal/thermal_core.o] Error 1 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:383: warning: Function parameter or member 'name' not described in 'brcmf_fws_mac_descriptor' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:383: warning: Function parameter or member 'requested_packet' not described in 'brcmf_fws_mac_descriptor' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:383: warning: Function parameter or member 'suppr_transit_count' not described in 'brcmf_fws_mac_descriptor' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:383: warning: Function parameter or member 'send_tim_signal' not described in 'brcmf_fws_mac_descriptor' -- | ^~~~~~~~~~~~~~~~ drivers/leds/led-class.c:516: warning: Function parameter or member 'dev' not described in 'devm_led_classdev_unregister' drivers/leds/led-class.c:516: warning: Excess function parameter 'parent' description in 'devm_led_classdev_unregister' In file included from drivers/net/wireless/marvell/mwifiex/main.h:59, from drivers/net/wireless/marvell/mwifiex/sta_rx.c:26: drivers/net/wireless/marvell/mwifiex/sdio.h:705:41: warning: 'mwifiex_sdio_sd8801' defined but not used [-Wunused-const-variable=] 705 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8801 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:689:41: warning: 'mwifiex_sdio_sd8987' defined but not used [-Wunused-const-variable=] 689 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8987 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:674:41: warning: 'mwifiex_sdio_sd8887' defined but not used [-Wunused-const-variable=] 674 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8887 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:658:41: warning: 'mwifiex_sdio_sd8997' defined but not used [-Wunused-const-variable=] 658 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8997 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:642:41: warning: 'mwifiex_sdio_sd8977' defined but not used [-Wunused-const-variable=] 642 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8977 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:627:41: warning: 'mwifiex_sdio_sd8897' defined but not used [-Wunused-const-variable=] 627 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:612:41: warning: 'mwifiex_sdio_sd8797' defined but not used [-Wunused-const-variable=] 612 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:597:41: warning: 'mwifiex_sdio_sd8787' defined but not used [-Wunused-const-variable=] 597 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:582:41: warning: 'mwifiex_sdio_sd8786' defined but not used [-Wunused-const-variable=] 582 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = { | ^~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:57, from drivers/net/wireless/marvell/mwifiex/sta_rx.c:26: drivers/net/wireless/marvell/mwifiex/pcie.h:310:41: warning: 'mwifiex_pcie8997' defined but not used [-Wunused-const-variable=] 310 | static const struct mwifiex_pcie_device mwifiex_pcie8997 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:300:41: warning: 'mwifiex_pcie8897' defined but not used [-Wunused-const-variable=] 300 | static const struct mwifiex_pcie_device mwifiex_pcie8897 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:292:41: warning: 'mwifiex_pcie8766' defined but not used [-Wunused-const-variable=] 292 | static const struct mwifiex_pcie_device mwifiex_pcie8766 = { | ^~~~~~~~~~~~~~~~ make[3]: *** [scripts/Makefile.build:497: drivers/crypto/ccree] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/crypto] Error 2 drivers/of/of_net.c:104: warning: Function parameter or member 'np' not described in 'of_get_mac_address' In file included from drivers/net/wireless/marvell/mwifiex/main.h:59, from drivers/net/wireless/marvell/mwifiex/ethtool.c:20: drivers/net/wireless/marvell/mwifiex/sdio.h:705:41: warning: 'mwifiex_sdio_sd8801' defined but not used [-Wunused-const-variable=] 705 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8801 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:689:41: warning: 'mwifiex_sdio_sd8987' defined but not used [-Wunused-const-variable=] 689 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8987 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:674:41: warning: 'mwifiex_sdio_sd8887' defined but not used [-Wunused-const-variable=] 674 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8887 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:658:41: warning: 'mwifiex_sdio_sd8997' defined but not used [-Wunused-const-variable=] 658 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8997 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:642:41: warning: 'mwifiex_sdio_sd8977' defined but not used [-Wunused-const-variable=] 642 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8977 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:627:41: warning: 'mwifiex_sdio_sd8897' defined but not used [-Wunused-const-variable=] 627 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:612:41: warning: 'mwifiex_sdio_sd8797' defined but not used [-Wunused-const-variable=] 612 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:597:41: warning: 'mwifiex_sdio_sd8787' defined but not used [-Wunused-const-variable=] 597 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:582:41: warning: 'mwifiex_sdio_sd8786' defined but not used [-Wunused-const-variable=] 582 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = { | ^~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:57, from drivers/net/wireless/marvell/mwifiex/ethtool.c:20: drivers/net/wireless/marvell/mwifiex/pcie.h:310:41: warning: 'mwifiex_pcie8997' defined but not used [-Wunused-const-variable=] 310 | static const struct mwifiex_pcie_device mwifiex_pcie8997 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:300:41: warning: 'mwifiex_pcie8897' defined but not used [-Wunused-const-variable=] 300 | static const struct mwifiex_pcie_device mwifiex_pcie8897 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:292:41: warning: 'mwifiex_pcie8766' defined but not used [-Wunused-const-variable=] 292 | static const struct mwifiex_pcie_device mwifiex_pcie8766 = { | ^~~~~~~~~~~~~~~~ drivers/of/of_reserved_mem.c:53: warning: Function parameter or member 'node' not described in 'fdt_reserved_mem_save_node' drivers/of/of_reserved_mem.c:53: warning: Function parameter or member 'uname' not described in 'fdt_reserved_mem_save_node' drivers/of/of_reserved_mem.c:53: warning: Function parameter or member 'base' not described in 'fdt_reserved_mem_save_node' drivers/of/of_reserved_mem.c:53: warning: Function parameter or member 'size' not described in 'fdt_reserved_mem_save_node' drivers/of/of_reserved_mem.c:76: warning: Function parameter or member 'node' not described in '__reserved_mem_alloc_size' drivers/of/of_reserved_mem.c:76: warning: Function parameter or member 'uname' not described in '__reserved_mem_alloc_size' drivers/of/of_reserved_mem.c:76: warning: Function parameter or member 'res_base' not described in '__reserved_mem_alloc_size' drivers/of/of_reserved_mem.c:76: warning: Function parameter or member 'res_size' not described in '__reserved_mem_alloc_size' drivers/of/of_reserved_mem.c:171: warning: Function parameter or member 'rmem' not described in '__reserved_mem_init_node' drivers/vhost/vringh.c:567:18: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __virtio16 const *__gu_addr @@ got restricted __virtio16 [noderef] [usertype] __user * @@ drivers/vhost/vringh.c:567:18: sparse: expected restricted __virtio16 const *__gu_addr drivers/vhost/vringh.c:567:18: sparse: got restricted __virtio16 [noderef] [usertype] __user * >> drivers/vhost/vringh.c:567:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got restricted __virtio16 const *__gu_addr @@ >> drivers/vhost/vringh.c:567:18: sparse: expected void const volatile [noderef] __user *ptr drivers/vhost/vringh.c:567:18: sparse: got restricted __virtio16 const *__gu_addr In file included from drivers/net/wireless/marvell/mwifiex/main.h:59, from drivers/net/wireless/marvell/mwifiex/11h.c:20: drivers/net/wireless/marvell/mwifiex/sdio.h:705:41: warning: 'mwifiex_sdio_sd8801' defined but not used [-Wunused-const-variable=] 705 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8801 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:689:41: warning: 'mwifiex_sdio_sd8987' defined but not used [-Wunused-const-variable=] 689 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8987 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:674:41: warning: 'mwifiex_sdio_sd8887' defined but not used [-Wunused-const-variable=] 674 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8887 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:658:41: warning: 'mwifiex_sdio_sd8997' defined but not used [-Wunused-const-variable=] 658 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8997 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:642:41: warning: 'mwifiex_sdio_sd8977' defined but not used [-Wunused-const-variable=] 642 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8977 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:627:41: warning: 'mwifiex_sdio_sd8897' defined but not used [-Wunused-const-variable=] 627 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:612:41: warning: 'mwifiex_sdio_sd8797' defined but not used [-Wunused-const-variable=] 612 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:597:41: warning: 'mwifiex_sdio_sd8787' defined but not used [-Wunused-const-variable=] 597 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:582:41: warning: 'mwifiex_sdio_sd8786' defined but not used [-Wunused-const-variable=] 582 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = { | ^~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:57, from drivers/net/wireless/marvell/mwifiex/11h.c:20: drivers/net/wireless/marvell/mwifiex/pcie.h:310:41: warning: 'mwifiex_pcie8997' defined but not used [-Wunused-const-variable=] 310 | static const struct mwifiex_pcie_device mwifiex_pcie8997 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:300:41: warning: 'mwifiex_pcie8897' defined but not used [-Wunused-const-variable=] 300 | static const struct mwifiex_pcie_device mwifiex_pcie8897 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:292:41: warning: 'mwifiex_pcie8766' defined but not used [-Wunused-const-variable=] 292 | static const struct mwifiex_pcie_device mwifiex_pcie8766 = { | ^~~~~~~~~~~~~~~~ drivers/leds/leds-bcm6328.c:103: warning: Function parameter or member 'pin' not described in 'bcm6328_pin2shift' drivers/leds/leds-is31fl32xx.c:85: warning: Function parameter or member 'sw_shutdown_func' not described in 'is31fl32xx_chipdef' {standard input}: Assembler messages: {standard input}:2987: Error: unknown opcode {standard input}:3885: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/of] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/of/overlay.o] Error 1 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}: Error: unaligned opcodes detected in executable segment make[4]: *** [scripts/Makefile.build:281: drivers/mmc/core/sd.o] Error 1 In file included from drivers/net/wireless/marvell/mwifiex/tdls.c:20: drivers/net/wireless/marvell/mwifiex/wmm.h:34:18: warning: 'mwifiex_1d_to_wmm_queue' defined but not used [-Wunused-const-variable=] 34 | static const u16 mwifiex_1d_to_wmm_queue[8] = { 1, 0, 0, 1, 2, 2, 3, 3 }; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:59, from drivers/net/wireless/marvell/mwifiex/tdls.c:19: drivers/net/wireless/marvell/mwifiex/sdio.h:705:41: warning: 'mwifiex_sdio_sd8801' defined but not used [-Wunused-const-variable=] 705 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8801 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:689:41: warning: 'mwifiex_sdio_sd8987' defined but not used [-Wunused-const-variable=] 689 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8987 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:674:41: warning: 'mwifiex_sdio_sd8887' defined but not used [-Wunused-const-variable=] 674 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8887 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:658:41: warning: 'mwifiex_sdio_sd8997' defined but not used [-Wunused-const-variable=] 658 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8997 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:642:41: warning: 'mwifiex_sdio_sd8977' defined but not used [-Wunused-const-variable=] 642 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8977 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:627:41: warning: 'mwifiex_sdio_sd8897' defined but not used [-Wunused-const-variable=] 627 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:612:41: warning: 'mwifiex_sdio_sd8797' defined but not used [-Wunused-const-variable=] 612 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:597:41: warning: 'mwifiex_sdio_sd8787' defined but not used [-Wunused-const-variable=] 597 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:582:41: warning: 'mwifiex_sdio_sd8786' defined but not used [-Wunused-const-variable=] 582 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = { | ^~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:57, from drivers/net/wireless/marvell/mwifiex/tdls.c:19: drivers/net/wireless/marvell/mwifiex/pcie.h:310:41: warning: 'mwifiex_pcie8997' defined but not used [-Wunused-const-variable=] 310 | static const struct mwifiex_pcie_device mwifiex_pcie8997 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:300:41: warning: 'mwifiex_pcie8897' defined but not used [-Wunused-const-variable=] 300 | static const struct mwifiex_pcie_device mwifiex_pcie8897 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:292:41: warning: 'mwifiex_pcie8766' defined but not used [-Wunused-const-variable=] 292 | static const struct mwifiex_pcie_device mwifiex_pcie8766 = { | ^~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/11n.h:25, from drivers/net/wireless/marvell/mwifiex/debugfs.c:23: drivers/net/wireless/marvell/mwifiex/wmm.h:41:17: warning: 'tos_to_tid_inv' defined but not used [-Wunused-const-variable=] 41 | static const u8 tos_to_tid_inv[] = { -- 105 | static const struct mmc_fixup mmc_ext_csd_fixups[] = { | ^~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:139: Error: unknown opcode {standard input}:734: Error: unknown opcode drivers/fsi/fsi-core.c:389:12: sparse: sparse: function 'fsi_slave_claim_range' with external linkage has definition drivers/fsi/fsi-core.c:403:13: sparse: sparse: function 'fsi_slave_release_range' with external linkage has definition drivers/mmc/core/regulator.c:178: warning: Function parameter or member 'mmc' not described in 'mmc_regulator_set_vqmmc' drivers/mmc/core/regulator.c:178: warning: Function parameter or member 'ios' not described in 'mmc_regulator_set_vqmmc' make[3]: *** [scripts/Makefile.build:280: drivers/soundwire/bus.o] Error 1 {standard input}: Assembler messages: {standard input}:5851: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/extcon/extcon.o] Error 1 drivers/nvmem/rave-sp-eeprom.c:48: warning: bad line: drivers/mmc/core/queue.c:212: warning: Function parameter or member 'mq' not described in '__mmc_init_request' drivers/mmc/core/queue.c:212: warning: Excess function parameter 'q' description in '__mmc_init_request' drivers/mcb/mcb-core.c:269: warning: Function parameter or member 'carrier' not described in 'mcb_alloc_bus' drivers/mcb/mcb-core.c:466: warning: Function parameter or member 'mem' not described in 'mcb_release_mem' drivers/mcb/mcb-core.c:466: warning: Excess function parameter 'dev' description in 'mcb_release_mem' {standard input}: Assembler messages: {standard input}:2284: Error: unknown opcode {standard input}:3618: Error: unknown opcode drivers/mcb/mcb-parse.c:54:14: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] reg1 @@ got unsigned int [usertype] r_ @@ drivers/mcb/mcb-parse.c:54:14: sparse: expected restricted __le32 [usertype] reg1 drivers/mcb/mcb-parse.c:54:14: sparse: got unsigned int [usertype] r_ drivers/mcb/mcb-parse.c:55:14: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] reg2 @@ got unsigned int [usertype] r_ @@ drivers/mcb/mcb-parse.c:55:14: sparse: expected restricted __le32 [usertype] reg2 drivers/mcb/mcb-parse.c:55:14: sparse: got unsigned int [usertype] r_ drivers/mcb/mcb-parse.c:59:20: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:60:21: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:61:21: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:62:21: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:63:23: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:64:22: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:93:27: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:94:25: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:150:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] reg @@ got unsigned int [usertype] r_ @@ drivers/mcb/mcb-parse.c:150:21: sparse: expected restricted __le32 [usertype] reg drivers/mcb/mcb-parse.c:150:21: sparse: got unsigned int [usertype] r_ drivers/mcb/mcb-parse.c:152:29: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:198:25: sparse: sparse: cast to restricted __le16 make[2]: *** [scripts/Makefile.build:497: drivers/ipack] Error 2 make[3]: *** [scripts/Makefile.build:497: drivers/ipack/devices] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:281: drivers/ipack/devices/ipoctal.o] Error 1 make[4]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}:2517: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/hwtracing/intel_th/gth.o] Error 1 drivers/extcon/extcon-adc-jack.c:53: warning: Function parameter or member 'dev' not described in 'adc_jack_data' drivers/extcon/extcon-adc-jack.c:53: warning: Function parameter or member 'wakeup_source' not described in 'adc_jack_data' {standard input}: Assembler messages: {standard input}:2947: Error: unknown opcode {standard input}:5905: Error: unknown opcode {standard input}:6153: Error: unknown opcode drivers/hwtracing/intel_th/core.c:849: warning: Function parameter or member 'drvdata' not described in 'intel_th_alloc' drivers/hwtracing/intel_th/core.c:849: warning: Function parameter or member 'ndevres' not described in 'intel_th_alloc' drivers/hwtracing/intel_th/core.c:849: warning: Excess function parameter 'irq' description in 'intel_th_alloc' make[4]: *** [scripts/Makefile.build:280: drivers/mmc/core/sdio_uart.o] Error 1 make[2]: *** [scripts/Makefile.build:497: drivers/hwtracing/intel_th] Error 2 make[3]: Target '__build' not remade because of errors. make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/ras] Error 2 make[2]: *** [scripts/Makefile.build:497: drivers/soundwire] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:6109: Error: unknown opcode {standard input}:6140: Error: unknown opcode {standard input}: Assembler messages: {standard input}:8330: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/hwtracing/stm/core.o] Error 1 {standard input}:6792: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/nvmem] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/nvmem/core.o] Error 1 make[3]: Target '__build' not remade because of errors. drivers/iio/accel/bmc150-accel-i2c.c:51:36: warning: 'bmc150_accel_acpi_match' defined but not used [-Wunused-const-variable=] 51 | static const struct acpi_device_id bmc150_accel_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:497: drivers/mmc] Error 2 make[3]: *** [scripts/Makefile.build:497: drivers/mmc/core] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: Target '__build' not remade because of errors. drivers/iio/accel/bmc150-accel-core.c:218:3: warning: 'bmc150_accel_sample_upd_time' defined but not used [-Wunused-const-variable=] 218 | } bmc150_accel_sample_upd_time[] = { {0x08, 64}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/iio/accel/bma220_spi.c:312:36: warning: 'bma220_acpi_id' defined but not used [-Wunused-const-variable=] 312 | static const struct acpi_device_id bma220_acpi_id[] = { | ^~~~~~~~~~~~~~ drivers/iio/accel/bmc150-accel-spi.c:36:36: warning: 'bmc150_accel_acpi_match' defined but not used [-Wunused-const-variable=] 36 | static const struct acpi_device_id bmc150_accel_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:5478: Error: unknown opcode {standard input}:5509: Error: unknown opcode {standard input}:6192: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/greybus/connection.o] Error 1 drivers/fsi/fsi-scom.c:497:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/fsi/fsi-scom.c:497:13: sparse: expected unsigned int const *__gu_addr drivers/fsi/fsi-scom.c:497:13: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/fsi/fsi-scom.c:497:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/fsi/fsi-scom.c:497:13: sparse: expected void const volatile [noderef] __user *ptr drivers/fsi/fsi-scom.c:497:13: sparse: got unsigned int const *__gu_addr drivers/hwtracing/stm/ftrace.c:38: warning: Function parameter or member 'export' not described in 'stm_ftrace_write' make[2]: *** [scripts/Makefile.build:497: drivers/extcon] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:1280: Error: unknown opcode {standard input}: Assembler messages: {standard input}:5218: Error: unknown opcode {standard input}:5378: Error: unknown opcode {standard input}:3093: Error: unknown opcode {standard input}:3124: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/iio/accel/bmc150-accel-core.o] Error 1 drivers/iio/accel/mma9551.c:596:36: warning: 'mma9551_acpi_match' defined but not used [-Wunused-const-variable=] 596 | static const struct acpi_device_id mma9551_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~ drivers/iio/accel/mxc4005.c:475:36: warning: 'mxc4005_acpi_match' defined but not used [-Wunused-const-variable=] 475 | static const struct acpi_device_id mxc4005_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~ drivers/iio/adc/ad7923.c:159: warning: Function parameter or member 'indio_dev' not described in 'ad7923_update_scan_mode' drivers/iio/adc/ad7923.c:159: warning: Function parameter or member 'active_scan_mask' not described in 'ad7923_update_scan_mode' drivers/iio/adc/ad7923.c:202: warning: Function parameter or member 'irq' not described in 'ad7923_trigger_handler' drivers/iio/adc/ad7923.c:202: warning: Function parameter or member 'p' not described in 'ad7923_trigger_handler' drivers/iio/accel/kxcjk-1013.c:1505:36: warning: 'kx_acpi_match' defined but not used [-Wunused-const-variable=] 1505 | static const struct acpi_device_id kx_acpi_match[] = { | ^~~~~~~~~~~~~ drivers/iio/accel/kxcjk-1013.c:208:3: warning: 'odr_start_up_times' defined but not used [-Wunused-const-variable=] 208 | } odr_start_up_times[KX_MAX_CHIPS][12] = { | ^~~~~~~~~~~~~~~~~~ {standard input}:8004: Error: unknown opcode {standard input}:8739: Error: unknown opcode {standard input}:8873: Error: unknown opcode {standard input}:10708: Error: unknown opcode {standard input}:10842: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/greybus] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/greybus/operation.o] Error 1 make[3]: Target '__build' not remade because of errors. make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/hwtracing/stm] Error 2 drivers/iio/accel/mxc6255.c:169:36: warning: 'mxc6255_acpi_match' defined but not used [-Wunused-const-variable=] 169 | static const struct acpi_device_id mxc6255_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:5133: Error: unknown opcode drivers/iio/accel/stk8312.c:647:36: warning: 'stk8312_acpi_id' defined but not used [-Wunused-const-variable=] 647 | static const struct acpi_device_id stk8312_acpi_id[] = { | ^~~~~~~~~~~~~~~ {standard input}:7235: Error: unknown opcode {standard input}:7423: Error: unknown opcode {standard input}:7501: Error: unknown opcode {standard input}:8109: Error: unknown opcode {standard input}: Assembler messages: {standard input}:857: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/iio/buffer/industrialio-buffer-cb.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/most/core.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/most] Error 2 drivers/iio/chemical/bme680_i2c.c:46:36: warning: 'bme680_acpi_match' defined but not used [-Wunused-const-variable=] 46 | static const struct acpi_device_id bme680_acpi_match[] = { | ^~~~~~~~~~~~~~~~~ drivers/iio/chemical/bme680_spi.c:149:36: warning: 'bme680_acpi_match' defined but not used [-Wunused-const-variable=] 149 | static const struct acpi_device_id bme680_acpi_match[] = { | ^~~~~~~~~~~~~~~~~ make[3]: *** [scripts/Makefile.build:497: drivers/iio/buffer] Error 2 make[4]: Target '__build' not remade because of errors. drivers/iio/adc/mcp320x.c:96: warning: Function parameter or member '____cacheline_aligned' not described in 'mcp320x' drivers/iio/chemical/sgp30.c:236: warning: Function parameter or member 'duration_us' not described in 'sgp_read_cmd' drivers/iio/common/ms_sensors/ms_sensors_i2c.c:186: warning: Function parameter or member 'client' not described in 'ms_sensors_read_serial' drivers/iio/common/ms_sensors/ms_sensors_i2c.c:186: warning: Excess function parameter 'cli' description in 'ms_sensors_read_serial' make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/iio/accel] Error 2 drivers/iio/adc/ad7949.c:58: warning: Function parameter or member 'indio_dev' not described in 'ad7949_adc_chip' drivers/iio/adc/ad7949.c:58: warning: Function parameter or member '____cacheline_aligned' not described in 'ad7949_adc_chip' drivers/iio/adc/ti_am335x_adc.c: In function 'tiadc_buffer_preenable': drivers/iio/adc/ti_am335x_adc.c:297:21: warning: variable 'read' set but not used [-Wunused-but-set-variable] 297 | int i, fifo1count, read; | ^~~~ drivers/iio/adc/ti_am335x_adc.c: In function 'tiadc_buffer_predisable': drivers/iio/adc/ti_am335x_adc.c:346:21: warning: variable 'read' set but not used [-Wunused-but-set-variable] 346 | int fifo1count, i, read; | ^~~~ {standard input}: Assembler messages: {standard input}:1878: Error: unknown opcode {standard input}:3445: Error: unknown opcode make[5]: *** [scripts/Makefile.build:280: drivers/iio/common/ssp_sensors/ssp_dev.o] Error 1 make[5]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/iio/common/ssp_sensors] Error 2 drivers/iio/dac/ad5380.c:64: warning: Function parameter or member 'lock' not described in 'ad5380_state' drivers/iio/adc/max1363.c:190: warning: Function parameter or member 'lock' not described in 'max1363_state' drivers/iio/adc/twl4030-madc.c: In function 'twl4030_madc_threaded_irq_handler': drivers/iio/adc/twl4030-madc.c:475:9: warning: variable 'len' set but not used [-Wunused-but-set-variable] 475 | int i, len, ret; | ^~~ drivers/iio/adc/twl4030-madc.c: In function 'twl4030_madc_conversion': drivers/iio/adc/twl4030-madc.c:619:18: warning: comparison is always false due to limited range of data type [-Wtype-limits] 619 | if (req->method < TWL4030_MADC_RT || req->method > TWL4030_MADC_SW2) { | ^ drivers/iio/gyro/adis16080.c:49: warning: Function parameter or member 'lock' not described in 'adis16080_state' drivers/iio/gyro/adis16080.c:49: warning: Function parameter or member '____cacheline_aligned' not described in 'adis16080_state' {standard input}: Assembler messages: {standard input}:3427: Error: unknown opcode -- drivers/gpio/gpio-cadence.c:178:12: note: in expansion of macro 'GENMASK' 178 | iowrite32(GENMASK(num_gpios - 1, 0), | ^~~~~~~ include/linux/bits.h:27:7: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 27 | (l) > (h), 0))) | ^ include/linux/build_bug.h:16:62: note: in definition of macro 'BUILD_BUG_ON_ZERO' 16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) | ^ include/linux/bits.h:40:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' 40 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^~~~~~~~~~~~~~~~~~~ drivers/gpio/gpio-cadence.c:251:12: note: in expansion of macro 'GENMASK' 251 | iowrite32(GENMASK(num_gpios - 1, 0), | ^~~~~~~ {standard input}: Assembler messages: {standard input}:290: Error: unknown opcode {standard input}:11573: Error: unknown opcode {standard input}:11920: Error: unknown opcode drivers/gpio/gpio-altera.c:34: warning: Function parameter or member 'irq_chip' not described in 'altera_gpio_chip' drivers/gpio/gpio-altera.c:78: warning: Function parameter or member 'd' not described in 'altera_gpio_irq_set_type' drivers/gpio/gpio-altera.c:78: warning: Function parameter or member 'type' not described in 'altera_gpio_irq_set_type' {standard input}:9475: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/bus/mhi/core/pm.o] Error 1 {standard input}:2423: Error: unknown opcode drivers/video/backlight/lcd.c:191: warning: Function parameter or member 'parent' not described in 'lcd_device_register' {standard input}: Assembler messages: {standard input}:229: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/bus/mhi/core/boot.o] Error 1 drivers/regulator/internal.h:43:42: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:1627:56: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:1629:56: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:455:17: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:455:25: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:469:47: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:3347:65: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:3823:47: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:3965:65: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:5527:54: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/core.c:5528:54: sparse: sparse: restricted suspend_state_t degrades to integer {standard input}: Assembler messages: {standard input}:434: Error: unknown opcode {standard input}:509: Error: unknown opcode {standard input}:613: Error: unknown opcode {standard input}: Assembler messages: {standard input}:5233: Error: unknown opcode {standard input}: Assembler messages: {standard input}:4553: Error: unknown opcode {standard input}: Assembler messages: {standard input}:236: Error: unknown opcode {standard input}:295: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/bus/mhi/core/init.o] Error 1 {standard input}:3362: Error: unknown opcode {standard input}: Assembler messages: {standard input}:3018: Error: unknown opcode {standard input}:4538: Error: unknown opcode {standard input}:4659: Error: unknown opcode {standard input}:5501: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/bus/moxtet.o] Error 1 {standard input}:3484: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/char/ipmi/ipmi_si_intf.o] Error 1 {standard input}:4920: Error: unknown opcode {standard input}:5376: Error: unknown opcode {standard input}:5736: Error: unknown opcode {standard input}:5700: Error: unknown opcode {standard input}:6533: Error: unknown opcode {standard input}:7131: Error: unknown opcode {standard input}:7162: Error: unknown opcode {standard input}:7751: Error: unknown opcode {standard input}:6527: Error: unknown opcode {standard input}:9334: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/bus/mhi/core/main.o] Error 1 make[5]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/bus] Error 2 make[3]: *** [scripts/Makefile.build:497: drivers/bus/mhi] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/bus/mhi/core] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}:8576: Error: unknown opcode {standard input}:8731: Error: unknown opcode {standard input}:9915: Error: unknown opcode drivers/video/backlight/ili922x.c:116: warning: Function parameter or member 's' not described in 'CHECK_FREQ_REG' drivers/video/backlight/ili922x.c:116: warning: Function parameter or member 'x' not described in 'CHECK_FREQ_REG' drivers/video/backlight/ili922x.c:127: warning: cannot understand function prototype: 'int ili922x_id = 1; ' drivers/video/backlight/ili922x.c:136: warning: cannot understand function prototype: 'struct ili922x ' drivers/video/backlight/ili922x.c:298: warning: Function parameter or member 'spi' not described in 'ili922x_reg_dump' make[3]: *** [scripts/Makefile.build:280: drivers/virtio/virtio_ring.o] Error 1 make[2]: *** [scripts/Makefile.build:497: drivers/virtio] Error 2 make[3]: Target '__build' not remade because of errors. drivers/regulator/internal.h:43:42: sparse: sparse: restricted suspend_state_t degrades to integer {standard input}:10775: Error: unknown opcode drivers/phy/phy-core.c:1078: warning: Function parameter or member 'children' not described in '__devm_of_phy_provider_register' drivers/phy/phy-core.c:1125: warning: Function parameter or member 'phy_provider' not described in 'devm_of_phy_provider_unregister' make[3]: *** [scripts/Makefile.build:281: drivers/gpio/gpiolib.o] Error 1 {standard input}: Assembler messages: {standard input}:8767: Error: unknown opcode {standard input}:11789: Error: unknown opcode drivers/tty/vt/vt_ioctl.c:1004:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] __user * @@ drivers/tty/vt/vt_ioctl.c:1004:21: sparse: expected unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1004:21: sparse: got unsigned short [noderef] __user * >> drivers/tty/vt/vt_ioctl.c:1004:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ >> drivers/tty/vt/vt_ioctl.c:1004:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt_ioctl.c:1004:21: sparse: got unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] __user * @@ drivers/tty/vt/vt_ioctl.c:1005:21: sparse: expected unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: got unsigned short [noderef] __user * drivers/tty/vt/vt_ioctl.c:1005:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ drivers/tty/vt/vt_ioctl.c:1005:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: got unsigned short const *__gu_addr {standard input}:19062: Error: unknown opcode {standard input}:24388: Error: unknown opcode drivers/video/of_videomode.c:32: warning: Function parameter or member 'np' not described in 'of_get_videomode' drivers/video/of_videomode.c:32: warning: Function parameter or member 'vm' not described in 'of_get_videomode' drivers/video/of_videomode.c:32: warning: Function parameter or member 'index' not described in 'of_get_videomode' drivers/tty/serial/8250/8250_core.c: In function 'serial8250_isa_init_ports': drivers/tty/serial/8250/8250_core.c:537:9: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 537 | i < ARRAY_SIZE(old_serial_port) && i < nr_uarts; | ^ drivers/clk/clk-si5341.c: In function 'si5341_output_get_parent': drivers/clk/clk-si5341.c:886:6: warning: variable 'err' set but not used [-Wunused-but-set-variable] 886 | int err; | ^~~ {standard input}: Assembler messages: {standard input}:15972: Error: unknown opcode {standard input}:16003: Error: unknown opcode {standard input}:30099: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/regulator/core.o] Error 1 {standard input}: Assembler messages: {standard input}:1404: Error: unknown opcode {standard input}:1435: Error: unknown opcode {standard input}:2854: Error: unknown opcode {standard input}:5067: Error: unknown opcode {standard input}:5165: Error: unknown opcode {standard input}:5942: Error: unknown opcode {standard input}:6548: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/reset/core.o] Error 1 drivers/video/of_display_timing.c:58: warning: Function parameter or member 'dt' not described in 'of_parse_display_timing' drivers/regulator/internal.h:43:42: sparse: sparse: restricted suspend_state_t degrades to integer {standard input}:23655: Error: unknown opcode {standard input}:24012: Error: unknown opcode drivers/video/backlight/lms501kf03.c:96:28: warning: 'seq_sleep_in' defined but not used [-Wunused-const-variable=] 96 | static const unsigned char seq_sleep_in[] = { | ^~~~~~~~~~~~ drivers/video/backlight/lms501kf03.c:92:28: warning: 'seq_up_dn' defined but not used [-Wunused-const-variable=] 92 | static const unsigned char seq_up_dn[] = { | ^~~~~~~~~ {standard input}: Assembler messages: {standard input}:2439: Error: unknown opcode {standard input}:27408: Error: unknown opcode {standard input}:27496: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/vt_ioctl.o] Error 1 {standard input}:29012: Error: unknown opcode {standard input}: Assembler messages: {standard input}:7334: Error: unknown opcode {standard input}:7365: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_msghandler.o] Error 1 drivers/tty/serial/8250/8250_port.c:1884:5: sparse: sparse: context imbalance in 'serial8250_handle_irq' - different lock contexts for basic block drivers/tty/serial/8250/8250_port.c:3295:9: sparse: sparse: context imbalance in 'serial8250_console_write' - different lock contexts for basic block drivers/video/fbdev/core/fb_notify.c:44: warning: Function parameter or member 'val' not described in 'fb_notifier_call_chain' drivers/video/fbdev/core/fb_notify.c:44: warning: Function parameter or member 'v' not described in 'fb_notifier_call_chain' {standard input}:11646: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/pinctrl/core.o] Error 1 {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}:133: Error: unknown opcode {standard input}:4994: Error: unknown opcode {standard input}:5079: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/gpio/gpio-pca953x.o] Error 1 {standard input}: Assembler messages: {standard input}:1007: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/char/ipmi/ipmi_si_hotmod.o] Error 1 drivers/tty/serial/8250/8250_dw.c:631:36: warning: 'dw8250_acpi_match' defined but not used [-Wunused-const-variable=] 631 | static const struct acpi_device_id dw8250_acpi_match[] = { | ^~~~~~~~~~~~~~~~~ drivers/gpio/gpio-tqmx86.c:262:37: sparse: sparse: cast truncates bits from constant value (ffffff0f becomes f) drivers/pinctrl/pinmux.c:83: warning: Function parameter or member 'pctldev' not described in 'pinmux_can_be_used_for_gpio' drivers/pinctrl/pinmux.c:108: warning: Function parameter or member 'pctldev' not described in 'pin_request' drivers/pinctrl/pinmux.c:261: warning: Function parameter or member 'gpio' not described in 'pinmux_request_gpio' drivers/pinctrl/pinmux.c:751: warning: Function parameter or member 'selector' not described in 'pinmux_generic_get_function' drivers/pinctrl/pinmux.c:751: warning: Excess function parameter 'group_selector' description in 'pinmux_generic_get_function' drivers/pinctrl/devicetree.c:27: warning: Function parameter or member 'map' not described in 'pinctrl_dt_map' drivers/pinctrl/devicetree.c:27: warning: Function parameter or member 'num_maps' not described in 'pinctrl_dt_map' drivers/pinctrl/devicetree.c:409: warning: Function parameter or member 'out_args' not described in 'pinctrl_parse_index_with_args' drivers/pinctrl/devicetree.c:409: warning: Excess function parameter 'out_arts' description in 'pinctrl_parse_index_with_args' {standard input}: Assembler messages: {standard input}:1272: Error: unknown opcode {standard input}:1303: Error: unknown opcode {standard input}:1614: Error: unknown opcode {standard input}:1977: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/char/hw_random/core.o] Error 1 drivers/char/ipmi/ipmi_ssif.c:355:13: sparse: sparse: context imbalance in 'start_clear_flags' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:374:13: sparse: sparse: context imbalance in 'start_flag_fetch' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:415:9: sparse: sparse: context imbalance in 'start_event_fetch' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:438:9: sparse: sparse: context imbalance in 'start_recv_msg_fetch' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:469:17: sparse: sparse: context imbalance in 'handle_flags' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:570:13: sparse: sparse: context imbalance in 'watch_timeout' - different lock contexts for basic block drivers/char/ipmi/ipmi_ssif.c:903:9: sparse: sparse: context imbalance in 'msg_done_handler' - different lock contexts for basic block drivers/char/ipmi/ipmi_ssif.c:1078:17: sparse: sparse: context imbalance in 'start_next_msg' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:1106:9: sparse: sparse: context imbalance in 'sender' - wrong count@exit drivers/pinctrl/pinconf-generic.c:242: warning: Function parameter or member 'pctldev' not described in 'pinconf_generic_parse_dt_config' drivers/video/fbdev/ocfb.c:327:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void [noderef] __iomem *fb_virt @@ got void * @@ drivers/video/fbdev/ocfb.c:327:24: sparse: expected void [noderef] __iomem *fb_virt drivers/video/fbdev/ocfb.c:327:24: sparse: got void * drivers/video/fbdev/ocfb.c:367:64: sparse: sparse: incorrect type in argument 3 (different address spaces) @@ expected void *cpu_addr @@ got void [noderef] __iomem *fb_virt @@ drivers/video/fbdev/ocfb.c:367:64: sparse: expected void *cpu_addr drivers/video/fbdev/ocfb.c:367:64: sparse: got void [noderef] __iomem *fb_virt drivers/video/fbdev/ocfb.c:380:32: sparse: sparse: incorrect type in argument 3 (different address spaces) @@ expected void *cpu_addr @@ got void [noderef] __iomem *fb_virt @@ drivers/video/fbdev/ocfb.c:380:32: sparse: expected void *cpu_addr drivers/video/fbdev/ocfb.c:380:32: sparse: got void [noderef] __iomem *fb_virt {standard input}: Assembler messages: {standard input}:6038: Error: unknown opcode {standard input}:7532: Error: unknown opcode {standard input}:7606: Error: unknown opcode {standard input}:7896: Error: unknown opcode {standard input}: Assembler messages: {standard input}:5769: Error: unknown opcode {standard input}:5872: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/video/fbdev/core/fbmem.o] Error 1 make[5]: *** [scripts/Makefile.build:280: drivers/tty/serial/8250/8250_port.o] Error 1 {standard input}: Assembler messages: {standard input}:197: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/char/hw_random/ba431-rng.o] Error 1 {standard input}:35531: Error: unknown opcode {standard input}:37684: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/clk/clk.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/clk] Error 2 {standard input}: Assembler messages: {standard input}:2683: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_poweroff.o] Error 1 make[2]: *** [scripts/Makefile.build:497: drivers/reset] Error 2 make[3]: Target '__build' not remade because of errors. include/linux/lightnvm.h:461:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:454:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:453:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:452:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:490:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:483:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:482:54: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:481:53: sparse: sparse: invalid access past the end of 'l' (4 8) drivers/lightnvm/core.c:703:36: sparse: sparse: invalid access past the end of 'ppa' (4 8) include/linux/lightnvm.h:461:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:454:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:453:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:452:35: sparse: sparse: invalid access past the end of 'r' (4 8) drivers/lightnvm/core.c:928:36: sparse: sparse: invalid access past the end of 'ppa' (4 8) drivers/lightnvm/core.c:927:36: sparse: sparse: invalid access past the end of 'ppa' (4 8) drivers/lightnvm/core.c:897:35: sparse: sparse: invalid access past the end of 'ppa' (4 8) drivers/lightnvm/core.c:896:34: sparse: sparse: invalid access past the end of 'ppa' (4 8) include/linux/lightnvm.h:461:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:454:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:453:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:452:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:461:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:454:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:453:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:452:35: sparse: sparse: invalid access past the end of 'r' (4 8) include/linux/lightnvm.h:490:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:483:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:482:54: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:481:53: sparse: sparse: invalid access past the end of 'l' (4 8) drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: expected char const *__gu_addr drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: got char const [noderef] __user * >> drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: expected void const volatile [noderef] __user *ptr drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: got char const *__gu_addr make[5]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/tty/serial/8250] Error 2 drivers/tty/serial/serial_core.c:139:9: sparse: sparse: context imbalance in 'uart_start' - different lock contexts for basic block drivers/tty/serial/serial_core.c:219:17: sparse: sparse: context imbalance in 'uart_port_startup' - different lock contexts for basic block drivers/tty/serial/serial_core.c:321:9: sparse: sparse: context imbalance in 'uart_shutdown' - different lock contexts for basic block drivers/tty/serial/serial_core.c:569:9: sparse: sparse: context imbalance in 'uart_put_char' - different lock contexts for basic block drivers/tty/serial/serial_core.c:617:9: sparse: sparse: context imbalance in 'uart_write' - different lock contexts for basic block drivers/tty/serial/serial_core.c:620:12: sparse: sparse: context imbalance in 'uart_write_room' - different lock contexts for basic block drivers/tty/serial/serial_core.c:633:12: sparse: sparse: context imbalance in 'uart_chars_in_buffer' - different lock contexts for basic block drivers/tty/serial/serial_core.c:670:9: sparse: sparse: context imbalance in 'uart_flush_buffer' - different lock contexts for basic block drivers/video/fbdev/core/fbmon.c:617: warning: Function parameter or member 'specs' not described in 'fb_create_modedb' drivers/video/fbdev/core/fbmon.c:1103: warning: bad line: drivers/regulator/devres.c:187: warning: Function parameter or member 'dev' not described in 'devm_regulator_register' drivers/regulator/devres.c:226: warning: Function parameter or member 'dev' not described in 'devm_regulator_unregister' drivers/regulator/devres.c:226: warning: Function parameter or member 'rdev' not described in 'devm_regulator_unregister' drivers/regulator/devres.c:226: warning: Excess function parameter 'regulator' description in 'devm_regulator_unregister' {standard input}: Assembler messages: {standard input}:3307: Error: unknown opcode drivers/regulator/of_regulator.c:18:43: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:193:22: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:196:22: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:199:22: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:202:22: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:203:22: sparse: sparse: restricted suspend_state_t degrades to integer drivers/regulator/of_regulator.c:252:26: sparse: sparse: restricted suspend_state_t degrades to integer drivers/tty/serdev/core.c: In function 'serdev_controller_remove': drivers/tty/serdev/core.c:791:6: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 791 | int dummy; | ^~~~~ make[3]: *** [scripts/Makefile.build:497: drivers/char/hw_random] Error 2 make[4]: Target '__build' not remade because of errors. drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long word @@ got restricted __le32 [usertype] @@ drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: expected unsigned long word drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: got restricted __le32 [usertype] drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: sparse: cast to restricted __le32 {standard input}: Assembler messages: {standard input}:653: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/pinctrl] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:2708: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/selection.o] Error 1 {standard input}:4332: Error: unknown opcode {standard input}:4958: Error: unknown opcode {standard input}:5123: Error: unknown opcode {standard input}:5293: Error: unknown opcode {standard input}:5453: Error: unknown opcode {standard input}:6020: Error: unknown opcode {standard input}:6287: Error: unknown opcode {standard input}:6384: Error: unknown opcode {standard input}:6612: Error: unknown opcode {standard input}:6723: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_watchdog.o] Error 1 drivers/tty/serdev/core.c:811: warning: Function parameter or member 'owner' not described in '__serdev_device_driver_register' drivers/tty/vt/keyboard.c:1729:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/vt/keyboard.c:1729:21: sparse: expected unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1729:21: sparse: got unsigned int [noderef] __user * >> drivers/tty/vt/keyboard.c:1729:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/tty/vt/keyboard.c:1729:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/keyboard.c:1729:21: sparse: got unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1767:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/vt/keyboard.c:1767:21: sparse: expected unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1767:21: sparse: got unsigned int [noderef] __user * drivers/tty/vt/keyboard.c:1767:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/tty/vt/keyboard.c:1767:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/keyboard.c:1767:21: sparse: got unsigned int const *__gu_addr drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long word @@ got restricted __le32 [usertype] @@ drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: expected unsigned long word drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: got restricted __le32 [usertype] drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: sparse: cast to restricted __le32 drivers/video/backlight/backlight.c:329: warning: Function parameter or member 'reason' not described in 'backlight_force_update' drivers/video/backlight/backlight.c:354: warning: Function parameter or member 'props' not described in 'backlight_device_register' drivers/video/fbdev/core/fbcon.c: In function 'fbcon_exit': drivers/video/fbdev/core/fbcon.c:3653:7: warning: variable 'pending' set but not used [-Wunused-but-set-variable] 3653 | int pending = 0; | ^~~~~~~ drivers/tty/vt/keyboard.c: In function 'k_fn': drivers/tty/vt/keyboard.c:744:22: warning: comparison is always true due to limited range of data type [-Wtype-limits] 744 | if ((unsigned)value < ARRAY_SIZE(func_table)) { | ^ make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_ssif.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/char/ipmi] Error 2 {standard input}: Assembler messages: {standard input}:842: Error: unknown opcode {standard input}:1418: Error: unknown opcode {standard input}:1660: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/video/fbdev/core/fb_defio.o] Error 1 {standard input}: Assembler messages: {standard input}:5636: Error: unknown opcode {standard input}:5715: Error: unknown opcode {standard input}:5869: Error: unknown opcode {standard input}:5897: Error: unknown opcode {standard input}:5932: Error: unknown opcode {standard input}:6237: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1251: Error: unknown opcode {standard input}:1578: Error: unknown opcode {standard input}:1773: Error: unknown opcode {standard input}:1941: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/tty/serdev/serdev-ttyport.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/tty/serdev] Error 2 {standard input}:6569: Error: unknown opcode {standard input}:6833: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/keyboard.o] Error 1 drivers/tty/vt/defkeymap.c:28:9: sparse: sparse: symbol 'shift_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:47:9: sparse: sparse: symbol 'altgr_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:66:9: sparse: sparse: symbol 'ctrl_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:85:9: sparse: sparse: symbol 'shift_ctrl_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:104:9: sparse: sparse: symbol 'alt_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:123:9: sparse: sparse: symbol 'ctrl_alt_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:149:14: sparse: sparse: symbol 'keymap_count' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:157:6: sparse: sparse: symbol 'func_buf' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:188:6: sparse: sparse: symbol 'funcbufptr' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:189:5: sparse: sparse: symbol 'funcbufsize' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:190:5: sparse: sparse: symbol 'funcbufleft' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:192:6: sparse: sparse: symbol 'func_table' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:226:18: sparse: sparse: symbol 'accent_table' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:263:14: sparse: sparse: symbol 'accent_table_size' was not declared. Should it be static? drivers/tty/vt/vt.c:4294:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user * @@ drivers/tty/vt/vt.c:4294:13: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:4294:13: sparse: got char [noderef] __user * >> drivers/tty/vt/vt.c:4294:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/vt/vt.c:4294:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:4294:13: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:225:5: sparse: sparse: symbol 'console_blank_hook' was not declared. Should it be static? drivers/tty/vt/consolemap_deftbl.c:10:4: sparse: sparse: symbol 'dfont_unicount' was not declared. Should it be static? drivers/tty/vt/consolemap_deftbl.c:46:5: sparse: sparse: symbol 'dfont_unitable' was not declared. Should it be static? drivers/tty/vt/vt.c:2985:19: sparse: sparse: symbol 'console_driver' was not declared. Should it be static? drivers/tty/vt/vt.c:3141:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user *p @@ drivers/tty/vt/vt.c:3141:13: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:3141:13: sparse: got char [noderef] __user *p drivers/tty/vt/vt.c:3141:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/tty/vt/vt.c:3141:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3141:13: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:3194:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user * @@ drivers/tty/vt/vt.c:3194:37: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:3194:37: sparse: got char [noderef] __user * drivers/tty/vt/vt.c:3194:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/tty/vt/vt.c:3194:37: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3194:37: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:3207:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/tty/vt/vt.c:3207:29: sparse: expected signed int const *__gu_addr drivers/tty/vt/vt.c:3207:29: sparse: got signed int [noderef] [usertype] __user * >> drivers/tty/vt/vt.c:3207:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/tty/vt/vt.c:3207:29: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3207:29: sparse: got signed int const *__gu_addr drivers/regulator/of_regulator.c:546: warning: Function parameter or member 'rdev' not described in 'of_check_coupling_data' {standard input}: Assembler messages: {standard input}:258: Error: unknown opcode drivers/char/tpm/st33zp24/i2c.c:291:36: warning: 'st33zp24_i2c_acpi_match' defined but not used [-Wunused-const-variable=] 291 | static const struct acpi_device_id st33zp24_i2c_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ drivers/tty/serial/max3100.c:202:13: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [usertype] etx @@ got restricted __be16 [usertype] @@ drivers/tty/serial/max3100.c:202:13: sparse: expected unsigned short [addressable] [usertype] etx drivers/tty/serial/max3100.c:202:13: sparse: got restricted __be16 [usertype] drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 include/linux/spinlock.h:409:9: sparse: sparse: context imbalance in 'serial_console_write' - unexpected unlock {standard input}:12727: Error: unknown opcode {standard input}:18464: Error: unknown opcode {standard input}:19522: Error: unknown opcode drivers/gpu/drm/i2c/tda998x_drv.c:1711:50: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __be32 const [usertype] *p @@ got unsigned int const [usertype] * @@ drivers/gpu/drm/i2c/tda998x_drv.c:1711:50: sparse: expected restricted __be32 const [usertype] *p drivers/gpu/drm/i2c/tda998x_drv.c:1711:50: sparse: got unsigned int const [usertype] * drivers/gpu/drm/i2c/tda998x_drv.c:1712:52: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __be32 const [usertype] *p @@ got unsigned int const [usertype] * @@ drivers/gpu/drm/i2c/tda998x_drv.c:1712:52: sparse: expected restricted __be32 const [usertype] *p drivers/gpu/drm/i2c/tda998x_drv.c:1712:52: sparse: got unsigned int const [usertype] * drivers/char/tpm/st33zp24/spi.c:408:36: warning: 'st33zp24_spi_acpi_match' defined but not used [-Wunused-const-variable=] 408 | static const struct acpi_device_id st33zp24_spi_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ drivers/tty/vt/consolemap.c:716: warning: Function parameter or member 'src_vc' not described in 'con_copy_unimap' drivers/tty/vt/consolemap.c:716: warning: Excess function parameter 'src_vt' description in 'con_copy_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'ct' not described in 'con_get_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'uct' not described in 'con_get_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'list' not described in 'con_get_unimap' drivers/base/firmware_loader/main.c:266:9: sparse: sparse: context imbalance in 'free_fw_priv' - wrong count at exit {standard input}: Assembler messages: {standard input}:148: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/gpio] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:280: drivers/tty/vt/vt.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/tty/vt] Error 2 {standard input}:3721: Error: unknown opcode {standard input}:3752: Error: unknown opcode {standard input}: Assembler messages: {standard input}:220: Error: unknown opcode {standard input}:327: Error: unknown opcode {standard input}: Assembler messages: {standard input}:133: Error: unknown opcode {standard input}:164: Error: unknown opcode make[7]: *** [scripts/Makefile.build:281: drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.o] Error 1 drivers/tty/serial/ifx6x60.c:230:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __be32 [usertype] @@ drivers/tty/serial/ifx6x60.c:230:25: sparse: expected unsigned int [usertype] drivers/tty/serial/ifx6x60.c:230:25: sparse: got restricted __be32 [usertype] drivers/tty/serial/ifx6x60.c:204:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] @@ got restricted __be16 [usertype] @@ drivers/tty/serial/ifx6x60.c:204:25: sparse: expected unsigned short [usertype] drivers/tty/serial/ifx6x60.c:204:25: sparse: got restricted __be16 [usertype] drivers/tty/tty_io.c:2189:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user *p @@ drivers/tty/tty_io.c:2189:13: sparse: expected char const *__gu_addr drivers/tty/tty_io.c:2189:13: sparse: got char [noderef] __user *p >> drivers/tty/tty_io.c:2189:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/tty_io.c:2189:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2189:13: sparse: got char const *__gu_addr drivers/tty/tty_io.c:2330:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/tty/tty_io.c:2330:13: sparse: expected int const *__gu_addr drivers/tty/tty_io.c:2330:13: sparse: got int [noderef] __user *p >> drivers/tty/tty_io.c:2330:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/tty/tty_io.c:2330:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2330:13: sparse: got int const *__gu_addr drivers/tty/tty_io.c:2448:18: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user *p @@ drivers/tty/tty_io.c:2448:18: sparse: expected unsigned int const *__gu_addr drivers/tty/tty_io.c:2448:18: sparse: got unsigned int [noderef] __user *p >> drivers/tty/tty_io.c:2448:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/tty/tty_io.c:2448:18: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2448:18: sparse: got unsigned int const *__gu_addr drivers/regulator/ad5398.c:48:17: sparse: sparse: cast to restricted __be16 drivers/regulator/ad5398.c:48:17: sparse: sparse: cast to restricted __be16 drivers/regulator/ad5398.c:48:17: sparse: sparse: cast to restricted __be16 drivers/regulator/ad5398.c:48:17: sparse: sparse: cast to restricted __be16 drivers/regulator/ad5398.c:58:13: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short val @@ got restricted __be16 [usertype] @@ drivers/regulator/ad5398.c:58:13: sparse: expected unsigned short val drivers/regulator/ad5398.c:58:13: sparse: got restricted __be16 [usertype] include/linux/spinlock.h:409:9: sparse: sparse: context imbalance in 'linflex_console_write' - unexpected unlock drivers/tty/serial/digicolor-usart.c:412:26: sparse: sparse: context imbalance in 'digicolor_uart_console_write' - different lock contexts for basic block drivers/misc/eeprom/eeprom_93cx6.c:239: warning: Function parameter or member 'byte' not described in 'eeprom_93cx6_readb' drivers/misc/eeprom/eeprom_93cx6.c:239: warning: Excess function parameter 'word' description in 'eeprom_93cx6_readb' drivers/misc/eeprom/eeprom_93cx6.c:280: warning: Function parameter or member 'bytes' not described in 'eeprom_93cx6_multireadb' drivers/misc/eeprom/eeprom_93cx6.c:280: warning: Excess function parameter 'words' description in 'eeprom_93cx6_multireadb' {standard input}:7328: Error: unknown opcode {standard input}:7422: Error: unknown opcode {standard input}:9021: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/lightnvm/core.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/lightnvm] Error 2 drivers/misc/eeprom/at24.c:228:36: warning: 'at24_acpi_ids' defined but not used [-Wunused-const-variable=] 228 | static const struct acpi_device_id at24_acpi_ids[] = { | ^~~~~~~~~~~~~ drivers/misc/ti-st/st_core.c:283:41: sparse: sparse: cast to restricted __le16 {standard input}: Assembler messages: {standard input}:4929: Error: unknown opcode {standard input}:5877: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/serial/sc16is7xx.o] Error 1 {standard input}: Assembler messages: {standard input}:255: Error: unknown opcode {standard input}:318: Error: unknown opcode drivers/misc/eeprom/idt_89hpesx.c:597:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] memaddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:597:31: sparse: expected unsigned short [addressable] [assigned] [usertype] memaddr drivers/misc/eeprom/idt_89hpesx.c:597:31: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:669:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] memaddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:669:31: sparse: expected unsigned short [addressable] [assigned] [usertype] memaddr drivers/misc/eeprom/idt_89hpesx.c:669:31: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:767:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] csraddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:767:24: sparse: expected unsigned short [addressable] [assigned] [usertype] csraddr drivers/misc/eeprom/idt_89hpesx.c:767:24: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:768:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [addressable] [assigned] [usertype] data @@ got restricted __le32 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:768:21: sparse: expected unsigned int [addressable] [assigned] [usertype] data drivers/misc/eeprom/idt_89hpesx.c:768:21: sparse: got restricted __le32 [usertype] drivers/misc/eeprom/idt_89hpesx.c:832:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] csraddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:832:24: sparse: expected unsigned short [addressable] [assigned] [usertype] csraddr drivers/misc/eeprom/idt_89hpesx.c:832:24: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:857:17: sparse: sparse: cast to restricted __le32 {standard input}:4985: Error: unknown opcode {standard input}:5016: Error: unknown opcode {standard input}:5690: Error: unknown opcode {standard input}:10136: Error: unknown opcode {standard input}: Assembler messages: {standard input}:113: Error: unknown opcode {standard input}:268: Error: unknown opcode {standard input}:415: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/char/tpm/tpm-dev.o] Error 1 drivers/tty/serial/sifive.c:157: warning: cannot understand function prototype: 'struct sifive_serial_port ' {standard input}:10604: Error: unknown opcode {standard input}:10862: Error: unknown opcode {standard input}:12350: Error: unknown opcode {standard input}:14125: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_io.o] Error 1 make[4]: *** [scripts/Makefile.build:497: drivers/video/fbdev/core] Error 2 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/video/fbdev] Error 2 make[3]: Target '__build' not remade because of errors. make[5]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/video] Error 2 {standard input}: Assembler messages: {standard input}:1604: Error: unknown opcode {standard input}:1635: Error: unknown opcode {standard input}:3057: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/base/firmware_loader/main.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/base/firmware_loader] Error 2 {standard input}:13546: Error: unknown opcode {standard input}:13840: Error: unknown opcode drivers/tty/serial/men_z135_uart.c:182: warning: Function parameter or member 'uart' not described in 'men_z135_handle_modem_status' drivers/tty/serial/men_z135_uart.c:182: warning: Excess function parameter 'port' description in 'men_z135_handle_modem_status' drivers/tty/serial/men_z135_uart.c:244: warning: Function parameter or member 'uart' not described in 'men_z135_handle_rx' drivers/tty/serial/men_z135_uart.c:244: warning: Excess function parameter 'arg' description in 'men_z135_handle_rx' drivers/tty/serial/men_z135_uart.c:294: warning: Function parameter or member 'uart' not described in 'men_z135_handle_tx' drivers/tty/serial/men_z135_uart.c:294: warning: Excess function parameter 'arg' description in 'men_z135_handle_tx' drivers/tty/serial/men_z135_uart.c:604: warning: Function parameter or member 'port' not described in 'men_z135_enable_ms' drivers/gpu/drm/panel/panel-simple.c:42: warning: Cannot understand * @modes: Pointer to array of fixed modes appropriate for this panel. If on line 42 - I thought it was a doc line {standard input}: Assembler messages: {standard input}:68: Error: unknown opcode {standard input}:2359: Error: unknown opcode {standard input}:2442: Error: unknown opcode {standard input}:3396: Error: unknown opcode {standard input}:3565: Error: unknown opcode {standard input}:3706: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/misc/ti-st/st_core.o] Error 1 {standard input}:14520: Error: unknown opcode {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:2753: Error: unknown opcode {standard input}:3244: Error: unknown opcode {standard input}:5104: Error: unknown opcode {standard input}:6454: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/tty/serial/serial_core.o] Error 1 {standard input}: Assembler messages: {standard input}:2813: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/tty/serial] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/tty/serial/ifx6x60.o] Error 1 make[4]: Target '__build' not remade because of errors. {standard input}:4294: Error: unknown opcode {standard input}:4937: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/base/dd.o] Error 1 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c:218:15: sparse: sparse: symbol 'vint_table' was not declared. Should it be static? drivers/misc/lis3lv02d/lis3lv02d.c:182:52: sparse: sparse: cast to restricted __le16 make[4]: *** [scripts/Makefile.build:497: drivers/gpu/drm/arm] Error 2 make[5]: *** [scripts/Makefile.build:497: drivers/gpu/drm/arm/display] Error 2 make[5]: Target '__build' not remade because of errors. make[6]: *** [scripts/Makefile.build:497: drivers/gpu/drm/arm/display/komeda] Error 2 make[6]: Target '__build' not remade because of errors. make[7]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:2656: Error: unknown opcode {standard input}:2711: Error: unknown opcode {standard input}:2905: Error: unknown opcode {standard input}:3299: Error: unknown opcode {standard input}:3433: Error: unknown opcode {standard input}:4219: Error: unknown opcode {standard input}:4538: Error: unknown opcode {standard input}:4943: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/misc/lis3lv02d/lis3lv02d.o] Error 1 drivers/misc/ti-st/st_kim.c:42: warning: Function parameter or member 'id' not described in 'st_get_plat_device' drivers/misc/ti-st/st_kim.c:53: warning: Function parameter or member 'kim_gdata' not described in 'validate_firmware_response' drivers/misc/ti-st/st_kim.c:126: warning: Function parameter or member 'kim_gdata' not described in 'kim_int_recv' drivers/misc/ti-st/st_kim.c:126: warning: Function parameter or member 'data' not described in 'kim_int_recv' drivers/misc/ti-st/st_kim.c:126: warning: Function parameter or member 'count' not described in 'kim_int_recv' drivers/misc/ti-st/st_kim.c:272: warning: Function parameter or member 'kim_gdata' not described in 'download_firmware' drivers/misc/ti-st/st_kim.c:445: warning: Function parameter or member 'kim_data' not described in 'st_kim_start' drivers/misc/ti-st/st_kim.c:509: warning: Function parameter or member 'kim_data' not described in 'st_kim_stop' drivers/misc/ti-st/st_kim.c:661: warning: Function parameter or member 'core_data' not described in 'st_kim_ref' drivers/misc/ti-st/st_kim.c:661: warning: Function parameter or member 'id' not described in 'st_kim_ref' drivers/base/platform.c:1352:20: warning: no previous prototype for 'early_platform_cleanup' [-Wmissing-prototypes] 1352 | void __weak __init early_platform_cleanup(void) { } | ^~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c: In function 's6e3ha2_set_brightness': drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c:456:17: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 456 | if (brightness < S6E3HA2_MIN_BRIGHTNESS || | ^ drivers/char/tpm/tpm_tis_spi_main.c:278:36: warning: 'acpi_tis_spi_match' defined but not used [-Wunused-const-variable=] 278 | static const struct acpi_device_id acpi_tis_spi_match[] = { | ^~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:1799: Error: unknown opcode >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *ptr @@ got restricted __le64 * @@ >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: expected void const volatile [noderef] __iomem *ptr drivers/misc/mic/vop/vop_main.c:551:51: sparse: got restricted __le64 * drivers/misc/mic/vop/vop_main.c:560:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:560:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:560:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:579:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc drivers/tty/tty_ioctl.c:842:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/tty_ioctl.c:842:21: sparse: expected unsigned int const *__gu_addr drivers/tty/tty_ioctl.c:842:21: sparse: got unsigned int [noderef] __user * >> drivers/tty/tty_ioctl.c:842:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/tty/tty_ioctl.c:842:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_ioctl.c:842:21: sparse: got unsigned int const *__gu_addr include/asm-generic/termios.h:25:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:25:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:25:13: sparse: got unsigned short const [noderef] __user * >> include/asm-generic/termios.h:25:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ >> include/asm-generic/termios.h:25:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:25:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:29:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:29:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:29:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:29:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:29:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:29:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:33:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:33:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:33:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:33:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:33:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:33:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:37:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:37:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:37:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:37:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:37:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:37:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:41:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char const [noderef] __user * @@ include/asm-generic/termios.h:41:13: sparse: expected unsigned char const *__gu_addr include/asm-generic/termios.h:41:13: sparse: got unsigned char const [noderef] __user * >> include/asm-generic/termios.h:41:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ include/asm-generic/termios.h:41:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:41:13: sparse: got unsigned char const *__gu_addr drivers/char/mem.c:163:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *addr @@ got void [noderef] __user *__cl_addr @@ drivers/char/mem.c:163:37: sparse: expected void *addr drivers/char/mem.c:163:37: sparse: got void [noderef] __user *__cl_addr {standard input}:10077: Error: unknown opcode {standard input}:10108: Error: unknown opcode {standard input}:10266: Error: unknown opcode drivers/gpu/drm/panel/panel-tpo-tpg110.c:95: warning: Function parameter or member 'panel_mode' not described in 'tpg110' drivers/gpu/drm/panel/panel-tpo-tpg110.c:376: warning: Function parameter or member 'connector' not described in 'tpg110_get_modes' drivers/misc/mic/vop/vop_main.c: In function '_vop_scan_devices': drivers/misc/mic/vop/vop_main.c:617:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 617 | int ret; | ^~~ make[3]: *** [scripts/Makefile.build:497: drivers/misc/ti-st] Error 2 make[4]: Target '__build' not remade because of errors. drivers/base/devres.c:1114:9: sparse: sparse: cast removes address space '__percpu' of expression {standard input}: Assembler messages: {standard input}:69: Error: unknown opcode {standard input}:142: Error: unknown opcode {standard input}:462: Error: unknown opcode {standard input}:1553: Error: unknown opcode {standard input}:1614: Error: unknown opcode {standard input}:1798: Error: unknown opcode {standard input}:1998: Error: unknown opcode {standard input}:2036: Error: unknown opcode drivers/char/mem.c:98:29: warning: no previous prototype for 'unxlate_dev_mem_ptr' [-Wmissing-prototypes] 98 | #define unxlate_dev_mem_ptr unxlate_dev_mem_ptr | ^~~~~~~~~~~~~~~~~~~ drivers/char/mem.c:99:13: note: in expansion of macro 'unxlate_dev_mem_ptr' 99 | void __weak unxlate_dev_mem_ptr(phys_addr_t phys, void *addr) | ^~~~~~~~~~~~~~~~~~~ drivers/tty/tty_ldisc.c:884:6: warning: no previous prototype for 'tty_sysctl_init' [-Wmissing-prototypes] 884 | void tty_sysctl_init(void) | ^~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:2129: Error: unknown opcode make[5]: *** [scripts/Makefile.build:280: drivers/gpu/drm/panel/panel-sony-acx565akm.o] Error 1 {standard input}: Assembler messages: {standard input}:2927: Error: unknown opcode {standard input}:3313: Error: unknown opcode {standard input}:5003: Error: unknown opcode {standard input}:5186: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_ioctl.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/char/tpm] Error 2 drivers/base/devtmpfs.c:362:36: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected char const [noderef] __user * @@ got char * @@ drivers/base/devtmpfs.c:362:36: sparse: expected char const [noderef] __user * drivers/base/devtmpfs.c:362:36: sparse: got char * drivers/base/devtmpfs.c:388:36: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected char const [noderef] __user * @@ got char * @@ drivers/base/devtmpfs.c:388:36: sparse: expected char const [noderef] __user * drivers/base/devtmpfs.c:388:36: sparse: got char * drivers/base/devtmpfs.c:391:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected char const [noderef] __user *filename @@ got char * @@ drivers/base/devtmpfs.c:391:20: sparse: expected char const [noderef] __user *filename drivers/base/devtmpfs.c:391:20: sparse: got char * drivers/base/devtmpfs.c:392:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected char const [noderef] __user *filename @@ got char * @@ drivers/base/devtmpfs.c:392:21: sparse: expected char const [noderef] __user *filename drivers/base/devtmpfs.c:392:21: sparse: got char * {standard input}: Assembler messages: {standard input}:1471: Error: unknown opcode {standard input}:1599: Error: unknown opcode {standard input}:1849: Error: unknown opcode drivers/misc/enclosure.c:115: warning: Function parameter or member 'name' not described in 'enclosure_register' drivers/misc/enclosure.c:115: warning: Function parameter or member 'cb' not described in 'enclosure_register' drivers/misc/enclosure.c:283: warning: Function parameter or member 'number' not described in 'enclosure_component_alloc' drivers/misc/enclosure.c:283: warning: Excess function parameter 'num' description in 'enclosure_component_alloc' drivers/misc/enclosure.c:363: warning: Function parameter or member 'component' not described in 'enclosure_add_device' drivers/misc/enclosure.c:363: warning: Excess function parameter 'num' description in 'enclosure_add_device' drivers/misc/enclosure.c:398: warning: Function parameter or member 'dev' not described in 'enclosure_remove_device' drivers/misc/enclosure.c:398: warning: Excess function parameter 'num' description in 'enclosure_remove_device' {standard input}:2533: Error: unknown opcode {standard input}:2588: Error: unknown opcode {standard input}:2940: Error: unknown opcode {standard input}:3007: Error: unknown opcode {standard input}:3135: Error: unknown opcode {standard input}:3169: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_ldisc.o] Error 1 {standard input}: Assembler messages: {standard input}:365: Error: unknown opcode {standard input}:750: Error: unknown opcode {standard input}:801: Error: unknown opcode {standard input}:835: Error: unknown opcode {standard input}:1936: Error: unknown opcode {standard input}:2081: Error: unknown opcode {standard input}:2260: Error: unknown opcode {standard input}:2572: Error: unknown opcode {standard input}:2619: Error: unknown opcode {standard input}:2901: Error: unknown opcode {standard input}:3066: Error: unknown opcode {standard input}:3311: Error: unknown opcode {standard input}:3382: Error: unknown opcode {standard input}:3468: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_buffer.o] Error 1 {standard input}:17253: Error: unknown opcode {standard input}:2720: Error: unknown opcode {standard input}:2992: Error: unknown opcode drivers/base/attribute_container.c:304: warning: Function parameter or member 'fn' not described in 'attribute_container_device_trigger_safe' drivers/base/attribute_container.c:304: warning: Function parameter or member 'undo' not described in 'attribute_container_device_trigger_safe' drivers/base/attribute_container.c:357: warning: Function parameter or member 'fn' not described in 'attribute_container_device_trigger' drivers/base/attribute_container.c:471: warning: Function parameter or member 'cont' not described in 'attribute_container_add_class_device_adapter' drivers/base/attribute_container.c:471: warning: Function parameter or member 'dev' not described in 'attribute_container_add_class_device_adapter' drivers/base/attribute_container.c:471: warning: Function parameter or member 'classdev' not described in 'attribute_container_add_class_device_adapter' {standard input}: Assembler messages: {standard input}:77: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/misc/lis3lv02d] Error 2 make[4]: Target '__build' not remade because of errors. drivers/base/devcon.c:12: warning: Function parameter or member 'devcon_lock' not described in 'DEFINE_MUTEX' make[4]: *** [scripts/Makefile.build:281: drivers/base/regmap/regcache-rbtree.o] Error 1 {standard input}:6144: Error: unknown opcode drivers/regulator/max8998.c:418:5: sparse: sparse: symbol 'max8998_get_current_limit' was not declared. Should it be static? drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:527:5: sparse: sparse: symbol 'analogix_dp_start_aux_transaction' was not declared. Should it be static? drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:571:5: sparse: sparse: symbol 'analogix_dp_write_byte_to_dpcd' was not declared. Should it be static? make[3]: *** [scripts/Makefile.build:281: drivers/base/core.o] Error 1 drivers/char/random.c:1943:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/char/random.c:1943:21: sparse: expected int const *__gu_addr drivers/char/random.c:1943:21: sparse: got int [noderef] __user *p >> drivers/char/random.c:1943:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/char/random.c:1943:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1943:21: sparse: got int const *__gu_addr drivers/char/random.c:1949:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/char/random.c:1949:21: sparse: expected int const *__gu_addr drivers/char/random.c:1949:21: sparse: got int [noderef] __user * drivers/char/random.c:1949:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/char/random.c:1949:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1949:21: sparse: got int const *__gu_addr drivers/char/random.c:1953:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/char/random.c:1953:21: sparse: expected int const *__gu_addr drivers/char/random.c:1953:21: sparse: got int [noderef] __user * drivers/char/random.c:1953:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/char/random.c:1953:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1953:21: sparse: got int const *__gu_addr {standard input}:6769: Error: unknown opcode {standard input}:6868: Error: unknown opcode {standard input}:8445: Error: unknown opcode {standard input}: Assembler messages: {standard input}:292: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_mutex.o] Error 1 make[4]: *** [scripts/Makefile.build:497: drivers/gpu/drm/panel] Error 2 make[5]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:456: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/regulator/max77686-regulator.o] Error 1 {standard input}: Assembler messages: {standard input}:427: Error: unknown opcode {standard input}:975: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/char/misc.o] Error 1 {standard input}:11054: Error: unknown opcode {standard input}:11374: Error: unknown opcode {standard input}:11564: Error: unknown opcode {standard input}:12774: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_tty.o] Error 1 {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}:133: Error: unknown opcode {standard input}:1985: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/base/cacheinfo.o] Error 1 drivers/base/module.c: In function 'module_add_driver': drivers/base/module.c:36:6: warning: variable 'no_warn' set but not used [-Wunused-but-set-variable] 36 | int no_warn; | ^~~~~~~ drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:527:5: warning: no previous prototype for 'analogix_dp_start_aux_transaction' [-Wmissing-prototypes] 527 | int analogix_dp_start_aux_transaction(struct analogix_dp_device *dp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:571:5: warning: no previous prototype for 'analogix_dp_write_byte_to_dpcd' [-Wmissing-prototypes] 571 | int analogix_dp_write_byte_to_dpcd(struct analogix_dp_device *dp, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/regulator/max8998.c:418:5: warning: no previous prototype for 'max8998_get_current_limit' [-Wmissing-prototypes] 418 | int max8998_get_current_limit(struct regulator_dev *rdev) | ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/tty/tty_jobctrl.c:77:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:77:9: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:77:9: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:80:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:80:34: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:80:34: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:120:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:120:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:120:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:122:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:122:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:122:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:131:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:131:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:131:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:152:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:152:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:152:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:161:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:161:9: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:161:9: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:163:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:163:40: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:163:40: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:200:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:200:41: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:200:41: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:208:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:208:51: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:208:51: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:219:43: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:219:43: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:219:43: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:281:39: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:281:39: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:281:39: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:284:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:284:41: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:284:41: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:293:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:293:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:293:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:309:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:309:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:309:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:484:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] [usertype] __user *p @@ drivers/tty/tty_jobctrl.c:484:13: sparse: expected int const *__gu_addr drivers/tty/tty_jobctrl.c:484:13: sparse: got int [noderef] [usertype] __user *p >> drivers/tty/tty_jobctrl.c:484:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/tty/tty_jobctrl.c:484:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_jobctrl.c:484:13: sparse: got int const *__gu_addr drivers/tty/tty_jobctrl.c:18:41: sparse: sparse: dereference of noderef expression {standard input}: Assembler messages: {standard input}:2488: Error: unknown opcode {standard input}:2519: Error: unknown opcode {standard input}:2685: Error: unknown opcode {standard input}:3321: Error: unknown opcode {standard input}:3363: Error: unknown opcode {standard input}:3664: Error: unknown opcode {standard input}:3706: Error: unknown opcode {standard input}:3998: Error: unknown opcode {standard input}:4856: Error: unknown opcode {standard input}:5065: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_port.o] Error 1 drivers/tty/pty.c:163:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/tty/pty.c:163:13: sparse: expected int const *__gu_addr drivers/tty/pty.c:163:13: sparse: got int [noderef] __user *arg >> drivers/tty/pty.c:163:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/tty/pty.c:163:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/pty.c:163:13: sparse: got int const *__gu_addr drivers/tty/pty.c:183:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/tty/pty.c:183:13: sparse: expected int const *__gu_addr drivers/tty/pty.c:183:13: sparse: got int [noderef] __user *arg drivers/tty/pty.c:183:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/tty/pty.c:183:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/pty.c:183:13: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:1081: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/base/devtmpfs.o] Error 1 {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}: Assembler messages: {standard input}:45: Error: unknown opcode {standard input}:401: Error: unknown opcode {standard input}:432: Error: unknown opcode {standard input}:661: Error: unknown opcode {standard input}:828: Error: unknown opcode {standard input}:1271: Error: unknown opcode {standard input}:1426: Error: unknown opcode {standard input}:1599: Error: unknown opcode {standard input}:1658: Error: unknown opcode {standard input}:2032: Error: unknown opcode {standard input}:2233: Error: unknown opcode {standard input}:3142: Error: unknown opcode {standard input}:3367: Error: unknown opcode {standard input}:3419: Error: unknown opcode {standard input}:3809: Error: unknown opcode {standard input}:3958: Error: unknown opcode {standard input}:2345: Error: unknown opcode {standard input}:2455: Error: unknown opcode {standard input}:3112: Error: unknown opcode {standard input}:3490: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/pty.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_ldsem.o] Error 1 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c:253:9: sparse: sparse: cast truncates bits from constant value (ffffff7f becomes 7f) drivers/gpu/drm/bridge/synopsys/dw-hdmi.c:3210:30: sparse: sparse: cast truncates bits from constant value (ffffff0d becomes d) drivers/tty/tty_baudrate.c:143: warning: Function parameter or member 'ibaud' not described in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:143: warning: Function parameter or member 'obaud' not described in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:143: warning: Excess function parameter 'ispeed' description in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:143: warning: Excess function parameter 'ospeed' description in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:234: warning: Function parameter or member 'tty' not described in 'tty_encode_baud_rate' drivers/tty/tty_baudrate.c:234: warning: Function parameter or member 'obaud' not described in 'tty_encode_baud_rate' drivers/tty/tty_baudrate.c:234: warning: Excess function parameter 'obad' description in 'tty_encode_baud_rate' {standard input}: Assembler messages: {standard input}:596: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_tracesink.o] Error 1 {standard input}: Assembler messages: {standard input}:145: Error: unknown opcode {standard input}:1445: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_jobctrl.o] Error 1 drivers/tty/sysrq.c:1110:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *buf @@ drivers/tty/sysrq.c:1110:21: sparse: expected char const *__gu_addr drivers/tty/sysrq.c:1110:21: sparse: got char const [noderef] __user *buf >> drivers/tty/sysrq.c:1110:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/sysrq.c:1110:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/sysrq.c:1110:21: sparse: got char const *__gu_addr drivers/tty/sysrq.c:148:13: sparse: sparse: context imbalance in 'sysrq_handle_crash' - unexpected unlock {standard input}: Assembler messages: {standard input}:6221: Error: unknown opcode {standard input}:6680: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/misc] Error 2 make[3]: *** [scripts/Makefile.build:497: drivers/misc/mic] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/misc/mic/vop] Error 2 make[4]: Target '__build' not remade because of errors. make[5]: *** [scripts/Makefile.build:281: drivers/misc/mic/vop/vop_vringh.o] Error 1 make[5]: Target '__build' not remade because of errors. drivers/tty/n_gsm.c:2808:29: sparse: sparse: restricted __be16 degrades to integer drivers/char/random.c:2296:6: warning: no previous prototype for 'add_hwgenerator_randomness' [-Wmissing-prototypes] 2296 | void add_hwgenerator_randomness(const char *buffer, size_t count, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:3059: Error: unknown opcode {standard input}:3460: Error: unknown opcode {standard input}:4170: Error: unknown opcode {standard input}:4708: Error: unknown opcode {standard input}:4790: Error: unknown opcode {standard input}:5416: Error: unknown opcode drivers/regulator/stpmic1_regulator.c:25: warning: cannot understand function prototype: 'struct stpmic1_regulator_cfg ' make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_hdlc.o] Error 1 drivers/regulator/tps65218-regulator.c: In function 'tps65218_pmic_set_suspend_enable': drivers/regulator/tps65218-regulator.c:131:10: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 131 | if (rid < TPS65218_DCDC_1 || rid > TPS65218_LDO_1) | ^ drivers/regulator/tps65218-regulator.c: In function 'tps65218_pmic_set_suspend_disable': drivers/regulator/tps65218-regulator.c:144:10: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 144 | if (rid < TPS65218_DCDC_1 || rid > TPS65218_LDO_1) | ^ drivers/dax/super.c:31:5: sparse: sparse: context imbalance in 'dax_read_lock' - wrong count at exit include/linux/srcu.h:181:9: sparse: sparse: context imbalance in 'dax_read_unlock' - unexpected unlock {standard input}: Assembler messages: {standard input}:11802: Error: unknown opcode {standard input}:12977: Error: unknown opcode {standard input}: Assembler messages: {standard input}:4429: Error: unknown opcode {standard input}:4530: Error: unknown opcode {standard input}:4650: Error: unknown opcode {standard input}:4835: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/sysrq.o] Error 1 make[3]: *** [scripts/Makefile.build:280: drivers/char/random.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/char] Error 2 {standard input}: Assembler messages: {standard input}:2390: Error: unknown opcode {standard input}:2452: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2380: Error: unknown opcode {standard input}:2844: Error: unknown opcode {standard input}:2920: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/dma-buf/heaps/heap-helpers.o] Error 1 make[5]: *** [scripts/Makefile.build:281: drivers/gpu/drm/bridge/ti-sn65dsi86.o] Error 1 drivers/regulator/wm8400-regulator.c:243: warning: Function parameter or member 'dev' not described in 'wm8400_register_regulator' drivers/regulator/wm8400-regulator.c:243: warning: Function parameter or member 'reg' not described in 'wm8400_register_regulator' drivers/regulator/wm8400-regulator.c:243: warning: Function parameter or member 'initdata' not described in 'wm8400_register_regulator' drivers/nvme/host/core.c:1509:23: sparse: sparse: context imbalance in 'nvme_get_ns_from_disk' - wrong count at exit include/linux/srcu.h:181:9: sparse: sparse: context imbalance in 'nvme_put_ns_from_disk' - unexpected unlock drivers/mfd/wm8350-core.c:136: warning: Function parameter or member 'wm8350' not described in 'wm8350_reg_lock' drivers/mfd/wm8350-core.c:165: warning: Function parameter or member 'wm8350' not described in 'wm8350_reg_unlock' {standard input}: Assembler messages: {standard input}:279: Error: unknown opcode {standard input}:352: Error: unknown opcode {standard input}:6515: Error: unknown opcode {standard input}:6546: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2221: Error: unknown opcode {standard input}:2698: Error: unknown opcode {standard input}:4036: Error: unknown opcode {standard input}:4746: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/nvme/host/multipath.o] Error 1 {standard input}:8294: Error: unknown opcode {standard input}:8500: Error: unknown opcode include/linux/lightnvm.h:490:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:483:55: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:482:54: sparse: sparse: invalid access past the end of 'l' (4 8) include/linux/lightnvm.h:481:53: sparse: sparse: invalid access past the end of 'l' (4 8) drivers/dax/bus.c: In function 'do_id_store': drivers/dax/bus.c:93:27: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 93 | /* nothing to remove */; | ^ drivers/dax/bus.c:98:29: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 98 | /* dax_id already added */; | ^ drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35890' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35892' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35893' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35894' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35895' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_TC35896' not described in enum 'tc3589x_version' drivers/mfd/tc3589x.c:32: warning: Enum value 'TC3589X_UNKNOWN' not described in enum 'tc3589x_version' {standard input}: Assembler messages: {standard input}:1484: Error: unknown opcode -- {standard input}: Assembler messages: {standard input}:4257: Error: unknown opcode drivers/mtd/chips/cfi_probe.c:226:27: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:228:28: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:229:27: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:230:28: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:231:36: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:232:38: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_probe.c:240:49: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:329:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:334:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi.o] Error 1 {standard input}: Assembler messages: {standard input}:1496: Error: unknown opcode {standard input}:1527: Error: unknown opcode {standard input}:2992: Error: unknown opcode {standard input}:3198: Error: unknown opcode {standard input}:10885: Error: unknown opcode {standard input}:12291: Error: unknown opcode {standard input}:4561: Error: unknown opcode {standard input}:5094: Error: unknown opcode {standard input}:5238: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1292: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/mtd/chips/cfi_probe.o] Error 1 {standard input}:6799: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_gem.o] Error 1 drivers/scsi/scsi_ioctl.c:48:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/scsi/scsi_ioctl.c:48:21: sparse: expected unsigned int const *__gu_addr drivers/scsi/scsi_ioctl.c:48:21: sparse: got unsigned int [noderef] __user * >> drivers/scsi/scsi_ioctl.c:48:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/scsi/scsi_ioctl.c:48:21: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/scsi_ioctl.c:48:21: sparse: got unsigned int const *__gu_addr drivers/mtd/chips/cfi_util.c:97:26: sparse: sparse: restricted __be16 degrades to integer drivers/mtd/chips/cfi_util.c:97:26: sparse: sparse: restricted __le16 degrades to integer drivers/mtd/chips/cfi_util.c:100:26: sparse: sparse: restricted __be32 degrades to integer drivers/mtd/chips/cfi_util.c:100:26: sparse: sparse: restricted __le32 degrades to integer drivers/mtd/chips/cfi_util.c:185:23: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_util.c:185:23: sparse: sparse: cast to restricted __be16 drivers/mtd/chips/cfi_util.c:185:23: sparse: sparse: cast to restricted __be16 drivers/mtd/chips/cfi_util.c:185:23: sparse: sparse: cast to restricted __be16 drivers/mtd/chips/cfi_util.c:185:23: sparse: sparse: cast to restricted __be16 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __le32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_util.c:188:23: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/drm_memory.c:135:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *handle @@ got void [noderef] __iomem * @@ drivers/gpu/drm/drm_memory.c:135:29: sparse: expected void *handle drivers/gpu/drm/drm_memory.c:135:29: sparse: got void [noderef] __iomem * drivers/gpu/drm/drm_memory.c:144:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *handle @@ got void [noderef] __iomem * @@ drivers/gpu/drm/drm_memory.c:144:29: sparse: expected void *handle drivers/gpu/drm/drm_memory.c:144:29: sparse: got void [noderef] __iomem * drivers/gpu/drm/drm_memory.c:156:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *handle @@ drivers/gpu/drm/drm_memory.c:156:28: sparse: expected void [noderef] __iomem *addr drivers/gpu/drm/drm_memory.c:156:28: sparse: got void *handle {standard input}: Assembler messages: {standard input}:52: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1486: Error: unknown opcode {standard input}:1517: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_self_refresh_helper.o] Error 1 {standard input}: Assembler messages: {standard input}:8803: Error: unknown opcode {standard input}:8837: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_fb_helper.o] Error 1 {standard input}:5287: Error: unknown opcode {standard input}:6945: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/hsi/clients/hsi_char.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/hsi/clients] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}:14437: Error: unknown opcode drivers/gpu/drm/drm_drv.c:434:6: sparse: sparse: context imbalance in 'drm_dev_enter' - different lock contexts for basic block include/linux/srcu.h:181:9: sparse: sparse: context imbalance in 'drm_dev_exit' - unexpected unlock {standard input}: Assembler messages: {standard input}:127: Error: unknown opcode {standard input}:327: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/target/iscsi/iscsi_target_device.o] Error 1 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __le32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:141:40: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __le32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mtd/chips/cfi_cmdset_0020.c:142:42: sparse: sparse: cast to restricted __be32 drivers/mfd/twl4030-irq.c:485:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] word @@ got restricted __le32 [usertype] @@ drivers/mfd/twl4030-irq.c:485:26: sparse: expected unsigned int [usertype] word drivers/mfd/twl4030-irq.c:485:26: sparse: got restricted __le32 [usertype] drivers/mfd/twl4030-irq.c:573:40: sparse: sparse: cast to restricted __le32 make[2]: *** [scripts/Makefile.build:497: drivers/tty] Error 2 make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_gsm.o] Error 1 make[3]: Target '__build' not remade because of errors. drivers/mfd/tps65218.c:58: warning: Function parameter or member 'tps' not described in 'tps65218_reg_write' drivers/mfd/tps65218.c:58: warning: Excess function parameter 'tps65218' description in 'tps65218_reg_write' drivers/mfd/tps65218.c:90: warning: Function parameter or member 'tps' not described in 'tps65218_update_bits' drivers/mfd/tps65218.c:90: warning: Excess function parameter 'tps65218' description in 'tps65218_update_bits' drivers/gpu/drm/drm_crtc.c:707:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_crtc.c:707:29: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_crtc.c:707:29: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/gpu/drm/drm_crtc.c:707:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/gpu/drm/drm_crtc.c:707:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_crtc.c:707:29: sparse: got unsigned int const *__gu_addr drivers/scsi/scsi_error.c:2341:17: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/scsi/scsi_error.c:2341:17: sparse: expected int const *__gu_addr drivers/scsi/scsi_error.c:2341:17: sparse: got int [noderef] __user *arg >> drivers/scsi/scsi_error.c:2341:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/scsi/scsi_error.c:2341:17: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/scsi_error.c:2341:17: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:160: Error: unknown opcode {standard input}:506: Error: unknown opcode {standard input}:2884: Error: unknown opcode {standard input}: Assembler messages: {standard input}:491: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsicam.o] Error 1 {standard input}: Assembler messages: {standard input}:593: Error: unknown opcode {standard input}:624: Error: unknown opcode {standard input}:4556: Error: unknown opcode {standard input}:4587: Error: unknown opcode {standard input}:5597: Error: unknown opcode {standard input}:2720: Error: unknown opcode {standard input}:4309: Error: unknown opcode {standard input}:4568: Error: unknown opcode {standard input}:5064: Error: unknown opcode {standard input}: Assembler messages: {standard input}:4245: Error: unknown opcode {standard input}:4276: Error: unknown opcode {standard input}:4585: Error: unknown opcode {standard input}:4805: Error: unknown opcode {standard input}:5287: Error: unknown opcode {standard input}:5396: Error: unknown opcode {standard input}:8335: Error: unknown opcode {standard input}:8445: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_file.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/dma-buf/dma-buf.o] Error 1 {standard input}:8024: Error: unknown opcode {standard input}:8115: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2514: Error: unknown opcode {standard input}:2545: Error: unknown opcode {standard input}:2898: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/nvme/host/fabrics.o] Error 1 {standard input}: Assembler messages: {standard input}:229: Error: unknown opcode {standard input}:323: Error: unknown opcode {standard input}:10758: Error: unknown opcode {standard input}:10797: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_hashtab.o] Error 1 {standard input}: Assembler messages: {standard input}:11856: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/hsi] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:709: Error: unknown opcode {standard input}:1531: Error: unknown opcode {standard input}:14498: Error: unknown opcode {standard input}:14726: Error: unknown opcode {standard input}:14757: Error: unknown opcode {standard input}:14912: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2252: Error: unknown opcode {standard input}:2503: Error: unknown opcode {standard input}:2534: Error: unknown opcode {standard input}:2933: Error: unknown opcode {standard input}:16015: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1831: Error: unknown opcode {standard input}:1862: Error: unknown opcode {standard input}:4738: Error: unknown opcode {standard input}:4874: Error: unknown opcode {standard input}:7458: Error: unknown opcode {standard input}:7492: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/target/iscsi/iscsi_target_nego.o] Error 1 {standard input}:15553: Error: unknown opcode {standard input}:15618: Error: unknown opcode {standard input}:15746: Error: unknown opcode {standard input}:15842: Error: unknown opcode {standard input}:2115: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_drv.o] Error 1 {standard input}:2296: Error: unknown opcode {standard input}:3076: Error: unknown opcode {standard input}:3916: Error: unknown opcode {standard input}:4112: Error: unknown opcode {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1395: Error: unknown opcode {standard input}:17398: Error: unknown opcode {standard input}:17709: Error: unknown opcode {standard input}:18513: Error: unknown opcode {standard input}: Assembler messages: {standard input}:745: Error: unknown opcode {standard input}:811: Error: unknown opcode {standard input}:5845: Error: unknown opcode {standard input}:6146: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/mfd/twl6030-irq.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/mtd/chips/cfi_cmdset_0020.o] Error 1 {standard input}: Assembler messages: {standard input}:250: Error: unknown opcode {standard input}:309: Error: unknown opcode {standard input}:20344: Error: unknown opcode include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 {standard input}:19577: Error: unknown opcode {standard input}:19671: Error: unknown opcode include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 make[4]: *** [scripts/Makefile.build:280: drivers/nvme/host/fc.o] Error 1 {standard input}: Assembler messages: {standard input}:4765: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/net/phy/mscc/mscc_main.o] Error 1 make[4]: *** [scripts/Makefile.build:280: drivers/target/iscsi/iscsi_target_tpg.o] Error 1 {standard input}: Assembler messages: {standard input}:3819: Error: unknown opcode {standard input}: Assembler messages: {standard input}:759: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/mtd/chips/gen_probe.o] Error 1 drivers/mtd/chips/cfi_cmdset_0001.c:1400:15: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@ drivers/mtd/chips/cfi_cmdset_0001.c:1400:15: sparse: expected void * drivers/mtd/chips/cfi_cmdset_0001.c:1400:15: sparse: got void [noderef] __iomem * drivers/mtd/chips/cfi_cmdset_0001.c:179:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] FeatureSupport @@ got restricted __le32 [usertype] @@ drivers/mtd/chips/cfi_cmdset_0001.c:179:30: sparse: expected unsigned int [usertype] FeatureSupport drivers/mtd/chips/cfi_cmdset_0001.c:179:30: sparse: got restricted __le32 [usertype] drivers/mtd/chips/cfi_cmdset_0001.c:180:32: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] BlkStatusRegMask @@ got restricted __le16 [usertype] @@ drivers/mtd/chips/cfi_cmdset_0001.c:180:32: sparse: expected unsigned short [usertype] BlkStatusRegMask drivers/mtd/chips/cfi_cmdset_0001.c:180:32: sparse: got restricted __le16 [usertype] drivers/mtd/chips/cfi_cmdset_0001.c:181:27: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] ProtRegAddr @@ got restricted __le16 [usertype] @@ drivers/mtd/chips/cfi_cmdset_0001.c:181:27: sparse: expected unsigned short [usertype] ProtRegAddr drivers/mtd/chips/cfi_cmdset_0001.c:181:27: sparse: got restricted __le16 [usertype] drivers/mtd/chips/cfi_cmdset_0001.c:415:32: sparse: sparse: cast to restricted __le32 drivers/mtd/chips/cfi_cmdset_0001.c:416:34: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_cmdset_0001.c:417:29: sparse: sparse: cast to restricted __le16 drivers/mtd/chips/cfi_cmdset_0001.c:455:51: sparse: sparse: cast to restricted __le16 {standard input}:9394: Error: unknown opcode include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __le16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:313:24: sparse: sparse: cast to restricted __be16 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __le32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 include/linux/mtd/cfi.h:318:24: sparse: sparse: cast to restricted __be32 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_mm.o] Error 1 drivers/mtd/chips/map_ram.c:93:15: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@ drivers/mtd/chips/map_ram.c:93:15: sparse: expected void * drivers/mtd/chips/map_ram.c:93:15: sparse: got void [noderef] __iomem * {standard input}:21718: Error: unknown opcode {standard input}:23244: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1696: Error: unknown opcode {standard input}:1727: Error: unknown opcode {standard input}:1961: Error: unknown opcode drivers/auxdisplay/charlcd.c:670:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *tmp @@ drivers/auxdisplay/charlcd.c:670:21: sparse: expected char const *__gu_addr drivers/auxdisplay/charlcd.c:670:21: sparse: got char const [noderef] __user *tmp >> drivers/auxdisplay/charlcd.c:670:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/auxdisplay/charlcd.c:670:21: sparse: expected void const volatile [noderef] __user *ptr drivers/auxdisplay/charlcd.c:670:21: sparse: got char const *__gu_addr {standard input}:4297: Error: unknown opcode {standard input}:2149: Error: unknown opcode {standard input}:6837: Error: unknown opcode {standard input}:7771: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_prime.o] Error 1 make[4]: *** [scripts/Makefile.build:280: drivers/target/iscsi/iscsi_target_login.o] Error 1 {standard input}:12582: Error: unknown opcode drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:396:34: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:396:34: sparse: got unsigned char [noderef] [usertype] __user * >> drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ >> drivers/spi/spidev.c:396:34: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:396:34: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/spi/spidev.c:398:34: sparse: expected unsigned int const *__gu_addr drivers/spi/spidev.c:398:34: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/spi/spidev.c:398:34: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:398:34: sparse: got unsigned int const *__gu_addr drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:422:26: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:422:26: sparse: got unsigned char [noderef] [usertype] __user * drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ drivers/spi/spidev.c:422:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:422:26: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:439:26: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:439:26: sparse: got unsigned char [noderef] [usertype] __user * drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ drivers/spi/spidev.c:439:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:439:26: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/spi/spidev.c:452:26: sparse: expected unsigned int const *__gu_addr drivers/spi/spidev.c:452:26: sparse: got unsigned int [noderef] [usertype] __user * drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/spi/spidev.c:452:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:452:26: sparse: got unsigned int const *__gu_addr {standard input}: Assembler messages: {standard input}:3693: Error: unknown opcode {standard input}:23616: Error: unknown opcode {standard input}:17869: Error: unknown opcode {standard input}:19691: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_lib.o] Error 1 {standard input}:10689: Error: unknown opcode {standard input}: Assembler messages: {standard input}:243: Error: unknown opcode drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'dev' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'id' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'cells' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'n_devs' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'mem_base' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'irq_base' not described in 'devm_mfd_add_devices' drivers/mfd/mfd-core.c:326: warning: Function parameter or member 'domain' not described in 'devm_mfd_add_devices' {standard input}:13255: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_error.o] Error 1 drivers/scsi/constants.c:318:9: sparse: sparse: trying to concatenate 24850-character string (8191 bytes max) {standard input}: Assembler messages: {standard input}:2454: Error: unknown opcode {standard input}:2549: Error: unknown opcode {standard input}:4139: Error: unknown opcode drivers/mfd/axp20x-i2c.c:82:36: warning: 'axp20x_i2c_acpi_match' defined but not used [-Wunused-const-variable=] 82 | static const struct acpi_device_id axp20x_i2c_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:4169: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/pcmcia/cs.o] Error 1 {standard input}:4343: Error: unknown opcode {standard input}:5768: Error: unknown opcode {standard input}:5888: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/dma-buf/dma-fence.o] Error 1 {standard input}: Assembler messages: {standard input}:19049: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2228: Error: unknown opcode {standard input}:2367: Error: unknown opcode {standard input}:2474: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/auxdisplay] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/auxdisplay/charlcd.o] Error 1 make[3]: Target '__build' not remade because of errors. drivers/mtd/chips/map_rom.c:79:15: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@ drivers/mtd/chips/map_rom.c:79:15: sparse: expected void * drivers/mtd/chips/map_rom.c:79:15: sparse: got void [noderef] __iomem * {standard input}:14456: Error: unknown opcode {standard input}:14487: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1527: Error: unknown opcode {standard input}:1559: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_framebuffer.o] Error 1 {standard input}: Assembler messages: {standard input}:659: Error: unknown opcode {standard input}:690: Error: unknown opcode {standard input}:985: Error: unknown opcode {standard input}:1113: Error: unknown opcode {standard input}:1167: Error: unknown opcode {standard input}:1407: Error: unknown opcode {standard input}:1544: Error: unknown opcode {standard input}:1605: Error: unknown opcode {standard input}:1670: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/dma-buf/dma-fence-array.o] Error 1 {standard input}:36324: Error: unknown opcode {standard input}:23806: Error: unknown opcode {standard input}:24657: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1214: Error: unknown opcode {standard input}:1272: Error: unknown opcode {standard input}:1972: Error: unknown opcode {standard input}: Assembler messages: {standard input}:5009: Error: unknown opcode {standard input}:5040: Error: unknown opcode {standard input}:5507: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/nvme/host] Error 2 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/nvme] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/nvme/host/core.o] Error 1 make[4]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:2172: Error: unknown opcode {standard input}:2646: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/spi/spidev.o] Error 1 {standard input}: Assembler messages: {standard input}:1033: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2264: Error: unknown opcode {standard input}:8212: Error: unknown opcode {standard input}:25062: Error: unknown opcode {standard input}:25162: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_modeset_lock.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_connector.o] Error 1 {standard input}:2248: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/pcmcia] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}:5540: Error: unknown opcode make[4]: *** [scripts/Makefile.build:497: drivers/net/phy/mscc] Error 2 make[5]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:6587: Error: unknown opcode {standard input}:6618: Error: unknown opcode {standard input}: Assembler messages: {standard input}:3625: Error: unknown opcode {standard input}: Assembler messages: {standard input}:279: Error: unknown opcode {standard input}:706: Error: unknown opcode {standard input}:737: Error: unknown opcode {standard input}:1041: Error: unknown opcode {standard input}:1594: Error: unknown opcode {standard input}:1952: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/dma-buf/dma-fence-chain.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/input/serio/serio.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic.o] Error 1 {standard input}: Assembler messages: {standard input}:2215: Error: unknown opcode {standard input}:3190: Error: unknown opcode {standard input}:4699: Error: unknown opcode {standard input}:5118: Error: unknown opcode drivers/input/serio/serport.c:213:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] __user * @@ make[3]: *** [scripts/Makefile.build:281: drivers/spi/spi.o] Error 1 drivers/input/serio/serport.c:213:21: sparse: expected unsigned long const *__gu_addr drivers/input/serio/serport.c:213:21: sparse: got unsigned long [noderef] __user * >> drivers/input/serio/serport.c:213:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ >> drivers/input/serio/serport.c:213:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/serio/serport.c:213:21: sparse: got unsigned long const *__gu_addr {standard input}:4437: Error: unknown opcode {standard input}:12277: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/target/iscsi/iscsi_target_util.o] Error 1 {standard input}:24613: Error: unknown opcode {standard input}:8699: Error: unknown opcode {standard input}:27000: Error: unknown opcode {standard input}: Assembler messages: {standard input}:489: Error: unknown opcode {standard input}:520: Error: unknown opcode {standard input}:945: Error: unknown opcode {standard input}:2544: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_mode_object.o] Error 1 drivers/net/phy/mdio-boardinfo.c:27: warning: Function parameter or member 'bus' not described in 'mdiobus_setup_mdiodev_from_board_info' drivers/net/phy/mdio-boardinfo.c:27: warning: Function parameter or member 'cb' not described in 'mdiobus_setup_mdiodev_from_board_info' drivers/net/phy/mdio-boardinfo.c:27: warning: Excess function parameter 'mdiodev' description in 'mdiobus_setup_mdiodev_from_board_info' {standard input}: Assembler messages: {standard input}:2397: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/input/gameport] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/input/gameport/gameport.o] Error 1 make[3]: Target '__build' not remade because of errors. {standard input}:27868: Error: unknown opcode {standard input}:28124: Error: unknown opcode {standard input}:29258: Error: unknown opcode {standard input}:29431: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/mtd/chips/cfi_cmdset_0001.o] Error 1 {standard input}:11093: Error: unknown opcode {standard input}:11414: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/target/iscsi/iscsi_target.o] Error 1 {standard input}: Assembler messages: {standard input}:750: Error: unknown opcode {standard input}:781: Error: unknown opcode {standard input}:960: Error: unknown opcode {standard input}:1188: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/dma-buf/sync_file.o] Error 1 {standard input}:12432: Error: unknown opcode {standard input}:13251: Error: unknown opcode drivers/spi/spi-fsl-spi.c:93:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:93:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:93:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:94:33: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *mode @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:94:33: sparse: expected restricted __be32 [noderef] [usertype] __iomem *mode drivers/spi/spi-fsl-spi.c:94:33: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:294:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:294:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:294:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:299:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:299:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:299:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:303:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:303:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:303:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:317:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:317:18: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:317:18: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:350:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:350:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:350:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:459:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:459:18: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:459:18: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:462:45: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:462:45: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:462:45: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:498:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:498:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:498:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:502:53: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:502:53: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:502:53: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:511:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:511:47: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:511:47: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:516:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:516:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:516:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:522:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:522:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:522:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:533:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:533:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:533:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:536:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:536:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:536:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:553:51: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:553:51: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:553:51: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:560:48: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:560:48: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:560:48: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:562:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:562:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:562:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:571:51: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:571:51: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:571:51: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:575:46: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:575:46: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:575:46: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:585:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:585:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:585:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:652:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:652:18: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:652:18: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:655:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:655:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:655:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:656:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:656:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:656:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:657:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:657:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:657:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:658:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:658:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:658:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:669:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:669:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:669:32: sparse: got restricted __be32 * {standard input}:15094: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/mtd/chips/cfi_cmdset_0002.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/mtd/chips] Error 2 {standard input}: Assembler messages: {standard input}:633: Error: unknown opcode {standard input}:664: Error: unknown opcode {standard input}:1073: Error: unknown opcode {standard input}:1322: Error: unknown opcode {standard input}:1604: Error: unknown opcode {standard input}:1953: Error: unknown opcode {standard input}:2122: Error: unknown opcode {standard input}:2303: Error: unknown opcode {standard input}:2563: Error: unknown opcode {standard input}:2748: Error: unknown opcode {standard input}:3150: Error: unknown opcode {standard input}:3382: Error: unknown opcode {standard input}:3998: Error: unknown opcode {standard input}:4049: Error: unknown opcode {standard input}:4457: Error: unknown opcode {standard input}:4618: Error: unknown opcode {standard input}:4651: Error: unknown opcode {standard input}:5378: Error: unknown opcode {standard input}:5495: Error: unknown opcode {standard input}:5552: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/dma-buf/dma-resv.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/input/serio/serport.o] Error 1 {standard input}: Assembler messages: {standard input}:903: Error: unknown opcode {standard input}:1142: Error: unknown opcode {standard input}:1290: Error: unknown opcode {standard input}:1441: Error: unknown opcode {standard input}:1610: Error: unknown opcode {standard input}:1884: Error: unknown opcode {standard input}:1919: Error: unknown opcode drivers/spi/spi-bitbang.c:181: warning: Function parameter or member 'spi' not described in 'spi_bitbang_setup' drivers/spi/spi-bitbang.c:215: warning: Function parameter or member 'spi' not described in 'spi_bitbang_cleanup' drivers/spi/spi-bitbang.c:434: warning: Function parameter or member 'bitbang' not described in 'spi_bitbang_stop' drivers/spi/spi-nxp-fspi.c:472:25: sparse: sparse: cast from restricted __be32 drivers/input/serio/serio_raw.c:219:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/input/serio/serio_raw.c:219:21: sparse: expected char const *__gu_addr drivers/input/serio/serio_raw.c:219:21: sparse: got char const [noderef] __user * >> drivers/input/serio/serio_raw.c:219:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/input/serio/serio_raw.c:219:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/serio/serio_raw.c:219:21: sparse: got char const *__gu_addr drivers/dma-buf/dma-heap.c:43: warning: Function parameter or member 'priv' not described in 'dma_heap' drivers/dma-buf/dma-heap.c:43: warning: Function parameter or member 'heap_devt' not described in 'dma_heap' drivers/dma-buf/dma-heap.c:43: warning: Function parameter or member 'list' not described in 'dma_heap' drivers/dma-buf/dma-heap.c:43: warning: Function parameter or member 'heap_cdev' not described in 'dma_heap' {standard input}: Assembler messages: {standard input}:2232: Error: unknown opcode {standard input}: Assembler messages: {standard input}:26183: Error: unknown opcode {standard input}:26467: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/spi/spi-dw-core.o] Error 1 {standard input}: Assembler messages: {standard input}:1176: Error: unknown opcode {standard input}:1207: Error: unknown opcode {standard input}:3244: Error: unknown opcode {standard input}:4093: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/dma-buf/sw_sync.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_configfs.o] Error 1 {standard input}: Assembler messages: {standard input}:3961: Error: unknown opcode {standard input}: Assembler messages: {standard input}:940: Error: unknown opcode {standard input}:1506: Error: unknown opcode {standard input}:1737: Error: unknown opcode {standard input}:2647: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_tmr.o] Error 1 {standard input}: Assembler messages: {standard input}:1336: Error: unknown opcode {standard input}:1844: Error: unknown opcode {standard input}:7182: Error: unknown opcode {standard input}:7213: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_scan.o] Error 1 {standard input}:1911: Error: unknown opcode {standard input}:2955: Error: unknown opcode {standard input}:3005: Error: unknown opcode {standard input}: Assembler messages: {standard input}:947: Error: unknown opcode {standard input}:2699: Error: unknown opcode {standard input}:3747: Error: unknown opcode {standard input}:3869: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/spi/spi-rockchip.o] Error 1 {standard input}: Assembler messages: {standard input}:1293: Error: unknown opcode {standard input}:1324: Error: unknown opcode {standard input}:2714: Error: unknown opcode {standard input}:3449: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/serio/serio_raw.o] Error 1 {standard input}: Assembler messages: {standard input}:96: Error: unknown opcode {standard input}:950: Error: unknown opcode {standard input}: Assembler messages: {standard input}:955: Error: unknown opcode {standard input}:986: Error: unknown opcode {standard input}:2684: Error: unknown opcode {standard input}:2715: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_client.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/target/iscsi] Error 2 {standard input}:4260: Error: unknown opcode {standard input}:5105: Error: unknown opcode {standard input}:5144: Error: unknown opcode {standard input}:5312: Error: unknown opcode {standard input}:5553: Error: unknown opcode {standard input}:5593: Error: unknown opcode {standard input}:5683: Error: unknown opcode {standard input}:6086: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1303: Error: unknown opcode {standard input}:1334: Error: unknown opcode {standard input}:1561: Error: unknown opcode {standard input}:2084: Error: unknown opcode {standard input}:4488: Error: unknown opcode {standard input}:9089: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_device.o] Error 1 drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: got unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: got unsigned int [noderef] [usertype] __user * drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: got unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: got unsigned int [noderef] [usertype] __user * drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: got unsigned int const *__gu_addr make[2]: *** [scripts/Makefile.build:497: drivers/dma-buf] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}:3236: Error: unknown opcode {standard input}: Assembler messages: {standard input}:9550: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/mtd/devices/docg3.o] Error 1 drivers/input/serio/apbps2.c: In function 'apbps2_open': drivers/input/serio/apbps2.c:106:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 106 | unsigned long tmp; | ^~~ {standard input}: Assembler messages: {standard input}:1690: Error: unknown opcode {standard input}:6751: Error: unknown opcode {standard input}:7204: Error: unknown opcode {standard input}:7321: Error: unknown opcode {standard input}:7935: Error: unknown opcode drivers/mtd/devices/phram.c:85:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *priv @@ drivers/mtd/devices/phram.c:85:34: sparse: expected void [noderef] __iomem *addr drivers/mtd/devices/phram.c:85:34: sparse: got void *priv drivers/mtd/devices/phram.c:101:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *priv @@ got void [noderef] __iomem * @@ drivers/mtd/devices/phram.c:101:23: sparse: expected void *priv drivers/mtd/devices/phram.c:101:23: sparse: got void [noderef] __iomem * drivers/mtd/devices/phram.c:131:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *priv @@ drivers/mtd/devices/phram.c:131:25: sparse: expected void [noderef] __iomem *addr drivers/mtd/devices/phram.c:131:25: sparse: got void *priv {standard input}:4802: Error: unknown opcode {standard input}:5250: Error: unknown opcode {standard input}:6411: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/spi/spi-rspi.o] Error 1 {standard input}: Assembler messages: {standard input}:1130: Error: unknown opcode {standard input}:1161: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_writeback.o] Error 1 {standard input}: Assembler messages: {standard input}:2064: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_syncobj.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/input/serio] Error 2 {standard input}:2128: Error: unknown opcode {standard input}:2155: Error: unknown opcode {standard input}:2203: Error: unknown opcode {standard input}:2263: Error: unknown opcode {standard input}:2290: Error: unknown opcode {standard input}:4073: Error: unknown opcode {standard input}:4354: Error: unknown opcode {standard input}: Assembler messages: {standard input}:69: Error: unknown opcode {standard input}:2330: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/input/joystick/iforce/iforce-main.o] Error 1 {standard input}: Assembler messages: {standard input}:2249: Error: unknown opcode {standard input}:2280: Error: unknown opcode {standard input}:2554: Error: unknown opcode {standard input}:2686: Error: unknown opcode {standard input}:2747: Error: unknown opcode {standard input}:2774: Error: unknown opcode {standard input}:3263: Error: unknown opcode {standard input}:3323: Error: unknown opcode {standard input}:3350: Error: unknown opcode {standard input}:3916: Error: unknown opcode {standard input}:11327: Error: unknown opcode drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/net/hamradio/6pack.c:710:21: sparse: expected int const *__gu_addr drivers/net/hamradio/6pack.c:710:21: sparse: got int [noderef] __user * >> drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/hamradio/6pack.c:710:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/hamradio/6pack.c:710:21: sparse: got int const *__gu_addr {standard input}:14940: Error: unknown opcode {standard input}:5452: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_vblank.o] Error 1 {standard input}:6890: Error: unknown opcode {standard input}:6885: Error: unknown opcode {standard input}:6962: Error: unknown opcode {standard input}:7318: Error: unknown opcode {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}: Assembler messages: {standard input}:4209: Error: unknown opcode {standard input}:4298: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/input/joystick/iforce/iforce-ff.o] Error 1 {standard input}:10137: Error: unknown opcode {standard input}:10322: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/phy.o] Error 1 drivers/mtd/devices/phram.c:19: warning: Function parameter or member 'fmt' not described in 'pr_fmt' {standard input}: Assembler messages: {standard input}:1352: Error: unknown opcode {standard input}:1891: Error: unknown opcode {standard input}:2120: Error: unknown opcode {standard input}:2379: Error: unknown opcode {standard input}:2518: Error: unknown opcode {standard input}:2654: Error: unknown opcode {standard input}:2847: Error: unknown opcode {standard input}:2883: Error: unknown opcode {standard input}:3309: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/caif/caif_serial.o] Error 1 {standard input}:12950: Error: unknown opcode {standard input}:13352: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_alua.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_pr.o] Error 1 drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:925:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:925:21: sparse: got int [noderef] __user *p >> drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/ppp/ppp_generic.c:925:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:925:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:939:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:939:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:939:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:939:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:954:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:954:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:954:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:954:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:651:29: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:651:29: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:651:29: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:651:29: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:681:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:681:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:681:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:681:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:688:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:688:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:688:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:688:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:726:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:726:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:726:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:726:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:755:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:755:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:755:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:755:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:823:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:823:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:823:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:823:21: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:807: Error: unknown opcode {standard input}:988: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/mtd/devices/block2mtd.o] Error 1 {standard input}: Assembler messages: {standard input}:1074: Error: unknown opcode {standard input}:1213: Error: unknown opcode {standard input}:1293: Error: unknown opcode {standard input}: Assembler messages: {standard input}:5244: Error: unknown opcode {standard input}:5575: Error: unknown opcode {standard input}:5630: Error: unknown opcode make[4]: *** [scripts/Makefile.build:497: drivers/input/joystick/iforce] Error 2 make[5]: *** [scripts/Makefile.build:281: drivers/input/joystick/iforce/iforce-packets.o] Error 1 make[5]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:281: drivers/input/keyboard/atkbd.o] Error 1 {standard input}: Assembler messages: {standard input}:1841: Error: unknown opcode {standard input}:1872: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic_uapi.o] Error 1 {standard input}: Assembler messages: {standard input}:705: Error: unknown opcode drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_async.c:420:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_async.c:420:21: sparse: got int [noderef] __user *p >> drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/ppp/ppp_async.c:420:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:420:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/net/ppp/ppp_async.c:435:21: sparse: expected unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:435:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/net/ppp/ppp_async.c:446:21: sparse: expected unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int [noderef] [usertype] __user * drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:446:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_async.c:471:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_async.c:471:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:471:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:471:21: sparse: got int const *__gu_addr {standard input}:2503: Error: unknown opcode {standard input}:2548: Error: unknown opcode {standard input}:2582: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/caif/caif_virtio.o] Error 1 {standard input}: Assembler messages: {standard input}:3541: Error: unknown opcode {standard input}:3573: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_client_modeset.o] Error 1 {standard input}: Assembler messages: {standard input}:1005: Error: unknown opcode {standard input}:1036: Error: unknown opcode {standard input}:2516: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_gem_cma_helper.o] Error 1 {standard input}: Assembler messages: {standard input}:2519: Error: unknown opcode {standard input}:3287: Error: unknown opcode {standard input}:4649: Error: unknown opcode {standard input}:4810: Error: unknown opcode drivers/spi/spi-zynqmp-gqspi.c:205: warning: Function parameter or member 'slavecs' not described in 'zynqmp_gqspi_selectslave' drivers/spi/spi-zynqmp-gqspi.c:205: warning: Function parameter or member 'slavebus' not described in 'zynqmp_gqspi_selectslave' drivers/spi/spi-zynqmp-gqspi.c:205: warning: Excess function parameter 'flashcs' description in 'zynqmp_gqspi_selectslave' drivers/spi/spi-zynqmp-gqspi.c:205: warning: Excess function parameter 'flashbus' description in 'zynqmp_gqspi_selectslave' drivers/spi/spi-zynqmp-gqspi.c:902: warning: Function parameter or member 'dev' not described in 'zynqmp_qspi_suspend' drivers/spi/spi-zynqmp-gqspi.c:902: warning: Excess function parameter '_dev' description in 'zynqmp_qspi_suspend' make[3]: *** [scripts/Makefile.build:281: drivers/target/target_core_tpg.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/spi] Error 2 drivers/input/joystick/analog.c:169:17: sparse: sparse: undefined identifier 'boot_cpu_has' drivers/input/joystick/analog.c:169:17: sparse: sparse: undefined identifier 'rdtsc' drivers/input/joystick/analog.c:169:17: sparse: sparse: cast from unknown type drivers/input/joystick/analog.c:179:24: sparse: sparse: undefined identifier 'boot_cpu_has' drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: undefined identifier 'X86_FEATURE_TSC' drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: undefined identifier 'X86_FEATURE_TSC' drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:169:17: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/input/joystick/analog.c:179:24: sparse: sparse: not a function <noident> drivers/net/slip/slip.c:458:14: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/net/slip/slip.c:458:14: sparse: void [noderef] __rcu * drivers/net/slip/slip.c:458:14: sparse: void * drivers/net/slip/slip.c:892:9: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/net/slip/slip.c:892:9: sparse: void [noderef] __rcu * drivers/net/slip/slip.c:892:9: sparse: void * drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ >> drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum {standard input}: Assembler messages: {standard input}:1340: Error: unknown opcode {standard input}:1371: Error: unknown opcode {standard input}:1576: Error: unknown opcode {standard input}:1853: Error: unknown opcode {standard input}:2081: Error: unknown opcode {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:176: Error: unknown opcode drivers/input/joystick/analog.c:160:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] 160 | #warning Precise timer not defined for this architecture. | ^~~~~~~ {standard input}:2320: Error: unknown opcode {standard input}:2893: Error: unknown opcode {standard input}:3462: Error: unknown opcode {standard input}:3750: Error: unknown opcode {standard input}:4086: Error: unknown opcode {standard input}:4363: Error: unknown opcode {standard input}:6410: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/hamradio/6pack.o] Error 1 drivers/net/hamradio/baycom_ser_fdx.c:290:43: sparse: sparse: dubious: x | !y {standard input}: Assembler messages: {standard input}:656: Error: unknown opcode {standard input}:701: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/keyboard/newtonkbd.o] Error 1 {standard input}:6282: Error: unknown opcode {standard input}:8161: Error: unknown opcode {standard input}:10803: Error: unknown opcode {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/net/caif] Error 2 make[4]: *** [scripts/Makefile.build:281: drivers/net/caif/caif_hsi.o] Error 1 make[4]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:280: drivers/input/joystick/analog.o] Error 1 {standard input}: Assembler messages: {standard input}:6459: Error: unknown opcode {standard input}:6490: Error: unknown opcode {standard input}:6633: Error: unknown opcode {standard input}:6837: Error: unknown opcode {standard input}:7814: Error: unknown opcode {standard input}:8237: Error: unknown opcode {standard input}:8407: Error: unknown opcode {standard input}:8991: Error: unknown opcode include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (400 becomes 0) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (1000 becomes 0) include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (10000000 becomes 0) {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:878: Error: unknown opcode {standard input}:931: Error: unknown opcode {standard input}: Assembler messages: {standard input}:52: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:2195: Error: unknown opcode {standard input}:2226: Error: unknown opcode {standard input}:2653: Error: unknown opcode {standard input}:3418: Error: unknown opcode {standard input}:3983: Error: unknown opcode {standard input}:4049: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/net/ppp/ppp_async.o] Error 1 {standard input}:4211: Error: unknown opcode {standard input}:4254: Error: unknown opcode drivers/input/keyboard/samsung-keypad.c: In function 'samsung_keypad_irq': drivers/input/keyboard/samsung-keypad.c:149:15: warning: variable 'val' set but not used [-Wunused-but-set-variable] 149 | unsigned int val; | ^~~ {standard input}:4693: Error: unknown opcode {standard input}:4736: Error: unknown opcode {standard input}:6118: Error: unknown opcode {standard input}:6216: Error: unknown opcode {standard input}:6472: Error: unknown opcode {standard input}:6541: Error: unknown opcode {standard input}:6631: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/slip/slip.o] Error 1 {standard input}:17424: Error: unknown opcode drivers/mtd/nand/onenand/onenand_base.c:779:34: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *__from @@ got void [noderef] __iomem * @@ drivers/mtd/nand/onenand/onenand_base.c:779:34: sparse: expected void const *__from drivers/mtd/nand/onenand/onenand_base.c:779:34: sparse: got void [noderef] __iomem * -- make[3]: *** [scripts/Makefile.build:497: drivers/input/keyboard] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}:8751: Error: unknown opcode {standard input}:8811: Error: unknown opcode {standard input}:8838: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/target/target_core_file.o] Error 1 drivers/net/phy/mdio_device.c:188: warning: Function parameter or member 'drv' not described in 'mdio_driver_register' drivers/net/phy/mdio_device.c:188: warning: Excess function parameter 'new_driver' description in 'mdio_driver_register' make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/phy_device.o] Error 1 make[5]: *** [scripts/Makefile.build:280: drivers/mtd/nand/onenand/onenand_base.o] Error 1 make[5]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/mtd/nand/onenand] Error 2 {standard input}: Assembler messages: {standard input}:3784: Error: unknown opcode {standard input}:3818: Error: unknown opcode {standard input}:4649: Error: unknown opcode {standard input}:4680: Error: unknown opcode {standard input}:4869: Error: unknown opcode {standard input}:5089: Error: unknown opcode {standard input}:5116: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/target/target_core_iblock.o] Error 1 {standard input}: Assembler messages: {standard input}:4684: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/media/i2c] Error 2 make[4]: *** [scripts/Makefile.build:281: drivers/media/i2c/ir-kbd-i2c.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/net/slip] Error 2 make[4]: Target '__build' not remade because of errors. drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'input_dev' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'client' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'regmap' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'work' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'regulator' not described in 'drv2665_data' drivers/input/misc/drv260x.c: In function 'drv260x_probe': drivers/input/misc/drv260x.c:478:20: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 478 | if (haptics->mode < DRV260X_LRA_MODE || | ^ drivers/input/misc/drv260x.c:490:23: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 490 | if (haptics->library < DRV260X_LIB_EMPTY || | ^ {standard input}:13511: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1038: Error: unknown opcode {standard input}:1546: Error: unknown opcode {standard input}:1696: Error: unknown opcode {standard input}:1890: Error: unknown opcode {standard input}:2760: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/net/hamradio] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/net/hamradio/hdlcdrv.o] Error 1 make[4]: Target '__build' not remade because of errors. drivers/input/rmi4/rmi_driver.c: In function 'rmi_read_register_desc': drivers/input/rmi4/rmi_driver.c:583:24: warning: comparison is always false due to limited range of data type [-Wtype-limits] 583 | if (size_presence_reg < 0 || size_presence_reg > 35) | ^ drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'input_dev' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'client' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'regmap' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'work' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'enable_gpio' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'regulator' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'magnitude' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'mode' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'library' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'rated_voltage' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'overdrive_voltage' not described in 'drv260x_data' drivers/input/misc/drv260x.c:244: warning: Function parameter or member 'voltage' not described in 'drv260x_calculate_voltage' {standard input}: Assembler messages: {standard input}:633: Error: unknown opcode {standard input}:667: Error: unknown opcode {standard input}: Assembler messages: {standard input}:454: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/joystick/magellan.o] Error 1 {standard input}: Assembler messages: {standard input}:3774: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_transport_srp.o] Error 1 {standard input}:5419: Error: unknown opcode {standard input}:5485: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/mdio_bus.o] Error 1 {standard input}: Assembler messages: {standard input}:1603: Error: unknown opcode {standard input}: Assembler messages: {standard input}:361: Error: unknown opcode {standard input}:1213: Error: unknown opcode {standard input}: Assembler messages: {standard input}:489: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/input/joystick/twidjoy.o] Error 1 make[2]: *** [scripts/Makefile.build:497: drivers/target] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/target/target_core_transport.o] Error 1 make[3]: Target '__build' not remade because of errors. drivers/scsi/virtio_scsi.c:109: warning: Function parameter or member 'vscsi' not described in 'virtscsi_complete_cmd' drivers/scsi/virtio_scsi.c:109: warning: Function parameter or member 'buf' not described in 'virtscsi_complete_cmd' {standard input}:8780: Error: unknown opcode {standard input}:10054: Error: unknown opcode {standard input}:2622: Error: unknown opcode {standard input}: Assembler messages: {standard input}:460: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/joystick/spaceorb.o] Error 1 drivers/scsi/sg.c:415:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:415:21: sparse: expected int const *__gu_addr drivers/scsi/sg.c:415:21: sparse: got int [noderef] __user * >> drivers/scsi/sg.c:415:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/scsi/sg.c:415:21: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:415:21: sparse: got int const *__gu_addr drivers/scsi/sg.c:419:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:419:32: sparse: expected int const *__gu_addr drivers/scsi/sg.c:419:32: sparse: got int [noderef] __user * drivers/scsi/sg.c:419:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:419:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:419:32: sparse: got int const *__gu_addr drivers/scsi/sg.c:425:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] __user * @@ drivers/scsi/sg.c:425:32: sparse: expected signed int const *__gu_addr drivers/scsi/sg.c:425:32: sparse: got signed int [noderef] __user * >> drivers/scsi/sg.c:425:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/scsi/sg.c:425:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:425:32: sparse: got signed int const *__gu_addr drivers/scsi/sg.c:431:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:431:32: sparse: expected int const *__gu_addr drivers/scsi/sg.c:431:32: sparse: got int [noderef] __user * drivers/scsi/sg.c:431:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:431:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:431:32: sparse: got int const *__gu_addr drivers/scsi/sg.c:638:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *[assigned] buf @@ drivers/scsi/sg.c:638:13: sparse: expected char const *__gu_addr drivers/scsi/sg.c:638:13: sparse: got char const [noderef] __user *[assigned] buf >> drivers/scsi/sg.c:638:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/scsi/sg.c:638:13: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:638:13: sparse: got char const *__gu_addr drivers/scsi/sg.c:955:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:955:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:955:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:955:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:955:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:955:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:998:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:998:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:998:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:998:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:998:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:998:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1026:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1026:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1026:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1026:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1026:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1026:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1051:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1051:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1051:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1051:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1051:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1051:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1059:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1059:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1059:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1059:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1059:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1059:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1067:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1067:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1067:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1067:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1067:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1067:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1111:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1111:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1111:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1111:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1111:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1111:26: sparse: got int const *__gu_addr {standard input}:5503: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/rmi4/rmi_driver.o] Error 1 make[3]: *** [scripts/Makefile.build:280: drivers/input/input.o] Error 1 drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'input_dev' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'client' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'regmap' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'work' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'regulator' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'page' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'magnitude' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'frequency' not described in 'drv2667_data' In file included from include/linux/bug.h:5, from include/linux/thread_info.h:12, from include/asm-generic/current.h:5, from ./arch/sh/include/generated/asm/current.h:1, from include/linux/sched.h:12, from include/linux/ratelimit.h:6, from include/linux/dev_printk.h:16, from include/linux/device.h:15, from drivers/mtd/nand/spi/core.c:12: drivers/mtd/nand/spi/core.c: In function 'spinand_get_cfg': drivers/mtd/nand/spi/core.c:55:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 55 | if (WARN_ON(spinand->cur_target < 0 || | ^ arch/sh/include/asm/bug.h:69:25: note: in definition of macro 'WARN_ON' 69 | int __ret_warn_on = !!(x); 2748- | ^ drivers/mtd/nand/spi/core.c: In function 'spinand_set_cfg': drivers/mtd/nand/spi/core.c:68:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 68 | if (WARN_ON(spinand->cur_target < 0 || | ^ arch/sh/include/asm/bug.h:69:25: note: in definition of macro 'WARN_ON' 69 | int __ret_warn_on = !!(x); 2755- | ^ drivers/input/misc/mc13783-pwrbutton.c:32: warning: cannot understand function prototype: 'struct mc13783_pwrb ' make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/input/joystick] Error 2 {standard input}: Assembler messages: {standard input}:7197: Error: unknown opcode {standard input}: Assembler messages: {standard input}:62: Error: unknown opcode {standard input}:1378: Error: unknown opcode {standard input}:1551: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/media/mc/mc-devnode.o] Error 1 drivers/input/rmi4/rmi_f01.c:106: warning: Cannot understand * @ctrl0 - see the bit definitions above. on line 106 - I thought it was a doc line {standard input}:11372: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1617: Error: unknown opcode {standard input}:1648: Error: unknown opcode {standard input}:1839: Error: unknown opcode {standard input}:2239: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/media/v4l2-core/v4l2-device.o] Error 1 {standard input}:14484: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/debug.o] Error 1 drivers/i2c/busses/i2c-rk3x.c:244: warning: Function parameter or member 'i2c' not described in 'rk3x_i2c_start' -- include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (31111110 becomes 1110) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (1110 becomes 10) include/linux/unaligned/be_byteshift.h:38:30: sparse: sparse: cast truncates bits from constant value (3111111000000001 becomes 1) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (3222 becomes 22) include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (32222220 becomes 2220) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (2220 becomes 20) include/linux/unaligned/be_byteshift.h:38:30: sparse: sparse: cast truncates bits from constant value (3222222000000000 becomes 0) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (3111 becomes 11) include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (31111110 becomes 1110) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (1110 becomes 10) include/linux/unaligned/be_byteshift.h:38:30: sparse: sparse: cast truncates bits from constant value (3111111000000001 becomes 1) drivers/net/wireless/ath/ath6kl/wmi.c: In function 'ath6kl_wmi_bitrate_reply_rx': drivers/net/wireless/ath/ath6kl/wmi.c:1204:6: warning: variable 'rate' set but not used [-Wunused-but-set-variable] 1204 | s32 rate; | ^~~~ {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1334: Error: unknown opcode {standard input}:1437: Error: unknown opcode {standard input}:1769: Error: unknown opcode {standard input}:1839: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/i2c/i2c-core-of.o] Error 1 In file included from include/linux/phy.h:14, from drivers/net/phy/at803x.c:10: drivers/net/phy/at803x.c: In function 'at803x_parse_dt': include/linux/bitfield.h:52:28: warning: comparison is always false due to limited range of data type [-Wtype-limits] 52 | BUILD_BUG_ON_MSG((_mask) > (typeof(_reg))~0ull, 2880- | ^ include/linux/compiler.h:319:9: note: in definition of macro '__compiletime_assert' 319 | if (!(condition)) 2883- | ^~~~~~~~~ include/linux/compiler.h:339:2: note: in expansion of macro '_compiletime_assert' 339 | _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/bitfield.h:52:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' 52 | BUILD_BUG_ON_MSG((_mask) > (typeof(_reg))~0ull, 2892- | ^~~~~~~~~~~~~~~~ include/linux/bitfield.h:94:3: note: in expansion of macro '__BF_FIELD_CHECK' 94 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); 2895- | ^~~~~~~~~~~~~~~~ drivers/net/phy/at803x.c:431:24: note: in expansion of macro 'FIELD_PREP' 431 | priv->clk_25m_reg |= FIELD_PREP(mask, sel); | ^~~~~~~~~~ {standard input}:17458: Error: unknown opcode {standard input}: Assembler messages: {standard input}:8653: Error: unknown opcode {standard input}:8872: Error: unknown opcode {standard input}:9073: Error: unknown opcode {standard input}:11038: Error: unknown opcode {standard input}: Assembler messages: {standard input}:116: Error: unknown opcode {standard input}:308: Error: unknown opcode {standard input}:759: Error: unknown opcode {standard input}:1045: Error: unknown opcode {standard input}:1375: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/recovery.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/i2c/i2c-core-base.o] Error 1 {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/main.o] Error 1 {standard input}: Assembler messages: {standard input}:1771: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/at803x.o] Error 1 {standard input}: Assembler messages: {standard input}:832: Error: unknown opcode {standard input}:866: Error: unknown opcode {standard input}:900: Error: unknown opcode {standard input}:1663: Error: unknown opcode {standard input}:1840: Error: unknown opcode {standard input}:1933: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/core.o] Error 1 drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member 'write_cache_variants' not described in 'SPINAND_OP_VARIANTS' drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member '0' not described in 'SPINAND_OP_VARIANTS' {standard input}:13038: Error: unknown opcode {standard input}: Assembler messages: {standard input}:422: Error: unknown opcode {standard input}:453: Error: unknown opcode {standard input}:596: Error: unknown opcode {standard input}:4997: Error: unknown opcode drivers/net/ieee802154/ca8210.c:1840:27: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [addressable] [assigned] [usertype] pan_id @@ got unsigned short [usertype] @@ drivers/net/ieee802154/ca8210.c:1840:27: sparse: expected restricted __le16 [addressable] [assigned] [usertype] pan_id drivers/net/ieee802154/ca8210.c:1840:27: sparse: got unsigned short [usertype] drivers/net/ieee802154/ca8210.c:1845:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [addressable] [assigned] [usertype] pan_id @@ got unsigned short [usertype] @@ drivers/net/ieee802154/ca8210.c:1845:25: sparse: expected restricted __le16 [addressable] [assigned] [usertype] pan_id drivers/net/ieee802154/ca8210.c:1845:25: sparse: got unsigned short [usertype] drivers/net/ieee802154/ca8210.c:1971:28: sparse: sparse: incorrect type in argument 3 (different base types) @@ expected unsigned short [usertype] dst_pan_id @@ got restricted __le16 [addressable] [usertype] pan_id @@ drivers/net/ieee802154/ca8210.c:1971:28: sparse: expected unsigned short [usertype] dst_pan_id drivers/net/ieee802154/ca8210.c:1971:28: sparse: got restricted __le16 [addressable] [usertype] pan_id make[3]: *** [scripts/Makefile.build:497: drivers/media/mc] Error 2 make[4]: *** [scripts/Makefile.build:281: drivers/media/mc/mc-request.o] Error 1 make[4]: Target '__build' not remade because of errors. drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:467:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int [noderef] [usertype] __user * >> drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ >> drivers/mtd/ubi/cdev.c:467:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:512:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:512:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:526:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:526:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:882:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:882:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:969:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:969:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:984:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:984:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:1061:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:1061:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int const *__gu_addr {standard input}:15920: Error: unknown opcode {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}:133: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/cfg80211.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/scsi/st.o] Error 1 {standard input}:18069: Error: unknown opcode drivers/mtd/ubi/build.c:61: warning: Function parameter or member 'ubi_num' not described in 'mtd_dev_param' drivers/ptp/ptp_clockmatrix.c:886: warning: Cannot understand * @brief Maximum absolute value for write phase offset in picoseconds on line 886 - I thought it was a doc line drivers/net/phy/dp83640.c:840:28: sparse: sparse: cast to restricted __be16 drivers/net/phy/dp83640.c:840:28: sparse: sparse: cast to restricted __be16 drivers/net/phy/dp83640.c:840:28: sparse: sparse: cast to restricted __be16 drivers/net/phy/dp83640.c:840:28: sparse: sparse: cast to restricted __be16 {standard input}: Assembler messages: {standard input}:9541: Error: unknown opcode {standard input}:10157: Error: unknown opcode {standard input}:10878: Error: unknown opcode {standard input}:22530: Error: unknown opcode {standard input}: Assembler messages: {standard input}:26163: Error: unknown opcode {standard input}:26696: Error: unknown opcode {standard input}:26766: Error: unknown opcode {standard input}:27013: Error: unknown opcode {standard input}:27083: Error: unknown opcode {standard input}:22467: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/media/v4l2-core/v4l2-ctrls.o] Error 1 {standard input}: Assembler messages: {standard input}:1716: Error: unknown opcode {standard input}:1985: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/media/v4l2-core/v4l2-clk.o] Error 1 drivers/mtd/ubi/kapi.c:464: warning: Function parameter or member 'sgl' not described in 'ubi_leb_read_sg' drivers/mtd/ubi/kapi.c:464: warning: Excess function parameter 'buf' description in 'ubi_leb_read_sg' make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/ath/ath6kl/wmi.o] Error 1 {standard input}: Assembler messages: {standard input}:94: Error: unknown opcode {standard input}:157: Error: unknown opcode drivers/mtd/ubi/wl.c:2054:28: sparse: sparse: context imbalance in 'produce_free_peb' - unexpected unlock {standard input}:28518: Error: unknown opcode drivers/w1/masters/ds2482.c:23: warning: Incorrect use of kernel-doc format: * Allow the active pullup to be disabled, default is enabled. drivers/w1/masters/ds2482.c:32: warning: cannot understand function prototype: 'int ds2482_active_pullup = 1; ' drivers/w1/masters/ds2482.c:82: warning: cannot understand function prototype: 'const u8 ds2482_chan_wr[8] = ' drivers/w1/masters/ds2482.c:132: warning: Function parameter or member 'conf' not described in 'ds2482_calculate_config' drivers/w1/masters/ds2482.c:149: warning: Function parameter or member 'pdev' not described in 'ds2482_select_register' drivers/w1/masters/ds2482.c:149: warning: Function parameter or member 'read_ptr' not described in 'ds2482_select_register' drivers/w1/masters/ds2482.c:170: warning: Function parameter or member 'pdev' not described in 'ds2482_send_cmd' drivers/w1/masters/ds2482.c:170: warning: Function parameter or member 'cmd' not described in 'ds2482_send_cmd' drivers/w1/masters/ds2482.c:190: warning: Function parameter or member 'pdev' not described in 'ds2482_send_cmd_data' drivers/w1/masters/ds2482.c:190: warning: Function parameter or member 'cmd' not described in 'ds2482_send_cmd_data' drivers/w1/masters/ds2482.c:190: warning: Function parameter or member 'byte' not described in 'ds2482_send_cmd_data' drivers/w1/masters/ds2482.c:214: warning: Function parameter or member 'pdev' not described in 'ds2482_wait_1wire_idle' drivers/w1/masters/ds2482.c:241: warning: Function parameter or member 'pdev' not described in 'ds2482_set_channel' drivers/w1/masters/ds2482.c:241: warning: Function parameter or member 'channel' not described in 'ds2482_set_channel' drivers/w1/masters/ds2482.c:264: warning: Function parameter or member 'data' not described in 'ds2482_w1_touch_bit' drivers/w1/masters/ds2482.c:264: warning: Function parameter or member 'bit' not described in 'ds2482_w1_touch_bit' drivers/w1/masters/ds2482.c:296: warning: Function parameter or member 'data' not described in 'ds2482_w1_triplet' drivers/w1/masters/ds2482.c:296: warning: Function parameter or member 'dbit' not described in 'ds2482_w1_triplet' drivers/w1/masters/ds2482.c:326: warning: Function parameter or member 'data' not described in 'ds2482_w1_write_byte' drivers/w1/masters/ds2482.c:326: warning: Function parameter or member 'byte' not described in 'ds2482_w1_write_byte' drivers/w1/masters/ds2482.c:350: warning: Function parameter or member 'data' not described in 'ds2482_w1_read_byte' drivers/w1/masters/ds2482.c:387: warning: Function parameter or member 'data' not described in 'ds2482_w1_reset_bus' drivers/w1/masters/ds2482.c:547: warning: cannot understand function prototype: 'const struct i2c_device_id ds2482_id[] = ' In file included from include/linux/bits.h:23, -- | ^~ make[4]: *** [scripts/Makefile.build:497: drivers/net/wireless/ath] Error 2 make[5]: *** [scripts/Makefile.build:497: drivers/net/wireless/ath/ath6kl] Error 2 make[5]: Target '__build' not remade because of errors. make[6]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:280: drivers/media/dvb-core/dvb_frontend.o] Error 1 drivers/input/rmi4/rmi_f54.c:77: warning: Enum value 'F54_REPORT_NONE' not described in enum 'rmi_f54_report_type' drivers/input/rmi4/rmi_f54.c:77: warning: Enum value 'F54_MAX_REPORT_TYPE' not described in enum 'rmi_f54_report_type' make[7]: *** [scripts/Makefile.build:281: drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.o] Error 1 {standard input}: Assembler messages: {standard input}:69: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/ff-memless.o] Error 1 {standard input}: Assembler messages: {standard input}:150: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2627: Error: unknown opcode {standard input}:2853: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/w1/slaves/w1_therm.o] Error 1 {standard input}: Assembler messages: {standard input}:4053: Error: unknown opcode {standard input}:4416: Error: unknown opcode {standard input}:5294: Error: unknown opcode {standard input}:5775: Error: unknown opcode {standard input}:5806: Error: unknown opcode drivers/w1/w1.c:426:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] rn64_le @@ got restricted __le64 [usertype] @@ drivers/w1/w1.c:426:17: sparse: expected unsigned long long [usertype] rn64_le drivers/w1/w1.c:426:17: sparse: got restricted __le64 [usertype] drivers/w1/w1.c:920:21: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned long long [usertype] rn_le @@ got restricted __le64 [usertype] @@ drivers/w1/w1.c:920:21: sparse: expected unsigned long long [usertype] rn_le drivers/w1/w1.c:920:21: sparse: got restricted __le64 [usertype] drivers/w1/slaves/w1_ds2405.c:30:24: sparse: sparse: cast to restricted __le64 drivers/w1/slaves/w1_ds2405.c:182:32: sparse: sparse: cast to restricted __le64 drivers/net/ieee802154/ca8210.c:326: warning: Function parameter or member 'readq' not described in 'ca8210_test' drivers/net/ieee802154/ca8210.c:375: warning: Function parameter or member 'spi_transfer_complete' not described in 'ca8210_priv' drivers/net/ieee802154/ca8210.c:375: warning: Function parameter or member 'sync_exchange_complete' not described in 'ca8210_priv' drivers/net/ieee802154/ca8210.c:375: warning: Function parameter or member 'promiscuous' not described in 'ca8210_priv' drivers/net/ieee802154/ca8210.c:430: warning: Function parameter or member 'short_address' not described in 'macaddr' drivers/net/ieee802154/ca8210.c:723: warning: Function parameter or member 'cas_ctl' not described in 'ca8210_rx_done' drivers/net/ieee802154/ca8210.c:723: warning: Excess function parameter 'arg' description in 'ca8210_rx_done' drivers/net/ieee802154/ca8210.c:1289: warning: Excess function parameter 'device_ref' description in 'tdme_checkpibattribute' {standard input}:6400: Error: unknown opcode drivers/net/ieee802154/ca8210.c:3053: warning: Function parameter or member 'spi_device' not described in 'ca8210_remove' make[4]: *** [scripts/Makefile.build:280: drivers/media/dvb-core/dvb_ca_en50221.o] Error 1 drivers/net/ieee802154/ca8210.c:3053: warning: Excess function parameter 'priv' description in 'ca8210_remove' drivers/net/ieee802154/ca8210.c:3103: warning: Function parameter or member 'spi_device' not described in 'ca8210_probe' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c: In function 'brcmf_fweh_handle_if_event': drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:131:6: warning: variable 'err' set but not used [-Wunused-but-set-variable] 131 | int err = 0; | ^~~ drivers/net/ieee802154/ca8210.c:3103: warning: Excess function parameter 'priv' description in 'ca8210_probe' drivers/input/rmi4/rmi_i2c.c:39: warning: Function parameter or member 'client' not described in 'rmi_i2c_xport' drivers/input/rmi4/rmi_i2c.c:39: warning: Function parameter or member 'supplies' not described in 'rmi_i2c_xport' drivers/input/rmi4/rmi_i2c.c:39: warning: Function parameter or member 'startup_delay' not described in 'rmi_i2c_xport' drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1741:40: sparse: sparse: incorrect type in initializer (different base types) @@ expected signed int [usertype] requested_dwell @@ got restricted __le32 [usertype] dwell_time @@ drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1741:40: sparse: expected signed int [usertype] requested_dwell drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1741:40: sparse: got restricted __le32 [usertype] dwell_time make[4]: *** [scripts/Makefile.build:281: drivers/media/rc/rc-main.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/input/rmi4] Error 2 make[4]: Target '__build' not remade because of errors. drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:36: warning: Function parameter or member 'datalen' not described in 'brcmf_fweh_queue_item' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:44: warning: Function parameter or member 'code' not described in 'brcmf_fweh_event_name' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:44: warning: Function parameter or member 'name' not described in 'brcmf_fweh_event_name' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:127: warning: Function parameter or member 'emsg' not described in 'brcmf_fweh_handle_if_event' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:127: warning: Function parameter or member 'data' not described in 'brcmf_fweh_handle_if_event' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:127: warning: Excess function parameter 'item' description in 'brcmf_fweh_handle_if_event' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:127: warning: Excess function parameter 'ifpp' description in 'brcmf_fweh_handle_if_event' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c:391: warning: Function parameter or member 'packet_len' not described in 'brcmf_fweh_process_event' drivers/net/wireless/marvell/libertas/cfg.c: In function 'lbs_ret_scan': drivers/net/wireless/marvell/libertas/cfg.c:586:6: warning: variable 'ssid_len' set but not used [-Wunused-but-set-variable] 586 | u8 ssid_len = 0; | ^~~~~~~~ drivers/net/wireless/marvell/libertas/cfg.c:585:13: warning: variable 'ssid' set but not used [-Wunused-but-set-variable] 585 | const u8 *ssid = NULL; | ^~~~ drivers/net/wireless/marvell/libertas/cfg.c:507:6: warning: variable 'tsfsize' set but not used [-Wunused-but-set-variable] 507 | int tsfsize; | ^~~~~~~ drivers/net/wireless/marvell/libertas/cfg.c: In function 'lbs_associate': drivers/net/wireless/marvell/libertas/cfg.c:1075:6: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1075 | u8 *tmp; | ^~~ {standard input}: Assembler messages: {standard input}:4685: Error: unknown opcode {standard input}:5831: Error: unknown opcode {standard input}:6023: Error: unknown opcode {standard input}:7361: Error: unknown opcode {standard input}:8193: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/power/supply/power_supply_core.o] Error 1 {standard input}: Assembler messages: {standard input}:828: Error: unknown opcode {standard input}:924: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/sparse-keymap.o] Error 1 {standard input}: Assembler messages: {standard input}:2338: Error: unknown opcode {standard input}:3447: Error: unknown opcode {standard input}:3506: Error: unknown opcode {standard input}:4106: Error: unknown opcode drivers/input/mousedev.c:683:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/input/mousedev.c:683:21: sparse: expected char const *__gu_addr drivers/input/mousedev.c:683:21: sparse: got char const [noderef] __user * >> drivers/input/mousedev.c:683:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/input/mousedev.c:683:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/mousedev.c:683:21: sparse: got char const *__gu_addr {standard input}: Assembler messages: {standard input}:151: Error: unknown opcode {standard input}:310: Error: unknown opcode {standard input}:388: Error: unknown opcode {standard input}:442: Error: unknown opcode {standard input}:964: Error: unknown opcode {standard input}:1011: Error: unknown opcode {standard input}:1188: Error: unknown opcode {standard input}:1238: Error: unknown opcode {standard input}:1825: Error: unknown opcode {standard input}:2025: Error: unknown opcode {standard input}:2459: Error: unknown opcode {standard input}:2649: Error: unknown opcode {standard input}:2753: Error: unknown opcode {standard input}:2786: Error: unknown opcode drivers/input/joydev.c:528:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/input/joydev.c:528:24: sparse: expected signed int const *__gu_addr drivers/input/joydev.c:528:24: sparse: got signed int [noderef] [usertype] __user * >> drivers/input/joydev.c:528:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ >> drivers/input/joydev.c:528:24: sparse: expected void const volatile [noderef] __user *ptr drivers/input/joydev.c:528:24: sparse: got signed int const *__gu_addr drivers/input/joydev.c:680:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected long const *__gu_addr @@ got long [noderef] __user * @@ drivers/input/joydev.c:680:26: sparse: expected long const *__gu_addr drivers/input/joydev.c:680:26: sparse: got long [noderef] __user * >> drivers/input/joydev.c:680:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got long const *__gu_addr @@ drivers/input/joydev.c:680:26: sparse: expected void const volatile [noderef] __user *ptr drivers/input/joydev.c:680:26: sparse: got long const *__gu_addr {standard input}:5323: Error: unknown opcode {standard input}:5889: Error: unknown opcode {standard input}:7566: Error: unknown opcode {standard input}:7818: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/w1/w1.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/media/dvb-core/dvb_ringbuffer.o] Error 1 drivers/mtd/ubi/gluebi.c:446: warning: Function parameter or member 'ns_ptr' not described in 'gluebi_notify' drivers/mtd/ubi/gluebi.c:446: warning: Excess function parameter 'ptr' description in 'gluebi_notify' drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c: In function 'brcmf_p2p_scan_prep': drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:894:31: warning: parameter 'vif' set but not used [-Wunused-but-set-parameter] 894 | struct brcmf_cfg80211_vif *vif) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c: In function 'brcmf_p2p_tx_action_frame': drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1549:6: warning: variable 'timeout' set but not used [-Wunused-but-set-variable] 1549 | s32 timeout = 0; | ^~~~~~~ {standard input}: Assembler messages: {standard input}:7516: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/marvell/libertas/cfg.o] Error 1 {standard input}: Assembler messages: {standard input}:1141: Error: unknown opcode {standard input}:1276: Error: unknown opcode {standard input}: Assembler messages: {standard input}:731: Error: unknown opcode {standard input}:822: Error: unknown opcode {standard input}:885: Error: unknown opcode {standard input}:912: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/w1/w1_int.o] Error 1 {standard input}: Assembler messages: {standard input}:1378: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/w1/w1_family.o] Error 1 {standard input}:3690: Error: unknown opcode {standard input}:4090: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/media/rc/rc-ir-raw.o] Error 1 {standard input}: Assembler messages: {standard input}:11303: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/mtd/ubi] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/mtd/ubi/wl.o] Error 1 make[4]: Target '__build' not remade because of errors. drivers/w1/w1_io.c:396:26: sparse: sparse: cast to restricted __le64 {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c:69: warning: Function parameter or member 'c' not described in 'is_nvram_char' {standard input}:4163: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/mousedev.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/media/v4l2-core] Error 2 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/media/dvb-core] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}:4801: Error: unknown opcode {standard input}:4842: Error: unknown opcode {standard input}:5588: Error: unknown opcode {standard input}:5636: Error: unknown opcode {standard input}: Assembler messages: {standard input}:6541: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/input] Error 2 make[3]: *** [scripts/Makefile.build:281: drivers/input/joydev.o] Error 1 make[3]: Target '__build' not remade because of errors. make[7]: *** [scripts/Makefile.build:281: drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.o] Error 1 drivers/w1/slaves/w1_ds2433.c:50: warning: Function parameter or member 'off' not described in 'w1_f23_fix_count' drivers/w1/slaves/w1_ds2433.c:50: warning: Function parameter or member 'count' not described in 'w1_f23_fix_count' drivers/w1/slaves/w1_ds2433.c:50: warning: Function parameter or member 'size' not described in 'w1_f23_fix_count' drivers/w1/slaves/w1_ds2433.c:153: warning: Function parameter or member 'sl' not described in 'w1_f23_write' drivers/w1/slaves/w1_ds2433.c:153: warning: Function parameter or member 'addr' not described in 'w1_f23_write' drivers/w1/slaves/w1_ds2433.c:153: warning: Function parameter or member 'len' not described in 'w1_f23_write' drivers/w1/slaves/w1_ds2433.c:153: warning: Function parameter or member 'data' not described in 'w1_f23_write' {standard input}: Assembler messages: {standard input}:1581: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/mfd/rave-sp.o] Error 1 {standard input}: Assembler messages: {standard input}:133: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/marvell/libertas/cmdresp.o] Error 1 {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/w1/slaves/w1_ds250x.o] Error 1 {standard input}: Assembler messages: {standard input}:2294: Error: unknown opcode {standard input}:2782: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/media/cec/core/cec-core.o] Error 1 drivers/net/wireless/marvell/libertas/main.c:42:14: sparse: sparse: symbol 'lbs_disablemesh' was not declared. Should it be static? {standard input}: Assembler messages: {standard input}:1514: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/mtd/mtdsuper.o] Error 1 In file included from drivers/net/wireless/marvell/mwifiex/main.c:23: drivers/net/wireless/marvell/mwifiex/wmm.h:41:17: warning: 'tos_to_tid_inv' defined but not used [-Wunused-const-variable=] 41 | static const u8 tos_to_tid_inv[] = { | ^~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:59, from drivers/net/wireless/marvell/mwifiex/main.c:22: drivers/net/wireless/marvell/mwifiex/sdio.h:705:41: warning: 'mwifiex_sdio_sd8801' defined but not used [-Wunused-const-variable=] 705 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8801 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:689:41: warning: 'mwifiex_sdio_sd8987' defined but not used [-Wunused-const-variable=] 689 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8987 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:674:41: warning: 'mwifiex_sdio_sd8887' defined but not used [-Wunused-const-variable=] 674 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8887 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:658:41: warning: 'mwifiex_sdio_sd8997' defined but not used [-Wunused-const-variable=] 658 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8997 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:642:41: warning: 'mwifiex_sdio_sd8977' defined but not used [-Wunused-const-variable=] 642 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8977 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:627:41: warning: 'mwifiex_sdio_sd8897' defined but not used [-Wunused-const-variable=] 627 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:612:41: warning: 'mwifiex_sdio_sd8797' defined but not used [-Wunused-const-variable=] 612 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:597:41: warning: 'mwifiex_sdio_sd8787' defined but not used [-Wunused-const-variable=] 597 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:582:41: warning: 'mwifiex_sdio_sd8786' defined but not used [-Wunused-const-variable=] 582 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = { | ^~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:57, from drivers/net/wireless/marvell/mwifiex/main.c:22: drivers/net/wireless/marvell/mwifiex/pcie.h:310:41: warning: 'mwifiex_pcie8997' defined but not used [-Wunused-const-variable=] 310 | static const struct mwifiex_pcie_device mwifiex_pcie8997 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:300:41: warning: 'mwifiex_pcie8897' defined but not used [-Wunused-const-variable=] 300 | static const struct mwifiex_pcie_device mwifiex_pcie8897 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:292:41: warning: 'mwifiex_pcie8766' defined but not used [-Wunused-const-variable=] 292 | static const struct mwifiex_pcie_device mwifiex_pcie8766 = { | ^~~~~~~~~~~~~~~~ drivers/power/supply/cpcap-battery.c:292: warning: Function parameter or member 'ccd' not described in 'cpcap_battery_read_accumulated' drivers/power/supply/cpcap-battery.c:292: warning: Excess function parameter 'regs' description in 'cpcap_battery_read_accumulated' drivers/mtd/mtdcore.c:1612: warning: Function parameter or member 'section' not described in 'mtd_ooblayout_find_eccregion' drivers/mtd/mtdcore.c:1612: warning: Excess function parameter 'sectionp' description in 'mtd_ooblayout_find_eccregion' {standard input}: Assembler messages: {standard input}:3167: Error: unknown opcode drivers/mtd/mtdchar.c:658:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/mtd/mtdchar.c:658:21: sparse: expected unsigned int const *__gu_addr drivers/mtd/mtdchar.c:658:21: sparse: got unsigned int [noderef] __user * >> drivers/mtd/mtdchar.c:658:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/mtd/mtdchar.c:658:21: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/mtdchar.c:658:21: sparse: got unsigned int const *__gu_addr {standard input}: Assembler messages: {standard input}:131: Error: unknown opcode drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:94: warning: Function parameter or member 'reg50' not described in 'brcmf_btcoex_info' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:94: warning: Function parameter or member 'saved_regs_part2' not described in 'brcmf_btcoex_info' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:233: warning: Function parameter or member 'btci' not described in 'btcmf_btcoex_save_part1' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:253: warning: Function parameter or member 'btci' not described in 'brcmf_btcoex_restore_part1' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:273: warning: Function parameter or member 't' not described in 'brcmf_btcoex_timerfunc' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:453: warning: Function parameter or member 'vif' not described in 'brcmf_btcoex_set_mode' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:453: warning: Function parameter or member 'duration' not described in 'brcmf_btcoex_set_mode' drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c:453: warning: Excess function parameter 'cfg' description in 'brcmf_btcoex_set_mode' {standard input}:3491: Error: unknown opcode {standard input}:3687: Error: unknown opcode {standard input}:5280: Error: unknown opcode {standard input}:5721: Error: unknown opcode {standard input}:5827: Error: unknown opcode {standard input}:5924: Error: unknown opcode make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/net/phy] Error 2 {standard input}: Assembler messages: {standard input}:669: Error: unknown opcode drivers/mtd/mtdpart.c:300: warning: Function parameter or member 'mtd' not described in '__mtd_del_partition' drivers/mtd/mtdpart.c:300: warning: Excess function parameter 'priv' description in '__mtd_del_partition' make[2]: *** [scripts/Makefile.build:497: drivers/w1] Error 2 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/w1/slaves] Error 2 make[3]: Target '__build' not remade because of errors. make[7]: *** [scripts/Makefile.build:281: drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.o] Error 1 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:496:18: warning: 'brcmf_fws_prio2fifo' defined but not used [-Wunused-const-variable=] 496 | static const int brcmf_fws_prio2fifo[] = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/libertas/main.c: In function 'lbs_start_card': drivers/net/wireless/marvell/libertas/main.c:1068:23: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 1068 | lbs_start_mesh(priv); | ^ {standard input}:8561: Error: unknown opcode {standard input}:8864: Error: unknown opcode {standard input}:8937: Error: unknown opcode {standard input}:9046: Error: unknown opcode make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/marvell/mwifiex/main.o] Error 1 make[6]: *** [scripts/Makefile.build:281: drivers/net/wireless/marvell/libertas/cmd.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/mfd] Error 2 {standard input}: Assembler messages: {standard input}:3727: Error: unknown opcode {standard input}:4767: Error: unknown opcode {standard input}:5048: Error: unknown opcode {standard input}:7306: Error: unknown opcode {standard input}: Assembler messages: {standard input}:7923: Error: unknown opcode make[6]: *** [scripts/Makefile.build:280: drivers/net/wireless/marvell/libertas/main.o] Error 1 {standard input}: Assembler messages: {standard input}:1252: Error: unknown opcode {standard input}:1694: Error: unknown opcode {standard input}:1725: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/mtd/mtd_blkdevs.o] Error 1 drivers/mtd/rfd_ftl.c:100:13: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:110:25: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:295:29: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned short [usertype] magic @@ got restricted __le16 [usertype] @@ drivers/mtd/rfd_ftl.c:295:29: sparse: expected unsigned short [usertype] magic drivers/mtd/rfd_ftl.c:295:29: sparse: got restricted __le16 [usertype] drivers/mtd/rfd_ftl.c:354:29: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:553:19: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned short [usertype] del @@ got restricted __le16 [usertype] @@ drivers/mtd/rfd_ftl.c:553:19: sparse: expected unsigned short [usertype] del drivers/mtd/rfd_ftl.c:553:19: sparse: got restricted __le16 [usertype] drivers/mtd/rfd_ftl.c:592:21: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:647:15: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] entry @@ got restricted __le16 [usertype] @@ drivers/mtd/rfd_ftl.c:647:15: sparse: expected unsigned short [usertype] entry drivers/mtd/rfd_ftl.c:647:15: sparse: got restricted __le16 [usertype] {standard input}: Assembler messages: {standard input}:139: Error: unknown opcode {standard input}: Assembler messages: {standard input}:444: Error: unknown opcode {standard input}:534: Error: unknown opcode make[6]: *** [scripts/Makefile.build:280: drivers/net/wireless/marvell/libertas/tx.o] Error 1 {standard input}:9374: Error: unknown opcode {standard input}:11272: Error: unknown opcode {standard input}: Assembler messages: {standard input}:959: Error: unknown opcode {standard input}:1008: Error: unknown opcode {standard input}:2026: Error: unknown opcode {standard input}:2264: Error: unknown opcode {standard input}:2354: Error: unknown opcode drivers/hwmon/ad7314.c:52:16: sparse: sparse: cast to restricted __be16 drivers/hwmon/ad7314.c:52:16: sparse: sparse: cast to restricted __be16 drivers/hwmon/ad7314.c:52:16: sparse: sparse: cast to restricted __be16 drivers/hwmon/ad7314.c:52:16: sparse: sparse: cast to restricted __be16 make[3]: *** [scripts/Makefile.build:281: drivers/net/loopback.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/media/rc] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}:8015: Error: unknown opcode {standard input}:13989: Error: unknown opcode {standard input}:8810: Error: unknown opcode drivers/net/wireless/marvell/libertas/firmware.c:134: warning: Function parameter or member 'device' not described in 'lbs_get_firmware_async' drivers/net/wireless/marvell/libertas/firmware.c:134: warning: Excess function parameter 'dev' description in 'lbs_get_firmware_async' make[3]: *** [scripts/Makefile.build:281: drivers/thermal/thermal_core.o] Error 1 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:383: warning: Function parameter or member 'name' not described in 'brcmf_fws_mac_descriptor' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:383: warning: Function parameter or member 'requested_packet' not described in 'brcmf_fws_mac_descriptor' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:383: warning: Function parameter or member 'suppr_transit_count' not described in 'brcmf_fws_mac_descriptor' drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:383: warning: Function parameter or member 'send_tim_signal' not described in 'brcmf_fws_mac_descriptor' -- | ^~~~~~~~~~~~~~~~ drivers/leds/led-class.c:516: warning: Function parameter or member 'dev' not described in 'devm_led_classdev_unregister' drivers/leds/led-class.c:516: warning: Excess function parameter 'parent' description in 'devm_led_classdev_unregister' In file included from drivers/net/wireless/marvell/mwifiex/main.h:59, from drivers/net/wireless/marvell/mwifiex/sta_rx.c:26: drivers/net/wireless/marvell/mwifiex/sdio.h:705:41: warning: 'mwifiex_sdio_sd8801' defined but not used [-Wunused-const-variable=] 705 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8801 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:689:41: warning: 'mwifiex_sdio_sd8987' defined but not used [-Wunused-const-variable=] 689 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8987 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:674:41: warning: 'mwifiex_sdio_sd8887' defined but not used [-Wunused-const-variable=] 674 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8887 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:658:41: warning: 'mwifiex_sdio_sd8997' defined but not used [-Wunused-const-variable=] 658 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8997 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:642:41: warning: 'mwifiex_sdio_sd8977' defined but not used [-Wunused-const-variable=] 642 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8977 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:627:41: warning: 'mwifiex_sdio_sd8897' defined but not used [-Wunused-const-variable=] 627 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:612:41: warning: 'mwifiex_sdio_sd8797' defined but not used [-Wunused-const-variable=] 612 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:597:41: warning: 'mwifiex_sdio_sd8787' defined but not used [-Wunused-const-variable=] 597 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:582:41: warning: 'mwifiex_sdio_sd8786' defined but not used [-Wunused-const-variable=] 582 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = { | ^~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:57, from drivers/net/wireless/marvell/mwifiex/sta_rx.c:26: drivers/net/wireless/marvell/mwifiex/pcie.h:310:41: warning: 'mwifiex_pcie8997' defined but not used [-Wunused-const-variable=] 310 | static const struct mwifiex_pcie_device mwifiex_pcie8997 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:300:41: warning: 'mwifiex_pcie8897' defined but not used [-Wunused-const-variable=] 300 | static const struct mwifiex_pcie_device mwifiex_pcie8897 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:292:41: warning: 'mwifiex_pcie8766' defined but not used [-Wunused-const-variable=] 292 | static const struct mwifiex_pcie_device mwifiex_pcie8766 = { | ^~~~~~~~~~~~~~~~ make[3]: *** [scripts/Makefile.build:497: drivers/crypto/ccree] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/crypto] Error 2 drivers/of/of_net.c:104: warning: Function parameter or member 'np' not described in 'of_get_mac_address' In file included from drivers/net/wireless/marvell/mwifiex/main.h:59, from drivers/net/wireless/marvell/mwifiex/ethtool.c:20: drivers/net/wireless/marvell/mwifiex/sdio.h:705:41: warning: 'mwifiex_sdio_sd8801' defined but not used [-Wunused-const-variable=] 705 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8801 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:689:41: warning: 'mwifiex_sdio_sd8987' defined but not used [-Wunused-const-variable=] 689 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8987 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:674:41: warning: 'mwifiex_sdio_sd8887' defined but not used [-Wunused-const-variable=] 674 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8887 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:658:41: warning: 'mwifiex_sdio_sd8997' defined but not used [-Wunused-const-variable=] 658 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8997 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:642:41: warning: 'mwifiex_sdio_sd8977' defined but not used [-Wunused-const-variable=] 642 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8977 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:627:41: warning: 'mwifiex_sdio_sd8897' defined but not used [-Wunused-const-variable=] 627 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:612:41: warning: 'mwifiex_sdio_sd8797' defined but not used [-Wunused-const-variable=] 612 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:597:41: warning: 'mwifiex_sdio_sd8787' defined but not used [-Wunused-const-variable=] 597 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:582:41: warning: 'mwifiex_sdio_sd8786' defined but not used [-Wunused-const-variable=] 582 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = { | ^~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:57, from drivers/net/wireless/marvell/mwifiex/ethtool.c:20: drivers/net/wireless/marvell/mwifiex/pcie.h:310:41: warning: 'mwifiex_pcie8997' defined but not used [-Wunused-const-variable=] 310 | static const struct mwifiex_pcie_device mwifiex_pcie8997 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:300:41: warning: 'mwifiex_pcie8897' defined but not used [-Wunused-const-variable=] 300 | static const struct mwifiex_pcie_device mwifiex_pcie8897 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:292:41: warning: 'mwifiex_pcie8766' defined but not used [-Wunused-const-variable=] 292 | static const struct mwifiex_pcie_device mwifiex_pcie8766 = { | ^~~~~~~~~~~~~~~~ drivers/of/of_reserved_mem.c:53: warning: Function parameter or member 'node' not described in 'fdt_reserved_mem_save_node' drivers/of/of_reserved_mem.c:53: warning: Function parameter or member 'uname' not described in 'fdt_reserved_mem_save_node' drivers/of/of_reserved_mem.c:53: warning: Function parameter or member 'base' not described in 'fdt_reserved_mem_save_node' drivers/of/of_reserved_mem.c:53: warning: Function parameter or member 'size' not described in 'fdt_reserved_mem_save_node' drivers/of/of_reserved_mem.c:76: warning: Function parameter or member 'node' not described in '__reserved_mem_alloc_size' drivers/of/of_reserved_mem.c:76: warning: Function parameter or member 'uname' not described in '__reserved_mem_alloc_size' drivers/of/of_reserved_mem.c:76: warning: Function parameter or member 'res_base' not described in '__reserved_mem_alloc_size' drivers/of/of_reserved_mem.c:76: warning: Function parameter or member 'res_size' not described in '__reserved_mem_alloc_size' drivers/of/of_reserved_mem.c:171: warning: Function parameter or member 'rmem' not described in '__reserved_mem_init_node' drivers/vhost/vringh.c:567:18: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __virtio16 const *__gu_addr @@ got restricted __virtio16 [noderef] [usertype] __user * @@ drivers/vhost/vringh.c:567:18: sparse: expected restricted __virtio16 const *__gu_addr drivers/vhost/vringh.c:567:18: sparse: got restricted __virtio16 [noderef] [usertype] __user * >> drivers/vhost/vringh.c:567:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got restricted __virtio16 const *__gu_addr @@ >> drivers/vhost/vringh.c:567:18: sparse: expected void const volatile [noderef] __user *ptr drivers/vhost/vringh.c:567:18: sparse: got restricted __virtio16 const *__gu_addr In file included from drivers/net/wireless/marvell/mwifiex/main.h:59, from drivers/net/wireless/marvell/mwifiex/11h.c:20: drivers/net/wireless/marvell/mwifiex/sdio.h:705:41: warning: 'mwifiex_sdio_sd8801' defined but not used [-Wunused-const-variable=] 705 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8801 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:689:41: warning: 'mwifiex_sdio_sd8987' defined but not used [-Wunused-const-variable=] 689 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8987 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:674:41: warning: 'mwifiex_sdio_sd8887' defined but not used [-Wunused-const-variable=] 674 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8887 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:658:41: warning: 'mwifiex_sdio_sd8997' defined but not used [-Wunused-const-variable=] 658 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8997 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:642:41: warning: 'mwifiex_sdio_sd8977' defined but not used [-Wunused-const-variable=] 642 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8977 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:627:41: warning: 'mwifiex_sdio_sd8897' defined but not used [-Wunused-const-variable=] 627 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:612:41: warning: 'mwifiex_sdio_sd8797' defined but not used [-Wunused-const-variable=] 612 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:597:41: warning: 'mwifiex_sdio_sd8787' defined but not used [-Wunused-const-variable=] 597 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:582:41: warning: 'mwifiex_sdio_sd8786' defined but not used [-Wunused-const-variable=] 582 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = { | ^~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:57, from drivers/net/wireless/marvell/mwifiex/11h.c:20: drivers/net/wireless/marvell/mwifiex/pcie.h:310:41: warning: 'mwifiex_pcie8997' defined but not used [-Wunused-const-variable=] 310 | static const struct mwifiex_pcie_device mwifiex_pcie8997 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:300:41: warning: 'mwifiex_pcie8897' defined but not used [-Wunused-const-variable=] 300 | static const struct mwifiex_pcie_device mwifiex_pcie8897 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:292:41: warning: 'mwifiex_pcie8766' defined but not used [-Wunused-const-variable=] 292 | static const struct mwifiex_pcie_device mwifiex_pcie8766 = { | ^~~~~~~~~~~~~~~~ drivers/leds/leds-bcm6328.c:103: warning: Function parameter or member 'pin' not described in 'bcm6328_pin2shift' drivers/leds/leds-is31fl32xx.c:85: warning: Function parameter or member 'sw_shutdown_func' not described in 'is31fl32xx_chipdef' {standard input}: Assembler messages: {standard input}:2987: Error: unknown opcode {standard input}:3885: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/of] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/of/overlay.o] Error 1 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}: Error: unaligned opcodes detected in executable segment make[4]: *** [scripts/Makefile.build:281: drivers/mmc/core/sd.o] Error 1 In file included from drivers/net/wireless/marvell/mwifiex/tdls.c:20: drivers/net/wireless/marvell/mwifiex/wmm.h:34:18: warning: 'mwifiex_1d_to_wmm_queue' defined but not used [-Wunused-const-variable=] 34 | static const u16 mwifiex_1d_to_wmm_queue[8] = { 1, 0, 0, 1, 2, 2, 3, 3 }; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:59, from drivers/net/wireless/marvell/mwifiex/tdls.c:19: drivers/net/wireless/marvell/mwifiex/sdio.h:705:41: warning: 'mwifiex_sdio_sd8801' defined but not used [-Wunused-const-variable=] 705 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8801 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:689:41: warning: 'mwifiex_sdio_sd8987' defined but not used [-Wunused-const-variable=] 689 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8987 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:674:41: warning: 'mwifiex_sdio_sd8887' defined but not used [-Wunused-const-variable=] 674 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8887 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:658:41: warning: 'mwifiex_sdio_sd8997' defined but not used [-Wunused-const-variable=] 658 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8997 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:642:41: warning: 'mwifiex_sdio_sd8977' defined but not used [-Wunused-const-variable=] 642 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8977 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:627:41: warning: 'mwifiex_sdio_sd8897' defined but not used [-Wunused-const-variable=] 627 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:612:41: warning: 'mwifiex_sdio_sd8797' defined but not used [-Wunused-const-variable=] 612 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:597:41: warning: 'mwifiex_sdio_sd8787' defined but not used [-Wunused-const-variable=] 597 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = { | ^~~~~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/sdio.h:582:41: warning: 'mwifiex_sdio_sd8786' defined but not used [-Wunused-const-variable=] 582 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = { | ^~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/main.h:57, from drivers/net/wireless/marvell/mwifiex/tdls.c:19: drivers/net/wireless/marvell/mwifiex/pcie.h:310:41: warning: 'mwifiex_pcie8997' defined but not used [-Wunused-const-variable=] 310 | static const struct mwifiex_pcie_device mwifiex_pcie8997 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:300:41: warning: 'mwifiex_pcie8897' defined but not used [-Wunused-const-variable=] 300 | static const struct mwifiex_pcie_device mwifiex_pcie8897 = { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/pcie.h:292:41: warning: 'mwifiex_pcie8766' defined but not used [-Wunused-const-variable=] 292 | static const struct mwifiex_pcie_device mwifiex_pcie8766 = { | ^~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/marvell/mwifiex/11n.h:25, from drivers/net/wireless/marvell/mwifiex/debugfs.c:23: drivers/net/wireless/marvell/mwifiex/wmm.h:41:17: warning: 'tos_to_tid_inv' defined but not used [-Wunused-const-variable=] 41 | static const u8 tos_to_tid_inv[] = { -- 105 | static const struct mmc_fixup mmc_ext_csd_fixups[] = { | ^~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:139: Error: unknown opcode {standard input}:734: Error: unknown opcode drivers/fsi/fsi-core.c:389:12: sparse: sparse: function 'fsi_slave_claim_range' with external linkage has definition drivers/fsi/fsi-core.c:403:13: sparse: sparse: function 'fsi_slave_release_range' with external linkage has definition drivers/mmc/core/regulator.c:178: warning: Function parameter or member 'mmc' not described in 'mmc_regulator_set_vqmmc' drivers/mmc/core/regulator.c:178: warning: Function parameter or member 'ios' not described in 'mmc_regulator_set_vqmmc' make[3]: *** [scripts/Makefile.build:280: drivers/soundwire/bus.o] Error 1 {standard input}: Assembler messages: {standard input}:5851: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/extcon/extcon.o] Error 1 drivers/nvmem/rave-sp-eeprom.c:48: warning: bad line: drivers/mmc/core/queue.c:212: warning: Function parameter or member 'mq' not described in '__mmc_init_request' drivers/mmc/core/queue.c:212: warning: Excess function parameter 'q' description in '__mmc_init_request' drivers/mcb/mcb-core.c:269: warning: Function parameter or member 'carrier' not described in 'mcb_alloc_bus' drivers/mcb/mcb-core.c:466: warning: Function parameter or member 'mem' not described in 'mcb_release_mem' drivers/mcb/mcb-core.c:466: warning: Excess function parameter 'dev' description in 'mcb_release_mem' {standard input}: Assembler messages: {standard input}:2284: Error: unknown opcode {standard input}:3618: Error: unknown opcode drivers/mcb/mcb-parse.c:54:14: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] reg1 @@ got unsigned int [usertype] r_ @@ drivers/mcb/mcb-parse.c:54:14: sparse: expected restricted __le32 [usertype] reg1 drivers/mcb/mcb-parse.c:54:14: sparse: got unsigned int [usertype] r_ drivers/mcb/mcb-parse.c:55:14: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] reg2 @@ got unsigned int [usertype] r_ @@ drivers/mcb/mcb-parse.c:55:14: sparse: expected restricted __le32 [usertype] reg2 drivers/mcb/mcb-parse.c:55:14: sparse: got unsigned int [usertype] r_ drivers/mcb/mcb-parse.c:59:20: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:60:21: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:61:21: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:62:21: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:63:23: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:64:22: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:93:27: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:94:25: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:150:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] reg @@ got unsigned int [usertype] r_ @@ drivers/mcb/mcb-parse.c:150:21: sparse: expected restricted __le32 [usertype] reg drivers/mcb/mcb-parse.c:150:21: sparse: got unsigned int [usertype] r_ drivers/mcb/mcb-parse.c:152:29: sparse: sparse: restricted __le32 degrades to integer drivers/mcb/mcb-parse.c:198:25: sparse: sparse: cast to restricted __le16 make[2]: *** [scripts/Makefile.build:497: drivers/ipack] Error 2 make[3]: *** [scripts/Makefile.build:497: drivers/ipack/devices] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:281: drivers/ipack/devices/ipoctal.o] Error 1 make[4]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}:2517: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/hwtracing/intel_th/gth.o] Error 1 drivers/extcon/extcon-adc-jack.c:53: warning: Function parameter or member 'dev' not described in 'adc_jack_data' drivers/extcon/extcon-adc-jack.c:53: warning: Function parameter or member 'wakeup_source' not described in 'adc_jack_data' {standard input}: Assembler messages: {standard input}:2947: Error: unknown opcode {standard input}:5905: Error: unknown opcode {standard input}:6153: Error: unknown opcode drivers/hwtracing/intel_th/core.c:849: warning: Function parameter or member 'drvdata' not described in 'intel_th_alloc' drivers/hwtracing/intel_th/core.c:849: warning: Function parameter or member 'ndevres' not described in 'intel_th_alloc' drivers/hwtracing/intel_th/core.c:849: warning: Excess function parameter 'irq' description in 'intel_th_alloc' make[4]: *** [scripts/Makefile.build:280: drivers/mmc/core/sdio_uart.o] Error 1 make[2]: *** [scripts/Makefile.build:497: drivers/hwtracing/intel_th] Error 2 make[3]: Target '__build' not remade because of errors. make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/ras] Error 2 make[2]: *** [scripts/Makefile.build:497: drivers/soundwire] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:6109: Error: unknown opcode {standard input}:6140: Error: unknown opcode {standard input}: Assembler messages: {standard input}:8330: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/hwtracing/stm/core.o] Error 1 {standard input}:6792: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/nvmem] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/nvmem/core.o] Error 1 make[3]: Target '__build' not remade because of errors. drivers/iio/accel/bmc150-accel-i2c.c:51:36: warning: 'bmc150_accel_acpi_match' defined but not used [-Wunused-const-variable=] 51 | static const struct acpi_device_id bmc150_accel_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:497: drivers/mmc] Error 2 make[3]: *** [scripts/Makefile.build:497: drivers/mmc/core] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: Target '__build' not remade because of errors. drivers/iio/accel/bmc150-accel-core.c:218:3: warning: 'bmc150_accel_sample_upd_time' defined but not used [-Wunused-const-variable=] 218 | } bmc150_accel_sample_upd_time[] = { {0x08, 64}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/iio/accel/bma220_spi.c:312:36: warning: 'bma220_acpi_id' defined but not used [-Wunused-const-variable=] 312 | static const struct acpi_device_id bma220_acpi_id[] = { | ^~~~~~~~~~~~~~ drivers/iio/accel/bmc150-accel-spi.c:36:36: warning: 'bmc150_accel_acpi_match' defined but not used [-Wunused-const-variable=] 36 | static const struct acpi_device_id bmc150_accel_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:5478: Error: unknown opcode {standard input}:5509: Error: unknown opcode {standard input}:6192: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/greybus/connection.o] Error 1 drivers/fsi/fsi-scom.c:497:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/fsi/fsi-scom.c:497:13: sparse: expected unsigned int const *__gu_addr drivers/fsi/fsi-scom.c:497:13: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/fsi/fsi-scom.c:497:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/fsi/fsi-scom.c:497:13: sparse: expected void const volatile [noderef] __user *ptr drivers/fsi/fsi-scom.c:497:13: sparse: got unsigned int const *__gu_addr drivers/hwtracing/stm/ftrace.c:38: warning: Function parameter or member 'export' not described in 'stm_ftrace_write' make[2]: *** [scripts/Makefile.build:497: drivers/extcon] Error 2 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:1280: Error: unknown opcode {standard input}: Assembler messages: {standard input}:5218: Error: unknown opcode {standard input}:5378: Error: unknown opcode {standard input}:3093: Error: unknown opcode {standard input}:3124: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/iio/accel/bmc150-accel-core.o] Error 1 drivers/iio/accel/mma9551.c:596:36: warning: 'mma9551_acpi_match' defined but not used [-Wunused-const-variable=] 596 | static const struct acpi_device_id mma9551_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~ drivers/iio/accel/mxc4005.c:475:36: warning: 'mxc4005_acpi_match' defined but not used [-Wunused-const-variable=] 475 | static const struct acpi_device_id mxc4005_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~ drivers/iio/adc/ad7923.c:159: warning: Function parameter or member 'indio_dev' not described in 'ad7923_update_scan_mode' drivers/iio/adc/ad7923.c:159: warning: Function parameter or member 'active_scan_mask' not described in 'ad7923_update_scan_mode' drivers/iio/adc/ad7923.c:202: warning: Function parameter or member 'irq' not described in 'ad7923_trigger_handler' drivers/iio/adc/ad7923.c:202: warning: Function parameter or member 'p' not described in 'ad7923_trigger_handler' drivers/iio/accel/kxcjk-1013.c:1505:36: warning: 'kx_acpi_match' defined but not used [-Wunused-const-variable=] 1505 | static const struct acpi_device_id kx_acpi_match[] = { | ^~~~~~~~~~~~~ drivers/iio/accel/kxcjk-1013.c:208:3: warning: 'odr_start_up_times' defined but not used [-Wunused-const-variable=] 208 | } odr_start_up_times[KX_MAX_CHIPS][12] = { | ^~~~~~~~~~~~~~~~~~ {standard input}:8004: Error: unknown opcode {standard input}:8739: Error: unknown opcode {standard input}:8873: Error: unknown opcode {standard input}:10708: Error: unknown opcode {standard input}:10842: Error: unknown opcode make[2]: *** [scripts/Makefile.build:497: drivers/greybus] Error 2 make[3]: *** [scripts/Makefile.build:280: drivers/greybus/operation.o] Error 1 make[3]: Target '__build' not remade because of errors. make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/hwtracing/stm] Error 2 drivers/iio/accel/mxc6255.c:169:36: warning: 'mxc6255_acpi_match' defined but not used [-Wunused-const-variable=] 169 | static const struct acpi_device_id mxc6255_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:5133: Error: unknown opcode drivers/iio/accel/stk8312.c:647:36: warning: 'stk8312_acpi_id' defined but not used [-Wunused-const-variable=] 647 | static const struct acpi_device_id stk8312_acpi_id[] = { | ^~~~~~~~~~~~~~~ {standard input}:7235: Error: unknown opcode {standard input}:7423: Error: unknown opcode {standard input}:7501: Error: unknown opcode {standard input}:8109: Error: unknown opcode {standard input}: Assembler messages: {standard input}:857: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/iio/buffer/industrialio-buffer-cb.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/most/core.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/most] Error 2 drivers/iio/chemical/bme680_i2c.c:46:36: warning: 'bme680_acpi_match' defined but not used [-Wunused-const-variable=] 46 | static const struct acpi_device_id bme680_acpi_match[] = { | ^~~~~~~~~~~~~~~~~ drivers/iio/chemical/bme680_spi.c:149:36: warning: 'bme680_acpi_match' defined but not used [-Wunused-const-variable=] 149 | static const struct acpi_device_id bme680_acpi_match[] = { | ^~~~~~~~~~~~~~~~~ make[3]: *** [scripts/Makefile.build:497: drivers/iio/buffer] Error 2 make[4]: Target '__build' not remade because of errors. drivers/iio/adc/mcp320x.c:96: warning: Function parameter or member '____cacheline_aligned' not described in 'mcp320x' drivers/iio/chemical/sgp30.c:236: warning: Function parameter or member 'duration_us' not described in 'sgp_read_cmd' drivers/iio/common/ms_sensors/ms_sensors_i2c.c:186: warning: Function parameter or member 'client' not described in 'ms_sensors_read_serial' drivers/iio/common/ms_sensors/ms_sensors_i2c.c:186: warning: Excess function parameter 'cli' description in 'ms_sensors_read_serial' make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/iio/accel] Error 2 drivers/iio/adc/ad7949.c:58: warning: Function parameter or member 'indio_dev' not described in 'ad7949_adc_chip' drivers/iio/adc/ad7949.c:58: warning: Function parameter or member '____cacheline_aligned' not described in 'ad7949_adc_chip' drivers/iio/adc/ti_am335x_adc.c: In function 'tiadc_buffer_preenable': drivers/iio/adc/ti_am335x_adc.c:297:21: warning: variable 'read' set but not used [-Wunused-but-set-variable] 297 | int i, fifo1count, read; | ^~~~ drivers/iio/adc/ti_am335x_adc.c: In function 'tiadc_buffer_predisable': drivers/iio/adc/ti_am335x_adc.c:346:21: warning: variable 'read' set but not used [-Wunused-but-set-variable] 346 | int fifo1count, i, read; | ^~~~ {standard input}: Assembler messages: {standard input}:1878: Error: unknown opcode {standard input}:3445: Error: unknown opcode make[5]: *** [scripts/Makefile.build:280: drivers/iio/common/ssp_sensors/ssp_dev.o] Error 1 make[5]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/iio/common/ssp_sensors] Error 2 drivers/iio/dac/ad5380.c:64: warning: Function parameter or member 'lock' not described in 'ad5380_state' drivers/iio/adc/max1363.c:190: warning: Function parameter or member 'lock' not described in 'max1363_state' drivers/iio/adc/twl4030-madc.c: In function 'twl4030_madc_threaded_irq_handler': drivers/iio/adc/twl4030-madc.c:475:9: warning: variable 'len' set but not used [-Wunused-but-set-variable] 475 | int i, len, ret; | ^~~ drivers/iio/adc/twl4030-madc.c: In function 'twl4030_madc_conversion': drivers/iio/adc/twl4030-madc.c:619:18: warning: comparison is always false due to limited range of data type [-Wtype-limits] 619 | if (req->method < TWL4030_MADC_RT || req->method > TWL4030_MADC_SW2) { | ^ drivers/iio/gyro/adis16080.c:49: warning: Function parameter or member 'lock' not described in 'adis16080_state' drivers/iio/gyro/adis16080.c:49: warning: Function parameter or member '____cacheline_aligned' not described in 'adis16080_state' {standard input}: Assembler messages: {standard input}:3427: Error: unknown opcode -- sound/core/seq/seq_clientmgr.c:709:9: sparse: sparse: context imbalance in 'deliver_to_subscribers' - different lock contexts for basic block {standard input}: Assembler messages: {standard input}:817: Error: unknown opcode {standard input}:911: Error: unknown opcode {standard input}:983: Error: unknown opcode {standard input}:1212: Error: unknown opcode {standard input}:1638: Error: unknown opcode {standard input}:2539: Error: unknown opcode {standard input}:2699: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_fifo.o] Error 1 {standard input}: Assembler messages: {standard input}:588: Error: unknown opcode {standard input}:679: Error: unknown opcode {standard input}:881: Error: unknown opcode {standard input}:1580: Error: unknown opcode {standard input}:2048: Error: unknown opcode {standard input}: Assembler messages: {standard input}:4526: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_queue.o] Error 1 sound/core/control.c:776:17: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:776:26: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:777:17: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:777:26: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:796:48: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:1462:40: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:1565:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ptr @@ sound/core/control.c:1565:13: sparse: expected int const *__gu_addr sound/core/control.c:1565:13: sparse: got int [noderef] __user *ptr >> sound/core/control.c:1565:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/control.c:1565:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/control.c:1565:13: sparse: got int const *__gu_addr {standard input}:6767: Error: unknown opcode {standard input}:7990: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1544: Error: unknown opcode {standard input}:1823: Error: unknown opcode {standard input}:2489: Error: unknown opcode {standard input}:2708: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_memory.o] Error 1 {standard input}: Assembler messages: {standard input}:3999: Error: unknown opcode {standard input}:8582: Error: unknown opcode {standard input}:13022: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: sound/core/control.o] Error 1 {standard input}: Assembler messages: {standard input}:4126: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_clientmgr.o] Error 1 make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_timer.o] Error 1 sound/core/seq/seq_virmidi.c:65:12: sparse: sparse: context imbalance in 'snd_virmidi_dev_receive_event' - different lock contexts for basic block sound/core/timer.c:2045:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/timer.c:2045:13: sparse: expected int const *__gu_addr sound/core/timer.c:2045:13: sparse: got int [noderef] __user *p >> sound/core/timer.c:2045:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/timer.c:2045:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/timer.c:2045:13: sparse: got int const *__gu_addr sound/core/timer.c:790:25: sparse: sparse: context imbalance in 'snd_timer_process_callbacks' - unexpected unlock {standard input}: Assembler messages: {standard input}:537: Error: unknown opcode {standard input}:1302: Error: unknown opcode {standard input}:1585: Error: unknown opcode {standard input}:2430: Error: unknown opcode {standard input}:3051: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: sound/core/seq/seq_ports.o] Error 1 make[3]: *** [scripts/Makefile.build:497: sound/core/seq] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:8114: Error: unknown opcode sound/core/pcm.c:92:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:92:29: sparse: expected int const *__gu_addr sound/core/pcm.c:92:29: sparse: got int [noderef] __user * >> sound/core/pcm.c:92:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/pcm.c:92:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:92:29: sparse: got int const *__gu_addr sound/core/pcm.c:112:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm.c:112:29: sparse: expected unsigned int const *__gu_addr sound/core/pcm.c:112:29: sparse: got unsigned int [noderef] __user * >> sound/core/pcm.c:112:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm.c:112:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:112:29: sparse: got unsigned int const *__gu_addr sound/core/pcm.c:114:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:114:29: sparse: expected int const *__gu_addr sound/core/pcm.c:114:29: sparse: got int [noderef] __user * sound/core/pcm.c:114:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm.c:114:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:114:29: sparse: got int const *__gu_addr sound/core/pcm.c:119:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm.c:119:29: sparse: expected unsigned int const *__gu_addr sound/core/pcm.c:119:29: sparse: got unsigned int [noderef] __user * sound/core/pcm.c:119:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm.c:119:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:119:29: sparse: got unsigned int const *__gu_addr sound/core/pcm.c:155:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:155:29: sparse: expected int const *__gu_addr sound/core/pcm.c:155:29: sparse: got int [noderef] __user * sound/core/pcm.c:155:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm.c:155:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:155:29: sparse: got int const *__gu_addr sound/core/pcm.c:999:9: sparse: sparse: context imbalance in 'snd_pcm_detach_substream' - different lock contexts for basic block make[2]: *** [scripts/Makefile.build:497: sound/drivers] Error 2 make[3]: *** [scripts/Makefile.build:280: sound/drivers/aloop.o] Error 1 make[3]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:3026: Error: unknown opcode {standard input}:3843: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: sound/core/init.o] Error 1 sound/core/pcm_native.c:1010:20: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ sound/core/pcm_native.c:1010:20: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:1010:20: sparse: got unsigned int [noderef] [usertype] __user * >> sound/core/pcm_native.c:1010:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> sound/core/pcm_native.c:1010:20: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:1010:20: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:1036:20: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ sound/core/pcm_native.c:1036:20: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:1036:20: sparse: got unsigned int [noderef] [usertype] __user * sound/core/pcm_native.c:1036:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:1036:20: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:1036:20: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:2944:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:2944:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:2944:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:2944:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:2944:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:2944:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3037:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3037:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3037:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3037:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3037:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3037:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3038:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3038:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3038:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3038:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3038:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3038:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3039:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3039:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3039:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3039:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3039:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3039:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3087:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *_arg @@ sound/core/pcm_native.c:3087:13: sparse: expected int const *__gu_addr sound/core/pcm_native.c:3087:13: sparse: got int [noderef] __user *_arg >> sound/core/pcm_native.c:3087:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm_native.c:3087:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3087:13: sparse: got int const *__gu_addr sound/core/pcm_native.c:3153:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@ sound/core/pcm_native.c:3153:13: sparse: expected unsigned long const *__gu_addr sound/core/pcm_native.c:3153:13: sparse: got unsigned long [noderef] [usertype] __user *_frames >> sound/core/pcm_native.c:3153:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ sound/core/pcm_native.c:3153:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3153:13: sparse: got unsigned long const *__gu_addr sound/core/pcm_native.c:3169:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@ sound/core/pcm_native.c:3169:13: sparse: expected unsigned long const *__gu_addr sound/core/pcm_native.c:3169:13: sparse: got unsigned long [noderef] [usertype] __user *_frames sound/core/pcm_native.c:3169:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ sound/core/pcm_native.c:3169:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3169:13: sparse: got unsigned long const *__gu_addr sound/core/pcm_native.c:3203:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3203:21: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3203:21: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3203:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3203:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3203:21: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:95:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock' - different lock contexts for basic block sound/core/pcm_native.c:96:1: sparse: sparse: context imbalance in 'snd_pcm_group_unlock' - unexpected unlock sound/core/pcm_native.c:97:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock_irq' - different lock contexts for basic block sound/core/pcm_native.c:98:1: sparse: sparse: context imbalance in 'snd_pcm_group_unlock_irq' - unexpected unlock sound/core/pcm_native.c:145:9: sparse: sparse: context imbalance in 'snd_pcm_stream_lock_nested' - different lock contexts for basic block sound/core/pcm_native.c:171:9: sparse: sparse: context imbalance in '_snd_pcm_stream_lock_irqsave' - different lock contexts for basic block sound/core/pcm_native.c:188:39: sparse: sparse: context imbalance in 'snd_pcm_stream_unlock_irqrestore' - unexpected unlock sound/core/pcm_native.c:1186:52: sparse: sparse: context imbalance in 'snd_pcm_action_group' - unexpected unlock sound/core/pcm_native.c:1257:37: sparse: sparse: context imbalance in 'snd_pcm_stream_group_ref' - different lock contexts for basic block sound/core/pcm_native.c: In function 'constrain_mask_params': sound/core/pcm_native.c:264:18: warning: variable 'old_mask' set but not used [-Wunused-but-set-variable] 264 | struct snd_mask old_mask; | ^~~~~~~~ sound/core/pcm_native.c: In function 'constrain_interval_params': sound/core/pcm_native.c:300:22: warning: variable 'old_interval' set but not used [-Wunused-but-set-variable] 300 | struct snd_interval old_interval; | ^~~~~~~~~~~~ sound/core/pcm_native.c: In function 'constrain_params_by_rules': sound/core/pcm_native.c:341:22: warning: variable 'old_interval' set but not used [-Wunused-but-set-variable] 341 | struct snd_interval old_interval; | ^~~~~~~~~~~~ sound/core/pcm_native.c:340:18: warning: variable 'old_mask' set but not used [-Wunused-but-set-variable] 340 | struct snd_mask old_mask; | ^~~~~~~~ sound/core/pcm_native.c: In function 'snd_pcm_hw_params_choose': sound/core/pcm_native.c:625:22: warning: variable 'old_interval' set but not used [-Wunused-but-set-variable] 625 | struct snd_interval old_interval; | ^~~~~~~~~~~~ sound/core/pcm_native.c:624:18: warning: variable 'old_mask' set but not used [-Wunused-but-set-variable] 624 | struct snd_mask old_mask; | ^~~~~~~~ {standard input}: Assembler messages: {standard input}:5977: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: sound/core/pcm.o] Error 1 {standard input}: Assembler messages: {standard input}:8297: Error: unknown opcode {standard input}:9406: Error: unknown opcode {standard input}: Assembler messages: {standard input}:7731: Error: unknown opcode {standard input}:7762: Error: unknown opcode {standard input}:7905: Error: unknown opcode {standard input}:8086: Error: unknown opcode {standard input}:8326: Error: unknown opcode {standard input}:8895: Error: unknown opcode {standard input}:9185: Error: unknown opcode {standard input}:16656: Error: unknown opcode {standard input}:17378: Error: unknown opcode {standard input}:19134: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: sound/core/pcm_native.o] Error 1 make[3]: *** [scripts/Makefile.build:281: sound/core/timer.o] Error 1 sound/core/rawmidi.c:654:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/rawmidi.c:654:13: sparse: expected unsigned int const *__gu_addr sound/core/rawmidi.c:654:13: sparse: got unsigned int [noderef] __user * >> sound/core/rawmidi.c:654:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> sound/core/rawmidi.c:654:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:654:13: sparse: got unsigned int const *__gu_addr sound/core/rawmidi.c:656:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:656:13: sparse: expected int const *__gu_addr sound/core/rawmidi.c:656:13: sparse: got int [noderef] __user * >> sound/core/rawmidi.c:656:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:656:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:656:13: sparse: got int const *__gu_addr sound/core/rawmidi.c:658:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/rawmidi.c:658:13: sparse: expected unsigned int const *__gu_addr sound/core/rawmidi.c:658:13: sparse: got unsigned int [noderef] __user * sound/core/rawmidi.c:658:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/rawmidi.c:658:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:658:13: sparse: got unsigned int const *__gu_addr sound/core/rawmidi.c:836:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:836:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:836:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:836:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:836:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:836:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:874:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:874:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:874:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:874:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:874:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:874:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:889:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:889:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:889:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:889:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:889:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:889:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:923:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:923:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:923:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:923:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:923:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:923:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:945:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:945:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:945:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:945:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:945:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:945:21: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:5681: Error: unknown opcode {standard input}:5971: Error: unknown opcode {standard input}:6100: Error: unknown opcode sound/core/pcm_iec958.c:119: warning: Function parameter or member 'params' not described in 'snd_pcm_create_iec958_consumer_hw_params' sound/core/pcm_iec958.c:119: warning: Excess function parameter 'hw_params' description in 'snd_pcm_create_iec958_consumer_hw_params' {standard input}: Assembler messages: {standard input}:1590: Error: unknown opcode {standard input}:1673: Error: unknown opcode {standard input}:1788: Error: unknown opcode {standard input}:1891: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: sound/core/seq_device.o] Error 1 make[3]: *** [scripts/Makefile.build:280: sound/core/pcm_lib.o] Error 1 {standard input}: Assembler messages: {standard input}:7829: Error: unknown opcode {standard input}:8720: Error: unknown opcode {standard input}:12334: Error: unknown opcode {standard input}:12716: Error: unknown opcode {standard input}:13942: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: sound/core/rawmidi.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: sound/core] Error 2 make[2]: Target '__build' not remade because of errors. -- drivers/mtd/chips/map_rom.c:79:15: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@ drivers/mtd/chips/map_rom.c:79:15: sparse: expected void * drivers/mtd/chips/map_rom.c:79:15: sparse: got void [noderef] __iomem * {standard input}: Assembler messages: {standard input}:1214: Error: unknown opcode {standard input}:1272: Error: unknown opcode {standard input}:1972: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2215: Error: unknown opcode {standard input}:3190: Error: unknown opcode {standard input}:4699: Error: unknown opcode {standard input}:5118: Error: unknown opcode {standard input}:4437: Error: unknown opcode {standard input}:8699: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/mtd/chips/cfi_cmdset_0001.o] Error 1 {standard input}:11093: Error: unknown opcode {standard input}:11414: Error: unknown opcode {standard input}:12432: Error: unknown opcode {standard input}:13251: Error: unknown opcode {standard input}:15094: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/mtd/chips/cfi_cmdset_0002.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/mtd/chips] Error 2 {standard input}: Assembler messages: {standard input}:9550: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/mtd/devices/docg3.o] Error 1 drivers/mtd/devices/phram.c:85:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *priv @@ drivers/mtd/devices/phram.c:85:34: sparse: expected void [noderef] __iomem *addr drivers/mtd/devices/phram.c:85:34: sparse: got void *priv drivers/mtd/devices/phram.c:101:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *priv @@ got void [noderef] __iomem * @@ drivers/mtd/devices/phram.c:101:23: sparse: expected void *priv drivers/mtd/devices/phram.c:101:23: sparse: got void [noderef] __iomem * drivers/mtd/devices/phram.c:131:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *priv @@ drivers/mtd/devices/phram.c:131:25: sparse: expected void [noderef] __iomem *addr drivers/mtd/devices/phram.c:131:25: sparse: got void *priv drivers/mtd/devices/phram.c:19: warning: Function parameter or member 'fmt' not described in 'pr_fmt' {standard input}: Assembler messages: {standard input}:807: Error: unknown opcode {standard input}:988: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/mtd/devices/block2mtd.o] Error 1 drivers/mtd/nand/onenand/onenand_base.c:779:34: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *__from @@ got void [noderef] __iomem * @@ drivers/mtd/nand/onenand/onenand_base.c:779:34: sparse: expected void const *__from drivers/mtd/nand/onenand/onenand_base.c:779:34: sparse: got void [noderef] __iomem * drivers/mtd/nand/onenand/onenand_base.c:817:34: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *__from @@ got void [noderef] __iomem * @@ drivers/mtd/nand/onenand/onenand_base.c:817:34: sparse: expected void const *__from drivers/mtd/nand/onenand/onenand_base.c:817:34: sparse: got void [noderef] __iomem * drivers/mtd/nand/onenand/onenand_base.c:860:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *__to @@ got void [noderef] __iomem * @@ drivers/mtd/nand/onenand/onenand_base.c:860:26: sparse: expected void *__to drivers/mtd/nand/onenand/onenand_base.c:860:26: sparse: got void [noderef] __iomem * make[3]: *** [scripts/Makefile.build:497: drivers/mtd/devices] Error 2 make[4]: Target '__build' not remade because of errors. drivers/mtd/nand/onenand/onenand_bbt.c:33: warning: Function parameter or member 'buf' not described in 'check_short_pattern' drivers/mtd/nand/onenand/onenand_bbt.c:33: warning: Function parameter or member 'len' not described in 'check_short_pattern' drivers/mtd/nand/onenand/onenand_bbt.c:33: warning: Function parameter or member 'paglen' not described in 'check_short_pattern' drivers/mtd/nand/onenand/onenand_bbt.c:33: warning: Function parameter or member 'td' not described in 'check_short_pattern' drivers/mtd/nand/onenand/onenand_bbt.c:57: warning: Function parameter or member 'mtd' not described in 'create_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:57: warning: Function parameter or member 'buf' not described in 'create_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:57: warning: Function parameter or member 'bd' not described in 'create_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:57: warning: Function parameter or member 'chip' not described in 'create_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:132: warning: Function parameter or member 'mtd' not described in 'onenand_memory_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:132: warning: Function parameter or member 'bd' not described in 'onenand_memory_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:145: warning: Function parameter or member 'mtd' not described in 'onenand_isbad_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:145: warning: Function parameter or member 'offs' not described in 'onenand_isbad_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:145: warning: Function parameter or member 'allowbbt' not described in 'onenand_isbad_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:182: warning: Function parameter or member 'mtd' not described in 'onenand_scan_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:182: warning: Function parameter or member 'bd' not described in 'onenand_scan_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:230: warning: Function parameter or member 'mtd' not described in 'onenand_default_bbt' {standard input}: Assembler messages: {standard input}:7022: Error: unknown opcode make[5]: *** [scripts/Makefile.build:280: drivers/mtd/nand/onenand/onenand_base.o] Error 1 make[5]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/mtd/nand/onenand] Error 2 In file included from include/linux/bug.h:5, from include/linux/thread_info.h:12, from include/asm-generic/current.h:5, from ./arch/sh/include/generated/asm/current.h:1, from include/linux/sched.h:12, from include/linux/ratelimit.h:6, from include/linux/dev_printk.h:16, from include/linux/device.h:15, from drivers/mtd/nand/spi/core.c:12: drivers/mtd/nand/spi/core.c: In function 'spinand_get_cfg': drivers/mtd/nand/spi/core.c:55:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 55 | if (WARN_ON(spinand->cur_target < 0 || | ^ arch/sh/include/asm/bug.h:69:25: note: in definition of macro 'WARN_ON' 69 | int __ret_warn_on = !!(x); 308- | ^ drivers/mtd/nand/spi/core.c: In function 'spinand_set_cfg': drivers/mtd/nand/spi/core.c:68:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 68 | if (WARN_ON(spinand->cur_target < 0 || | ^ arch/sh/include/asm/bug.h:69:25: note: in definition of macro 'WARN_ON' 69 | int __ret_warn_on = !!(x); 315- | ^ drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member 'write_cache_variants' not described in 'SPINAND_OP_VARIANTS' drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member '0' not described in 'SPINAND_OP_VARIANTS' drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:467:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int [noderef] [usertype] __user * >> drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ >> drivers/mtd/ubi/cdev.c:467:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:512:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:512:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:526:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:526:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:882:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:882:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:969:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:969:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:984:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:984:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/mtd/ubi/cdev.c:1061:23: sparse: expected signed int const *__gu_addr drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int [noderef] [usertype] __user * drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/mtd/ubi/cdev.c:1061:23: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int const *__gu_addr drivers/mtd/ubi/build.c:61: warning: Function parameter or member 'ubi_num' not described in 'mtd_dev_param' drivers/mtd/ubi/kapi.c:464: warning: Function parameter or member 'sgl' not described in 'ubi_leb_read_sg' drivers/mtd/ubi/kapi.c:464: warning: Excess function parameter 'buf' description in 'ubi_leb_read_sg' drivers/mtd/ubi/wl.c:2054:28: sparse: sparse: context imbalance in 'produce_free_peb' - unexpected unlock In file included from include/linux/bits.h:23, from include/linux/bitops.h:5, from include/linux/kernel.h:12, from include/linux/uio.h:8, from include/linux/mtd/mtd.h:10, from include/linux/mtd/nand.h:13, from drivers/mtd/nand/bbt.c:12: drivers/mtd/nand/bbt.c: In function 'nanddev_bbt_get_block_status': include/linux/bits.h:27:7: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 27 | (l) > (h), 0))) | ^ include/linux/build_bug.h:16:62: note: in definition of macro 'BUILD_BUG_ON_ZERO' 16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) | ^ include/linux/bits.h:40:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' 40 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^~~~~~~~~~~~~~~~~~~ drivers/mtd/nand/bbt.c:90:18: note: in expansion of macro 'GENMASK' 90 | return status & GENMASK(bits_per_block - 1, 0); | ^~~~~~~ drivers/mtd/nand/bbt.c: In function 'nanddev_bbt_set_block_status': include/linux/bits.h:27:7: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 27 | (l) > (h), 0))) | ^ include/linux/build_bug.h:16:62: note: in definition of macro 'BUILD_BUG_ON_ZERO' 16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) | ^ include/linux/bits.h:40:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' 40 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^~~~~~~~~~~~~~~~~~~ drivers/mtd/nand/bbt.c:114:31: note: in expansion of macro 'GENMASK' 114 | unsigned long val = status & GENMASK(bits_per_block - 1, 0); | ^~~~~~~ include/linux/bits.h:27:7: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 27 | (l) > (h), 0))) | ^ include/linux/build_bug.h:16:62: note: in definition of macro 'BUILD_BUG_ON_ZERO' 16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) | ^ include/linux/bits.h:40:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' 40 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^~~~~~~~~~~~~~~~~~~ drivers/mtd/nand/bbt.c:125:14: note: in expansion of macro 'GENMASK' 125 | pos[1] &= ~GENMASK(rbits - 1, 0); | ^~~~~~~ make[3]: *** [scripts/Makefile.build:497: drivers/mtd/nand] Error 2 make[4]: Target '__build' not remade because of errors. drivers/mtd/ubi/eba.c:1304: warning: Function parameter or member 'vidb' not described in 'ubi_eba_copy_leb' drivers/mtd/ubi/eba.c:1304: warning: Excess function parameter 'vid_hdr' description in 'ubi_eba_copy_leb' drivers/mtd/ubi/eba.c:1483: warning: Function parameter or member 'ai' not described in 'print_rsvd_warning' drivers/mtd/ubi/gluebi.c:446: warning: Function parameter or member 'ns_ptr' not described in 'gluebi_notify' drivers/mtd/ubi/gluebi.c:446: warning: Excess function parameter 'ptr' description in 'gluebi_notify' {standard input}: Assembler messages: {standard input}:11303: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/mtd/ubi] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/mtd/ubi/wl.o] Error 1 make[4]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:1514: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/mtd/mtdsuper.o] Error 1 drivers/mtd/mtdcore.c:1612: warning: Function parameter or member 'section' not described in 'mtd_ooblayout_find_eccregion' drivers/mtd/mtdcore.c:1612: warning: Excess function parameter 'sectionp' description in 'mtd_ooblayout_find_eccregion' drivers/mtd/mtdchar.c:658:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/mtd/mtdchar.c:658:21: sparse: expected unsigned int const *__gu_addr drivers/mtd/mtdchar.c:658:21: sparse: got unsigned int [noderef] __user * >> drivers/mtd/mtdchar.c:658:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/mtd/mtdchar.c:658:21: sparse: expected void const volatile [noderef] __user *ptr drivers/mtd/mtdchar.c:658:21: sparse: got unsigned int const *__gu_addr drivers/mtd/mtdpart.c:300: warning: Function parameter or member 'mtd' not described in '__mtd_del_partition' drivers/mtd/mtdpart.c:300: warning: Excess function parameter 'priv' description in '__mtd_del_partition' {standard input}: Assembler messages: {standard input}:1252: Error: unknown opcode {standard input}:1694: Error: unknown opcode {standard input}:1725: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/mtd/mtd_blkdevs.o] Error 1 drivers/mtd/rfd_ftl.c:100:13: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:110:25: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:295:29: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned short [usertype] magic @@ got restricted __le16 [usertype] @@ drivers/mtd/rfd_ftl.c:295:29: sparse: expected unsigned short [usertype] magic drivers/mtd/rfd_ftl.c:295:29: sparse: got restricted __le16 [usertype] drivers/mtd/rfd_ftl.c:354:29: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:553:19: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned short [usertype] del @@ got restricted __le16 [usertype] @@ drivers/mtd/rfd_ftl.c:553:19: sparse: expected unsigned short [usertype] del drivers/mtd/rfd_ftl.c:553:19: sparse: got restricted __le16 [usertype] drivers/mtd/rfd_ftl.c:592:21: sparse: sparse: cast to restricted __le16 drivers/mtd/rfd_ftl.c:647:15: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] entry @@ got restricted __le16 [usertype] @@ drivers/mtd/rfd_ftl.c:647:15: sparse: expected unsigned short [usertype] entry drivers/mtd/rfd_ftl.c:647:15: sparse: got restricted __le16 [usertype] {standard input}: Assembler messages: {standard input}:62: Error: unknown opcode {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}:133: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/mtd/mtdoops.o] Error 1 make[3]: *** [scripts/Makefile.build:280: drivers/mtd/sm_ftl.o] Error 1 make[3]: Target '__build' not remade because of errors. -- drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:396:34: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:396:34: sparse: got unsigned char [noderef] [usertype] __user * >> drivers/spi/spidev.c:396:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ >> drivers/spi/spidev.c:396:34: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:396:34: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/spi/spidev.c:398:34: sparse: expected unsigned int const *__gu_addr drivers/spi/spidev.c:398:34: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/spi/spidev.c:398:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/spi/spidev.c:398:34: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:398:34: sparse: got unsigned int const *__gu_addr drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:422:26: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:422:26: sparse: got unsigned char [noderef] [usertype] __user * drivers/spi/spidev.c:422:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ drivers/spi/spidev.c:422:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:422:26: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char [noderef] [usertype] __user * @@ drivers/spi/spidev.c:439:26: sparse: expected unsigned char const *__gu_addr drivers/spi/spidev.c:439:26: sparse: got unsigned char [noderef] [usertype] __user * drivers/spi/spidev.c:439:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ drivers/spi/spidev.c:439:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:439:26: sparse: got unsigned char const *__gu_addr drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/spi/spidev.c:452:26: sparse: expected unsigned int const *__gu_addr drivers/spi/spidev.c:452:26: sparse: got unsigned int [noderef] [usertype] __user * drivers/spi/spidev.c:452:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/spi/spidev.c:452:26: sparse: expected void const volatile [noderef] __user *ptr drivers/spi/spidev.c:452:26: sparse: got unsigned int const *__gu_addr {standard input}: Assembler messages: {standard input}:19049: Error: unknown opcode {standard input}:23806: Error: unknown opcode {standard input}:24657: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2172: Error: unknown opcode {standard input}:2646: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/spi/spidev.o] Error 1 {standard input}:25062: Error: unknown opcode {standard input}:25162: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/spi/spi.o] Error 1 drivers/spi/spi-fsl-spi.c:93:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:93:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:93:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:94:33: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *mode @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:94:33: sparse: expected restricted __be32 [noderef] [usertype] __iomem *mode drivers/spi/spi-fsl-spi.c:94:33: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:294:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:294:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:294:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:299:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:299:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:299:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:303:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:303:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:303:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:317:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:317:18: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:317:18: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:350:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:350:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:350:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:459:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:459:18: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:459:18: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:462:45: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:462:45: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:462:45: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:498:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:498:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:498:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:502:53: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:502:53: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:502:53: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:511:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:511:47: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:511:47: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:516:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:516:32: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:516:32: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:522:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:522:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:522:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:533:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:533:44: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:533:44: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:536:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:536:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:536:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:553:51: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:553:51: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:553:51: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:560:48: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:560:48: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:560:48: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:562:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:562:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:562:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:571:51: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:571:51: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:571:51: sparse: got void [noderef] __iomem *reg_base drivers/spi/spi-fsl-spi.c:575:46: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:575:46: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:575:46: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:585:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected restricted __be32 [noderef] [usertype] __iomem *reg @@ got restricted __be32 * @@ drivers/spi/spi-fsl-spi.c:585:40: sparse: expected restricted __be32 [noderef] [usertype] __iomem *reg drivers/spi/spi-fsl-spi.c:585:40: sparse: got restricted __be32 * drivers/spi/spi-fsl-spi.c:652:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct fsl_spi_reg *reg_base @@ got void [noderef] __iomem *reg_base @@ drivers/spi/spi-fsl-spi.c:652:18: sparse: expected struct fsl_spi_reg *reg_base drivers/spi/spi-fsl-spi.c:652:18: sparse: got void [noderef] __iomem *reg_base -- {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/net/phy/mscc/mscc_main.o] Error 1 make[4]: *** [scripts/Makefile.build:497: drivers/net/phy/mscc] Error 2 make[5]: Target '__build' not remade because of errors. drivers/net/phy/mdio-boardinfo.c:27: warning: Function parameter or member 'bus' not described in 'mdiobus_setup_mdiodev_from_board_info' drivers/net/phy/mdio-boardinfo.c:27: warning: Function parameter or member 'cb' not described in 'mdiobus_setup_mdiodev_from_board_info' drivers/net/phy/mdio-boardinfo.c:27: warning: Excess function parameter 'mdiodev' description in 'mdiobus_setup_mdiodev_from_board_info' drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/net/hamradio/6pack.c:710:21: sparse: expected int const *__gu_addr drivers/net/hamradio/6pack.c:710:21: sparse: got int [noderef] __user * >> drivers/net/hamradio/6pack.c:710:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/hamradio/6pack.c:710:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/hamradio/6pack.c:710:21: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:4209: Error: unknown opcode {standard input}:4298: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/phy.o] Error 1 {standard input}: Assembler messages: {standard input}:1352: Error: unknown opcode {standard input}:1891: Error: unknown opcode {standard input}:2120: Error: unknown opcode {standard input}:2379: Error: unknown opcode {standard input}:2518: Error: unknown opcode {standard input}:2654: Error: unknown opcode {standard input}:2847: Error: unknown opcode {standard input}:2883: Error: unknown opcode {standard input}:3309: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/caif/caif_serial.o] Error 1 drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:925:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:925:21: sparse: got int [noderef] __user *p >> drivers/net/ppp/ppp_generic.c:925:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/ppp/ppp_generic.c:925:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:925:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:939:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:939:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:939:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:939:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:939:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:954:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:954:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:954:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:954:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:954:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:651:29: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:651:29: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:651:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:651:29: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:651:29: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:681:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:681:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:681:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:681:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:681:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:688:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:688:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:688:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:688:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:688:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:726:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:726:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:726:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:726:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:726:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:755:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:755:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:755:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:755:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:755:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_generic.c:823:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_generic.c:823:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_generic.c:823:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_generic.c:823:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_generic.c:823:21: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:705: Error: unknown opcode drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_async.c:420:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_async.c:420:21: sparse: got int [noderef] __user *p >> drivers/net/ppp/ppp_async.c:420:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/net/ppp/ppp_async.c:420:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:420:21: sparse: got int const *__gu_addr drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/net/ppp/ppp_async.c:435:21: sparse: expected unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/net/ppp/ppp_async.c:435:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:435:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:435:21: sparse: got unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/net/ppp/ppp_async.c:446:21: sparse: expected unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int [noderef] [usertype] __user * drivers/net/ppp/ppp_async.c:446:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:446:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:446:21: sparse: got unsigned int const *__gu_addr drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/ppp/ppp_async.c:471:21: sparse: expected int const *__gu_addr drivers/net/ppp/ppp_async.c:471:21: sparse: got int [noderef] __user *p drivers/net/ppp/ppp_async.c:471:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/ppp/ppp_async.c:471:21: sparse: expected void const volatile [noderef] __user *ptr drivers/net/ppp/ppp_async.c:471:21: sparse: got int const *__gu_addr {standard input}:2503: Error: unknown opcode {standard input}:2548: Error: unknown opcode {standard input}:2582: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/caif/caif_virtio.o] Error 1 drivers/net/slip/slip.c:458:14: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/net/slip/slip.c:458:14: sparse: void [noderef] __rcu * drivers/net/slip/slip.c:458:14: sparse: void * drivers/net/slip/slip.c:892:9: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/net/slip/slip.c:892:9: sparse: void [noderef] __rcu * drivers/net/slip/slip.c:892:9: sparse: void * drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ >> drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __wsum [usertype] sum @@ got unsigned int [assigned] sum @@ arch/sh/include/asm/checksum_32.h:116:27: sparse: expected restricted __wsum [usertype] sum arch/sh/include/asm/checksum_32.h:116:27: sparse: got unsigned int [assigned] sum {standard input}: Assembler messages: {standard input}:1340: Error: unknown opcode {standard input}:1371: Error: unknown opcode {standard input}:1576: Error: unknown opcode {standard input}:1853: Error: unknown opcode {standard input}:2081: Error: unknown opcode {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:176: Error: unknown opcode {standard input}:2320: Error: unknown opcode {standard input}:2893: Error: unknown opcode {standard input}:3462: Error: unknown opcode {standard input}:3750: Error: unknown opcode {standard input}:4086: Error: unknown opcode {standard input}:4363: Error: unknown opcode {standard input}:6410: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/hamradio/6pack.o] Error 1 drivers/net/hamradio/baycom_ser_fdx.c:290:43: sparse: sparse: dubious: x | !y {standard input}:6282: Error: unknown opcode {standard input}:8161: Error: unknown opcode {standard input}:10803: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/net/caif] Error 2 make[4]: *** [scripts/Makefile.build:281: drivers/net/caif/caif_hsi.o] Error 1 make[4]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:6459: Error: unknown opcode {standard input}:6490: Error: unknown opcode {standard input}:6633: Error: unknown opcode {standard input}:6837: Error: unknown opcode {standard input}:7814: Error: unknown opcode {standard input}:8237: Error: unknown opcode {standard input}:8407: Error: unknown opcode {standard input}:8991: Error: unknown opcode {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:878: Error: unknown opcode {standard input}:931: Error: unknown opcode {standard input}: Assembler messages: {standard input}:52: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:2195: Error: unknown opcode {standard input}:2226: Error: unknown opcode {standard input}:2653: Error: unknown opcode {standard input}:3418: Error: unknown opcode {standard input}:3983: Error: unknown opcode {standard input}:4049: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/net/ppp/ppp_async.o] Error 1 {standard input}:4211: Error: unknown opcode {standard input}:4254: Error: unknown opcode {standard input}:4693: Error: unknown opcode {standard input}:4736: Error: unknown opcode {standard input}:6118: Error: unknown opcode {standard input}:6216: Error: unknown opcode {standard input}:6472: Error: unknown opcode {standard input}:6541: Error: unknown opcode {standard input}:6631: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/net/slip/slip.o] Error 1 {standard input}:17424: Error: unknown opcode {standard input}:18539: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/net/ppp/ppp_generic.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/net/ppp] Error 2 {standard input}: Assembler messages: {standard input}:9423: Error: unknown opcode drivers/net/phy/mdio_device.c:188: warning: Function parameter or member 'drv' not described in 'mdio_driver_register' drivers/net/phy/mdio_device.c:188: warning: Excess function parameter 'new_driver' description in 'mdio_driver_register' make[4]: *** [scripts/Makefile.build:281: drivers/net/phy/phy_device.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/net/slip] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:1038: Error: unknown opcode {standard input}:1546: Error: unknown opcode {standard input}:1696: Error: unknown opcode {standard input}:1890: Error: unknown opcode {standard input}:2760: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/net/hamradio] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/net/hamradio/hdlcdrv.o] Error 1 make[4]: Target '__build' not remade because of errors. -- drivers/auxdisplay/charlcd.c:670:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *tmp @@ drivers/auxdisplay/charlcd.c:670:21: sparse: expected char const *__gu_addr drivers/auxdisplay/charlcd.c:670:21: sparse: got char const [noderef] __user *tmp >> drivers/auxdisplay/charlcd.c:670:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/auxdisplay/charlcd.c:670:21: sparse: expected void const volatile [noderef] __user *ptr drivers/auxdisplay/charlcd.c:670:21: sparse: got char const *__gu_addr {standard input}: Assembler messages: {standard input}:2228: Error: unknown opcode {standard input}:2367: Error: unknown opcode {standard input}:2474: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/auxdisplay/charlcd.o] Error 1 make[3]: Target '__build' not remade because of errors. -- {standard input}: Assembler messages: {standard input}:3625: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/serio/serio.o] Error 1 drivers/input/serio/serport.c:213:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] __user * @@ drivers/input/serio/serport.c:213:21: sparse: expected unsigned long const *__gu_addr drivers/input/serio/serport.c:213:21: sparse: got unsigned long [noderef] __user * >> drivers/input/serio/serport.c:213:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ >> drivers/input/serio/serport.c:213:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/serio/serport.c:213:21: sparse: got unsigned long const *__gu_addr make[3]: *** [scripts/Makefile.build:281: drivers/input/serio/serport.o] Error 1 {standard input}: Assembler messages: {standard input}:903: Error: unknown opcode {standard input}:1142: Error: unknown opcode {standard input}:1290: Error: unknown opcode {standard input}:1441: Error: unknown opcode {standard input}:1610: Error: unknown opcode {standard input}:1884: Error: unknown opcode {standard input}:1919: Error: unknown opcode drivers/input/serio/serio_raw.c:219:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/input/serio/serio_raw.c:219:21: sparse: expected char const *__gu_addr drivers/input/serio/serio_raw.c:219:21: sparse: got char const [noderef] __user * >> drivers/input/serio/serio_raw.c:219:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/input/serio/serio_raw.c:219:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/serio/serio_raw.c:219:21: sparse: got char const *__gu_addr {standard input}: Assembler messages: {standard input}:1293: Error: unknown opcode {standard input}:1324: Error: unknown opcode {standard input}:2714: Error: unknown opcode {standard input}:3449: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/serio/serio_raw.o] Error 1 drivers/input/serio/apbps2.c: In function 'apbps2_open': drivers/input/serio/apbps2.c:106:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 106 | unsigned long tmp; | ^~~ make[3]: Target '__build' not remade because of errors. -- {standard input}:1896: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/rmi4/rmi_bus.o] Error 1 {standard input}: Assembler messages: {standard input}:2063: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/joystick/grip.o] Error 1 {standard input}: Assembler messages: {standard input}:688: Error: unknown opcode {standard input}:732: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/input/keyboard/xtkbd.o] Error 1 {standard input}: Assembler messages: {standard input}:1279: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/joystick/guillemot.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/input/keyboard] Error 2 make[4]: Target '__build' not remade because of errors. drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'input_dev' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'client' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'regmap' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'work' not described in 'drv2665_data' drivers/input/misc/drv2665.c:59: warning: Function parameter or member 'regulator' not described in 'drv2665_data' drivers/input/misc/drv260x.c: In function 'drv260x_probe': drivers/input/misc/drv260x.c:478:20: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 478 | if (haptics->mode < DRV260X_LRA_MODE || | ^ drivers/input/misc/drv260x.c:490:23: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 490 | if (haptics->library < DRV260X_LIB_EMPTY || | ^ drivers/input/rmi4/rmi_driver.c: In function 'rmi_read_register_desc': drivers/input/rmi4/rmi_driver.c:583:24: warning: comparison is always false due to limited range of data type [-Wtype-limits] 583 | if (size_presence_reg < 0 || size_presence_reg > 35) | ^ drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'input_dev' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'client' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'regmap' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'work' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'enable_gpio' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'regulator' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'magnitude' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'mode' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'library' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'rated_voltage' not described in 'drv260x_data' drivers/input/misc/drv260x.c:194: warning: Function parameter or member 'overdrive_voltage' not described in 'drv260x_data' drivers/input/misc/drv260x.c:244: warning: Function parameter or member 'voltage' not described in 'drv260x_calculate_voltage' {standard input}: Assembler messages: {standard input}:454: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/joystick/magellan.o] Error 1 {standard input}: Assembler messages: {standard input}:1603: Error: unknown opcode {standard input}: Assembler messages: {standard input}:361: Error: unknown opcode {standard input}:1213: Error: unknown opcode {standard input}: Assembler messages: {standard input}:489: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/input/joystick/twidjoy.o] Error 1 {standard input}:8780: Error: unknown opcode {standard input}:10054: Error: unknown opcode {standard input}:2622: Error: unknown opcode {standard input}: Assembler messages: {standard input}:460: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/joystick/spaceorb.o] Error 1 {standard input}:5503: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/rmi4/rmi_driver.o] Error 1 make[3]: *** [scripts/Makefile.build:280: drivers/input/input.o] Error 1 drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'input_dev' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'client' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'regmap' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'work' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'regulator' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'page' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'magnitude' not described in 'drv2667_data' drivers/input/misc/drv2667.c:109: warning: Function parameter or member 'frequency' not described in 'drv2667_data' drivers/input/misc/mc13783-pwrbutton.c:32: warning: cannot understand function prototype: 'struct mc13783_pwrb ' make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/input/joystick] Error 2 drivers/input/rmi4/rmi_f01.c:106: warning: Cannot understand * @ctrl0 - see the bit definitions above. on line 106 - I thought it was a doc line {standard input}: Assembler messages: {standard input}:446: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/input/misc/pcf50633-input.o] Error 1 {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/input/misc] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/input/misc/uinput.o] Error 1 make[4]: Target '__build' not remade because of errors. drivers/input/rmi4/rmi_f54.c:77: warning: Enum value 'F54_REPORT_NONE' not described in enum 'rmi_f54_report_type' drivers/input/rmi4/rmi_f54.c:77: warning: Enum value 'F54_MAX_REPORT_TYPE' not described in enum 'rmi_f54_report_type' {standard input}: Assembler messages: {standard input}:69: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/ff-memless.o] Error 1 drivers/input/rmi4/rmi_i2c.c:39: warning: Function parameter or member 'client' not described in 'rmi_i2c_xport' drivers/input/rmi4/rmi_i2c.c:39: warning: Function parameter or member 'supplies' not described in 'rmi_i2c_xport' drivers/input/rmi4/rmi_i2c.c:39: warning: Function parameter or member 'startup_delay' not described in 'rmi_i2c_xport' make[3]: *** [scripts/Makefile.build:497: drivers/input/rmi4] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:828: Error: unknown opcode {standard input}:924: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/sparse-keymap.o] Error 1 drivers/input/mousedev.c:683:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/input/mousedev.c:683:21: sparse: expected char const *__gu_addr drivers/input/mousedev.c:683:21: sparse: got char const [noderef] __user * >> drivers/input/mousedev.c:683:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/input/mousedev.c:683:21: sparse: expected void const volatile [noderef] __user *ptr drivers/input/mousedev.c:683:21: sparse: got char const *__gu_addr drivers/input/joydev.c:528:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/input/joydev.c:528:24: sparse: expected signed int const *__gu_addr drivers/input/joydev.c:528:24: sparse: got signed int [noderef] [usertype] __user * >> drivers/input/joydev.c:528:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ >> drivers/input/joydev.c:528:24: sparse: expected void const volatile [noderef] __user *ptr drivers/input/joydev.c:528:24: sparse: got signed int const *__gu_addr drivers/input/joydev.c:680:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected long const *__gu_addr @@ got long [noderef] __user * @@ drivers/input/joydev.c:680:26: sparse: expected long const *__gu_addr drivers/input/joydev.c:680:26: sparse: got long [noderef] __user * >> drivers/input/joydev.c:680:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got long const *__gu_addr @@ drivers/input/joydev.c:680:26: sparse: expected void const volatile [noderef] __user *ptr drivers/input/joydev.c:680:26: sparse: got long const *__gu_addr {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:4163: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/mousedev.o] Error 1 {standard input}: Assembler messages: {standard input}:6541: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/input/joydev.o] Error 1 make[3]: Target '__build' not remade because of errors. -- drivers/vhost/vringh.c:567:18: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __virtio16 const *__gu_addr @@ got restricted __virtio16 [noderef] [usertype] __user * @@ drivers/vhost/vringh.c:567:18: sparse: expected restricted __virtio16 const *__gu_addr drivers/vhost/vringh.c:567:18: sparse: got restricted __virtio16 [noderef] [usertype] __user * >> drivers/vhost/vringh.c:567:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got restricted __virtio16 const *__gu_addr @@ >> drivers/vhost/vringh.c:567:18: sparse: expected void const volatile [noderef] __user *ptr drivers/vhost/vringh.c:567:18: sparse: got restricted __virtio16 const *__gu_addr {standard input}: Assembler messages: {standard input}:281: Error: unknown opcode drivers/vhost/iotlb.c:156: warning: Function parameter or member 'last' not described in 'vhost_iotlb_itree_first' drivers/vhost/iotlb.c:156: warning: Excess function parameter 'end' description in 'vhost_iotlb_itree_first' drivers/vhost/iotlb.c:169: warning: Function parameter or member 'map' not described in 'vhost_iotlb_itree_next' drivers/vhost/iotlb.c:169: warning: Function parameter or member 'last' not described in 'vhost_iotlb_itree_next' drivers/vhost/iotlb.c:169: warning: Excess function parameter 'iotlb' description in 'vhost_iotlb_itree_next' drivers/vhost/iotlb.c:169: warning: Excess function parameter 'end' description in 'vhost_iotlb_itree_next' make[3]: *** [scripts/Makefile.build:280: drivers/vhost/vringh.o] Error 1 make[3]: Target '__build' not remade because of errors. -- drivers/fsi/fsi-core.c:389:12: sparse: sparse: function 'fsi_slave_claim_range' with external linkage has definition drivers/fsi/fsi-core.c:403:13: sparse: sparse: function 'fsi_slave_release_range' with external linkage has definition drivers/fsi/fsi-scom.c:497:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/fsi/fsi-scom.c:497:13: sparse: expected unsigned int const *__gu_addr drivers/fsi/fsi-scom.c:497:13: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/fsi/fsi-scom.c:497:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/fsi/fsi-scom.c:497:13: sparse: expected void const volatile [noderef] __user *ptr drivers/fsi/fsi-scom.c:497:13: sparse: got unsigned int const *__gu_addr -- drivers/char/ipmi/ipmi_msghandler.c:210:17: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/char/ipmi/ipmi_msghandler.c:210:17: sparse: struct ipmi_user [noderef] __rcu * drivers/char/ipmi/ipmi_msghandler.c:210:17: sparse: struct ipmi_user * drivers/char/ipmi/ipmi_msghandler.c:1223:9: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/char/ipmi/ipmi_msghandler.c:1223:9: sparse: struct ipmi_user [noderef] __rcu * drivers/char/ipmi/ipmi_msghandler.c:1223:9: sparse: struct ipmi_user * drivers/char/ipmi/ipmi_msghandler.c:1292:9: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/char/ipmi/ipmi_msghandler.c:1292:9: sparse: struct ipmi_user [noderef] __rcu * drivers/char/ipmi/ipmi_msghandler.c:1292:9: sparse: struct ipmi_user * drivers/char/ipmi/ipmi_msghandler.c:3597:25: sparse: sparse: cast removes address space '__rcu' of expression drivers/char/ipmi/ipmi_msghandler.c:204:25: sparse: sparse: context imbalance in 'acquire_ipmi_user' - different lock contexts for basic block include/linux/srcu.h:181:9: sparse: sparse: context imbalance in 'release_ipmi_user' - unexpected unlock drivers/char/ipmi/ipmi_msghandler.c:893:16: sparse: sparse: context imbalance in 'deliver_response' - different lock contexts for basic block drivers/char/ipmi/ipmi_msghandler.c:1275:13: sparse: sparse: context imbalance in '_ipmi_destroy_user' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:1357:5: sparse: sparse: context imbalance in 'ipmi_get_version' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:1379:5: sparse: sparse: context imbalance in 'ipmi_set_my_address' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:1401:5: sparse: sparse: context imbalance in 'ipmi_get_my_address' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:1423:5: sparse: sparse: context imbalance in 'ipmi_set_my_LUN' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:1445:5: sparse: sparse: context imbalance in 'ipmi_get_my_LUN' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:1467:5: sparse: sparse: context imbalance in 'ipmi_get_maintenance_mode' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:1492:5: sparse: sparse: context imbalance in 'ipmi_set_maintenance_mode' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:1534:5: sparse: sparse: context imbalance in 'ipmi_set_gets_events' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:1631:5: sparse: sparse: context imbalance in 'ipmi_register_for_cmd' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:1676:5: sparse: sparse: context imbalance in 'ipmi_unregister_for_cmd' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:1840:39: sparse: sparse: context imbalance in 'smi_send' - unexpected unlock drivers/char/ipmi/ipmi_msghandler.c:2288:5: sparse: sparse: context imbalance in 'ipmi_request_settime' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:2327:5: sparse: sparse: context imbalance in 'ipmi_request_supply_msgs' - wrong count at exit drivers/char/ipmi/ipmi_msghandler.c:4452:39: sparse: sparse: context imbalance in 'handle_new_recv_msgs' - unexpected unlock drivers/char/ipmi/ipmi_msghandler.c:4509:9: sparse: sparse: context imbalance in 'smi_recv_tasklet' - different lock contexts for basic block drivers/char/ipmi/ipmi_msghandler.c:4544:39: sparse: sparse: context imbalance in 'ipmi_smi_msg_received' - unexpected unlock drivers/char/ipmi/ipmi_msghandler.c:4640:39: sparse: sparse: context imbalance in 'check_msg_timeout' - unexpected unlock drivers/char/ipmi/ipmi_si_intf.c:1044:39: sparse: sparse: context imbalance in 'poll' - unexpected unlock {standard input}: Assembler messages: {standard input}:5233: Error: unknown opcode {standard input}: Assembler messages: {standard input}:236: Error: unknown opcode {standard input}:295: Error: unknown opcode {standard input}:3484: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/char/ipmi/ipmi_si_intf.o] Error 1 {standard input}:5700: Error: unknown opcode {standard input}:6533: Error: unknown opcode {standard input}:7131: Error: unknown opcode {standard input}:7162: Error: unknown opcode {standard input}:7751: Error: unknown opcode {standard input}:8576: Error: unknown opcode {standard input}:8731: Error: unknown opcode {standard input}:9915: Error: unknown opcode {standard input}:10775: Error: unknown opcode {standard input}:19062: Error: unknown opcode {standard input}:23655: Error: unknown opcode {standard input}:24012: Error: unknown opcode {standard input}:27408: Error: unknown opcode {standard input}:27496: Error: unknown opcode {standard input}:29012: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_msghandler.o] Error 1 {standard input}: Assembler messages: {standard input}:1007: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/char/ipmi/ipmi_si_hotmod.o] Error 1 drivers/char/ipmi/ipmi_ssif.c:355:13: sparse: sparse: context imbalance in 'start_clear_flags' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:374:13: sparse: sparse: context imbalance in 'start_flag_fetch' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:415:9: sparse: sparse: context imbalance in 'start_event_fetch' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:438:9: sparse: sparse: context imbalance in 'start_recv_msg_fetch' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:469:17: sparse: sparse: context imbalance in 'handle_flags' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:570:13: sparse: sparse: context imbalance in 'watch_timeout' - different lock contexts for basic block drivers/char/ipmi/ipmi_ssif.c:903:9: sparse: sparse: context imbalance in 'msg_done_handler' - different lock contexts for basic block drivers/char/ipmi/ipmi_ssif.c:1078:17: sparse: sparse: context imbalance in 'start_next_msg' - unexpected unlock drivers/char/ipmi/ipmi_ssif.c:1106:9: sparse: sparse: context imbalance in 'sender' - wrong count at exit {standard input}: Assembler messages: {standard input}:2683: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_poweroff.o] Error 1 drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: expected char const *__gu_addr drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: got char const [noderef] __user * >> drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: expected void const volatile [noderef] __user *ptr drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: got char const *__gu_addr {standard input}: Assembler messages: {standard input}:3307: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2708: Error: unknown opcode {standard input}:4332: Error: unknown opcode {standard input}:4958: Error: unknown opcode {standard input}:5123: Error: unknown opcode {standard input}:5293: Error: unknown opcode {standard input}:5453: Error: unknown opcode {standard input}:6020: Error: unknown opcode {standard input}:6287: Error: unknown opcode {standard input}:6384: Error: unknown opcode {standard input}:6612: Error: unknown opcode {standard input}:6723: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_watchdog.o] Error 1 make[3]: *** [scripts/Makefile.build:280: drivers/char/ipmi/ipmi_ssif.o] Error 1 make[3]: Target '__build' not remade because of errors. -- drivers/tty/vt/vt_ioctl.c:1004:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] __user * @@ drivers/tty/vt/vt_ioctl.c:1004:21: sparse: expected unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1004:21: sparse: got unsigned short [noderef] __user * >> drivers/tty/vt/vt_ioctl.c:1004:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ >> drivers/tty/vt/vt_ioctl.c:1004:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt_ioctl.c:1004:21: sparse: got unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] __user * @@ drivers/tty/vt/vt_ioctl.c:1005:21: sparse: expected unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: got unsigned short [noderef] __user * drivers/tty/vt/vt_ioctl.c:1005:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ drivers/tty/vt/vt_ioctl.c:1005:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: got unsigned short const *__gu_addr drivers/tty/serial/8250/8250_core.c: In function 'serial8250_isa_init_ports': drivers/tty/serial/8250/8250_core.c:537:9: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 537 | i < ARRAY_SIZE(old_serial_port) && i < nr_uarts; | ^ {standard input}: Assembler messages: {standard input}:2439: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/vt_ioctl.o] Error 1 drivers/tty/serial/8250/8250_port.c:1884:5: sparse: sparse: context imbalance in 'serial8250_handle_irq' - different lock contexts for basic block drivers/tty/serial/8250/8250_port.c:3295:9: sparse: sparse: context imbalance in 'serial8250_console_write' - different lock contexts for basic block drivers/tty/serial/8250/8250_dw.c:631:36: warning: 'dw8250_acpi_match' defined but not used [-Wunused-const-variable=] 631 | static const struct acpi_device_id dw8250_acpi_match[] = { | ^~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:5769: Error: unknown opcode {standard input}:5872: Error: unknown opcode make[5]: *** [scripts/Makefile.build:280: drivers/tty/serial/8250/8250_port.o] Error 1 make[5]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/tty/serial/8250] Error 2 drivers/tty/serial/serial_core.c:139:9: sparse: sparse: context imbalance in 'uart_start' - different lock contexts for basic block drivers/tty/serial/serial_core.c:219:17: sparse: sparse: context imbalance in 'uart_port_startup' - different lock contexts for basic block drivers/tty/serial/serial_core.c:321:9: sparse: sparse: context imbalance in 'uart_shutdown' - different lock contexts for basic block drivers/tty/serial/serial_core.c:569:9: sparse: sparse: context imbalance in 'uart_put_char' - different lock contexts for basic block drivers/tty/serial/serial_core.c:617:9: sparse: sparse: context imbalance in 'uart_write' - different lock contexts for basic block drivers/tty/serial/serial_core.c:620:12: sparse: sparse: context imbalance in 'uart_write_room' - different lock contexts for basic block drivers/tty/serial/serial_core.c:633:12: sparse: sparse: context imbalance in 'uart_chars_in_buffer' - different lock contexts for basic block drivers/tty/serial/serial_core.c:670:9: sparse: sparse: context imbalance in 'uart_flush_buffer' - different lock contexts for basic block drivers/tty/serdev/core.c: In function 'serdev_controller_remove': drivers/tty/serdev/core.c:791:6: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 791 | int dummy; | ^~~~~ {standard input}: Assembler messages: {standard input}:653: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/selection.o] Error 1 drivers/tty/serdev/core.c:811: warning: Function parameter or member 'owner' not described in '__serdev_device_driver_register' drivers/tty/vt/keyboard.c:1729:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/vt/keyboard.c:1729:21: sparse: expected unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1729:21: sparse: got unsigned int [noderef] __user * >> drivers/tty/vt/keyboard.c:1729:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/tty/vt/keyboard.c:1729:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/keyboard.c:1729:21: sparse: got unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1767:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/vt/keyboard.c:1767:21: sparse: expected unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1767:21: sparse: got unsigned int [noderef] __user * drivers/tty/vt/keyboard.c:1767:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/tty/vt/keyboard.c:1767:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/keyboard.c:1767:21: sparse: got unsigned int const *__gu_addr drivers/tty/vt/keyboard.c: In function 'k_fn': drivers/tty/vt/keyboard.c:744:22: warning: comparison is always true due to limited range of data type [-Wtype-limits] 744 | if ((unsigned)value < ARRAY_SIZE(func_table)) { | ^ {standard input}: Assembler messages: {standard input}:5636: Error: unknown opcode {standard input}:5715: Error: unknown opcode {standard input}:5869: Error: unknown opcode {standard input}:5897: Error: unknown opcode {standard input}:5932: Error: unknown opcode {standard input}:6237: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1251: Error: unknown opcode {standard input}:1578: Error: unknown opcode {standard input}:1773: Error: unknown opcode {standard input}:1941: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/tty/serdev/serdev-ttyport.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/tty/serdev] Error 2 {standard input}:6569: Error: unknown opcode {standard input}:6833: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/keyboard.o] Error 1 drivers/tty/vt/defkeymap.c:28:9: sparse: sparse: symbol 'shift_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:47:9: sparse: sparse: symbol 'altgr_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:66:9: sparse: sparse: symbol 'ctrl_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:85:9: sparse: sparse: symbol 'shift_ctrl_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:104:9: sparse: sparse: symbol 'alt_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:123:9: sparse: sparse: symbol 'ctrl_alt_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:149:14: sparse: sparse: symbol 'keymap_count' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:157:6: sparse: sparse: symbol 'func_buf' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:188:6: sparse: sparse: symbol 'funcbufptr' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:189:5: sparse: sparse: symbol 'funcbufsize' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:190:5: sparse: sparse: symbol 'funcbufleft' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:192:6: sparse: sparse: symbol 'func_table' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:226:18: sparse: sparse: symbol 'accent_table' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:263:14: sparse: sparse: symbol 'accent_table_size' was not declared. Should it be static? drivers/tty/vt/vt.c:4294:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user * @@ drivers/tty/vt/vt.c:4294:13: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:4294:13: sparse: got char [noderef] __user * >> drivers/tty/vt/vt.c:4294:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/vt/vt.c:4294:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:4294:13: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:225:5: sparse: sparse: symbol 'console_blank_hook' was not declared. Should it be static? drivers/tty/vt/consolemap_deftbl.c:10:4: sparse: sparse: symbol 'dfont_unicount' was not declared. Should it be static? drivers/tty/vt/consolemap_deftbl.c:46:5: sparse: sparse: symbol 'dfont_unitable' was not declared. Should it be static? drivers/tty/vt/vt.c:2985:19: sparse: sparse: symbol 'console_driver' was not declared. Should it be static? drivers/tty/vt/vt.c:3141:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user *p @@ drivers/tty/vt/vt.c:3141:13: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:3141:13: sparse: got char [noderef] __user *p drivers/tty/vt/vt.c:3141:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/tty/vt/vt.c:3141:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3141:13: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:3194:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user * @@ drivers/tty/vt/vt.c:3194:37: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:3194:37: sparse: got char [noderef] __user * drivers/tty/vt/vt.c:3194:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/tty/vt/vt.c:3194:37: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3194:37: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:3207:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/tty/vt/vt.c:3207:29: sparse: expected signed int const *__gu_addr drivers/tty/vt/vt.c:3207:29: sparse: got signed int [noderef] [usertype] __user * >> drivers/tty/vt/vt.c:3207:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/tty/vt/vt.c:3207:29: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3207:29: sparse: got signed int const *__gu_addr {standard input}: Assembler messages: {standard input}:258: Error: unknown opcode drivers/tty/serial/max3100.c:202:13: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [usertype] etx @@ got restricted __be16 [usertype] @@ drivers/tty/serial/max3100.c:202:13: sparse: expected unsigned short [addressable] [usertype] etx drivers/tty/serial/max3100.c:202:13: sparse: got restricted __be16 [usertype] drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 drivers/tty/serial/max3100.c:210:15: sparse: sparse: cast to restricted __be16 include/linux/spinlock.h:409:9: sparse: sparse: context imbalance in 'serial_console_write' - unexpected unlock {standard input}:12727: Error: unknown opcode {standard input}:18464: Error: unknown opcode {standard input}:19522: Error: unknown opcode drivers/tty/vt/consolemap.c:716: warning: Function parameter or member 'src_vc' not described in 'con_copy_unimap' drivers/tty/vt/consolemap.c:716: warning: Excess function parameter 'src_vt' description in 'con_copy_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'ct' not described in 'con_get_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'uct' not described in 'con_get_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'list' not described in 'con_get_unimap' make[4]: *** [scripts/Makefile.build:280: drivers/tty/vt/vt.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/tty/vt] Error 2 {standard input}: Assembler messages: {standard input}:220: Error: unknown opcode {standard input}:327: Error: unknown opcode drivers/tty/serial/ifx6x60.c:230:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __be32 [usertype] @@ drivers/tty/serial/ifx6x60.c:230:25: sparse: expected unsigned int [usertype] drivers/tty/serial/ifx6x60.c:230:25: sparse: got restricted __be32 [usertype] drivers/tty/serial/ifx6x60.c:204:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] @@ got restricted __be16 [usertype] @@ drivers/tty/serial/ifx6x60.c:204:25: sparse: expected unsigned short [usertype] drivers/tty/serial/ifx6x60.c:204:25: sparse: got restricted __be16 [usertype] drivers/tty/tty_io.c:2189:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user *p @@ drivers/tty/tty_io.c:2189:13: sparse: expected char const *__gu_addr drivers/tty/tty_io.c:2189:13: sparse: got char [noderef] __user *p >> drivers/tty/tty_io.c:2189:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/tty_io.c:2189:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2189:13: sparse: got char const *__gu_addr drivers/tty/tty_io.c:2330:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/tty/tty_io.c:2330:13: sparse: expected int const *__gu_addr drivers/tty/tty_io.c:2330:13: sparse: got int [noderef] __user *p >> drivers/tty/tty_io.c:2330:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/tty/tty_io.c:2330:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2330:13: sparse: got int const *__gu_addr drivers/tty/tty_io.c:2448:18: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user *p @@ drivers/tty/tty_io.c:2448:18: sparse: expected unsigned int const *__gu_addr drivers/tty/tty_io.c:2448:18: sparse: got unsigned int [noderef] __user *p >> drivers/tty/tty_io.c:2448:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/tty/tty_io.c:2448:18: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2448:18: sparse: got unsigned int const *__gu_addr include/linux/spinlock.h:409:9: sparse: sparse: context imbalance in 'linflex_console_write' - unexpected unlock drivers/tty/serial/digicolor-usart.c:412:26: sparse: sparse: context imbalance in 'digicolor_uart_console_write' - different lock contexts for basic block {standard input}: Assembler messages: {standard input}:4929: Error: unknown opcode {standard input}:5877: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/serial/sc16is7xx.o] Error 1 {standard input}: Assembler messages: {standard input}:255: Error: unknown opcode {standard input}:318: Error: unknown opcode {standard input}:4985: Error: unknown opcode {standard input}:5016: Error: unknown opcode {standard input}:5690: Error: unknown opcode {standard input}:10136: Error: unknown opcode drivers/tty/serial/sifive.c:157: warning: cannot understand function prototype: 'struct sifive_serial_port ' {standard input}:10604: Error: unknown opcode {standard input}:10862: Error: unknown opcode {standard input}:12350: Error: unknown opcode {standard input}:14125: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_io.o] Error 1 {standard input}:13546: Error: unknown opcode {standard input}:13840: Error: unknown opcode drivers/tty/serial/men_z135_uart.c:182: warning: Function parameter or member 'uart' not described in 'men_z135_handle_modem_status' drivers/tty/serial/men_z135_uart.c:182: warning: Excess function parameter 'port' description in 'men_z135_handle_modem_status' drivers/tty/serial/men_z135_uart.c:244: warning: Function parameter or member 'uart' not described in 'men_z135_handle_rx' drivers/tty/serial/men_z135_uart.c:244: warning: Excess function parameter 'arg' description in 'men_z135_handle_rx' drivers/tty/serial/men_z135_uart.c:294: warning: Function parameter or member 'uart' not described in 'men_z135_handle_tx' drivers/tty/serial/men_z135_uart.c:294: warning: Excess function parameter 'arg' description in 'men_z135_handle_tx' drivers/tty/serial/men_z135_uart.c:604: warning: Function parameter or member 'port' not described in 'men_z135_enable_ms' {standard input}:14520: Error: unknown opcode {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}:113: Error: unknown opcode {standard input}:2753: Error: unknown opcode {standard input}:3244: Error: unknown opcode {standard input}:5104: Error: unknown opcode {standard input}:6454: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/tty/serial/serial_core.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/tty/serial] Error 2 make[4]: *** [scripts/Makefile.build:280: drivers/tty/serial/ifx6x60.o] Error 1 make[4]: Target '__build' not remade because of errors. drivers/tty/tty_ioctl.c:842:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/tty_ioctl.c:842:21: sparse: expected unsigned int const *__gu_addr drivers/tty/tty_ioctl.c:842:21: sparse: got unsigned int [noderef] __user * >> drivers/tty/tty_ioctl.c:842:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/tty/tty_ioctl.c:842:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_ioctl.c:842:21: sparse: got unsigned int const *__gu_addr include/asm-generic/termios.h:25:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:25:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:25:13: sparse: got unsigned short const [noderef] __user * >> include/asm-generic/termios.h:25:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ >> include/asm-generic/termios.h:25:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:25:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:29:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:29:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:29:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:29:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:29:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:29:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:33:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:33:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:33:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:33:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:33:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:33:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:37:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:37:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:37:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:37:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:37:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:37:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:41:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char const [noderef] __user * @@ include/asm-generic/termios.h:41:13: sparse: expected unsigned char const *__gu_addr include/asm-generic/termios.h:41:13: sparse: got unsigned char const [noderef] __user * >> include/asm-generic/termios.h:41:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ include/asm-generic/termios.h:41:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:41:13: sparse: got unsigned char const *__gu_addr {standard input}: Assembler messages: {standard input}:69: Error: unknown opcode {standard input}:142: Error: unknown opcode {standard input}:462: Error: unknown opcode {standard input}:1553: Error: unknown opcode {standard input}:1614: Error: unknown opcode {standard input}:1798: Error: unknown opcode {standard input}:1998: Error: unknown opcode {standard input}:2036: Error: unknown opcode drivers/tty/tty_ldisc.c:884:6: warning: no previous prototype for 'tty_sysctl_init' [-Wmissing-prototypes] 884 | void tty_sysctl_init(void) | ^~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:2927: Error: unknown opcode {standard input}:3313: Error: unknown opcode {standard input}:5003: Error: unknown opcode {standard input}:5186: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_ioctl.o] Error 1 {standard input}: Assembler messages: {standard input}:1471: Error: unknown opcode {standard input}:1599: Error: unknown opcode {standard input}:1849: Error: unknown opcode {standard input}:2533: Error: unknown opcode {standard input}:2588: Error: unknown opcode {standard input}:2940: Error: unknown opcode {standard input}:3007: Error: unknown opcode {standard input}:3135: Error: unknown opcode {standard input}:3169: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_ldisc.o] Error 1 {standard input}: Assembler messages: {standard input}:365: Error: unknown opcode {standard input}:750: Error: unknown opcode {standard input}:801: Error: unknown opcode {standard input}:835: Error: unknown opcode {standard input}:1936: Error: unknown opcode {standard input}:2081: Error: unknown opcode {standard input}:2260: Error: unknown opcode {standard input}:2572: Error: unknown opcode {standard input}:2619: Error: unknown opcode {standard input}:2901: Error: unknown opcode {standard input}:3066: Error: unknown opcode {standard input}:3311: Error: unknown opcode {standard input}:3382: Error: unknown opcode {standard input}:3468: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_buffer.o] Error 1 {standard input}:2720: Error: unknown opcode {standard input}:2992: Error: unknown opcode {standard input}:6144: Error: unknown opcode {standard input}:6769: Error: unknown opcode {standard input}:6868: Error: unknown opcode {standard input}:8445: Error: unknown opcode {standard input}: Assembler messages: {standard input}:292: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_mutex.o] Error 1 {standard input}:11054: Error: unknown opcode {standard input}:11374: Error: unknown opcode {standard input}:11564: Error: unknown opcode {standard input}:12774: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_tty.o] Error 1 drivers/tty/tty_jobctrl.c:77:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:77:9: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:77:9: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:80:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:80:34: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:80:34: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:120:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:120:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:120:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:122:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:122:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:122:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:131:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:131:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:131:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:152:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:152:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:152:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:161:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:161:9: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:161:9: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:163:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:163:40: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:163:40: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:200:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:200:41: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:200:41: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:208:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:208:51: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:208:51: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:219:43: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:219:43: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:219:43: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:281:39: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:281:39: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:281:39: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:284:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:284:41: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:284:41: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:293:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:293:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:293:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:309:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:309:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:309:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:484:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] [usertype] __user *p @@ drivers/tty/tty_jobctrl.c:484:13: sparse: expected int const *__gu_addr drivers/tty/tty_jobctrl.c:484:13: sparse: got int [noderef] [usertype] __user *p >> drivers/tty/tty_jobctrl.c:484:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/tty/tty_jobctrl.c:484:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_jobctrl.c:484:13: sparse: got int const *__gu_addr drivers/tty/tty_jobctrl.c:18:41: sparse: sparse: dereference of noderef expression {standard input}: Assembler messages: {standard input}:2488: Error: unknown opcode {standard input}:2519: Error: unknown opcode {standard input}:2685: Error: unknown opcode {standard input}:3321: Error: unknown opcode {standard input}:3363: Error: unknown opcode {standard input}:3664: Error: unknown opcode {standard input}:3706: Error: unknown opcode {standard input}:3998: Error: unknown opcode {standard input}:4856: Error: unknown opcode {standard input}:5065: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_port.o] Error 1 drivers/tty/pty.c:163:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/tty/pty.c:163:13: sparse: expected int const *__gu_addr drivers/tty/pty.c:163:13: sparse: got int [noderef] __user *arg >> drivers/tty/pty.c:163:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/tty/pty.c:163:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/pty.c:163:13: sparse: got int const *__gu_addr drivers/tty/pty.c:183:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/tty/pty.c:183:13: sparse: expected int const *__gu_addr drivers/tty/pty.c:183:13: sparse: got int [noderef] __user *arg drivers/tty/pty.c:183:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/tty/pty.c:183:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/pty.c:183:13: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:50: Error: unknown opcode {standard input}: Assembler messages: {standard input}:45: Error: unknown opcode {standard input}:401: Error: unknown opcode {standard input}:432: Error: unknown opcode {standard input}:661: Error: unknown opcode {standard input}:828: Error: unknown opcode {standard input}:1271: Error: unknown opcode {standard input}:1426: Error: unknown opcode {standard input}:1599: Error: unknown opcode {standard input}:1658: Error: unknown opcode {standard input}:2032: Error: unknown opcode {standard input}:2233: Error: unknown opcode {standard input}:3142: Error: unknown opcode {standard input}:3367: Error: unknown opcode {standard input}:3419: Error: unknown opcode {standard input}:3809: Error: unknown opcode {standard input}:3958: Error: unknown opcode {standard input}:2345: Error: unknown opcode {standard input}:2455: Error: unknown opcode {standard input}:3112: Error: unknown opcode {standard input}:3490: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/pty.o] Error 1 make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_ldsem.o] Error 1 drivers/tty/tty_baudrate.c:143: warning: Function parameter or member 'ibaud' not described in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:143: warning: Function parameter or member 'obaud' not described in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:143: warning: Excess function parameter 'ispeed' description in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:143: warning: Excess function parameter 'ospeed' description in 'tty_termios_encode_baud_rate' drivers/tty/tty_baudrate.c:234: warning: Function parameter or member 'tty' not described in 'tty_encode_baud_rate' drivers/tty/tty_baudrate.c:234: warning: Function parameter or member 'obaud' not described in 'tty_encode_baud_rate' drivers/tty/tty_baudrate.c:234: warning: Excess function parameter 'obad' description in 'tty_encode_baud_rate' {standard input}: Assembler messages: {standard input}:596: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_tracesink.o] Error 1 {standard input}: Assembler messages: {standard input}:145: Error: unknown opcode {standard input}:1445: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/tty_jobctrl.o] Error 1 drivers/tty/sysrq.c:1110:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *buf @@ drivers/tty/sysrq.c:1110:21: sparse: expected char const *__gu_addr drivers/tty/sysrq.c:1110:21: sparse: got char const [noderef] __user *buf >> drivers/tty/sysrq.c:1110:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/sysrq.c:1110:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/sysrq.c:1110:21: sparse: got char const *__gu_addr drivers/tty/sysrq.c:148:13: sparse: sparse: context imbalance in 'sysrq_handle_crash' - unexpected unlock drivers/tty/n_gsm.c:2808:29: sparse: sparse: restricted __be16 degrades to integer {standard input}: Assembler messages: {standard input}:3059: Error: unknown opcode {standard input}:3460: Error: unknown opcode {standard input}:4170: Error: unknown opcode {standard input}:4708: Error: unknown opcode {standard input}:4790: Error: unknown opcode {standard input}:5416: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_hdlc.o] Error 1 {standard input}: Assembler messages: {standard input}:4429: Error: unknown opcode {standard input}:4530: Error: unknown opcode {standard input}:4650: Error: unknown opcode {standard input}:4835: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/sysrq.o] Error 1 {standard input}: Assembler messages: {standard input}:2953: Error: unknown opcode {standard input}:4259: Error: unknown opcode {standard input}:4290: Error: unknown opcode {standard input}:4445: Error: unknown opcode {standard input}:4757: Error: unknown opcode {standard input}:5146: Error: unknown opcode {standard input}:5278: Error: unknown opcode {standard input}:10885: Error: unknown opcode {standard input}:12291: Error: unknown opcode {standard input}:14437: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/tty/n_gsm.o] Error 1 make[3]: Target '__build' not remade because of errors. -- {standard input}: Assembler messages: {standard input}:1272: Error: unknown opcode {standard input}:1303: Error: unknown opcode {standard input}:1614: Error: unknown opcode {standard input}:1977: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/char/hw_random/core.o] Error 1 {standard input}: Assembler messages: {standard input}:197: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/char/hw_random/ba431-rng.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/char/hw_random] Error 2 make[4]: Target '__build' not remade because of errors. drivers/char/tpm/st33zp24/i2c.c:291:36: warning: 'st33zp24_i2c_acpi_match' defined but not used [-Wunused-const-variable=] 291 | static const struct acpi_device_id st33zp24_i2c_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ drivers/char/tpm/st33zp24/spi.c:408:36: warning: 'st33zp24_spi_acpi_match' defined but not used [-Wunused-const-variable=] 408 | static const struct acpi_device_id st33zp24_spi_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:113: Error: unknown opcode {standard input}:268: Error: unknown opcode {standard input}:415: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/char/tpm/tpm-dev.o] Error 1 drivers/char/tpm/tpm_tis_spi_main.c:278:36: warning: 'acpi_tis_spi_match' defined but not used [-Wunused-const-variable=] 278 | static const struct acpi_device_id acpi_tis_spi_match[] = { | ^~~~~~~~~~~~~~~~~~ drivers/char/mem.c:163:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *addr @@ got void [noderef] __user *__cl_addr @@ drivers/char/mem.c:163:37: sparse: expected void *addr drivers/char/mem.c:163:37: sparse: got void [noderef] __user *__cl_addr drivers/char/mem.c:98:29: warning: no previous prototype for 'unxlate_dev_mem_ptr' [-Wmissing-prototypes] 98 | #define unxlate_dev_mem_ptr unxlate_dev_mem_ptr | ^~~~~~~~~~~~~~~~~~~ drivers/char/mem.c:99:13: note: in expansion of macro 'unxlate_dev_mem_ptr' 99 | void __weak unxlate_dev_mem_ptr(phys_addr_t phys, void *addr) | ^~~~~~~~~~~~~~~~~~~ make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/char/tpm] Error 2 drivers/char/random.c:1943:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/char/random.c:1943:21: sparse: expected int const *__gu_addr drivers/char/random.c:1943:21: sparse: got int [noderef] __user *p >> drivers/char/random.c:1943:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/char/random.c:1943:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1943:21: sparse: got int const *__gu_addr drivers/char/random.c:1949:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/char/random.c:1949:21: sparse: expected int const *__gu_addr drivers/char/random.c:1949:21: sparse: got int [noderef] __user * drivers/char/random.c:1949:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/char/random.c:1949:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1949:21: sparse: got int const *__gu_addr drivers/char/random.c:1953:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/char/random.c:1953:21: sparse: expected int const *__gu_addr drivers/char/random.c:1953:21: sparse: got int [noderef] __user * drivers/char/random.c:1953:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/char/random.c:1953:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1953:21: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:427: Error: unknown opcode {standard input}:975: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/char/misc.o] Error 1 drivers/char/random.c:2296:6: warning: no previous prototype for 'add_hwgenerator_randomness' [-Wmissing-prototypes] 2296 | void add_hwgenerator_randomness(const char *buffer, size_t count, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ {standard input}: Assembler messages: {standard input}:11802: Error: unknown opcode {standard input}:12977: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: drivers/char/random.o] Error 1 make[3]: Target '__build' not remade because of errors. -- 456 | if (brightness < S6E3HA2_MIN_BRIGHTNESS || | ^ drivers/gpu/drm/panel/panel-tpo-tpg110.c:95: warning: Function parameter or member 'panel_mode' not described in 'tpg110' drivers/gpu/drm/panel/panel-tpo-tpg110.c:376: warning: Function parameter or member 'connector' not described in 'tpg110_get_modes' {standard input}: Assembler messages: {standard input}:2129: Error: unknown opcode make[5]: *** [scripts/Makefile.build:280: drivers/gpu/drm/panel/panel-sony-acx565akm.o] Error 1 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:527:5: sparse: sparse: symbol 'analogix_dp_start_aux_transaction' was not declared. Should it be static? drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:571:5: sparse: sparse: symbol 'analogix_dp_write_byte_to_dpcd' was not declared. Should it be static? make[4]: *** [scripts/Makefile.build:497: drivers/gpu/drm/panel] Error 2 make[5]: Target '__build' not remade because of errors. drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:527:5: warning: no previous prototype for 'analogix_dp_start_aux_transaction' [-Wmissing-prototypes] 527 | int analogix_dp_start_aux_transaction(struct analogix_dp_device *dp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:571:5: warning: no previous prototype for 'analogix_dp_write_byte_to_dpcd' [-Wmissing-prototypes] 571 | int analogix_dp_write_byte_to_dpcd(struct analogix_dp_device *dp, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c:253:9: sparse: sparse: cast truncates bits from constant value (ffffff7f becomes 7f) drivers/gpu/drm/bridge/synopsys/dw-hdmi.c:3210:30: sparse: sparse: cast truncates bits from constant value (ffffff0d becomes d) {standard input}: Assembler messages: {standard input}:2390: Error: unknown opcode {standard input}:2452: Error: unknown opcode {standard input}:2844: Error: unknown opcode {standard input}:2920: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/gpu/drm/bridge/ti-sn65dsi86.o] Error 1 {standard input}: Assembler messages: {standard input}:279: Error: unknown opcode {standard input}:352: Error: unknown opcode {standard input}:6515: Error: unknown opcode {standard input}:6546: Error: unknown opcode {standard input}:8294: Error: unknown opcode {standard input}:8500: Error: unknown opcode {standard input}: Assembler messages: {standard input}:10066: Error: unknown opcode {standard input}:10097: Error: unknown opcode make[4]: *** [scripts/Makefile.build:497: drivers/gpu/drm/bridge] Error 2 make[5]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:1149: Error: unknown opcode {standard input}:1183: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_damage_helper.o] Error 1 {standard input}: Assembler messages: {standard input}:1928: Error: unknown opcode {standard input}:1959: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic_state_helper.o] Error 1 {standard input}:13031: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic_helper.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_dp_mst_topology.o] Error 1 {standard input}: Assembler messages: {standard input}:657: Error: unknown opcode {standard input}:688: Error: unknown opcode {standard input}:1165: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_gem_framebuffer_helper.o] Error 1 {standard input}: Assembler messages: {standard input}:436: Error: unknown opcode {standard input}:975: Error: unknown opcode {standard input}:1006: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_auth.o] Error 1 {standard input}: Assembler messages: {standard input}:404: Error: unknown opcode {standard input}:753: Error: unknown opcode {standard input}:784: Error: unknown opcode {standard input}:1407: Error: unknown opcode {standard input}:1741: Error: unknown opcode {standard input}:2068: Error: unknown opcode {standard input}:2507: Error: unknown opcode {standard input}:2760: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_dp_aux_dev.o] Error 1 {standard input}: Assembler messages: {standard input}:1496: Error: unknown opcode {standard input}:1527: Error: unknown opcode {standard input}:2992: Error: unknown opcode {standard input}:3198: Error: unknown opcode {standard input}:4561: Error: unknown opcode {standard input}:5094: Error: unknown opcode {standard input}:5238: Error: unknown opcode {standard input}:6799: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_gem.o] Error 1 drivers/gpu/drm/drm_memory.c:135:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *handle @@ got void [noderef] __iomem * @@ drivers/gpu/drm/drm_memory.c:135:29: sparse: expected void *handle drivers/gpu/drm/drm_memory.c:135:29: sparse: got void [noderef] __iomem * drivers/gpu/drm/drm_memory.c:144:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *handle @@ got void [noderef] __iomem * @@ drivers/gpu/drm/drm_memory.c:144:29: sparse: expected void *handle drivers/gpu/drm/drm_memory.c:144:29: sparse: got void [noderef] __iomem * drivers/gpu/drm/drm_memory.c:156:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *handle @@ drivers/gpu/drm/drm_memory.c:156:28: sparse: expected void [noderef] __iomem *addr drivers/gpu/drm/drm_memory.c:156:28: sparse: got void *handle {standard input}: Assembler messages: {standard input}:1486: Error: unknown opcode {standard input}:1517: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_self_refresh_helper.o] Error 1 {standard input}: Assembler messages: {standard input}:8803: Error: unknown opcode {standard input}:8837: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_fb_helper.o] Error 1 drivers/gpu/drm/drm_drv.c:434:6: sparse: sparse: context imbalance in 'drm_dev_enter' - different lock contexts for basic block include/linux/srcu.h:181:9: sparse: sparse: context imbalance in 'drm_dev_exit' - unexpected unlock drivers/gpu/drm/drm_crtc.c:707:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_crtc.c:707:29: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_crtc.c:707:29: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/gpu/drm/drm_crtc.c:707:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/gpu/drm/drm_crtc.c:707:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_crtc.c:707:29: sparse: got unsigned int const *__gu_addr {standard input}: Assembler messages: {standard input}:593: Error: unknown opcode {standard input}:624: Error: unknown opcode {standard input}:2720: Error: unknown opcode {standard input}:4309: Error: unknown opcode {standard input}:4568: Error: unknown opcode {standard input}:5064: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_file.o] Error 1 {standard input}: Assembler messages: {standard input}:229: Error: unknown opcode {standard input}:323: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_hashtab.o] Error 1 {standard input}: Assembler messages: {standard input}:1831: Error: unknown opcode {standard input}:1862: Error: unknown opcode {standard input}:2115: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_drv.o] Error 1 {standard input}: Assembler messages: {standard input}:4765: Error: unknown opcode {standard input}:9394: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_mm.o] Error 1 {standard input}: Assembler messages: {standard input}:1696: Error: unknown opcode {standard input}:1727: Error: unknown opcode {standard input}:1961: Error: unknown opcode {standard input}:2149: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_prime.o] Error 1 {standard input}: Assembler messages: {standard input}:1527: Error: unknown opcode {standard input}:1559: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_framebuffer.o] Error 1 {standard input}: Assembler messages: {standard input}:5009: Error: unknown opcode {standard input}:5040: Error: unknown opcode {standard input}:5507: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2264: Error: unknown opcode {standard input}:8212: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_modeset_lock.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_connector.o] Error 1 {standard input}: Assembler messages: {standard input}:6587: Error: unknown opcode {standard input}:6618: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic.o] Error 1 {standard input}: Assembler messages: {standard input}:489: Error: unknown opcode {standard input}:520: Error: unknown opcode {standard input}:945: Error: unknown opcode {standard input}:2544: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_mode_object.o] Error 1 {standard input}: Assembler messages: {standard input}:1336: Error: unknown opcode {standard input}:1844: Error: unknown opcode {standard input}:1911: Error: unknown opcode {standard input}:2955: Error: unknown opcode {standard input}:3005: Error: unknown opcode {standard input}: Assembler messages: {standard input}:955: Error: unknown opcode {standard input}:986: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_client.o] Error 1 {standard input}: Assembler messages: {standard input}:1303: Error: unknown opcode {standard input}:1334: Error: unknown opcode {standard input}:1561: Error: unknown opcode {standard input}:2084: Error: unknown opcode {standard input}:4488: Error: unknown opcode drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: got unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: got unsigned int [noderef] [usertype] __user * drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: got unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: got unsigned int [noderef] [usertype] __user * drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: got unsigned int const *__gu_addr {standard input}:3236: Error: unknown opcode {standard input}:6751: Error: unknown opcode {standard input}:7204: Error: unknown opcode {standard input}:7321: Error: unknown opcode {standard input}:7935: Error: unknown opcode {standard input}:4802: Error: unknown opcode {standard input}:5250: Error: unknown opcode {standard input}:6411: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1130: Error: unknown opcode {standard input}:1161: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_writeback.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_syncobj.o] Error 1 {standard input}:11327: Error: unknown opcode {standard input}:14940: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_vblank.o] Error 1 {standard input}: Assembler messages: {standard input}:1841: Error: unknown opcode {standard input}:1872: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic_uapi.o] Error 1 {standard input}: Assembler messages: {standard input}:3541: Error: unknown opcode {standard input}:3573: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_client_modeset.o] Error 1 {standard input}: Assembler messages: {standard input}:1005: Error: unknown opcode {standard input}:1036: Error: unknown opcode {standard input}:2516: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_gem_cma_helper.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/gpu/drm] Error 2 make[3]: Target '__build' not remade because of errors. -- drivers/misc/eeprom/eeprom_93cx6.c:239: warning: Function parameter or member 'byte' not described in 'eeprom_93cx6_readb' drivers/misc/eeprom/eeprom_93cx6.c:239: warning: Excess function parameter 'word' description in 'eeprom_93cx6_readb' drivers/misc/eeprom/eeprom_93cx6.c:280: warning: Function parameter or member 'bytes' not described in 'eeprom_93cx6_multireadb' drivers/misc/eeprom/eeprom_93cx6.c:280: warning: Excess function parameter 'words' description in 'eeprom_93cx6_multireadb' drivers/misc/eeprom/at24.c:228:36: warning: 'at24_acpi_ids' defined but not used [-Wunused-const-variable=] 228 | static const struct acpi_device_id at24_acpi_ids[] = { | ^~~~~~~~~~~~~ drivers/misc/ti-st/st_core.c:283:41: sparse: sparse: cast to restricted __le16 drivers/misc/eeprom/idt_89hpesx.c:597:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] memaddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:597:31: sparse: expected unsigned short [addressable] [assigned] [usertype] memaddr drivers/misc/eeprom/idt_89hpesx.c:597:31: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:669:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] memaddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:669:31: sparse: expected unsigned short [addressable] [assigned] [usertype] memaddr drivers/misc/eeprom/idt_89hpesx.c:669:31: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:767:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] csraddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:767:24: sparse: expected unsigned short [addressable] [assigned] [usertype] csraddr drivers/misc/eeprom/idt_89hpesx.c:767:24: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:768:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [addressable] [assigned] [usertype] data @@ got restricted __le32 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:768:21: sparse: expected unsigned int [addressable] [assigned] [usertype] data drivers/misc/eeprom/idt_89hpesx.c:768:21: sparse: got restricted __le32 [usertype] drivers/misc/eeprom/idt_89hpesx.c:832:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [addressable] [assigned] [usertype] csraddr @@ got restricted __le16 [usertype] @@ drivers/misc/eeprom/idt_89hpesx.c:832:24: sparse: expected unsigned short [addressable] [assigned] [usertype] csraddr drivers/misc/eeprom/idt_89hpesx.c:832:24: sparse: got restricted __le16 [usertype] drivers/misc/eeprom/idt_89hpesx.c:857:17: sparse: sparse: cast to restricted __le32 {standard input}: Assembler messages: {standard input}:68: Error: unknown opcode {standard input}:2359: Error: unknown opcode {standard input}:2442: Error: unknown opcode {standard input}:3396: Error: unknown opcode {standard input}:3565: Error: unknown opcode {standard input}:3706: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/misc/ti-st/st_core.o] Error 1 drivers/misc/lis3lv02d/lis3lv02d.c:182:52: sparse: sparse: cast to restricted __le16 {standard input}: Assembler messages: {standard input}:2656: Error: unknown opcode {standard input}:2711: Error: unknown opcode {standard input}:2905: Error: unknown opcode {standard input}:3299: Error: unknown opcode {standard input}:3433: Error: unknown opcode {standard input}:4219: Error: unknown opcode {standard input}:4538: Error: unknown opcode {standard input}:4943: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/misc/lis3lv02d/lis3lv02d.o] Error 1 drivers/misc/ti-st/st_kim.c:42: warning: Function parameter or member 'id' not described in 'st_get_plat_device' drivers/misc/ti-st/st_kim.c:53: warning: Function parameter or member 'kim_gdata' not described in 'validate_firmware_response' drivers/misc/ti-st/st_kim.c:126: warning: Function parameter or member 'kim_gdata' not described in 'kim_int_recv' drivers/misc/ti-st/st_kim.c:126: warning: Function parameter or member 'data' not described in 'kim_int_recv' drivers/misc/ti-st/st_kim.c:126: warning: Function parameter or member 'count' not described in 'kim_int_recv' drivers/misc/ti-st/st_kim.c:272: warning: Function parameter or member 'kim_gdata' not described in 'download_firmware' drivers/misc/ti-st/st_kim.c:445: warning: Function parameter or member 'kim_data' not described in 'st_kim_start' drivers/misc/ti-st/st_kim.c:509: warning: Function parameter or member 'kim_data' not described in 'st_kim_stop' drivers/misc/ti-st/st_kim.c:661: warning: Function parameter or member 'core_data' not described in 'st_kim_ref' drivers/misc/ti-st/st_kim.c:661: warning: Function parameter or member 'id' not described in 'st_kim_ref' >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *ptr @@ got restricted __le64 * @@ >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: expected void const volatile [noderef] __iomem *ptr drivers/misc/mic/vop/vop_main.c:551:51: sparse: got restricted __le64 * drivers/misc/mic/vop/vop_main.c:560:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:560:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:560:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:579:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc drivers/misc/mic/vop/vop_main.c: In function '_vop_scan_devices': drivers/misc/mic/vop/vop_main.c:617:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 617 | int ret; | ^~~ make[3]: *** [scripts/Makefile.build:497: drivers/misc/ti-st] Error 2 make[4]: Target '__build' not remade because of errors. drivers/misc/enclosure.c:115: warning: Function parameter or member 'name' not described in 'enclosure_register' drivers/misc/enclosure.c:115: warning: Function parameter or member 'cb' not described in 'enclosure_register' drivers/misc/enclosure.c:283: warning: Function parameter or member 'number' not described in 'enclosure_component_alloc' drivers/misc/enclosure.c:283: warning: Excess function parameter 'num' description in 'enclosure_component_alloc' drivers/misc/enclosure.c:363: warning: Function parameter or member 'component' not described in 'enclosure_add_device' drivers/misc/enclosure.c:363: warning: Excess function parameter 'num' description in 'enclosure_add_device' drivers/misc/enclosure.c:398: warning: Function parameter or member 'dev' not described in 'enclosure_remove_device' drivers/misc/enclosure.c:398: warning: Excess function parameter 'num' description in 'enclosure_remove_device' make[3]: *** [scripts/Makefile.build:497: drivers/misc/lis3lv02d] Error 2 make[4]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:6221: Error: unknown opcode {standard input}:6680: Error: unknown opcode make[3]: *** [scripts/Makefile.build:497: drivers/misc/mic] Error 2 make[3]: Target '__build' not remade because of errors. make[4]: *** [scripts/Makefile.build:497: drivers/misc/mic/vop] Error 2 make[4]: Target '__build' not remade because of errors. make[5]: *** [scripts/Makefile.build:281: drivers/misc/mic/vop/vop_vringh.o] Error 1 make[5]: Target '__build' not remade because of errors. -- {standard input}: Assembler messages: {standard input}:4257: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi.o] Error 1 drivers/scsi/scsi_ioctl.c:48:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/scsi/scsi_ioctl.c:48:21: sparse: expected unsigned int const *__gu_addr drivers/scsi/scsi_ioctl.c:48:21: sparse: got unsigned int [noderef] __user * >> drivers/scsi/scsi_ioctl.c:48:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/scsi/scsi_ioctl.c:48:21: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/scsi_ioctl.c:48:21: sparse: got unsigned int const *__gu_addr drivers/scsi/scsi_error.c:2341:17: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/scsi/scsi_error.c:2341:17: sparse: expected int const *__gu_addr drivers/scsi/scsi_error.c:2341:17: sparse: got int [noderef] __user *arg >> drivers/scsi/scsi_error.c:2341:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/scsi/scsi_error.c:2341:17: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/scsi_error.c:2341:17: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:491: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsicam.o] Error 1 {standard input}: Assembler messages: {standard input}:250: Error: unknown opcode {standard input}:309: Error: unknown opcode {standard input}:12582: Error: unknown opcode {standard input}: Assembler messages: {standard input}:3693: Error: unknown opcode {standard input}:17869: Error: unknown opcode {standard input}:19691: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_lib.o] Error 1 {standard input}:10689: Error: unknown opcode {standard input}:13255: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_error.o] Error 1 drivers/scsi/constants.c:318:9: sparse: sparse: trying to concatenate 24850-character string (8191 bytes max) {standard input}: Assembler messages: {standard input}:3961: Error: unknown opcode {standard input}:7182: Error: unknown opcode {standard input}:7213: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_scan.o] Error 1 {standard input}: Assembler messages: {standard input}:3774: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_transport_srp.o] Error 1 drivers/scsi/virtio_scsi.c:109: warning: Function parameter or member 'vscsi' not described in 'virtscsi_complete_cmd' drivers/scsi/virtio_scsi.c:109: warning: Function parameter or member 'buf' not described in 'virtscsi_complete_cmd' drivers/scsi/sg.c:415:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:415:21: sparse: expected int const *__gu_addr drivers/scsi/sg.c:415:21: sparse: got int [noderef] __user * >> drivers/scsi/sg.c:415:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/scsi/sg.c:415:21: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:415:21: sparse: got int const *__gu_addr drivers/scsi/sg.c:419:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:419:32: sparse: expected int const *__gu_addr drivers/scsi/sg.c:419:32: sparse: got int [noderef] __user * drivers/scsi/sg.c:419:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:419:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:419:32: sparse: got int const *__gu_addr drivers/scsi/sg.c:425:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] __user * @@ drivers/scsi/sg.c:425:32: sparse: expected signed int const *__gu_addr drivers/scsi/sg.c:425:32: sparse: got signed int [noderef] __user * >> drivers/scsi/sg.c:425:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/scsi/sg.c:425:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:425:32: sparse: got signed int const *__gu_addr drivers/scsi/sg.c:431:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:431:32: sparse: expected int const *__gu_addr drivers/scsi/sg.c:431:32: sparse: got int [noderef] __user * drivers/scsi/sg.c:431:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:431:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:431:32: sparse: got int const *__gu_addr drivers/scsi/sg.c:638:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *[assigned] buf @@ drivers/scsi/sg.c:638:13: sparse: expected char const *__gu_addr drivers/scsi/sg.c:638:13: sparse: got char const [noderef] __user *[assigned] buf >> drivers/scsi/sg.c:638:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/scsi/sg.c:638:13: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:638:13: sparse: got char const *__gu_addr drivers/scsi/sg.c:955:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:955:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:955:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:955:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:955:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:955:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:998:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:998:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:998:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:998:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:998:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:998:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1026:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1026:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1026:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1026:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1026:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1026:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1051:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1051:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1051:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1051:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1051:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1051:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1059:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1059:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1059:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1059:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1059:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1059:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1067:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1067:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1067:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1067:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1067:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1067:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1111:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1111:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1111:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1111:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1111:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1111:26: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:7142: Error: unknown opcode {standard input}:7173: Error: unknown opcode {standard input}: Assembler messages: {standard input}:7760: Error: unknown opcode {standard input}:7791: Error: unknown opcode {standard input}:9132: Error: unknown opcode {standard input}:9359: Error: unknown opcode {standard input}:11729: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/sg.o] Error 1 include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (5c0 becomes c0) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (600 becomes 0) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (525 becomes 25) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (624 becomes 24) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (2100 becomes 0) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (3222 becomes 22) include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (32222220 becomes 2220) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (2220 becomes 20) include/linux/unaligned/be_byteshift.h:38:30: sparse: sparse: cast truncates bits from constant value (3222222000000000 becomes 0) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (3111 becomes 11) include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (31111110 becomes 1110) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (1110 becomes 10) include/linux/unaligned/be_byteshift.h:38:30: sparse: sparse: cast truncates bits from constant value (3111111000000001 becomes 1) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (3222 becomes 22) include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (32222220 becomes 2220) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (2220 becomes 20) include/linux/unaligned/be_byteshift.h:38:30: sparse: sparse: cast truncates bits from constant value (3222222000000000 becomes 0) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (3111 becomes 11) include/linux/unaligned/be_byteshift.h:32:30: sparse: sparse: cast truncates bits from constant value (31111110 becomes 1110) include/linux/unaligned/be_byteshift.h:26:16: sparse: sparse: cast truncates bits from constant value (1110 becomes 10) include/linux/unaligned/be_byteshift.h:38:30: sparse: sparse: cast truncates bits from constant value (3111111000000001 becomes 1) {standard input}:17458: Error: unknown opcode {standard input}: Assembler messages: {standard input}:60: Error: unknown opcode {standard input}:133: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/st.o] Error 1 {standard input}:22467: Error: unknown opcode {standard input}: Assembler messages: {standard input}:94: Error: unknown opcode {standard input}:157: Error: unknown opcode {standard input}:28518: Error: unknown opcode {standard input}:33728: Error: unknown opcode {standard input}:37881: Error: unknown opcode {standard input}:39114: Error: unknown opcode {standard input}:39248: Error: unknown opcode {standard input}:43949: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_debug.o] Error 1 {standard input}:7664: Error: unknown opcode {standard input}:8489: Error: unknown opcode {standard input}:8556: Error: unknown opcode {standard input}:8615: Error: unknown opcode {standard input}:8668: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: drivers/scsi/scsi_sysfs.o] Error 1 make[3]: Target '__build' not remade because of errors. -- sound/core/seq/seq_clientmgr.c:709:9: sparse: sparse: context imbalance in 'deliver_to_subscribers' - different lock contexts for basic block {standard input}: Assembler messages: {standard input}:817: Error: unknown opcode {standard input}:911: Error: unknown opcode {standard input}:983: Error: unknown opcode {standard input}:1212: Error: unknown opcode {standard input}:1638: Error: unknown opcode {standard input}:2539: Error: unknown opcode {standard input}:2699: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_fifo.o] Error 1 {standard input}: Assembler messages: {standard input}:588: Error: unknown opcode {standard input}:679: Error: unknown opcode {standard input}:881: Error: unknown opcode {standard input}:1580: Error: unknown opcode {standard input}:2048: Error: unknown opcode {standard input}: Assembler messages: {standard input}:4526: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_queue.o] Error 1 sound/core/control.c:776:17: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:776:26: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:777:17: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:777:26: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:796:48: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:1462:40: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:1565:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ptr @@ sound/core/control.c:1565:13: sparse: expected int const *__gu_addr sound/core/control.c:1565:13: sparse: got int [noderef] __user *ptr >> sound/core/control.c:1565:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/control.c:1565:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/control.c:1565:13: sparse: got int const *__gu_addr {standard input}:6767: Error: unknown opcode {standard input}:7990: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1544: Error: unknown opcode {standard input}:1823: Error: unknown opcode {standard input}:2489: Error: unknown opcode {standard input}:2708: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_memory.o] Error 1 {standard input}: Assembler messages: {standard input}:3999: Error: unknown opcode {standard input}:8582: Error: unknown opcode {standard input}:13022: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: sound/core/control.o] Error 1 {standard input}: Assembler messages: {standard input}:4126: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_clientmgr.o] Error 1 make[4]: *** [scripts/Makefile.build:281: sound/core/seq/seq_timer.o] Error 1 sound/core/seq/seq_virmidi.c:65:12: sparse: sparse: context imbalance in 'snd_virmidi_dev_receive_event' - different lock contexts for basic block sound/core/timer.c:2045:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/timer.c:2045:13: sparse: expected int const *__gu_addr sound/core/timer.c:2045:13: sparse: got int [noderef] __user *p >> sound/core/timer.c:2045:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/timer.c:2045:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/timer.c:2045:13: sparse: got int const *__gu_addr sound/core/timer.c:790:25: sparse: sparse: context imbalance in 'snd_timer_process_callbacks' - unexpected unlock {standard input}: Assembler messages: {standard input}:537: Error: unknown opcode {standard input}:1302: Error: unknown opcode {standard input}:1585: Error: unknown opcode {standard input}:2430: Error: unknown opcode {standard input}:3051: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: sound/core/seq/seq_ports.o] Error 1 make[3]: *** [scripts/Makefile.build:497: sound/core/seq] Error 2 make[4]: Target '__build' not remade because of errors. sound/core/pcm.c:92:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:92:29: sparse: expected int const *__gu_addr sound/core/pcm.c:92:29: sparse: got int [noderef] __user * >> sound/core/pcm.c:92:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/pcm.c:92:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:92:29: sparse: got int const *__gu_addr sound/core/pcm.c:112:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm.c:112:29: sparse: expected unsigned int const *__gu_addr sound/core/pcm.c:112:29: sparse: got unsigned int [noderef] __user * >> sound/core/pcm.c:112:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm.c:112:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:112:29: sparse: got unsigned int const *__gu_addr sound/core/pcm.c:114:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:114:29: sparse: expected int const *__gu_addr sound/core/pcm.c:114:29: sparse: got int [noderef] __user * sound/core/pcm.c:114:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm.c:114:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:114:29: sparse: got int const *__gu_addr sound/core/pcm.c:119:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm.c:119:29: sparse: expected unsigned int const *__gu_addr sound/core/pcm.c:119:29: sparse: got unsigned int [noderef] __user * sound/core/pcm.c:119:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm.c:119:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:119:29: sparse: got unsigned int const *__gu_addr sound/core/pcm.c:155:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:155:29: sparse: expected int const *__gu_addr sound/core/pcm.c:155:29: sparse: got int [noderef] __user * sound/core/pcm.c:155:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm.c:155:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:155:29: sparse: got int const *__gu_addr sound/core/pcm.c:999:9: sparse: sparse: context imbalance in 'snd_pcm_detach_substream' - different lock contexts for basic block {standard input}: Assembler messages: {standard input}:3026: Error: unknown opcode {standard input}:3843: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: sound/core/init.o] Error 1 sound/core/pcm_native.c:1010:20: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ sound/core/pcm_native.c:1010:20: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:1010:20: sparse: got unsigned int [noderef] [usertype] __user * >> sound/core/pcm_native.c:1010:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> sound/core/pcm_native.c:1010:20: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:1010:20: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:1036:20: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ sound/core/pcm_native.c:1036:20: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:1036:20: sparse: got unsigned int [noderef] [usertype] __user * sound/core/pcm_native.c:1036:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:1036:20: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:1036:20: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:2944:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:2944:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:2944:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:2944:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:2944:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:2944:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3037:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3037:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3037:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3037:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3037:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3037:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3038:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3038:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3038:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3038:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3038:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3038:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3039:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3039:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3039:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3039:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3039:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3039:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3087:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *_arg @@ sound/core/pcm_native.c:3087:13: sparse: expected int const *__gu_addr sound/core/pcm_native.c:3087:13: sparse: got int [noderef] __user *_arg >> sound/core/pcm_native.c:3087:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm_native.c:3087:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3087:13: sparse: got int const *__gu_addr sound/core/pcm_native.c:3153:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@ sound/core/pcm_native.c:3153:13: sparse: expected unsigned long const *__gu_addr sound/core/pcm_native.c:3153:13: sparse: got unsigned long [noderef] [usertype] __user *_frames >> sound/core/pcm_native.c:3153:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ sound/core/pcm_native.c:3153:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3153:13: sparse: got unsigned long const *__gu_addr sound/core/pcm_native.c:3169:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@ sound/core/pcm_native.c:3169:13: sparse: expected unsigned long const *__gu_addr sound/core/pcm_native.c:3169:13: sparse: got unsigned long [noderef] [usertype] __user *_frames sound/core/pcm_native.c:3169:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ sound/core/pcm_native.c:3169:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3169:13: sparse: got unsigned long const *__gu_addr sound/core/pcm_native.c:3203:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3203:21: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3203:21: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3203:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3203:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3203:21: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:95:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock' - different lock contexts for basic block sound/core/pcm_native.c:96:1: sparse: sparse: context imbalance in 'snd_pcm_group_unlock' - unexpected unlock sound/core/pcm_native.c:97:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock_irq' - different lock contexts for basic block sound/core/pcm_native.c:98:1: sparse: sparse: context imbalance in 'snd_pcm_group_unlock_irq' - unexpected unlock sound/core/pcm_native.c:145:9: sparse: sparse: context imbalance in 'snd_pcm_stream_lock_nested' - different lock contexts for basic block sound/core/pcm_native.c:171:9: sparse: sparse: context imbalance in '_snd_pcm_stream_lock_irqsave' - different lock contexts for basic block sound/core/pcm_native.c:188:39: sparse: sparse: context imbalance in 'snd_pcm_stream_unlock_irqrestore' - unexpected unlock sound/core/pcm_native.c:1186:52: sparse: sparse: context imbalance in 'snd_pcm_action_group' - unexpected unlock sound/core/pcm_native.c:1257:37: sparse: sparse: context imbalance in 'snd_pcm_stream_group_ref' - different lock contexts for basic block sound/core/pcm_native.c: In function 'constrain_mask_params': sound/core/pcm_native.c:264:18: warning: variable 'old_mask' set but not used [-Wunused-but-set-variable] 264 | struct snd_mask old_mask; | ^~~~~~~~ sound/core/pcm_native.c: In function 'constrain_interval_params': sound/core/pcm_native.c:300:22: warning: variable 'old_interval' set but not used [-Wunused-but-set-variable] 300 | struct snd_interval old_interval; | ^~~~~~~~~~~~ sound/core/pcm_native.c: In function 'constrain_params_by_rules': sound/core/pcm_native.c:341:22: warning: variable 'old_interval' set but not used [-Wunused-but-set-variable] 341 | struct snd_interval old_interval; | ^~~~~~~~~~~~ sound/core/pcm_native.c:340:18: warning: variable 'old_mask' set but not used [-Wunused-but-set-variable] 340 | struct snd_mask old_mask; | ^~~~~~~~ sound/core/pcm_native.c: In function 'snd_pcm_hw_params_choose': sound/core/pcm_native.c:625:22: warning: variable 'old_interval' set but not used [-Wunused-but-set-variable] 625 | struct snd_interval old_interval; | ^~~~~~~~~~~~ sound/core/pcm_native.c:624:18: warning: variable 'old_mask' set but not used [-Wunused-but-set-variable] 624 | struct snd_mask old_mask; | ^~~~~~~~ {standard input}: Assembler messages: {standard input}:5977: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: sound/core/pcm.o] Error 1 {standard input}: Assembler messages: {standard input}:8297: Error: unknown opcode {standard input}:9406: Error: unknown opcode {standard input}: Assembler messages: {standard input}:7731: Error: unknown opcode {standard input}:7762: Error: unknown opcode {standard input}:7905: Error: unknown opcode {standard input}:8086: Error: unknown opcode {standard input}:8326: Error: unknown opcode {standard input}:8895: Error: unknown opcode {standard input}:9185: Error: unknown opcode {standard input}:16656: Error: unknown opcode {standard input}:17378: Error: unknown opcode {standard input}:19134: Error: unknown opcode make[3]: *** [scripts/Makefile.build:281: sound/core/pcm_native.o] Error 1 make[3]: *** [scripts/Makefile.build:281: sound/core/timer.o] Error 1 sound/core/rawmidi.c:654:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/rawmidi.c:654:13: sparse: expected unsigned int const *__gu_addr sound/core/rawmidi.c:654:13: sparse: got unsigned int [noderef] __user * >> sound/core/rawmidi.c:654:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> sound/core/rawmidi.c:654:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:654:13: sparse: got unsigned int const *__gu_addr sound/core/rawmidi.c:656:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:656:13: sparse: expected int const *__gu_addr sound/core/rawmidi.c:656:13: sparse: got int [noderef] __user * >> sound/core/rawmidi.c:656:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:656:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:656:13: sparse: got int const *__gu_addr sound/core/rawmidi.c:658:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/rawmidi.c:658:13: sparse: expected unsigned int const *__gu_addr sound/core/rawmidi.c:658:13: sparse: got unsigned int [noderef] __user * sound/core/rawmidi.c:658:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/rawmidi.c:658:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:658:13: sparse: got unsigned int const *__gu_addr sound/core/rawmidi.c:836:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:836:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:836:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:836:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:836:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:836:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:874:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:874:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:874:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:874:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:874:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:874:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:889:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:889:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:889:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:889:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:889:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:889:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:923:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:923:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:923:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:923:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:923:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:923:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:945:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:945:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:945:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:945:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:945:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:945:21: sparse: got int const *__gu_addr {standard input}: Assembler messages: {standard input}:5681: Error: unknown opcode {standard input}:5971: Error: unknown opcode {standard input}:6100: Error: unknown opcode sound/core/pcm_iec958.c:119: warning: Function parameter or member 'params' not described in 'snd_pcm_create_iec958_consumer_hw_params' sound/core/pcm_iec958.c:119: warning: Excess function parameter 'hw_params' description in 'snd_pcm_create_iec958_consumer_hw_params' {standard input}: Assembler messages: {standard input}:1590: Error: unknown opcode {standard input}:1673: Error: unknown opcode {standard input}:1788: Error: unknown opcode {standard input}:1891: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: sound/core/seq_device.o] Error 1 make[3]: *** [scripts/Makefile.build:280: sound/core/pcm_lib.o] Error 1 {standard input}: Assembler messages: {standard input}:7829: Error: unknown opcode {standard input}:8720: Error: unknown opcode {standard input}:12334: Error: unknown opcode {standard input}:12716: Error: unknown opcode {standard input}:13942: Error: unknown opcode make[3]: *** [scripts/Makefile.build:280: sound/core/rawmidi.o] Error 1 make[3]: Target '__build' not remade because of errors. -- sound/core/control.c:776:17: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:776:26: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:777:17: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:777:26: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:796:48: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:1462:40: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer sound/core/control.c:1565:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ptr @@ sound/core/control.c:1565:13: sparse: expected int const *__gu_addr sound/core/control.c:1565:13: sparse: got int [noderef] __user *ptr >> sound/core/control.c:1565:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/control.c:1565:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/control.c:1565:13: sparse: got int const *__gu_addr -- sound/core/timer.c:2045:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ sound/core/timer.c:2045:13: sparse: expected int const *__gu_addr sound/core/timer.c:2045:13: sparse: got int [noderef] __user *p >> sound/core/timer.c:2045:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/timer.c:2045:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/timer.c:2045:13: sparse: got int const *__gu_addr sound/core/timer.c:790:25: sparse: sparse: context imbalance in 'snd_timer_process_callbacks' - unexpected unlock -- sound/core/pcm.c:92:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:92:29: sparse: expected int const *__gu_addr sound/core/pcm.c:92:29: sparse: got int [noderef] __user * >> sound/core/pcm.c:92:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> sound/core/pcm.c:92:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:92:29: sparse: got int const *__gu_addr sound/core/pcm.c:112:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm.c:112:29: sparse: expected unsigned int const *__gu_addr sound/core/pcm.c:112:29: sparse: got unsigned int [noderef] __user * >> sound/core/pcm.c:112:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm.c:112:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:112:29: sparse: got unsigned int const *__gu_addr sound/core/pcm.c:114:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:114:29: sparse: expected int const *__gu_addr sound/core/pcm.c:114:29: sparse: got int [noderef] __user * sound/core/pcm.c:114:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm.c:114:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:114:29: sparse: got int const *__gu_addr sound/core/pcm.c:119:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm.c:119:29: sparse: expected unsigned int const *__gu_addr sound/core/pcm.c:119:29: sparse: got unsigned int [noderef] __user * sound/core/pcm.c:119:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm.c:119:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:119:29: sparse: got unsigned int const *__gu_addr sound/core/pcm.c:155:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/pcm.c:155:29: sparse: expected int const *__gu_addr sound/core/pcm.c:155:29: sparse: got int [noderef] __user * sound/core/pcm.c:155:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm.c:155:29: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm.c:155:29: sparse: got int const *__gu_addr sound/core/pcm.c:999:9: sparse: sparse: context imbalance in 'snd_pcm_detach_substream' - different lock contexts for basic block -- sound/core/pcm_native.c:1010:20: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ sound/core/pcm_native.c:1010:20: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:1010:20: sparse: got unsigned int [noderef] [usertype] __user * >> sound/core/pcm_native.c:1010:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> sound/core/pcm_native.c:1010:20: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:1010:20: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:1036:20: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ sound/core/pcm_native.c:1036:20: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:1036:20: sparse: got unsigned int [noderef] [usertype] __user * sound/core/pcm_native.c:1036:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:1036:20: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:1036:20: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:2944:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:2944:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:2944:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:2944:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:2944:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:2944:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3037:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3037:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3037:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3037:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3037:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3037:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3038:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3038:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3038:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3038:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3038:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3038:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3039:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3039:13: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3039:13: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3039:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3039:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3039:13: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:3087:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *_arg @@ sound/core/pcm_native.c:3087:13: sparse: expected int const *__gu_addr sound/core/pcm_native.c:3087:13: sparse: got int [noderef] __user *_arg >> sound/core/pcm_native.c:3087:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/pcm_native.c:3087:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3087:13: sparse: got int const *__gu_addr sound/core/pcm_native.c:3153:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@ sound/core/pcm_native.c:3153:13: sparse: expected unsigned long const *__gu_addr sound/core/pcm_native.c:3153:13: sparse: got unsigned long [noderef] [usertype] __user *_frames >> sound/core/pcm_native.c:3153:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ sound/core/pcm_native.c:3153:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3153:13: sparse: got unsigned long const *__gu_addr sound/core/pcm_native.c:3169:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@ sound/core/pcm_native.c:3169:13: sparse: expected unsigned long const *__gu_addr sound/core/pcm_native.c:3169:13: sparse: got unsigned long [noderef] [usertype] __user *_frames sound/core/pcm_native.c:3169:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@ sound/core/pcm_native.c:3169:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3169:13: sparse: got unsigned long const *__gu_addr sound/core/pcm_native.c:3203:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/pcm_native.c:3203:21: sparse: expected unsigned int const *__gu_addr sound/core/pcm_native.c:3203:21: sparse: got unsigned int [noderef] __user * sound/core/pcm_native.c:3203:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/pcm_native.c:3203:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/pcm_native.c:3203:21: sparse: got unsigned int const *__gu_addr sound/core/pcm_native.c:95:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock' - different lock contexts for basic block sound/core/pcm_native.c:96:1: sparse: sparse: context imbalance in 'snd_pcm_group_unlock' - unexpected unlock sound/core/pcm_native.c:97:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock_irq' - different lock contexts for basic block sound/core/pcm_native.c:98:1: sparse: sparse: context imbalance in 'snd_pcm_group_unlock_irq' - unexpected unlock sound/core/pcm_native.c:145:9: sparse: sparse: context imbalance in 'snd_pcm_stream_lock_nested' - different lock contexts for basic block sound/core/pcm_native.c:171:9: sparse: sparse: context imbalance in '_snd_pcm_stream_lock_irqsave' - different lock contexts for basic block sound/core/pcm_native.c:188:39: sparse: sparse: context imbalance in 'snd_pcm_stream_unlock_irqrestore' - unexpected unlock sound/core/pcm_native.c:1186:52: sparse: sparse: context imbalance in 'snd_pcm_action_group' - unexpected unlock sound/core/pcm_native.c:1257:37: sparse: sparse: context imbalance in 'snd_pcm_stream_group_ref' - different lock contexts for basic block -- sound/core/rawmidi.c:654:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/rawmidi.c:654:13: sparse: expected unsigned int const *__gu_addr sound/core/rawmidi.c:654:13: sparse: got unsigned int [noderef] __user * >> sound/core/rawmidi.c:654:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> sound/core/rawmidi.c:654:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:654:13: sparse: got unsigned int const *__gu_addr sound/core/rawmidi.c:656:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:656:13: sparse: expected int const *__gu_addr sound/core/rawmidi.c:656:13: sparse: got int [noderef] __user * >> sound/core/rawmidi.c:656:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:656:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:656:13: sparse: got int const *__gu_addr sound/core/rawmidi.c:658:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ sound/core/rawmidi.c:658:13: sparse: expected unsigned int const *__gu_addr sound/core/rawmidi.c:658:13: sparse: got unsigned int [noderef] __user * sound/core/rawmidi.c:658:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ sound/core/rawmidi.c:658:13: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:658:13: sparse: got unsigned int const *__gu_addr sound/core/rawmidi.c:836:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:836:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:836:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:836:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:836:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:836:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:874:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:874:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:874:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:874:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:874:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:874:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:889:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:889:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:889:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:889:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:889:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:889:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:923:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:923:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:923:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:923:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:923:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:923:21: sparse: got int const *__gu_addr sound/core/rawmidi.c:945:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ sound/core/rawmidi.c:945:21: sparse: expected int const *__gu_addr sound/core/rawmidi.c:945:21: sparse: got int [noderef] __user * sound/core/rawmidi.c:945:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ sound/core/rawmidi.c:945:21: sparse: expected void const volatile [noderef] __user *ptr sound/core/rawmidi.c:945:21: sparse: got int const *__gu_addr -- drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@ drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: expected char const *__gu_addr drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: got char const [noderef] __user * >> drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: expected void const volatile [noderef] __user *ptr drivers/char/ipmi/ipmi_watchdog.c:762:37: sparse: got char const *__gu_addr -- drivers/tty/tty_ioctl.c:842:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/tty_ioctl.c:842:21: sparse: expected unsigned int const *__gu_addr drivers/tty/tty_ioctl.c:842:21: sparse: got unsigned int [noderef] __user * >> drivers/tty/tty_ioctl.c:842:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/tty/tty_ioctl.c:842:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_ioctl.c:842:21: sparse: got unsigned int const *__gu_addr include/asm-generic/termios.h:25:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:25:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:25:13: sparse: got unsigned short const [noderef] __user * >> include/asm-generic/termios.h:25:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ >> include/asm-generic/termios.h:25:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:25:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:29:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:29:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:29:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:29:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:29:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:29:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:33:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:33:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:33:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:33:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:33:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:33:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:37:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short const [noderef] __user * @@ include/asm-generic/termios.h:37:13: sparse: expected unsigned short const *__gu_addr include/asm-generic/termios.h:37:13: sparse: got unsigned short const [noderef] __user * include/asm-generic/termios.h:37:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ include/asm-generic/termios.h:37:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:37:13: sparse: got unsigned short const *__gu_addr include/asm-generic/termios.h:41:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char const *__gu_addr @@ got unsigned char const [noderef] __user * @@ include/asm-generic/termios.h:41:13: sparse: expected unsigned char const *__gu_addr include/asm-generic/termios.h:41:13: sparse: got unsigned char const [noderef] __user * >> include/asm-generic/termios.h:41:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned char const *__gu_addr @@ include/asm-generic/termios.h:41:13: sparse: expected void const volatile [noderef] __user *ptr include/asm-generic/termios.h:41:13: sparse: got unsigned char const *__gu_addr -- drivers/tty/tty_jobctrl.c:77:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:77:9: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:77:9: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:80:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:80:34: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:80:34: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:120:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:120:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:120:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:122:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:122:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:122:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:131:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:131:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:131:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:152:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:152:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:152:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:161:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:161:9: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:161:9: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:163:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:163:40: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:163:40: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:200:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:200:41: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:200:41: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:208:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:208:51: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:208:51: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:219:43: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:219:43: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:219:43: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:281:39: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:281:39: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:281:39: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:284:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:284:41: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:284:41: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:293:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:293:31: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:293:31: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:309:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ drivers/tty/tty_jobctrl.c:309:33: sparse: expected struct spinlock [usertype] *lock drivers/tty/tty_jobctrl.c:309:33: sparse: got struct spinlock [noderef] __rcu * drivers/tty/tty_jobctrl.c:484:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] [usertype] __user *p @@ drivers/tty/tty_jobctrl.c:484:13: sparse: expected int const *__gu_addr drivers/tty/tty_jobctrl.c:484:13: sparse: got int [noderef] [usertype] __user *p >> drivers/tty/tty_jobctrl.c:484:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/tty/tty_jobctrl.c:484:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_jobctrl.c:484:13: sparse: got int const *__gu_addr drivers/tty/tty_jobctrl.c:18:41: sparse: sparse: dereference of noderef expression -- drivers/tty/pty.c:163:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/tty/pty.c:163:13: sparse: expected int const *__gu_addr drivers/tty/pty.c:163:13: sparse: got int [noderef] __user *arg >> drivers/tty/pty.c:163:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/tty/pty.c:163:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/pty.c:163:13: sparse: got int const *__gu_addr drivers/tty/pty.c:183:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/tty/pty.c:183:13: sparse: expected int const *__gu_addr drivers/tty/pty.c:183:13: sparse: got int [noderef] __user *arg drivers/tty/pty.c:183:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/tty/pty.c:183:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/pty.c:183:13: sparse: got int const *__gu_addr -- drivers/tty/sysrq.c:1110:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *buf @@ drivers/tty/sysrq.c:1110:21: sparse: expected char const *__gu_addr drivers/tty/sysrq.c:1110:21: sparse: got char const [noderef] __user *buf >> drivers/tty/sysrq.c:1110:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/sysrq.c:1110:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/sysrq.c:1110:21: sparse: got char const *__gu_addr drivers/tty/sysrq.c:148:13: sparse: sparse: context imbalance in 'sysrq_handle_crash' - unexpected unlock -- drivers/tty/vt/vt_ioctl.c:1004:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] __user * @@ drivers/tty/vt/vt_ioctl.c:1004:21: sparse: expected unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1004:21: sparse: got unsigned short [noderef] __user * >> drivers/tty/vt/vt_ioctl.c:1004:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ >> drivers/tty/vt/vt_ioctl.c:1004:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt_ioctl.c:1004:21: sparse: got unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] __user * @@ drivers/tty/vt/vt_ioctl.c:1005:21: sparse: expected unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: got unsigned short [noderef] __user * drivers/tty/vt/vt_ioctl.c:1005:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ drivers/tty/vt/vt_ioctl.c:1005:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: got unsigned short const *__gu_addr {standard input}: Assembler messages: {standard input}:2439: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/vt_ioctl.o] Error 1 {standard input}: Assembler messages: {standard input}:653: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/selection.o] Error 1 drivers/tty/vt/keyboard.c:1729:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/vt/keyboard.c:1729:21: sparse: expected unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1729:21: sparse: got unsigned int [noderef] __user * >> drivers/tty/vt/keyboard.c:1729:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/tty/vt/keyboard.c:1729:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/keyboard.c:1729:21: sparse: got unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1767:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/vt/keyboard.c:1767:21: sparse: expected unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1767:21: sparse: got unsigned int [noderef] __user * drivers/tty/vt/keyboard.c:1767:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/tty/vt/keyboard.c:1767:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/keyboard.c:1767:21: sparse: got unsigned int const *__gu_addr drivers/tty/vt/keyboard.c: In function 'k_fn': drivers/tty/vt/keyboard.c:744:22: warning: comparison is always true due to limited range of data type [-Wtype-limits] 744 | if ((unsigned)value < ARRAY_SIZE(func_table)) { | ^ {standard input}: Assembler messages: {standard input}:5636: Error: unknown opcode {standard input}:5715: Error: unknown opcode {standard input}:5869: Error: unknown opcode {standard input}:5897: Error: unknown opcode {standard input}:5932: Error: unknown opcode {standard input}:6237: Error: unknown opcode {standard input}:6569: Error: unknown opcode {standard input}:6833: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/tty/vt/keyboard.o] Error 1 drivers/tty/vt/defkeymap.c:28:9: sparse: sparse: symbol 'shift_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:47:9: sparse: sparse: symbol 'altgr_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:66:9: sparse: sparse: symbol 'ctrl_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:85:9: sparse: sparse: symbol 'shift_ctrl_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:104:9: sparse: sparse: symbol 'alt_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:123:9: sparse: sparse: symbol 'ctrl_alt_map' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:149:14: sparse: sparse: symbol 'keymap_count' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:157:6: sparse: sparse: symbol 'func_buf' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:188:6: sparse: sparse: symbol 'funcbufptr' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:189:5: sparse: sparse: symbol 'funcbufsize' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:190:5: sparse: sparse: symbol 'funcbufleft' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:192:6: sparse: sparse: symbol 'func_table' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:226:18: sparse: sparse: symbol 'accent_table' was not declared. Should it be static? drivers/tty/vt/defkeymap.c:263:14: sparse: sparse: symbol 'accent_table_size' was not declared. Should it be static? drivers/tty/vt/vt.c:4294:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user * @@ drivers/tty/vt/vt.c:4294:13: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:4294:13: sparse: got char [noderef] __user * >> drivers/tty/vt/vt.c:4294:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/vt/vt.c:4294:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:4294:13: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:225:5: sparse: sparse: symbol 'console_blank_hook' was not declared. Should it be static? drivers/tty/vt/consolemap_deftbl.c:10:4: sparse: sparse: symbol 'dfont_unicount' was not declared. Should it be static? drivers/tty/vt/consolemap_deftbl.c:46:5: sparse: sparse: symbol 'dfont_unitable' was not declared. Should it be static? drivers/tty/vt/vt.c:2985:19: sparse: sparse: symbol 'console_driver' was not declared. Should it be static? drivers/tty/vt/vt.c:3141:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user *p @@ drivers/tty/vt/vt.c:3141:13: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:3141:13: sparse: got char [noderef] __user *p drivers/tty/vt/vt.c:3141:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/tty/vt/vt.c:3141:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3141:13: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:3194:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user * @@ drivers/tty/vt/vt.c:3194:37: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:3194:37: sparse: got char [noderef] __user * drivers/tty/vt/vt.c:3194:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/tty/vt/vt.c:3194:37: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3194:37: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:3207:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/tty/vt/vt.c:3207:29: sparse: expected signed int const *__gu_addr drivers/tty/vt/vt.c:3207:29: sparse: got signed int [noderef] [usertype] __user * >> drivers/tty/vt/vt.c:3207:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/tty/vt/vt.c:3207:29: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3207:29: sparse: got signed int const *__gu_addr {standard input}: Assembler messages: {standard input}:258: Error: unknown opcode {standard input}:12727: Error: unknown opcode {standard input}:18464: Error: unknown opcode {standard input}:19522: Error: unknown opcode drivers/tty/vt/consolemap.c:716: warning: Function parameter or member 'src_vc' not described in 'con_copy_unimap' drivers/tty/vt/consolemap.c:716: warning: Excess function parameter 'src_vt' description in 'con_copy_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'ct' not described in 'con_get_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'uct' not described in 'con_get_unimap' drivers/tty/vt/consolemap.c:739: warning: Function parameter or member 'list' not described in 'con_get_unimap' make[4]: *** [scripts/Makefile.build:280: drivers/tty/vt/vt.o] Error 1 make[4]: Target '__build' not remade because of errors. -- drivers/tty/tty_io.c:2189:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user *p @@ drivers/tty/tty_io.c:2189:13: sparse: expected char const *__gu_addr drivers/tty/tty_io.c:2189:13: sparse: got char [noderef] __user *p >> drivers/tty/tty_io.c:2189:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/tty_io.c:2189:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2189:13: sparse: got char const *__gu_addr drivers/tty/tty_io.c:2330:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/tty/tty_io.c:2330:13: sparse: expected int const *__gu_addr drivers/tty/tty_io.c:2330:13: sparse: got int [noderef] __user *p >> drivers/tty/tty_io.c:2330:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/tty/tty_io.c:2330:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2330:13: sparse: got int const *__gu_addr drivers/tty/tty_io.c:2448:18: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user *p @@ drivers/tty/tty_io.c:2448:18: sparse: expected unsigned int const *__gu_addr drivers/tty/tty_io.c:2448:18: sparse: got unsigned int [noderef] __user *p >> drivers/tty/tty_io.c:2448:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/tty/tty_io.c:2448:18: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/tty_io.c:2448:18: sparse: got unsigned int const *__gu_addr -- drivers/tty/vt/vt_ioctl.c:1004:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] __user * @@ drivers/tty/vt/vt_ioctl.c:1004:21: sparse: expected unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1004:21: sparse: got unsigned short [noderef] __user * >> drivers/tty/vt/vt_ioctl.c:1004:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ >> drivers/tty/vt/vt_ioctl.c:1004:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt_ioctl.c:1004:21: sparse: got unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] __user * @@ drivers/tty/vt/vt_ioctl.c:1005:21: sparse: expected unsigned short const *__gu_addr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: got unsigned short [noderef] __user * drivers/tty/vt/vt_ioctl.c:1005:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@ drivers/tty/vt/vt_ioctl.c:1005:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt_ioctl.c:1005:21: sparse: got unsigned short const *__gu_addr -- drivers/tty/vt/keyboard.c:1729:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/vt/keyboard.c:1729:21: sparse: expected unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1729:21: sparse: got unsigned int [noderef] __user * >> drivers/tty/vt/keyboard.c:1729:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/tty/vt/keyboard.c:1729:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/keyboard.c:1729:21: sparse: got unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1767:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/tty/vt/keyboard.c:1767:21: sparse: expected unsigned int const *__gu_addr drivers/tty/vt/keyboard.c:1767:21: sparse: got unsigned int [noderef] __user * drivers/tty/vt/keyboard.c:1767:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/tty/vt/keyboard.c:1767:21: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/keyboard.c:1767:21: sparse: got unsigned int const *__gu_addr -- drivers/tty/vt/vt.c:4294:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user * @@ drivers/tty/vt/vt.c:4294:13: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:4294:13: sparse: got char [noderef] __user * >> drivers/tty/vt/vt.c:4294:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ >> drivers/tty/vt/vt.c:4294:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:4294:13: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:225:5: sparse: sparse: symbol 'console_blank_hook' was not declared. Should it be static? drivers/tty/vt/vt.c:2985:19: sparse: sparse: symbol 'console_driver' was not declared. Should it be static? drivers/tty/vt/vt.c:3141:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user *p @@ drivers/tty/vt/vt.c:3141:13: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:3141:13: sparse: got char [noderef] __user *p drivers/tty/vt/vt.c:3141:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/tty/vt/vt.c:3141:13: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3141:13: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:3194:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user * @@ drivers/tty/vt/vt.c:3194:37: sparse: expected char const *__gu_addr drivers/tty/vt/vt.c:3194:37: sparse: got char [noderef] __user * drivers/tty/vt/vt.c:3194:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/tty/vt/vt.c:3194:37: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3194:37: sparse: got char const *__gu_addr drivers/tty/vt/vt.c:3207:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@ drivers/tty/vt/vt.c:3207:29: sparse: expected signed int const *__gu_addr drivers/tty/vt/vt.c:3207:29: sparse: got signed int [noderef] [usertype] __user * >> drivers/tty/vt/vt.c:3207:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/tty/vt/vt.c:3207:29: sparse: expected void const volatile [noderef] __user *ptr drivers/tty/vt/vt.c:3207:29: sparse: got signed int const *__gu_addr -- drivers/char/random.c:1943:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@ drivers/char/random.c:1943:21: sparse: expected int const *__gu_addr drivers/char/random.c:1943:21: sparse: got int [noderef] __user *p >> drivers/char/random.c:1943:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/char/random.c:1943:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1943:21: sparse: got int const *__gu_addr drivers/char/random.c:1949:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/char/random.c:1949:21: sparse: expected int const *__gu_addr drivers/char/random.c:1949:21: sparse: got int [noderef] __user * drivers/char/random.c:1949:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/char/random.c:1949:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1949:21: sparse: got int const *__gu_addr drivers/char/random.c:1953:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/char/random.c:1953:21: sparse: expected int const *__gu_addr drivers/char/random.c:1953:21: sparse: got int [noderef] __user * drivers/char/random.c:1953:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/char/random.c:1953:21: sparse: expected void const volatile [noderef] __user *ptr drivers/char/random.c:1953:21: sparse: got int const *__gu_addr -- 456 | if (brightness < S6E3HA2_MIN_BRIGHTNESS || | ^ drivers/gpu/drm/panel/panel-tpo-tpg110.c:95: warning: Function parameter or member 'panel_mode' not described in 'tpg110' drivers/gpu/drm/panel/panel-tpo-tpg110.c:376: warning: Function parameter or member 'connector' not described in 'tpg110_get_modes' {standard input}: Assembler messages: {standard input}:2129: Error: unknown opcode make[5]: *** [scripts/Makefile.build:280: drivers/gpu/drm/panel/panel-sony-acx565akm.o] Error 1 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:527:5: sparse: sparse: symbol 'analogix_dp_start_aux_transaction' was not declared. Should it be static? drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:571:5: sparse: sparse: symbol 'analogix_dp_write_byte_to_dpcd' was not declared. Should it be static? make[4]: *** [scripts/Makefile.build:497: drivers/gpu/drm/panel] Error 2 make[5]: Target '__build' not remade because of errors. drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:527:5: warning: no previous prototype for 'analogix_dp_start_aux_transaction' [-Wmissing-prototypes] 527 | int analogix_dp_start_aux_transaction(struct analogix_dp_device *dp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:571:5: warning: no previous prototype for 'analogix_dp_write_byte_to_dpcd' [-Wmissing-prototypes] 571 | int analogix_dp_write_byte_to_dpcd(struct analogix_dp_device *dp, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c:253:9: sparse: sparse: cast truncates bits from constant value (ffffff7f becomes 7f) drivers/gpu/drm/bridge/synopsys/dw-hdmi.c:3210:30: sparse: sparse: cast truncates bits from constant value (ffffff0d becomes d) {standard input}: Assembler messages: {standard input}:2390: Error: unknown opcode {standard input}:2452: Error: unknown opcode {standard input}:2844: Error: unknown opcode {standard input}:2920: Error: unknown opcode make[5]: *** [scripts/Makefile.build:281: drivers/gpu/drm/bridge/ti-sn65dsi86.o] Error 1 {standard input}: Assembler messages: {standard input}:279: Error: unknown opcode {standard input}:352: Error: unknown opcode {standard input}:6515: Error: unknown opcode {standard input}:6546: Error: unknown opcode {standard input}:8294: Error: unknown opcode {standard input}:8500: Error: unknown opcode {standard input}: Assembler messages: {standard input}:10066: Error: unknown opcode {standard input}:10097: Error: unknown opcode make[4]: *** [scripts/Makefile.build:497: drivers/gpu/drm/bridge] Error 2 make[5]: Target '__build' not remade because of errors. {standard input}: Assembler messages: {standard input}:1149: Error: unknown opcode {standard input}:1183: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_damage_helper.o] Error 1 {standard input}: Assembler messages: {standard input}:1928: Error: unknown opcode {standard input}:1959: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic_state_helper.o] Error 1 {standard input}:13031: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic_helper.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_dp_mst_topology.o] Error 1 {standard input}: Assembler messages: {standard input}:657: Error: unknown opcode {standard input}:688: Error: unknown opcode {standard input}:1165: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_gem_framebuffer_helper.o] Error 1 {standard input}: Assembler messages: {standard input}:436: Error: unknown opcode {standard input}:975: Error: unknown opcode {standard input}:1006: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_auth.o] Error 1 {standard input}: Assembler messages: {standard input}:404: Error: unknown opcode {standard input}:753: Error: unknown opcode {standard input}:784: Error: unknown opcode {standard input}:1407: Error: unknown opcode {standard input}:1741: Error: unknown opcode {standard input}:2068: Error: unknown opcode {standard input}:2507: Error: unknown opcode {standard input}:2760: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_dp_aux_dev.o] Error 1 {standard input}: Assembler messages: {standard input}:1496: Error: unknown opcode {standard input}:1527: Error: unknown opcode {standard input}:2992: Error: unknown opcode {standard input}:3198: Error: unknown opcode {standard input}:4561: Error: unknown opcode {standard input}:5094: Error: unknown opcode {standard input}:5238: Error: unknown opcode {standard input}:6799: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_gem.o] Error 1 drivers/gpu/drm/drm_memory.c:135:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *handle @@ got void [noderef] __iomem * @@ drivers/gpu/drm/drm_memory.c:135:29: sparse: expected void *handle drivers/gpu/drm/drm_memory.c:135:29: sparse: got void [noderef] __iomem * drivers/gpu/drm/drm_memory.c:144:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *handle @@ got void [noderef] __iomem * @@ drivers/gpu/drm/drm_memory.c:144:29: sparse: expected void *handle drivers/gpu/drm/drm_memory.c:144:29: sparse: got void [noderef] __iomem * drivers/gpu/drm/drm_memory.c:156:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *handle @@ drivers/gpu/drm/drm_memory.c:156:28: sparse: expected void [noderef] __iomem *addr drivers/gpu/drm/drm_memory.c:156:28: sparse: got void *handle {standard input}: Assembler messages: {standard input}:1486: Error: unknown opcode {standard input}:1517: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_self_refresh_helper.o] Error 1 {standard input}: Assembler messages: {standard input}:8803: Error: unknown opcode {standard input}:8837: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_fb_helper.o] Error 1 drivers/gpu/drm/drm_drv.c:434:6: sparse: sparse: context imbalance in 'drm_dev_enter' - different lock contexts for basic block include/linux/srcu.h:181:9: sparse: sparse: context imbalance in 'drm_dev_exit' - unexpected unlock drivers/gpu/drm/drm_crtc.c:707:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_crtc.c:707:29: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_crtc.c:707:29: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/gpu/drm/drm_crtc.c:707:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/gpu/drm/drm_crtc.c:707:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_crtc.c:707:29: sparse: got unsigned int const *__gu_addr {standard input}: Assembler messages: {standard input}:593: Error: unknown opcode {standard input}:624: Error: unknown opcode {standard input}:2720: Error: unknown opcode {standard input}:4309: Error: unknown opcode {standard input}:4568: Error: unknown opcode {standard input}:5064: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_file.o] Error 1 {standard input}: Assembler messages: {standard input}:229: Error: unknown opcode {standard input}:323: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_hashtab.o] Error 1 {standard input}: Assembler messages: {standard input}:1831: Error: unknown opcode {standard input}:1862: Error: unknown opcode {standard input}:2115: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_drv.o] Error 1 {standard input}: Assembler messages: {standard input}:4765: Error: unknown opcode {standard input}:9394: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_mm.o] Error 1 {standard input}: Assembler messages: {standard input}:1696: Error: unknown opcode {standard input}:1727: Error: unknown opcode {standard input}:1961: Error: unknown opcode {standard input}:2149: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_prime.o] Error 1 {standard input}: Assembler messages: {standard input}:1527: Error: unknown opcode {standard input}:1559: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_framebuffer.o] Error 1 {standard input}: Assembler messages: {standard input}:5009: Error: unknown opcode {standard input}:5040: Error: unknown opcode {standard input}:5507: Error: unknown opcode {standard input}: Assembler messages: {standard input}:2264: Error: unknown opcode {standard input}:8212: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_modeset_lock.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_connector.o] Error 1 {standard input}: Assembler messages: {standard input}:6587: Error: unknown opcode {standard input}:6618: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic.o] Error 1 {standard input}: Assembler messages: {standard input}:489: Error: unknown opcode {standard input}:520: Error: unknown opcode {standard input}:945: Error: unknown opcode {standard input}:2544: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_mode_object.o] Error 1 {standard input}: Assembler messages: {standard input}:1336: Error: unknown opcode {standard input}:1844: Error: unknown opcode {standard input}:1911: Error: unknown opcode {standard input}:2955: Error: unknown opcode {standard input}:3005: Error: unknown opcode {standard input}: Assembler messages: {standard input}:955: Error: unknown opcode {standard input}:986: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_client.o] Error 1 {standard input}: Assembler messages: {standard input}:1303: Error: unknown opcode {standard input}:1334: Error: unknown opcode {standard input}:1561: Error: unknown opcode {standard input}:2084: Error: unknown opcode {standard input}:4488: Error: unknown opcode drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: got unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: got unsigned int [noderef] [usertype] __user * drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: got unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: got unsigned int [noderef] [usertype] __user * drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: got unsigned int const *__gu_addr {standard input}:3236: Error: unknown opcode {standard input}:6751: Error: unknown opcode {standard input}:7204: Error: unknown opcode {standard input}:7321: Error: unknown opcode {standard input}:7935: Error: unknown opcode {standard input}:4802: Error: unknown opcode {standard input}:5250: Error: unknown opcode {standard input}:6411: Error: unknown opcode {standard input}: Assembler messages: {standard input}:1130: Error: unknown opcode {standard input}:1161: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_writeback.o] Error 1 make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_syncobj.o] Error 1 {standard input}:11327: Error: unknown opcode {standard input}:14940: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_vblank.o] Error 1 {standard input}: Assembler messages: {standard input}:1841: Error: unknown opcode {standard input}:1872: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_atomic_uapi.o] Error 1 {standard input}: Assembler messages: {standard input}:3541: Error: unknown opcode {standard input}:3573: Error: unknown opcode make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/drm_client_modeset.o] Error 1 {standard input}: Assembler messages: {standard input}:1005: Error: unknown opcode {standard input}:1036: Error: unknown opcode {standard input}:2516: Error: unknown opcode make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/drm_gem_cma_helper.o] Error 1 make[4]: Target '__build' not remade because of errors. -- drivers/gpu/drm/drm_crtc.c:707:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_crtc.c:707:29: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_crtc.c:707:29: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/gpu/drm/drm_crtc.c:707:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/gpu/drm/drm_crtc.c:707:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_crtc.c:707:29: sparse: got unsigned int const *__gu_addr -- drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: got unsigned int [noderef] [usertype] __user * >> drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1334:21: sparse: got unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: got unsigned int [noderef] [usertype] __user * drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1351:21: sparse: got unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@ drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: expected unsigned int const *__gu_addr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: got unsigned int [noderef] [usertype] __user * drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: expected void const volatile [noderef] __user *ptr drivers/gpu/drm/drm_atomic_uapi.c:1364:29: sparse: got unsigned int const *__gu_addr -- >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *ptr @@ got restricted __le64 * @@ >> drivers/misc/mic/vop/vop_main.c:551:51: sparse: expected void const volatile [noderef] __iomem *ptr drivers/misc/mic/vop/vop_main.c:551:51: sparse: got restricted __le64 * drivers/misc/mic/vop/vop_main.c:560:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:560:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:560:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct mic_device_ctrl *dc @@ got struct mic_device_ctrl [noderef] __iomem *dc @@ drivers/misc/mic/vop/vop_main.c:579:49: sparse: expected struct mic_device_ctrl *dc drivers/misc/mic/vop/vop_main.c:579:49: sparse: got struct mic_device_ctrl [noderef] __iomem *dc drivers/misc/mic/vop/vop_main.c: In function '_vop_scan_devices': drivers/misc/mic/vop/vop_main.c:617:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 617 | int ret; | ^~~ {standard input}: Assembler messages: {standard input}:6221: Error: unknown opcode {standard input}:6680: Error: unknown opcode make[4]: *** [scripts/Makefile.build:497: drivers/misc/mic/vop] Error 2 make[4]: Target '__build' not remade because of errors. make[5]: *** [scripts/Makefile.build:281: drivers/misc/mic/vop/vop_vringh.o] Error 1 make[5]: Target '__build' not remade because of errors. -- drivers/scsi/scsi_ioctl.c:48:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@ drivers/scsi/scsi_ioctl.c:48:21: sparse: expected unsigned int const *__gu_addr drivers/scsi/scsi_ioctl.c:48:21: sparse: got unsigned int [noderef] __user * >> drivers/scsi/scsi_ioctl.c:48:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@ >> drivers/scsi/scsi_ioctl.c:48:21: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/scsi_ioctl.c:48:21: sparse: got unsigned int const *__gu_addr -- drivers/scsi/scsi_error.c:2341:17: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@ drivers/scsi/scsi_error.c:2341:17: sparse: expected int const *__gu_addr drivers/scsi/scsi_error.c:2341:17: sparse: got int [noderef] __user *arg >> drivers/scsi/scsi_error.c:2341:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/scsi/scsi_error.c:2341:17: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/scsi_error.c:2341:17: sparse: got int const *__gu_addr -- drivers/scsi/sg.c:415:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:415:21: sparse: expected int const *__gu_addr drivers/scsi/sg.c:415:21: sparse: got int [noderef] __user * >> drivers/scsi/sg.c:415:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ >> drivers/scsi/sg.c:415:21: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:415:21: sparse: got int const *__gu_addr drivers/scsi/sg.c:419:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:419:32: sparse: expected int const *__gu_addr drivers/scsi/sg.c:419:32: sparse: got int [noderef] __user * drivers/scsi/sg.c:419:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:419:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:419:32: sparse: got int const *__gu_addr drivers/scsi/sg.c:425:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] __user * @@ drivers/scsi/sg.c:425:32: sparse: expected signed int const *__gu_addr drivers/scsi/sg.c:425:32: sparse: got signed int [noderef] __user * >> drivers/scsi/sg.c:425:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@ drivers/scsi/sg.c:425:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:425:32: sparse: got signed int const *__gu_addr drivers/scsi/sg.c:431:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@ drivers/scsi/sg.c:431:32: sparse: expected int const *__gu_addr drivers/scsi/sg.c:431:32: sparse: got int [noderef] __user * drivers/scsi/sg.c:431:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:431:32: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:431:32: sparse: got int const *__gu_addr drivers/scsi/sg.c:638:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user *[assigned] buf @@ drivers/scsi/sg.c:638:13: sparse: expected char const *__gu_addr drivers/scsi/sg.c:638:13: sparse: got char const [noderef] __user *[assigned] buf >> drivers/scsi/sg.c:638:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@ drivers/scsi/sg.c:638:13: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:638:13: sparse: got char const *__gu_addr drivers/scsi/sg.c:955:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:955:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:955:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:955:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:955:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:955:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:998:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:998:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:998:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:998:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:998:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:998:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1026:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1026:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1026:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1026:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1026:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1026:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1051:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1051:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1051:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1051:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1051:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1051:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1059:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1059:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1059:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1059:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1059:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1059:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1067:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1067:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1067:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1067:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1067:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1067:26: sparse: got int const *__gu_addr drivers/scsi/sg.c:1111:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ip @@ drivers/scsi/sg.c:1111:26: sparse: expected int const *__gu_addr drivers/scsi/sg.c:1111:26: sparse: got int [noderef] __user *ip drivers/scsi/sg.c:1111:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@ drivers/scsi/sg.c:1111:26: sparse: expected void const volatile [noderef] __user *ptr drivers/scsi/sg.c:1111:26: sparse: got int const *__gu_addr vim +467 drivers/mtd/ubi/cdev.c 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 377 f429b2ea8eadb5 Artem Bityutskiy 2009-01-16 378 static long vol_cdev_ioctl(struct file *file, unsigned int cmd, f429b2ea8eadb5 Artem Bityutskiy 2009-01-16 379 unsigned long arg) 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 380 { 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 381 int err = 0; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 382 struct ubi_volume_desc *desc = file->private_data; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 383 struct ubi_volume *vol = desc->vol; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 384 struct ubi_device *ubi = vol->ubi; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 385 void __user *argp = (void __user *)arg; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 386 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 387 switch (cmd) { 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 388 /* Volume update command */ 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 389 case UBI_IOCVOLUP: 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 390 { 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 391 int64_t bytes, rsvd_bytes; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 392 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 393 if (!capable(CAP_SYS_RESOURCE)) { 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 394 err = -EPERM; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 395 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 396 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 397 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 398 err = copy_from_user(&bytes, argp, sizeof(int64_t)); 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 399 if (err) { 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 400 err = -EFAULT; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 401 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 402 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 403 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 404 if (desc->mode == UBI_READONLY) { 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 405 err = -EROFS; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 406 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 407 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 408 73789a3d9fd8e5 Bruce Leonard 2008-07-03 409 rsvd_bytes = (long long)vol->reserved_pebs * 5f09aaa9b30c91 Boris Brezillon 2016-09-16 410 vol->usable_leb_size; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 411 if (bytes < 0 || bytes > rsvd_bytes) { 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 412 err = -EINVAL; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 413 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 414 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 415 45fc5c81d03601 Tanya Brokhman 2014-11-09 416 err = get_exclusive(desc); 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 417 if (err < 0) 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 418 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 419 1b68d0eea5dadd Artem Bityutskiy 2008-01-24 420 err = ubi_start_update(ubi, vol, bytes); fda322a1b3b9e8 Ezequiel Garcia 2014-08-29 421 if (bytes == 0) { fda322a1b3b9e8 Ezequiel Garcia 2014-08-29 422 ubi_volume_notify(ubi, vol, UBI_VOLUME_UPDATED); 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 423 revoke_exclusive(desc, UBI_READWRITE); fda322a1b3b9e8 Ezequiel Garcia 2014-08-29 424 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 425 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 426 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 427 e653879c269735 Artem Bityutskiy 2008-01-24 428 /* Atomic logical eraseblock change command */ e653879c269735 Artem Bityutskiy 2008-01-24 429 case UBI_IOCEBCH: e653879c269735 Artem Bityutskiy 2008-01-24 430 { e653879c269735 Artem Bityutskiy 2008-01-24 431 struct ubi_leb_change_req req; e653879c269735 Artem Bityutskiy 2008-01-24 432 e653879c269735 Artem Bityutskiy 2008-01-24 433 err = copy_from_user(&req, argp, e653879c269735 Artem Bityutskiy 2008-01-24 434 sizeof(struct ubi_leb_change_req)); e653879c269735 Artem Bityutskiy 2008-01-24 435 if (err) { e653879c269735 Artem Bityutskiy 2008-01-24 436 err = -EFAULT; e653879c269735 Artem Bityutskiy 2008-01-24 437 break; e653879c269735 Artem Bityutskiy 2008-01-24 438 } e653879c269735 Artem Bityutskiy 2008-01-24 439 e653879c269735 Artem Bityutskiy 2008-01-24 440 if (desc->mode == UBI_READONLY || e653879c269735 Artem Bityutskiy 2008-01-24 441 vol->vol_type == UBI_STATIC_VOLUME) { e653879c269735 Artem Bityutskiy 2008-01-24 442 err = -EROFS; e653879c269735 Artem Bityutskiy 2008-01-24 443 break; e653879c269735 Artem Bityutskiy 2008-01-24 444 } e653879c269735 Artem Bityutskiy 2008-01-24 445 e653879c269735 Artem Bityutskiy 2008-01-24 446 /* Validate the request */ e653879c269735 Artem Bityutskiy 2008-01-24 447 err = -EINVAL; 9a5f09ac0ab83e Boris Brezillon 2016-09-16 448 if (!ubi_leb_valid(vol, req.lnum) || 299d0c5b27346a Brian Norris 2015-02-28 449 req.bytes < 0 || req.bytes > vol->usable_leb_size) e653879c269735 Artem Bityutskiy 2008-01-24 450 break; e653879c269735 Artem Bityutskiy 2008-01-24 451 45fc5c81d03601 Tanya Brokhman 2014-11-09 452 err = get_exclusive(desc); e653879c269735 Artem Bityutskiy 2008-01-24 453 if (err < 0) e653879c269735 Artem Bityutskiy 2008-01-24 454 break; e653879c269735 Artem Bityutskiy 2008-01-24 455 e653879c269735 Artem Bityutskiy 2008-01-24 456 err = ubi_start_leb_change(ubi, vol, &req); e653879c269735 Artem Bityutskiy 2008-01-24 457 if (req.bytes == 0) e653879c269735 Artem Bityutskiy 2008-01-24 458 revoke_exclusive(desc, UBI_READWRITE); e653879c269735 Artem Bityutskiy 2008-01-24 459 break; e653879c269735 Artem Bityutskiy 2008-01-24 460 } e653879c269735 Artem Bityutskiy 2008-01-24 461 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 462 /* Logical eraseblock erasure command */ 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 463 case UBI_IOCEBER: 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 464 { 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 465 int32_t lnum; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 466 bf07803a6827ef Christoph Hellwig 2007-05-17 @467 err = get_user(lnum, (__user int32_t *)argp); 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 468 if (err) { 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 469 err = -EFAULT; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 470 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 471 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 472 e653879c269735 Artem Bityutskiy 2008-01-24 473 if (desc->mode == UBI_READONLY || e653879c269735 Artem Bityutskiy 2008-01-24 474 vol->vol_type == UBI_STATIC_VOLUME) { 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 475 err = -EROFS; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 476 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 477 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 478 9a5f09ac0ab83e Boris Brezillon 2016-09-16 479 if (!ubi_leb_valid(vol, lnum)) { 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 480 err = -EINVAL; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 481 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 482 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 483 c8566350a3229c Artem Bityutskiy 2008-07-16 484 dbg_gen("erase LEB %d:%d", vol->vol_id, lnum); 89b96b69290668 Artem Bityutskiy 2007-12-16 485 err = ubi_eba_unmap_leb(ubi, vol, lnum); 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 486 if (err) 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 487 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 488 62f384552b6756 Joel Reardon 2012-05-20 489 err = ubi_wl_flush(ubi, UBI_ALL, UBI_ALL); 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 490 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 491 } 141e6ebd1b1759 Corentin Chary 2009-01-05 492 141e6ebd1b1759 Corentin Chary 2009-01-05 493 /* Logical eraseblock map command */ 141e6ebd1b1759 Corentin Chary 2009-01-05 494 case UBI_IOCEBMAP: 141e6ebd1b1759 Corentin Chary 2009-01-05 495 { 141e6ebd1b1759 Corentin Chary 2009-01-05 496 struct ubi_map_req req; 141e6ebd1b1759 Corentin Chary 2009-01-05 497 141e6ebd1b1759 Corentin Chary 2009-01-05 498 err = copy_from_user(&req, argp, sizeof(struct ubi_map_req)); 141e6ebd1b1759 Corentin Chary 2009-01-05 499 if (err) { 141e6ebd1b1759 Corentin Chary 2009-01-05 500 err = -EFAULT; 141e6ebd1b1759 Corentin Chary 2009-01-05 501 break; 141e6ebd1b1759 Corentin Chary 2009-01-05 502 } b36a261e8c0ab3 Richard Weinberger 2012-05-14 503 err = ubi_leb_map(desc, req.lnum); 141e6ebd1b1759 Corentin Chary 2009-01-05 504 break; 141e6ebd1b1759 Corentin Chary 2009-01-05 505 } c3da23be1673be Corentin Chary 2009-01-05 506 c3da23be1673be Corentin Chary 2009-01-05 507 /* Logical eraseblock un-map command */ c3da23be1673be Corentin Chary 2009-01-05 508 case UBI_IOCEBUNMAP: c3da23be1673be Corentin Chary 2009-01-05 509 { c3da23be1673be Corentin Chary 2009-01-05 510 int32_t lnum; c3da23be1673be Corentin Chary 2009-01-05 511 c3da23be1673be Corentin Chary 2009-01-05 512 err = get_user(lnum, (__user int32_t *)argp); c3da23be1673be Corentin Chary 2009-01-05 513 if (err) { c3da23be1673be Corentin Chary 2009-01-05 514 err = -EFAULT; c3da23be1673be Corentin Chary 2009-01-05 515 break; c3da23be1673be Corentin Chary 2009-01-05 516 } c3da23be1673be Corentin Chary 2009-01-05 517 err = ubi_leb_unmap(desc, lnum); c3da23be1673be Corentin Chary 2009-01-05 518 break; c3da23be1673be Corentin Chary 2009-01-05 519 } a27ce8f55dd5fd Corentin Chary 2009-01-05 520 a27ce8f55dd5fd Corentin Chary 2009-01-05 521 /* Check if logical eraseblock is mapped command */ a27ce8f55dd5fd Corentin Chary 2009-01-05 522 case UBI_IOCEBISMAP: a27ce8f55dd5fd Corentin Chary 2009-01-05 523 { a27ce8f55dd5fd Corentin Chary 2009-01-05 524 int32_t lnum; a27ce8f55dd5fd Corentin Chary 2009-01-05 525 a27ce8f55dd5fd Corentin Chary 2009-01-05 526 err = get_user(lnum, (__user int32_t *)argp); a27ce8f55dd5fd Corentin Chary 2009-01-05 527 if (err) { a27ce8f55dd5fd Corentin Chary 2009-01-05 528 err = -EFAULT; a27ce8f55dd5fd Corentin Chary 2009-01-05 529 break; a27ce8f55dd5fd Corentin Chary 2009-01-05 530 } a27ce8f55dd5fd Corentin Chary 2009-01-05 531 err = ubi_is_mapped(desc, lnum); a27ce8f55dd5fd Corentin Chary 2009-01-05 532 break; a27ce8f55dd5fd Corentin Chary 2009-01-05 533 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 534 766fb95ba06e1b Sidney Amani 2009-01-27 535 /* Set volume property command */ 6748482f4153fc Artem Bityutskiy 2011-03-15 536 case UBI_IOCSETVOLPROP: 766fb95ba06e1b Sidney Amani 2009-01-27 537 { 6748482f4153fc Artem Bityutskiy 2011-03-15 538 struct ubi_set_vol_prop_req req; 766fb95ba06e1b Sidney Amani 2009-01-27 539 766fb95ba06e1b Sidney Amani 2009-01-27 540 err = copy_from_user(&req, argp, 6748482f4153fc Artem Bityutskiy 2011-03-15 541 sizeof(struct ubi_set_vol_prop_req)); 766fb95ba06e1b Sidney Amani 2009-01-27 542 if (err) { 766fb95ba06e1b Sidney Amani 2009-01-27 543 err = -EFAULT; 766fb95ba06e1b Sidney Amani 2009-01-27 544 break; 766fb95ba06e1b Sidney Amani 2009-01-27 545 } 766fb95ba06e1b Sidney Amani 2009-01-27 546 switch (req.property) { 6748482f4153fc Artem Bityutskiy 2011-03-15 547 case UBI_VOL_PROP_DIRECT_WRITE: f089c0b28cdba1 Artem Bityutskiy 2009-05-07 548 mutex_lock(&ubi->device_mutex); 766fb95ba06e1b Sidney Amani 2009-01-27 549 desc->vol->direct_writes = !!req.value; f089c0b28cdba1 Artem Bityutskiy 2009-05-07 550 mutex_unlock(&ubi->device_mutex); 766fb95ba06e1b Sidney Amani 2009-01-27 551 break; 766fb95ba06e1b Sidney Amani 2009-01-27 552 default: 766fb95ba06e1b Sidney Amani 2009-01-27 553 err = -EINVAL; 766fb95ba06e1b Sidney Amani 2009-01-27 554 break; 766fb95ba06e1b Sidney Amani 2009-01-27 555 } 766fb95ba06e1b Sidney Amani 2009-01-27 556 break; 766fb95ba06e1b Sidney Amani 2009-01-27 557 } 766fb95ba06e1b Sidney Amani 2009-01-27 558 8af871887fcba4 Artem Bityutskiy 2014-03-05 559 /* Create a R/O block device on top of the UBI volume */ 8af871887fcba4 Artem Bityutskiy 2014-03-05 560 case UBI_IOCVOLCRBLK: 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 561 { 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 562 struct ubi_volume_info vi; 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 563 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 564 ubi_get_volume_info(desc, &vi); 4d283ee2517303 Artem Bityutskiy 2014-03-04 565 err = ubiblock_create(&vi); 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 566 break; 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 567 } 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 568 8af871887fcba4 Artem Bityutskiy 2014-03-05 569 /* Remove the R/O block device */ 8af871887fcba4 Artem Bityutskiy 2014-03-05 570 case UBI_IOCVOLRMBLK: 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 571 { 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 572 struct ubi_volume_info vi; 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 573 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 574 ubi_get_volume_info(desc, &vi); 4d283ee2517303 Artem Bityutskiy 2014-03-04 575 err = ubiblock_remove(&vi); 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 576 break; 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 577 } 9d54c8a33eec78 Ezequiel Garcia 2014-02-25 578 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 579 default: 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 580 err = -ENOTTY; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 581 break; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 582 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 583 return err; 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 584 } 801c135ce73d5d Artem B. Bityutskiy 2006-06-27 585 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 26759 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user,io}_ptr() 2020-06-28 7:20 [PATCH] sparse: use static inline for __chk_{user,io}_ptr() Luc Van Oostenryck @ 2020-07-01 18:35 ` kernel test robot 2020-06-29 18:08 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot ` (2 subsequent siblings) 3 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-07-01 18:35 UTC (permalink / raw) To: Luc Van Oostenryck, Andrew Morton Cc: kbuild-all, Linux Memory Management List, linux-kernel, Luc Van Oostenryck [-- Attachment #1: Type: text/plain, Size: 11783 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on next-20200626] [cannot apply to linux/master linus/master v5.8-rc2 v5.8-rc1 v5.7 v5.8-rc3] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200628-152401 base: 36e3135df4d426612fc77db26a312c2531108603 config: x86_64-randconfig-s021-20200701 (attached as .config) compiler: gcc-9 (Debian 9.3.0-14) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-3-gfa153962-dirty # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression >> arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long long [usertype] * @@ >> arch/x86/ia32/ia32_signal.c:350:9: sparse: expected void const volatile [noderef] __user *ptr arch/x86/ia32/ia32_signal.c:350:9: sparse: got unsigned long long [usertype] * arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression -- >> drivers/w1/slaves/w1_ds28e04.c:342:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char *buf @@ >> drivers/w1/slaves/w1_ds28e04.c:342:13: sparse: expected void const volatile [noderef] __user *ptr drivers/w1/slaves/w1_ds28e04.c:342:13: sparse: got char *buf >> drivers/w1/slaves/w1_ds28e04.c:356:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *buf @@ drivers/w1/slaves/w1_ds28e04.c:356:13: sparse: expected void const volatile [noderef] __user *ptr drivers/w1/slaves/w1_ds28e04.c:356:13: sparse: got char const *buf -- >> drivers/watchdog/sbc_fitpc2_wdt.c:99:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const * @@ >> drivers/watchdog/sbc_fitpc2_wdt.c:99:21: sparse: expected void const volatile [noderef] __user *ptr drivers/watchdog/sbc_fitpc2_wdt.c:99:21: sparse: got char const * drivers/watchdog/sbc_fitpc2_wdt.c:128:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got struct watchdog_info * @@ drivers/watchdog/sbc_fitpc2_wdt.c:128:37: sparse: expected void [noderef] __user *to drivers/watchdog/sbc_fitpc2_wdt.c:128:37: sparse: got struct watchdog_info * >> drivers/watchdog/sbc_fitpc2_wdt.c:133:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int * @@ drivers/watchdog/sbc_fitpc2_wdt.c:133:23: sparse: expected void const volatile [noderef] __user *ptr drivers/watchdog/sbc_fitpc2_wdt.c:133:23: sparse: got int * drivers/watchdog/sbc_fitpc2_wdt.c:137:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int * @@ drivers/watchdog/sbc_fitpc2_wdt.c:137:23: sparse: expected void const volatile [noderef] __user *ptr drivers/watchdog/sbc_fitpc2_wdt.c:137:23: sparse: got int * drivers/watchdog/sbc_fitpc2_wdt.c:146:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int * @@ drivers/watchdog/sbc_fitpc2_wdt.c:146:23: sparse: expected void const volatile [noderef] __user *ptr drivers/watchdog/sbc_fitpc2_wdt.c:146:23: sparse: got int * drivers/watchdog/sbc_fitpc2_wdt.c:160:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int * @@ drivers/watchdog/sbc_fitpc2_wdt.c:160:23: sparse: expected void const volatile [noderef] __user *ptr drivers/watchdog/sbc_fitpc2_wdt.c:160:23: sparse: got int * drivers/watchdog/sbc_fitpc2_wdt.c:187:27: sparse: sparse: incorrect type in initializer (incompatible argument 2 (different address spaces)) @@ expected long ( *write )( ... ) @@ got long ( * )( ... ) @@ drivers/watchdog/sbc_fitpc2_wdt.c:187:27: sparse: expected long ( *write )( ... ) drivers/watchdog/sbc_fitpc2_wdt.c:187:27: sparse: got long ( * )( ... ) vim +350 arch/x86/ia32/ia32_signal.c ^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds 2005-04-16 299 235b80226b986d arch/x86/ia32/ia32_signal.c Al Viro 2012-11-09 300 int ia32_setup_rt_frame(int sig, struct ksignal *ksig, ^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds 2005-04-16 301 compat_sigset_t *set, struct pt_regs *regs) ^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds 2005-04-16 302 { 3b0d29ee1c73b6 arch/x86/ia32/ia32_signal.c Hiroshi Shimamoto 2008-12-17 303 struct rt_sigframe_ia32 __user *frame; af65d64845a90c arch/x86/ia32/ia32_signal.c Roland McGrath 2008-01-30 304 void __user *restorer; 44a1d996325982 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 305 void __user *fp = NULL; ^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds 2005-04-16 306 57d563c8292569 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 307 /* unsafe_put_user optimizes that into a single 8 byte store */ 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 308 static const struct { 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 309 u8 movl; 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 310 u32 val; 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 311 u16 int80; 9cc3c49ed1b1db arch/x86/ia32/ia32_signal.c Hiroshi Shimamoto 2008-11-11 312 u8 pad; 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 313 } __attribute__((packed)) code = { 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 314 0xb8, 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 315 __NR_ia32_rt_sigreturn, 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 316 0x80cd, 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 317 0, 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 318 }; 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 319 44a1d996325982 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 320 frame = get_sigframe(ksig, regs, sizeof(*frame), &fp); ^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds 2005-04-16 321 39f16c1c0f14e9 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 322 if (!user_access_begin(frame, sizeof(*frame))) 3d0aedd9538e6b arch/x86/ia32/ia32_signal.c Hiroshi Shimamoto 2008-09-12 323 return -EFAULT; ^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds 2005-04-16 324 39f16c1c0f14e9 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 325 unsafe_put_user(sig, &frame->sig, Efault); 39f16c1c0f14e9 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 326 unsafe_put_user(ptr_to_compat(&frame->info), &frame->pinfo, Efault); 39f16c1c0f14e9 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 327 unsafe_put_user(ptr_to_compat(&frame->uc), &frame->puc, Efault); ^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds 2005-04-16 328 ^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds 2005-04-16 329 /* Create the ucontext. */ ff661350157266 arch/x86/ia32/ia32_signal.c Marco Elver 2019-07-11 330 if (static_cpu_has(X86_FEATURE_XSAVE)) 39f16c1c0f14e9 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 331 unsafe_put_user(UC_FP_XSTATE, &frame->uc.uc_flags, Efault); c37b5efea43f9e arch/x86/ia32/ia32_signal.c Suresh Siddha 2008-07-29 332 else 39f16c1c0f14e9 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 333 unsafe_put_user(0, &frame->uc.uc_flags, Efault); 39f16c1c0f14e9 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 334 unsafe_put_user(0, &frame->uc.uc_link, Efault); 39f16c1c0f14e9 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 335 unsafe_compat_save_altstack(&frame->uc.uc_stack, regs->sp, Efault); ^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds 2005-04-16 336 235b80226b986d arch/x86/ia32/ia32_signal.c Al Viro 2012-11-09 337 if (ksig->ka.sa.sa_flags & SA_RESTORER) 235b80226b986d arch/x86/ia32/ia32_signal.c Al Viro 2012-11-09 338 restorer = ksig->ka.sa.sa_restorer; af65d64845a90c arch/x86/ia32/ia32_signal.c Roland McGrath 2008-01-30 339 else 6f121e548f8367 arch/x86/ia32/ia32_signal.c Andy Lutomirski 2014-05-05 340 restorer = current->mm->context.vdso + 0a6d1fa0d2b48f arch/x86/ia32/ia32_signal.c Andy Lutomirski 2015-10-05 341 vdso_image_32.sym___kernel_rt_sigreturn; 39f16c1c0f14e9 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 342 unsafe_put_user(ptr_to_compat(restorer), &frame->pretcode, Efault); ^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds 2005-04-16 343 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 344 /* 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 345 * Not actually used anymore, but left because some gdb 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 346 * versions need it. 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 347 */ 39f16c1c0f14e9 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 348 unsafe_put_user(*((u64 *)&code), (u64 __user *)frame->retcode, Efault); 44a1d996325982 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 349 unsafe_put_sigcontext32(&frame->uc.uc_mcontext, fp, regs, set, Efault); 57d563c8292569 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 @350 unsafe_put_user(*(__u64 *)set, (__u64 *)&frame->uc.uc_sigmask, Efault); --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 33774 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH] sparse: use static inline for __chk_{user, io}_ptr() @ 2020-07-01 18:35 ` kernel test robot 0 siblings, 0 replies; 32+ messages in thread From: kernel test robot @ 2020-07-01 18:35 UTC (permalink / raw) To: kbuild-all [-- Attachment #1: Type: text/plain, Size: 11912 bytes --] Hi Luc, I love your patch! Perhaps something to improve: [auto build test WARNING on next-20200626] [cannot apply to linux/master linus/master v5.8-rc2 v5.8-rc1 v5.7 v5.8-rc3] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-static-inline-for-__chk_-user-io-_ptr/20200628-152401 base: 36e3135df4d426612fc77db26a312c2531108603 config: x86_64-randconfig-s021-20200701 (attached as .config) compiler: gcc-9 (Debian 9.3.0-14) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-3-gfa153962-dirty # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> sparse warnings: (new ones prefixed by >>) arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression >> arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long long [usertype] * @@ >> arch/x86/ia32/ia32_signal.c:350:9: sparse: expected void const volatile [noderef] __user *ptr arch/x86/ia32/ia32_signal.c:350:9: sparse: got unsigned long long [usertype] * arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '__user' of expression -- >> drivers/w1/slaves/w1_ds28e04.c:342:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char *buf @@ >> drivers/w1/slaves/w1_ds28e04.c:342:13: sparse: expected void const volatile [noderef] __user *ptr drivers/w1/slaves/w1_ds28e04.c:342:13: sparse: got char *buf >> drivers/w1/slaves/w1_ds28e04.c:356:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *buf @@ drivers/w1/slaves/w1_ds28e04.c:356:13: sparse: expected void const volatile [noderef] __user *ptr drivers/w1/slaves/w1_ds28e04.c:356:13: sparse: got char const *buf -- >> drivers/watchdog/sbc_fitpc2_wdt.c:99:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const * @@ >> drivers/watchdog/sbc_fitpc2_wdt.c:99:21: sparse: expected void const volatile [noderef] __user *ptr drivers/watchdog/sbc_fitpc2_wdt.c:99:21: sparse: got char const * drivers/watchdog/sbc_fitpc2_wdt.c:128:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got struct watchdog_info * @@ drivers/watchdog/sbc_fitpc2_wdt.c:128:37: sparse: expected void [noderef] __user *to drivers/watchdog/sbc_fitpc2_wdt.c:128:37: sparse: got struct watchdog_info * >> drivers/watchdog/sbc_fitpc2_wdt.c:133:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int * @@ drivers/watchdog/sbc_fitpc2_wdt.c:133:23: sparse: expected void const volatile [noderef] __user *ptr drivers/watchdog/sbc_fitpc2_wdt.c:133:23: sparse: got int * drivers/watchdog/sbc_fitpc2_wdt.c:137:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int * @@ drivers/watchdog/sbc_fitpc2_wdt.c:137:23: sparse: expected void const volatile [noderef] __user *ptr drivers/watchdog/sbc_fitpc2_wdt.c:137:23: sparse: got int * drivers/watchdog/sbc_fitpc2_wdt.c:146:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int * @@ drivers/watchdog/sbc_fitpc2_wdt.c:146:23: sparse: expected void const volatile [noderef] __user *ptr drivers/watchdog/sbc_fitpc2_wdt.c:146:23: sparse: got int * drivers/watchdog/sbc_fitpc2_wdt.c:160:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int * @@ drivers/watchdog/sbc_fitpc2_wdt.c:160:23: sparse: expected void const volatile [noderef] __user *ptr drivers/watchdog/sbc_fitpc2_wdt.c:160:23: sparse: got int * drivers/watchdog/sbc_fitpc2_wdt.c:187:27: sparse: sparse: incorrect type in initializer (incompatible argument 2 (different address spaces)) @@ expected long ( *write )( ... ) @@ got long ( * )( ... ) @@ drivers/watchdog/sbc_fitpc2_wdt.c:187:27: sparse: expected long ( *write )( ... ) drivers/watchdog/sbc_fitpc2_wdt.c:187:27: sparse: got long ( * )( ... ) vim +350 arch/x86/ia32/ia32_signal.c ^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds 2005-04-16 299 235b80226b986d arch/x86/ia32/ia32_signal.c Al Viro 2012-11-09 300 int ia32_setup_rt_frame(int sig, struct ksignal *ksig, ^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds 2005-04-16 301 compat_sigset_t *set, struct pt_regs *regs) ^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds 2005-04-16 302 { 3b0d29ee1c73b6 arch/x86/ia32/ia32_signal.c Hiroshi Shimamoto 2008-12-17 303 struct rt_sigframe_ia32 __user *frame; af65d64845a90c arch/x86/ia32/ia32_signal.c Roland McGrath 2008-01-30 304 void __user *restorer; 44a1d996325982 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 305 void __user *fp = NULL; ^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds 2005-04-16 306 57d563c8292569 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 307 /* unsafe_put_user optimizes that into a single 8 byte store */ 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 308 static const struct { 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 309 u8 movl; 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 310 u32 val; 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 311 u16 int80; 9cc3c49ed1b1db arch/x86/ia32/ia32_signal.c Hiroshi Shimamoto 2008-11-11 312 u8 pad; 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 313 } __attribute__((packed)) code = { 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 314 0xb8, 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 315 __NR_ia32_rt_sigreturn, 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 316 0x80cd, 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 317 0, 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 318 }; 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 319 44a1d996325982 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 320 frame = get_sigframe(ksig, regs, sizeof(*frame), &fp); ^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds 2005-04-16 321 39f16c1c0f14e9 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 322 if (!user_access_begin(frame, sizeof(*frame))) 3d0aedd9538e6b arch/x86/ia32/ia32_signal.c Hiroshi Shimamoto 2008-09-12 323 return -EFAULT; ^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds 2005-04-16 324 39f16c1c0f14e9 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 325 unsafe_put_user(sig, &frame->sig, Efault); 39f16c1c0f14e9 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 326 unsafe_put_user(ptr_to_compat(&frame->info), &frame->pinfo, Efault); 39f16c1c0f14e9 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 327 unsafe_put_user(ptr_to_compat(&frame->uc), &frame->puc, Efault); ^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds 2005-04-16 328 ^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds 2005-04-16 329 /* Create the ucontext. */ ff661350157266 arch/x86/ia32/ia32_signal.c Marco Elver 2019-07-11 330 if (static_cpu_has(X86_FEATURE_XSAVE)) 39f16c1c0f14e9 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 331 unsafe_put_user(UC_FP_XSTATE, &frame->uc.uc_flags, Efault); c37b5efea43f9e arch/x86/ia32/ia32_signal.c Suresh Siddha 2008-07-29 332 else 39f16c1c0f14e9 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 333 unsafe_put_user(0, &frame->uc.uc_flags, Efault); 39f16c1c0f14e9 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 334 unsafe_put_user(0, &frame->uc.uc_link, Efault); 39f16c1c0f14e9 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 335 unsafe_compat_save_altstack(&frame->uc.uc_stack, regs->sp, Efault); ^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds 2005-04-16 336 235b80226b986d arch/x86/ia32/ia32_signal.c Al Viro 2012-11-09 337 if (ksig->ka.sa.sa_flags & SA_RESTORER) 235b80226b986d arch/x86/ia32/ia32_signal.c Al Viro 2012-11-09 338 restorer = ksig->ka.sa.sa_restorer; af65d64845a90c arch/x86/ia32/ia32_signal.c Roland McGrath 2008-01-30 339 else 6f121e548f8367 arch/x86/ia32/ia32_signal.c Andy Lutomirski 2014-05-05 340 restorer = current->mm->context.vdso + 0a6d1fa0d2b48f arch/x86/ia32/ia32_signal.c Andy Lutomirski 2015-10-05 341 vdso_image_32.sym___kernel_rt_sigreturn; 39f16c1c0f14e9 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 342 unsafe_put_user(ptr_to_compat(restorer), &frame->pretcode, Efault); ^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds 2005-04-16 343 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 344 /* 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 345 * Not actually used anymore, but left because some gdb 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 346 * versions need it. 99b9cdf758af70 arch/x86/ia32/ia32_signal.c Thomas Gleixner 2008-01-30 347 */ 39f16c1c0f14e9 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 348 unsafe_put_user(*((u64 *)&code), (u64 __user *)frame->retcode, Efault); 44a1d996325982 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 349 unsafe_put_sigcontext32(&frame->uc.uc_mcontext, fp, regs, set, Efault); 57d563c8292569 arch/x86/ia32/ia32_signal.c Al Viro 2020-02-15 @350 unsafe_put_user(*(__u64 *)set, (__u64 *)&frame->uc.uc_sigmask, Efault); --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 33774 bytes --] ^ permalink raw reply [flat|nested] 32+ messages in thread
end of thread, other threads:[~2020-09-03 4:06 UTC | newest] Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-08-28 8:53 [PATCH] sparse: use static inline for __chk_{user,io}_ptr() Luc Van Oostenryck 2020-08-28 11:15 ` kernel test robot 2020-08-28 11:15 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot 2020-08-28 11:37 ` [PATCH] sparse: use static inline for __chk_{user,io}_ptr() kernel test robot 2020-08-28 11:37 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot 2020-08-28 12:20 ` [PATCH] sparse: use static inline for __chk_{user,io}_ptr() kernel test robot 2020-08-28 12:20 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot 2020-08-28 14:21 ` [PATCH] sparse: use static inline for __chk_{user,io}_ptr() kernel test robot 2020-08-28 14:21 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot 2020-08-28 15:11 ` [PATCH] sparse: use static inline for __chk_{user,io}_ptr() kernel test robot 2020-08-28 15:11 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot 2020-08-28 19:04 ` [PATCH] sparse: use static inline for __chk_{user,io}_ptr() Miguel Ojeda 2020-08-28 20:15 ` Luc Van Oostenryck 2020-08-29 7:33 ` Miguel Ojeda 2020-09-01 0:57 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot 2020-09-01 5:33 ` kernel test robot 2020-09-01 21:37 ` kernel test robot 2020-09-02 1:12 ` kernel test robot 2020-09-03 2:56 ` kernel test robot 2020-09-03 4:06 ` kernel test robot -- strict thread matches above, loose matches on Subject: below -- 2020-06-28 7:20 [PATCH] sparse: use static inline for __chk_{user,io}_ptr() Luc Van Oostenryck 2020-06-29 17:12 ` kernel test robot 2020-06-29 17:12 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot 2020-06-29 18:08 ` [PATCH] sparse: use static inline for __chk_{user,io}_ptr() kernel test robot 2020-06-29 18:08 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot 2020-06-29 18:37 ` [PATCH] sparse: use static inline for __chk_{user,io}_ptr() Luc Van Oostenryck 2020-06-29 18:37 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() Luc Van Oostenryck 2020-06-30 0:31 ` Rong Chen 2020-06-30 11:58 ` [PATCH] sparse: use static inline for __chk_{user,io}_ptr() kernel test robot 2020-06-30 11:58 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot 2020-07-01 18:35 ` [PATCH] sparse: use static inline for __chk_{user,io}_ptr() kernel test robot 2020-07-01 18:35 ` [PATCH] sparse: use static inline for __chk_{user, io}_ptr() kernel test robot
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.