All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/tty/serial/arc_uart.c:124:9: sparse: sparse: cast removes address space '__iomem' of expression
@ 2020-06-30 14:58 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-06-30 14:58 UTC (permalink / raw)
  To: Luc Van Oostenryck; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 194993 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   7c30b859a947535f2213277e827d7ac7dcff9c84
commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces
date:   12 days ago
config: m68k-randconfig-s031-20200630 (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-3-gfa153962-dirty
        git checkout 670d0a4b10704667765f7d18f7592993d02783aa
        # 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 >>)

                    from drivers/video/fbdev/core/fb_defio.c:11:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 933-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/tty/serial/8250/8250_early.c:44:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:46:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:48:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:67:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:70:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:73:17: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/nfc/pn533/pn533.c:117:39: sparse: sparse: incorrect type in initializer (different base types) @@     expected restricted __be16 [usertype] sc @@     got int @@
   drivers/nfc/pn533/pn533.c:117:39: sparse:     expected restricted __be16 [usertype] sc
   drivers/nfc/pn533/pn533.c:117:39: sparse:     got int
   drivers/nfc/pn533/pn533.c:130:39: sparse: sparse: incorrect type in initializer (different base types) @@     expected restricted __be16 [usertype] sc @@     got int @@
   drivers/nfc/pn533/pn533.c:130:39: sparse:     expected restricted __be16 [usertype] sc
   drivers/nfc/pn533/pn533.c:130:39: sparse:     got int
   In file included from include/linux/build_bug.h:5,
                    from include/linux/bits.h:23,
                    from include/linux/bitops.h:5,
                    from drivers/regulator/axp20x-regulator.c:16:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 964-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/mfd/88pm860x-core.c:10:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 980-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/connector/cn_proc.c:11:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 995-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from include/linux/gfp.h:5,
                    from include/linux/slab.h:15,
                    from drivers/misc/mic/bus/vop_bus.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 1015-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/video/fbdev/core/fbcon.c: In function 'fbcon_exit':
   drivers/video/fbdev/core/fbcon.c:3652:7: warning: variable 'pending' set but not used [-Wunused-but-set-variable]
    3652 |   int pending = 0;
         |       ^~~~~~~
>> drivers/tty/serial/arc_uart.c:124:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/tty/serial/arc_uart.c:124:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:129:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:132:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:132:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:142:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:163:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:171:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:173:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:185:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:185:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:242:30: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:219:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:219:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:225:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:225:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:233:22: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:278:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:298:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:298:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:336:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:336:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:343:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:343:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:377:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:377:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:379:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:380:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:382:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:382:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:515:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:518:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:566:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:567:9: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/dev_printk.h:14,
                    from include/linux/device.h:15,
                    from drivers/nfc/pn533/pn533.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 1069-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/regulator/da9052-regulator.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 1086-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from include/linux/mm.h:9,
                    from include/linux/pagemap.h:8,
                    from drivers/dax/super.c:5:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 1106-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/tty/serial/fsl_linflexuart.c:147:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:149:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:156:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:157:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:195:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:196:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:209:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:212:35: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:216:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:248:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:250:22: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:270:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:272:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:295:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:310:18: sparse: sparse: cast removes address space '__iomem' of expression
--
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/err.h:5,
                    from drivers/regulator/gpio-regulator.c:21:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2140-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/ide/ide-pm.c:2:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2155-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/ide/ide-probe.c:20:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2172-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/string.h:6,
                    from drivers/ide/ide-taskfile.c:13:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2187-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/scsi/scsicam.c:14:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2204-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/mfd/wm8350-core.c:10:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2219-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
>> drivers/ide/ide-io-std.c:34:21: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:39:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:45:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:54:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:63:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:72:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:84:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:185:25: sparse: sparse: undefined identifier 'io_insl'
   drivers/ide/ide-io-std.c:200:17: sparse: sparse: undefined identifier 'io_insw'
   drivers/ide/ide-io-std.c:229:25: sparse: sparse: undefined identifier 'io_outsl'
   drivers/ide/ide-io-std.c:244:17: sparse: sparse: undefined identifier 'io_outsw'
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:356:33: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:340:33: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:420:25: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:405:25: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from include/linux/highmem.h:5,
                    from include/linux/bio.h:8,
                    from drivers/scsi/scsi_lib.c:12:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2265-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/ide/ide-devsets.c:3:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2280-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from drivers/regulator/lp3972.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2297-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/ide/ide-sysfs.c:2:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2312-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   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/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
--
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/mmc/core/host.c:361:33: sparse: sparse: cast to restricted __be32
   drivers/mmc/core/host.c:362:33: sparse: sparse: cast to restricted __be32
   drivers/input/touchscreen/wdt87xx_i2c.c:1166:36: warning: 'wdt87xx_acpi_id' defined but not used [-Wunused-const-variable=]
    1166 | static const struct acpi_device_id wdt87xx_acpi_id[] = {
         |                                    ^~~~~~~~~~~~~~~
   drivers/md/dm.c:520:12: sparse: sparse: context imbalance in 'dm_prepare_ioctl' - wrong count at exit
   drivers/md/dm.c:555:13: sparse: sparse: context imbalance in 'dm_unprepare_ioctl' - wrong count at exit
   drivers/md/dm.c:1140:13: sparse: sparse: context imbalance in 'dm_dax_supported' - different lock contexts for basic block
   drivers/md/dm.c:1231:9: sparse: sparse: context imbalance in 'dm_dax_zero_page_range' - unexpected unlock
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/thread_info.h:12,
                    from arch/m68k/include/asm/current.h:16,
                    from include/linux/sched.h:12,
                    from include/linux/blkdev.h:5,
                    from drivers/md/md-faulty.c:56:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6519-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/thread_info.h:12,
                    from arch/m68k/include/asm/current.h:16,
                    from include/linux/sched.h:12,
                    from include/linux/blkdev.h:5,
                    from drivers/md/md-bitmap.c:19:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6540-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/err.h:5,
                    from include/linux/kthread.h:5,
                    from drivers/md/dm-core.h:12,
                    from drivers/md/dm.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6557-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   In file included from include/linux/kernel.h:11,
                    from include/linux/sched/mm.h:5,
                    from drivers/md/md.c:40:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6575-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from drivers/mmc/core/mmc.c:25:
   drivers/mmc/core/quirks.h:123:31: warning: 'sdio_fixup_methods' defined but not used [-Wunused-const-variable=]
     123 | static const struct mmc_fixup sdio_fixup_methods[] = {
         |                               ^~~~~~~~~~~~~~~~~~
   drivers/mmc/core/quirks.h:17:31: warning: 'mmc_blk_fixups' defined but not used [-Wunused-const-variable=]
      17 | static const struct mmc_fixup mmc_blk_fixups[] = {
         |                               ^~~~~~~~~~~~~~
>> drivers/md/dm-ioctl.c:1783:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got struct dm_ioctl [noderef] __user *user @@
   drivers/md/dm-ioctl.c:1783:36: sparse:     expected void *to
   drivers/md/dm-ioctl.c:1783:36: sparse:     got struct dm_ioctl [noderef] __user *user
   drivers/md/dm-ioctl.c:1798:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got struct dm_ioctl [noderef] __user *user @@
   drivers/md/dm-ioctl.c:1798:28: sparse:     expected void *to
   drivers/md/dm-ioctl.c:1798:28: sparse:     got struct dm_ioctl [noderef] __user *user
   drivers/md/md.c: In function 'bind_rdev_to_array':
   drivers/md/md.c:2445:27: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
    2445 |   /* failure here is OK */;
         |                           ^
   In file included from include/linux/err.h:5,
                    from include/linux/kthread.h:5,
                    from drivers/md/dm-core.h:12,
                    from drivers/md/dm-table.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   drivers/md/md.c: In function 'slot_store':
   drivers/md/md.c:3206:28: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
    3206 |    /* failure here is OK */;
         |                            ^
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6613-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from drivers/md/dm.h:13,
                    from drivers/md/dm-linear.c:7:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6633-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/md/md.c: In function 'remove_and_add_spares':
   drivers/md/md.c:9064:29: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
    9064 |     /* failure here is OK */;
         |                             ^
   In file included from include/linux/err.h:5,
                    from include/linux/kthread.h:5,
                    from drivers/md/dm-core.h:12,
                    from drivers/md/dm-ioctl.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6654-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from include/linux/gfp.h:5,
                    from include/linux/slab.h:15,
                    from drivers/mmc/core/sd_ops.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6674-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from include/linux/gfp.h:5,
                    from include/linux/slab.h:15,
                    from drivers/mmc/core/mmc_ops.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
--
   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'
   drivers/leds/leds-tlc591xx.c:138:34: warning: 'of_tlc591xx_leds_match' defined but not used [-Wunused-const-variable=]
     138 | static const struct of_device_id of_tlc591xx_leds_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~~~~
   In file included from include/linux/build_bug.h:5,
                    from include/linux/bits.h:23,
                    from include/linux/bitops.h:5,
                    from drivers/iio/accel/adxl372.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7663-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/timer.h:5,
                    from include/linux/workqueue.h:9,
                    from drivers/greybus/connection.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7681-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/greybus.h:14,
                    from drivers/greybus/bundle.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7697-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'usb_propval' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'chg_propval' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'jack_propval' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'disp_propval' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'usb_bits' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'chg_bits' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'jack_bits' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'disp_bits' not described in 'extcon_cable'
   drivers/extcon/extcon.c:409: warning: Function parameter or member 'id' not described in 'extcon_sync'
   drivers/extcon/extcon.c:762: warning: Function parameter or member 'edev' not described in 'extcon_set_property_sync'
   drivers/extcon/extcon.c:762: warning: Function parameter or member 'id' not described in 'extcon_set_property_sync'
   drivers/extcon/extcon.c:762: warning: Function parameter or member 'prop' not described in 'extcon_set_property_sync'
   In file included from include/linux/dev_printk.h:14,
                    from include/linux/device.h:15,
                    from include/linux/leds.h:12,
                    from drivers/leds/leds-tps6105x.c:6:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7726-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/leds/leds-wm8350.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7741-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/kernel.h:11,
                    from drivers/greybus/control.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7764-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/iio/adc/axp20x_adc.c:638:34: warning: 'axp20x_adc_of_match' defined but not used [-Wunused-const-variable=]
     638 | static const struct of_device_id axp20x_adc_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   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[] = {
         |                                    ^~~~~~~~~~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from include/linux/highmem.h:5,
                    from include/linux/bio.h:8,
                    from drivers/md/dm-bio-record.h:10,
                    from drivers/md/dm-raid1.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7793-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/fpga/altera-freeze-bridge.c:50:27: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:54:25: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:56:35: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:65:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:69:32: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:95:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:97:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:108:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:114:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:116:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:130:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:132:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:134:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:145:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:150:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:152:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:154:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:225:20: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:241:18: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/firmware.h:6,
                    from drivers/fpga/fpga-mgr.c:11:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7827-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from include/linux/debugfs.h:15,
                    from drivers/greybus/svc.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7847-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
--
                    from drivers/video/fbdev/core/fb_defio.c:11:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 933-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/tty/serial/8250/8250_early.c:44:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:46:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:48:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:67:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:70:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:73:17: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/nfc/pn533/pn533.c:117:39: sparse: sparse: incorrect type in initializer (different base types) @@     expected restricted __be16 [usertype] sc @@     got int @@
   drivers/nfc/pn533/pn533.c:117:39: sparse:     expected restricted __be16 [usertype] sc
   drivers/nfc/pn533/pn533.c:117:39: sparse:     got int
   drivers/nfc/pn533/pn533.c:130:39: sparse: sparse: incorrect type in initializer (different base types) @@     expected restricted __be16 [usertype] sc @@     got int @@
   drivers/nfc/pn533/pn533.c:130:39: sparse:     expected restricted __be16 [usertype] sc
   drivers/nfc/pn533/pn533.c:130:39: sparse:     got int
   In file included from include/linux/build_bug.h:5,
                    from include/linux/bits.h:23,
                    from include/linux/bitops.h:5,
                    from drivers/regulator/axp20x-regulator.c:16:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 964-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/mfd/88pm860x-core.c:10:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 980-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/connector/cn_proc.c:11:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 995-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from include/linux/gfp.h:5,
                    from include/linux/slab.h:15,
                    from drivers/misc/mic/bus/vop_bus.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 1015-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/video/fbdev/core/fbcon.c: In function 'fbcon_exit':
   drivers/video/fbdev/core/fbcon.c:3652:7: warning: variable 'pending' set but not used [-Wunused-but-set-variable]
    3652 |   int pending = 0;
         |       ^~~~~~~
>> drivers/tty/serial/arc_uart.c:124:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/tty/serial/arc_uart.c:124:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:129:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:132:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:132:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:142:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:163:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:171:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:173:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:185:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:185:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:242:30: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:219:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:219:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:225:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:225:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:233:22: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:278:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:298:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:298:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:336:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:336:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:343:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:343:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:377:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:377:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:379:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:380:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:382:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:382:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:515:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:518:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:566:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:567:9: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/dev_printk.h:14,
                    from include/linux/device.h:15,
                    from drivers/nfc/pn533/pn533.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 1069-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/regulator/da9052-regulator.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 1086-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from include/linux/mm.h:9,
                    from include/linux/pagemap.h:8,
                    from drivers/dax/super.c:5:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 1106-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/tty/serial/fsl_linflexuart.c:147:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:149:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:156:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:157:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:195:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:196:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:209:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:212:35: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:216:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:248:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:250:22: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:270:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:272:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:295:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:310:18: sparse: sparse: cast removes address space '__iomem' of expression
--
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/err.h:5,
                    from drivers/regulator/gpio-regulator.c:21:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2140-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/ide/ide-pm.c:2:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2155-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/ide/ide-probe.c:20:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2172-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/string.h:6,
                    from drivers/ide/ide-taskfile.c:13:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2187-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/scsi/scsicam.c:14:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2204-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/mfd/wm8350-core.c:10:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2219-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
>> drivers/ide/ide-io-std.c:34:21: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:39:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:45:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:54:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:63:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:72:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:84:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:185:25: sparse: sparse: undefined identifier 'io_insl'
   drivers/ide/ide-io-std.c:200:17: sparse: sparse: undefined identifier 'io_insw'
   drivers/ide/ide-io-std.c:229:25: sparse: sparse: undefined identifier 'io_outsl'
   drivers/ide/ide-io-std.c:244:17: sparse: sparse: undefined identifier 'io_outsw'
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:356:33: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:340:33: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:420:25: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:405:25: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from include/linux/highmem.h:5,
                    from include/linux/bio.h:8,
                    from drivers/scsi/scsi_lib.c:12:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2265-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/ide/ide-devsets.c:3:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2280-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from drivers/regulator/lp3972.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2297-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/ide/ide-sysfs.c:2:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2312-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   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/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
--
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/mmc/core/host.c:361:33: sparse: sparse: cast to restricted __be32
   drivers/mmc/core/host.c:362:33: sparse: sparse: cast to restricted __be32
   drivers/input/touchscreen/wdt87xx_i2c.c:1166:36: warning: 'wdt87xx_acpi_id' defined but not used [-Wunused-const-variable=]
    1166 | static const struct acpi_device_id wdt87xx_acpi_id[] = {
         |                                    ^~~~~~~~~~~~~~~
   drivers/md/dm.c:520:12: sparse: sparse: context imbalance in 'dm_prepare_ioctl' - wrong count at exit
   drivers/md/dm.c:555:13: sparse: sparse: context imbalance in 'dm_unprepare_ioctl' - wrong count at exit
   drivers/md/dm.c:1140:13: sparse: sparse: context imbalance in 'dm_dax_supported' - different lock contexts for basic block
   drivers/md/dm.c:1231:9: sparse: sparse: context imbalance in 'dm_dax_zero_page_range' - unexpected unlock
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/thread_info.h:12,
                    from arch/m68k/include/asm/current.h:16,
                    from include/linux/sched.h:12,
                    from include/linux/blkdev.h:5,
                    from drivers/md/md-faulty.c:56:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6519-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/thread_info.h:12,
                    from arch/m68k/include/asm/current.h:16,
                    from include/linux/sched.h:12,
                    from include/linux/blkdev.h:5,
                    from drivers/md/md-bitmap.c:19:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6540-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/err.h:5,
                    from include/linux/kthread.h:5,
                    from drivers/md/dm-core.h:12,
                    from drivers/md/dm.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6557-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   In file included from include/linux/kernel.h:11,
                    from include/linux/sched/mm.h:5,
                    from drivers/md/md.c:40:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6575-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from drivers/mmc/core/mmc.c:25:
   drivers/mmc/core/quirks.h:123:31: warning: 'sdio_fixup_methods' defined but not used [-Wunused-const-variable=]
     123 | static const struct mmc_fixup sdio_fixup_methods[] = {
         |                               ^~~~~~~~~~~~~~~~~~
   drivers/mmc/core/quirks.h:17:31: warning: 'mmc_blk_fixups' defined but not used [-Wunused-const-variable=]
      17 | static const struct mmc_fixup mmc_blk_fixups[] = {
         |                               ^~~~~~~~~~~~~~
>> drivers/md/dm-ioctl.c:1783:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got struct dm_ioctl [noderef] __user *user @@
   drivers/md/dm-ioctl.c:1783:36: sparse:     expected void *to
   drivers/md/dm-ioctl.c:1783:36: sparse:     got struct dm_ioctl [noderef] __user *user
   drivers/md/dm-ioctl.c:1798:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got struct dm_ioctl [noderef] __user *user @@
   drivers/md/dm-ioctl.c:1798:28: sparse:     expected void *to
   drivers/md/dm-ioctl.c:1798:28: sparse:     got struct dm_ioctl [noderef] __user *user
   drivers/md/md.c: In function 'bind_rdev_to_array':
   drivers/md/md.c:2445:27: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
    2445 |   /* failure here is OK */;
         |                           ^
   In file included from include/linux/err.h:5,
                    from include/linux/kthread.h:5,
                    from drivers/md/dm-core.h:12,
                    from drivers/md/dm-table.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   drivers/md/md.c: In function 'slot_store':
   drivers/md/md.c:3206:28: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
    3206 |    /* failure here is OK */;
         |                            ^
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6613-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from drivers/md/dm.h:13,
                    from drivers/md/dm-linear.c:7:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6633-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/md/md.c: In function 'remove_and_add_spares':
   drivers/md/md.c:9064:29: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
    9064 |     /* failure here is OK */;
         |                             ^
   In file included from include/linux/err.h:5,
                    from include/linux/kthread.h:5,
                    from drivers/md/dm-core.h:12,
                    from drivers/md/dm-ioctl.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6654-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from include/linux/gfp.h:5,
                    from include/linux/slab.h:15,
                    from drivers/mmc/core/sd_ops.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6674-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from include/linux/gfp.h:5,
                    from include/linux/slab.h:15,
                    from drivers/mmc/core/mmc_ops.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
--
   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'
   drivers/leds/leds-tlc591xx.c:138:34: warning: 'of_tlc591xx_leds_match' defined but not used [-Wunused-const-variable=]
     138 | static const struct of_device_id of_tlc591xx_leds_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~~~~
   In file included from include/linux/build_bug.h:5,
                    from include/linux/bits.h:23,
                    from include/linux/bitops.h:5,
                    from drivers/iio/accel/adxl372.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7663-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/timer.h:5,
                    from include/linux/workqueue.h:9,
                    from drivers/greybus/connection.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7681-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/greybus.h:14,
                    from drivers/greybus/bundle.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7697-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'usb_propval' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'chg_propval' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'jack_propval' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'disp_propval' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'usb_bits' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'chg_bits' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'jack_bits' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'disp_bits' not described in 'extcon_cable'
   drivers/extcon/extcon.c:409: warning: Function parameter or member 'id' not described in 'extcon_sync'
   drivers/extcon/extcon.c:762: warning: Function parameter or member 'edev' not described in 'extcon_set_property_sync'
   drivers/extcon/extcon.c:762: warning: Function parameter or member 'id' not described in 'extcon_set_property_sync'
   drivers/extcon/extcon.c:762: warning: Function parameter or member 'prop' not described in 'extcon_set_property_sync'
   In file included from include/linux/dev_printk.h:14,
                    from include/linux/device.h:15,
                    from include/linux/leds.h:12,
                    from drivers/leds/leds-tps6105x.c:6:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7726-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/leds/leds-wm8350.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7741-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/kernel.h:11,
                    from drivers/greybus/control.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7764-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/iio/adc/axp20x_adc.c:638:34: warning: 'axp20x_adc_of_match' defined but not used [-Wunused-const-variable=]
     638 | static const struct of_device_id axp20x_adc_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   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[] = {
         |                                    ^~~~~~~~~~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from include/linux/highmem.h:5,
                    from include/linux/bio.h:8,
                    from drivers/md/dm-bio-record.h:10,
                    from drivers/md/dm-raid1.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7793-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/fpga/altera-freeze-bridge.c:50:27: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:54:25: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:56:35: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:65:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:69:32: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:95:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:97:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:108:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:114:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:116:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:130:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:132:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:134:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:145:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:150:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:152:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:154:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:225:20: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:241:18: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/firmware.h:6,
                    from drivers/fpga/fpga-mgr.c:11:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7827-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from include/linux/debugfs.h:15,
                    from drivers/greybus/svc.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7847-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
--
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   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)) {
         |                      ^
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/tty/serial/8250/8250_fintek.c:7:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 109-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   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/tty/serial/serial_core.c:3299: warning: Function parameter or member 'port' not described in 'uart_get_rs485_mode'
   drivers/tty/serial/serial_core.c:3299: warning: Excess function parameter 'dev' description in 'uart_get_rs485_mode'
   drivers/tty/serial/serial_core.c:3299: warning: Excess function parameter 'rs485conf' description in 'uart_get_rs485_mode'
   drivers/tty/serial/uartlite.c:559:30: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/uartlite.c:565:17: sparse: sparse: cast removes address space '__iomem' of expression
   include/linux/spinlock.h:408:9: sparse: sparse: context imbalance in 'ulite_console_write' - wrong count at exit
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/build_bug.h:5,
                    from include/linux/bits.h:23,
                    from include/linux/bitops.h:5,
                    from drivers/tty/serial/sc16is7xx.c:11:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 145-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/tty/vt/vt.c:233:5: sparse: sparse: symbol 'console_blank_hook' was not declared. Should it be static?
   drivers/tty/vt/vt.c:2901:19: sparse: sparse: symbol 'console_driver' was not declared. Should it be static?
   drivers/tty/serial/altera_uart.c:86:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/altera_uart.c:91:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/vt/vt.c:4589:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected char const *src @@     got unsigned char [noderef] __user *data @@
   drivers/tty/vt/vt.c:4589:44: sparse:     expected char const *src
   drivers/tty/vt/vt.c:4589:44: sparse:     got unsigned char [noderef] __user *data
   drivers/tty/vt/vt.c:2942:13: sparse: sparse: context imbalance in 'vt_console_print' - wrong count at exit
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/tty/serial/8250/serial_cs.c:35:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 170-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/tty/serial/8250/serial_cs.c: In function 'multi_config':
   drivers/tty/serial/8250/serial_cs.c:562:7: warning: variable 'err' set but not used [-Wunused-but-set-variable]
     562 |   int err;
         |       ^~~
   drivers/tty/serial/8250/8250_early.c:44:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:46:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:48:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:67:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:70:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:73:17: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/tty/serial/arc_uart.c:124:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/tty/serial/arc_uart.c:124:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:129:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:132:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:132:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:142:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:163:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:171:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:173:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:185:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:185:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:242:30: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:219:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:219:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:225:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:225:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:233:22: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:278:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:298:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:298:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:336:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:336:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:343:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:343:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:377:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:377:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:379:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:380:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:382:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:382:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:515:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:518:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:566:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:567:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:147:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:149:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:156:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:157:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:195:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:196:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:209:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:212:35: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:216:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:248:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:250:22: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:270:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:272:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:295:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:310:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:333:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:335:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:337:14: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:339:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:346:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:349:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:363:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:368:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:372:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:374:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:378:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:406:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:408:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:423:14: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:427:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:429:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:432:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:518:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:522:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:168:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:171:35: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:179:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:168:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:171:35: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:179:17: sparse: sparse: cast removes address space '__iomem' of expression
   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;
         |      ^~~~~
   drivers/tty/serdev/core.c:811: warning: Function parameter or member 'owner' not described in '__serdev_device_driver_register'
   drivers/tty/vt/vt.c:1187: warning: Excess function parameter 'real_tty' description in 'vc_do_resize'
   drivers/tty/vt/vt.c:3902: warning: Function parameter or member 'vc' not described in 'con_debug_enter'
   drivers/tty/vt/vt.c:3902: warning: Excess function parameter 'sw' description in 'con_debug_enter'
   drivers/tty/vt/vt.c:3959: warning: Excess function parameter 'sw' description in 'con_debug_leave'
   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/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/tty_io.c:218: warning: Function parameter or member 'file' not described in 'tty_free_file'
   drivers/tty/tty_io.c:320: warning: Function parameter or member 'device' not described in 'get_tty_driver'
   drivers/tty/tty_io.c:320: warning: Excess function parameter 'dev_t' description in 'get_tty_driver'
--
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/ide/ide-io.c:27:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 65-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/ide/ide-iops.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 82-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/ide/ide-io.c:320: warning: Function parameter or member 'drive' not described in 'start_request'
   drivers/ide/ide-io.c:320: warning: Function parameter or member 'rq' not described in 'start_request'
   drivers/ide/ide-io.c:623: warning: Function parameter or member 't' not described in 'ide_timer_expiry'
   drivers/ide/ide-io.c:623: warning: Excess function parameter 'data' description in 'ide_timer_expiry'
   drivers/ide/ide-io.c:780: warning: Excess function parameter 'regs' description in 'ide_intr'
   In file included from include/linux/string.h:6,
                    from drivers/ide/ide-lib.c:3:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 102-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/ide/ide-pm.c:2:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 117-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/ide/ide-probe.c:20:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 134-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/string.h:6,
                    from drivers/ide/ide-taskfile.c:13:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 149-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
>> drivers/ide/ide-io-std.c:34:21: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:39:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:45:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:54:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:63:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:72:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:84:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:185:25: sparse: sparse: undefined identifier 'io_insl'
   drivers/ide/ide-io-std.c:200:17: sparse: sparse: undefined identifier 'io_insw'
   drivers/ide/ide-io-std.c:229:25: sparse: sparse: undefined identifier 'io_outsl'
   drivers/ide/ide-io-std.c:244:17: sparse: sparse: undefined identifier 'io_outsw'
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:356:33: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:340:33: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:420:25: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:405:25: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/kernel.h:11,
                    from drivers/ide/ide-devsets.c:3:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 189-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/ide/ide-sysfs.c:2:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 204-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/ide/ide-park.c:2:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 219-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/ide/ide-io-std.c:3:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 234-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from drivers/ide/ide-io-std.c:9:
   drivers/ide/ide-io-std.c: In function 'ide_input_data':
   arch/m68k/include/asm/ide.h:60:38: error: implicit declaration of function 'io_insl' [-Werror=implicit-function-declaration]
      60 | #define __ide_mm_insl(port, addr, n) io_insl((unsigned int)port, addr, n)
         |                                      ^~~~~~~
   drivers/ide/ide-io-std.c:185:4: note: in expansion of macro '__ide_mm_insl'
     185 |    __ide_mm_insl((void __iomem *)data_addr, buf, words);
         |    ^~~~~~~~~~~~~
   arch/m68k/include/asm/ide.h:59:38: error: implicit declaration of function 'io_insw' [-Werror=implicit-function-declaration]
      59 | #define __ide_mm_insw(port, addr, n) io_insw((unsigned int)port, addr, n)
         |                                      ^~~~~~~
   drivers/ide/ide-io-std.c:200:3: note: in expansion of macro '__ide_mm_insw'
     200 |   __ide_mm_insw((void __iomem *)data_addr, buf, words);
         |   ^~~~~~~~~~~~~
   drivers/ide/ide-io-std.c: In function 'ide_output_data':
   arch/m68k/include/asm/ide.h:62:39: error: implicit declaration of function 'io_outsl'; did you mean 'outsl'? [-Werror=implicit-function-declaration]
--
   In file included from include/linux/kernel.h:11,
                    from drivers/md/raid5-ppl.c:7:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 367-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/md/raid5-cache.c: In function 'r5c_tree_index':
   drivers/md/raid5-cache.c:198:11: warning: variable 'offset' set but not used [-Wunused-but-set-variable]
     198 |  sector_t offset;
         |           ^~~~~~
   drivers/md/dm.c:520:12: sparse: sparse: context imbalance in 'dm_prepare_ioctl' - wrong count at exit
   drivers/md/dm.c:555:13: sparse: sparse: context imbalance in 'dm_unprepare_ioctl' - wrong count at exit
   drivers/md/dm.c:1140:13: sparse: sparse: context imbalance in 'dm_dax_supported' - different lock contexts for basic block
   drivers/md/dm.c:1231:9: sparse: sparse: context imbalance in 'dm_dax_zero_page_range' - unexpected unlock
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/thread_info.h:12,
                    from arch/m68k/include/asm/current.h:16,
                    from include/linux/sched.h:12,
                    from include/linux/blkdev.h:5,
                    from drivers/md/md-faulty.c:56:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 396-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/thread_info.h:12,
                    from arch/m68k/include/asm/current.h:16,
                    from include/linux/sched.h:12,
                    from include/linux/blkdev.h:5,
                    from drivers/md/md-bitmap.c:19:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 417-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/err.h:5,
                    from include/linux/kthread.h:5,
                    from drivers/md/dm-core.h:12,
                    from drivers/md/dm.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 434-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   In file included from include/linux/kernel.h:11,
                    from include/linux/sched/mm.h:5,
                    from drivers/md/md.c:40:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 452-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
>> drivers/md/dm-ioctl.c:1783:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got struct dm_ioctl [noderef] __user *user @@
   drivers/md/dm-ioctl.c:1783:36: sparse:     expected void *to
   drivers/md/dm-ioctl.c:1783:36: sparse:     got struct dm_ioctl [noderef] __user *user
   drivers/md/dm-ioctl.c:1798:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got struct dm_ioctl [noderef] __user *user @@
   drivers/md/dm-ioctl.c:1798:28: sparse:     expected void *to
   drivers/md/dm-ioctl.c:1798:28: sparse:     got struct dm_ioctl [noderef] __user *user
   drivers/md/md.c: In function 'bind_rdev_to_array':
   drivers/md/md.c:2445:27: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
    2445 |   /* failure here is OK */;
         |                           ^
   In file included from include/linux/err.h:5,
                    from include/linux/kthread.h:5,
                    from drivers/md/dm-core.h:12,
                    from drivers/md/dm-table.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   drivers/md/md.c: In function 'slot_store':
   drivers/md/md.c:3206:28: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
    3206 |    /* failure here is OK */;
         |                            ^
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 483-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from drivers/md/dm.h:13,
                    from drivers/md/dm-linear.c:7:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 503-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/md/md.c: In function 'remove_and_add_spares':
   drivers/md/md.c:9064:29: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
    9064 |     /* failure here is OK */;
         |                             ^
   In file included from include/linux/err.h:5,
                    from include/linux/kthread.h:5,
                    from drivers/md/dm-core.h:12,
                    from drivers/md/dm-ioctl.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 524-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from drivers/md/dm.h:13,
                    from drivers/md/dm-stripe.c:7:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 544-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/err.h:5,
                    from include/linux/kthread.h:5,
                    from drivers/md/dm-core.h:12,
                    from drivers/md/dm-target.c:7:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 561-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
--
   In file included from include/linux/build_bug.h:5,
                    from include/linux/bits.h:23,
                    from include/linux/bitops.h:5,
                    from drivers/iio/accel/adxl372.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 8-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/axp20x_adc.c:638:34: warning: 'axp20x_adc_of_match' defined but not used [-Wunused-const-variable=]
     638 | static const struct of_device_id axp20x_adc_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~
   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[] = {
         |                                    ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/iio/adc/ltc2497.c:92:34: warning: 'ltc2497_of_match' defined but not used [-Wunused-const-variable=]
      92 | static const struct of_device_id ltc2497_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~
   drivers/iio/accel/da280.c:178:36: warning: 'da280_acpi_match' defined but not used [-Wunused-const-variable=]
     178 | static const struct acpi_device_id da280_acpi_match[] = {
         |                                    ^~~~~~~~~~~~~~~~
   drivers/iio/chemical/atlas-sensor.c:612:34: warning: 'atlas_dt_ids' defined but not used [-Wunused-const-variable=]
     612 | static const struct of_device_id atlas_dt_ids[] = {
         |                                  ^~~~~~~~~~~~
   drivers/iio/adc/max9611.c:117: warning: cannot understand function prototype: 'const unsigned int max9611_mux_conf[][2] = '
   drivers/iio/adc/max9611.c:145: warning: cannot understand function prototype: 'const unsigned int max9611_gain_conf[][2] = '
   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'
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from include/linux/gfp.h:5,
                    from include/linux/slab.h:15,
                    from drivers/iio/buffer/kfifo_buf.c:2:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 55-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/iio/chemical/ams-iaq-core.c:172:34: warning: 'ams_iaqcore_dt_ids' defined but not used [-Wunused-const-variable=]
     172 | static const struct of_device_id ams_iaqcore_dt_ids[] = {
         |                                  ^~~~~~~~~~~~~~~~~~
   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/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[] = {
         |                                    ^~~~~~~~~~~~~~~~~
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   In file included from include/linux/dev_printk.h:14,
                    from include/linux/device.h:15,
                    from drivers/iio/dac/ad5380.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 84-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   In file included from include/linux/kernel.h:11,
                    from drivers/iio/common/st_sensors/st_sensors_i2c.c:10:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 105-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/iio/dac/ad5380.c:64: warning: Function parameter or member 'lock' not described in 'ad5380_state'
   In file included from include/linux/kernel.h:11,
                    from drivers/iio/common/st_sensors/st_sensors_core.c:10:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 121-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
--
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   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/serial/sccnxp.c:228:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/sccnxp.c:239:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/tty/serial/8250/8250_fintek.c:7:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 84-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/tty/serial/serial_core.c:3299: warning: Function parameter or member 'port' not described in 'uart_get_rs485_mode'
   drivers/tty/serial/serial_core.c:3299: warning: Excess function parameter 'dev' description in 'uart_get_rs485_mode'
   drivers/tty/serial/serial_core.c:3299: warning: Excess function parameter 'rs485conf' description in 'uart_get_rs485_mode'
   drivers/tty/serial/uartlite.c:559:30: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/uartlite.c:565:17: sparse: sparse: cast removes address space '__iomem' of expression
   include/linux/spinlock.h:408:9: sparse: sparse: context imbalance in 'ulite_console_write' - wrong count at exit
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/build_bug.h:5,
                    from include/linux/bits.h:23,
                    from include/linux/bitops.h:5,
                    from drivers/tty/serial/sc16is7xx.c:11:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 115-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/tty/serial/altera_uart.c:86:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/altera_uart.c:91:9: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/tty/serial/8250/serial_cs.c:35:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 134-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/tty/serial/8250/serial_cs.c: In function 'multi_config':
   drivers/tty/serial/8250/serial_cs.c:562:7: warning: variable 'err' set but not used [-Wunused-but-set-variable]
     562 |   int err;
         |       ^~~
   drivers/tty/serial/8250/8250_early.c:44:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:46:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:48:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:67:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:70:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:73:17: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/tty/serial/arc_uart.c:124:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/tty/serial/arc_uart.c:124:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:129:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:132:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:132:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:142:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:163:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:171:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:173:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:185:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:185:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:242:30: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:219:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:219:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:225:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:225:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:233:22: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:278:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:298:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:298:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:336:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:336:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:343:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:343:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:377:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:377:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:379:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:380:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:382:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:382:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:515:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:518:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:566:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:567:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:147:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:149:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:156:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:157:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:195:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:196:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:209:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:212:35: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:216:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:248:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:250:22: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:270:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:272:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:295:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:310:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:333:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:335:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:337:14: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:339:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:346:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:349:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:363:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:368:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:372:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:374:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:378:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:406:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:408:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:423:14: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:427:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:429:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:432:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:518:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:522:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:168:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:171:35: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:179:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:168:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:171:35: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:179:17: sparse: sparse: cast removes address space '__iomem' of expression
--
>> drivers/tty/serial/arc_uart.c:124:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/tty/serial/arc_uart.c:124:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:129:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:132:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:132:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:142:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:163:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:171:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:173:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:185:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:185:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:242:30: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:219:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:219:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:225:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:225:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:233:22: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:278:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:298:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:298:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:336:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:336:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:343:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:343:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:377:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:377:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:379:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:380:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:382:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:382:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:515:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:518:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:566:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:567:9: sparse: sparse: cast removes address space '__iomem' of expression
--
>> drivers/ide/ide-io-std.c:34:21: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:39:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:45:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:54:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:63:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:72:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:84:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:185:25: sparse: sparse: undefined identifier 'io_insl'
   drivers/ide/ide-io-std.c:200:17: sparse: sparse: undefined identifier 'io_insw'
   drivers/ide/ide-io-std.c:229:25: sparse: sparse: undefined identifier 'io_outsl'
   drivers/ide/ide-io-std.c:244:17: sparse: sparse: undefined identifier 'io_outsw'
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:356:33: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:340:33: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:420:25: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:405:25: sparse: sparse: cast removes address space '__iomem' of expression
--
>> drivers/md/dm-ioctl.c:1783:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got struct dm_ioctl [noderef] __user *user @@
   drivers/md/dm-ioctl.c:1783:36: sparse:     expected void *to
   drivers/md/dm-ioctl.c:1783:36: sparse:     got struct dm_ioctl [noderef] __user *user
   drivers/md/dm-ioctl.c:1798:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got struct dm_ioctl [noderef] __user *user @@
   drivers/md/dm-ioctl.c:1798:28: sparse:     expected void *to
   drivers/md/dm-ioctl.c:1798:28: sparse:     got struct dm_ioctl [noderef] __user *user
--
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/axp20x_adc.c:638:34: warning: 'axp20x_adc_of_match' defined but not used [-Wunused-const-variable=]
     638 | static const struct of_device_id axp20x_adc_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~
   drivers/iio/adc/ltc2497.c:92:34: warning: 'ltc2497_of_match' defined but not used [-Wunused-const-variable=]
      92 | static const struct of_device_id ltc2497_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~
   drivers/iio/adc/max9611.c:117: warning: cannot understand function prototype: 'const unsigned int max9611_mux_conf[][2] = '
   drivers/iio/adc/max9611.c:145: warning: cannot understand function prototype: 'const unsigned int max9611_gain_conf[][2] = '
   drivers/iio/adc/palmas_gpadc.c:114: warning: Function parameter or member 'dev' not described in 'palmas_gpadc'
   drivers/iio/adc/palmas_gpadc.c:114: warning: Function parameter or member 'palmas' not described in 'palmas_gpadc'
   drivers/iio/adc/palmas_gpadc.c:114: warning: Function parameter or member 'irq' not described in 'palmas_gpadc'
   drivers/iio/adc/palmas_gpadc.c:114: warning: Function parameter or member 'irq_auto_0' not described in 'palmas_gpadc'
   drivers/iio/adc/palmas_gpadc.c:114: warning: Function parameter or member 'irq_auto_1' not described in 'palmas_gpadc'
   drivers/iio/adc/palmas_gpadc.c:114: warning: Function parameter or member 'adc_info' not described in 'palmas_gpadc'
   drivers/iio/adc/palmas_gpadc.c:114: warning: Function parameter or member 'conv_completion' not described in 'palmas_gpadc'
   drivers/iio/adc/palmas_gpadc.c:114: warning: Function parameter or member 'wakeup1_data' not described in 'palmas_gpadc'
   drivers/iio/adc/palmas_gpadc.c:114: warning: Function parameter or member 'wakeup2_data' not described in 'palmas_gpadc'
   drivers/iio/adc/palmas_gpadc.c:114: warning: Function parameter or member 'wakeup1_enable' not described in 'palmas_gpadc'
   drivers/iio/adc/palmas_gpadc.c:114: warning: Function parameter or member 'wakeup2_enable' not described in 'palmas_gpadc'
   drivers/iio/adc/xilinx-xadc-core.c:118:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/xilinx-xadc-core.c:124:16: sparse: sparse: cast removes address space '__iomem' of expression
--
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression

vim +/__iomem +124 drivers/tty/serial/arc_uart.c

2ac4ad2a146812 Vineet Gupta 2012-10-27  121  
2ac4ad2a146812 Vineet Gupta 2012-10-27  122  static void arc_serial_stop_rx(struct uart_port *port)
2ac4ad2a146812 Vineet Gupta 2012-10-27  123  {
12d15e6f6377fe Vineet Gupta 2014-06-24 @124  	UART_RX_IRQ_DISABLE(port);
2ac4ad2a146812 Vineet Gupta 2012-10-27  125  }
2ac4ad2a146812 Vineet Gupta 2012-10-27  126  

:::::: The code at line 124 was first introduced by commit
:::::: 12d15e6f6377fe46b1f9dc51133890a732f1ae05 serial/arc: Refactor by referencing to uart_port where possible

:::::: TO: Vineet Gupta <Vineet.Gupta1@synopsys.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
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: 21084 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* drivers/tty/serial/arc_uart.c:124:9: sparse: sparse: cast removes address space '__iomem' of expression
@ 2020-06-30 14:58 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-06-30 14:58 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 197569 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   7c30b859a947535f2213277e827d7ac7dcff9c84
commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces
date:   12 days ago
config: m68k-randconfig-s031-20200630 (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-3-gfa153962-dirty
        git checkout 670d0a4b10704667765f7d18f7592993d02783aa
        # 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 >>)

                    from drivers/video/fbdev/core/fb_defio.c:11:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 933-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/tty/serial/8250/8250_early.c:44:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:46:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:48:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:67:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:70:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:73:17: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/nfc/pn533/pn533.c:117:39: sparse: sparse: incorrect type in initializer (different base types) @@     expected restricted __be16 [usertype] sc @@     got int @@
   drivers/nfc/pn533/pn533.c:117:39: sparse:     expected restricted __be16 [usertype] sc
   drivers/nfc/pn533/pn533.c:117:39: sparse:     got int
   drivers/nfc/pn533/pn533.c:130:39: sparse: sparse: incorrect type in initializer (different base types) @@     expected restricted __be16 [usertype] sc @@     got int @@
   drivers/nfc/pn533/pn533.c:130:39: sparse:     expected restricted __be16 [usertype] sc
   drivers/nfc/pn533/pn533.c:130:39: sparse:     got int
   In file included from include/linux/build_bug.h:5,
                    from include/linux/bits.h:23,
                    from include/linux/bitops.h:5,
                    from drivers/regulator/axp20x-regulator.c:16:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 964-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/mfd/88pm860x-core.c:10:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 980-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/connector/cn_proc.c:11:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 995-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from include/linux/gfp.h:5,
                    from include/linux/slab.h:15,
                    from drivers/misc/mic/bus/vop_bus.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 1015-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/video/fbdev/core/fbcon.c: In function 'fbcon_exit':
   drivers/video/fbdev/core/fbcon.c:3652:7: warning: variable 'pending' set but not used [-Wunused-but-set-variable]
    3652 |   int pending = 0;
         |       ^~~~~~~
>> drivers/tty/serial/arc_uart.c:124:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/tty/serial/arc_uart.c:124:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:129:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:132:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:132:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:142:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:163:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:171:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:173:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:185:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:185:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:242:30: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:219:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:219:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:225:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:225:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:233:22: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:278:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:298:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:298:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:336:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:336:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:343:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:343:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:377:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:377:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:379:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:380:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:382:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:382:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:515:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:518:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:566:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:567:9: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/dev_printk.h:14,
                    from include/linux/device.h:15,
                    from drivers/nfc/pn533/pn533.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 1069-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/regulator/da9052-regulator.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 1086-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from include/linux/mm.h:9,
                    from include/linux/pagemap.h:8,
                    from drivers/dax/super.c:5:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 1106-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/tty/serial/fsl_linflexuart.c:147:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:149:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:156:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:157:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:195:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:196:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:209:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:212:35: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:216:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:248:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:250:22: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:270:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:272:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:295:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:310:18: sparse: sparse: cast removes address space '__iomem' of expression
--
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/err.h:5,
                    from drivers/regulator/gpio-regulator.c:21:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2140-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/ide/ide-pm.c:2:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2155-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/ide/ide-probe.c:20:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2172-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/string.h:6,
                    from drivers/ide/ide-taskfile.c:13:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2187-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/scsi/scsicam.c:14:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2204-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/mfd/wm8350-core.c:10:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2219-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
>> drivers/ide/ide-io-std.c:34:21: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:39:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:45:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:54:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:63:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:72:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:84:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:185:25: sparse: sparse: undefined identifier 'io_insl'
   drivers/ide/ide-io-std.c:200:17: sparse: sparse: undefined identifier 'io_insw'
   drivers/ide/ide-io-std.c:229:25: sparse: sparse: undefined identifier 'io_outsl'
   drivers/ide/ide-io-std.c:244:17: sparse: sparse: undefined identifier 'io_outsw'
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:356:33: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:340:33: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:420:25: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:405:25: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from include/linux/highmem.h:5,
                    from include/linux/bio.h:8,
                    from drivers/scsi/scsi_lib.c:12:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2265-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/ide/ide-devsets.c:3:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2280-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from drivers/regulator/lp3972.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2297-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/ide/ide-sysfs.c:2:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2312-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   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/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
--
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/mmc/core/host.c:361:33: sparse: sparse: cast to restricted __be32
   drivers/mmc/core/host.c:362:33: sparse: sparse: cast to restricted __be32
   drivers/input/touchscreen/wdt87xx_i2c.c:1166:36: warning: 'wdt87xx_acpi_id' defined but not used [-Wunused-const-variable=]
    1166 | static const struct acpi_device_id wdt87xx_acpi_id[] = {
         |                                    ^~~~~~~~~~~~~~~
   drivers/md/dm.c:520:12: sparse: sparse: context imbalance in 'dm_prepare_ioctl' - wrong count at exit
   drivers/md/dm.c:555:13: sparse: sparse: context imbalance in 'dm_unprepare_ioctl' - wrong count at exit
   drivers/md/dm.c:1140:13: sparse: sparse: context imbalance in 'dm_dax_supported' - different lock contexts for basic block
   drivers/md/dm.c:1231:9: sparse: sparse: context imbalance in 'dm_dax_zero_page_range' - unexpected unlock
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/thread_info.h:12,
                    from arch/m68k/include/asm/current.h:16,
                    from include/linux/sched.h:12,
                    from include/linux/blkdev.h:5,
                    from drivers/md/md-faulty.c:56:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6519-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/thread_info.h:12,
                    from arch/m68k/include/asm/current.h:16,
                    from include/linux/sched.h:12,
                    from include/linux/blkdev.h:5,
                    from drivers/md/md-bitmap.c:19:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6540-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/err.h:5,
                    from include/linux/kthread.h:5,
                    from drivers/md/dm-core.h:12,
                    from drivers/md/dm.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6557-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   In file included from include/linux/kernel.h:11,
                    from include/linux/sched/mm.h:5,
                    from drivers/md/md.c:40:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6575-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from drivers/mmc/core/mmc.c:25:
   drivers/mmc/core/quirks.h:123:31: warning: 'sdio_fixup_methods' defined but not used [-Wunused-const-variable=]
     123 | static const struct mmc_fixup sdio_fixup_methods[] = {
         |                               ^~~~~~~~~~~~~~~~~~
   drivers/mmc/core/quirks.h:17:31: warning: 'mmc_blk_fixups' defined but not used [-Wunused-const-variable=]
      17 | static const struct mmc_fixup mmc_blk_fixups[] = {
         |                               ^~~~~~~~~~~~~~
>> drivers/md/dm-ioctl.c:1783:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got struct dm_ioctl [noderef] __user *user @@
   drivers/md/dm-ioctl.c:1783:36: sparse:     expected void *to
   drivers/md/dm-ioctl.c:1783:36: sparse:     got struct dm_ioctl [noderef] __user *user
   drivers/md/dm-ioctl.c:1798:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got struct dm_ioctl [noderef] __user *user @@
   drivers/md/dm-ioctl.c:1798:28: sparse:     expected void *to
   drivers/md/dm-ioctl.c:1798:28: sparse:     got struct dm_ioctl [noderef] __user *user
   drivers/md/md.c: In function 'bind_rdev_to_array':
   drivers/md/md.c:2445:27: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
    2445 |   /* failure here is OK */;
         |                           ^
   In file included from include/linux/err.h:5,
                    from include/linux/kthread.h:5,
                    from drivers/md/dm-core.h:12,
                    from drivers/md/dm-table.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   drivers/md/md.c: In function 'slot_store':
   drivers/md/md.c:3206:28: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
    3206 |    /* failure here is OK */;
         |                            ^
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6613-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from drivers/md/dm.h:13,
                    from drivers/md/dm-linear.c:7:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6633-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/md/md.c: In function 'remove_and_add_spares':
   drivers/md/md.c:9064:29: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
    9064 |     /* failure here is OK */;
         |                             ^
   In file included from include/linux/err.h:5,
                    from include/linux/kthread.h:5,
                    from drivers/md/dm-core.h:12,
                    from drivers/md/dm-ioctl.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6654-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from include/linux/gfp.h:5,
                    from include/linux/slab.h:15,
                    from drivers/mmc/core/sd_ops.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6674-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from include/linux/gfp.h:5,
                    from include/linux/slab.h:15,
                    from drivers/mmc/core/mmc_ops.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
--
   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'
   drivers/leds/leds-tlc591xx.c:138:34: warning: 'of_tlc591xx_leds_match' defined but not used [-Wunused-const-variable=]
     138 | static const struct of_device_id of_tlc591xx_leds_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~~~~
   In file included from include/linux/build_bug.h:5,
                    from include/linux/bits.h:23,
                    from include/linux/bitops.h:5,
                    from drivers/iio/accel/adxl372.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7663-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/timer.h:5,
                    from include/linux/workqueue.h:9,
                    from drivers/greybus/connection.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7681-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/greybus.h:14,
                    from drivers/greybus/bundle.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7697-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'usb_propval' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'chg_propval' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'jack_propval' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'disp_propval' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'usb_bits' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'chg_bits' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'jack_bits' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'disp_bits' not described in 'extcon_cable'
   drivers/extcon/extcon.c:409: warning: Function parameter or member 'id' not described in 'extcon_sync'
   drivers/extcon/extcon.c:762: warning: Function parameter or member 'edev' not described in 'extcon_set_property_sync'
   drivers/extcon/extcon.c:762: warning: Function parameter or member 'id' not described in 'extcon_set_property_sync'
   drivers/extcon/extcon.c:762: warning: Function parameter or member 'prop' not described in 'extcon_set_property_sync'
   In file included from include/linux/dev_printk.h:14,
                    from include/linux/device.h:15,
                    from include/linux/leds.h:12,
                    from drivers/leds/leds-tps6105x.c:6:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7726-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/leds/leds-wm8350.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7741-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/kernel.h:11,
                    from drivers/greybus/control.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7764-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/iio/adc/axp20x_adc.c:638:34: warning: 'axp20x_adc_of_match' defined but not used [-Wunused-const-variable=]
     638 | static const struct of_device_id axp20x_adc_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   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[] = {
         |                                    ^~~~~~~~~~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from include/linux/highmem.h:5,
                    from include/linux/bio.h:8,
                    from drivers/md/dm-bio-record.h:10,
                    from drivers/md/dm-raid1.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7793-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/fpga/altera-freeze-bridge.c:50:27: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:54:25: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:56:35: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:65:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:69:32: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:95:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:97:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:108:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:114:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:116:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:130:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:132:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:134:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:145:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:150:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:152:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:154:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:225:20: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:241:18: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/firmware.h:6,
                    from drivers/fpga/fpga-mgr.c:11:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7827-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from include/linux/debugfs.h:15,
                    from drivers/greybus/svc.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7847-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
--
                    from drivers/video/fbdev/core/fb_defio.c:11:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 933-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/tty/serial/8250/8250_early.c:44:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:46:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:48:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:67:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:70:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:73:17: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/nfc/pn533/pn533.c:117:39: sparse: sparse: incorrect type in initializer (different base types) @@     expected restricted __be16 [usertype] sc @@     got int @@
   drivers/nfc/pn533/pn533.c:117:39: sparse:     expected restricted __be16 [usertype] sc
   drivers/nfc/pn533/pn533.c:117:39: sparse:     got int
   drivers/nfc/pn533/pn533.c:130:39: sparse: sparse: incorrect type in initializer (different base types) @@     expected restricted __be16 [usertype] sc @@     got int @@
   drivers/nfc/pn533/pn533.c:130:39: sparse:     expected restricted __be16 [usertype] sc
   drivers/nfc/pn533/pn533.c:130:39: sparse:     got int
   In file included from include/linux/build_bug.h:5,
                    from include/linux/bits.h:23,
                    from include/linux/bitops.h:5,
                    from drivers/regulator/axp20x-regulator.c:16:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 964-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/mfd/88pm860x-core.c:10:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 980-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/connector/cn_proc.c:11:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 995-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from include/linux/gfp.h:5,
                    from include/linux/slab.h:15,
                    from drivers/misc/mic/bus/vop_bus.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 1015-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/video/fbdev/core/fbcon.c: In function 'fbcon_exit':
   drivers/video/fbdev/core/fbcon.c:3652:7: warning: variable 'pending' set but not used [-Wunused-but-set-variable]
    3652 |   int pending = 0;
         |       ^~~~~~~
>> drivers/tty/serial/arc_uart.c:124:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/tty/serial/arc_uart.c:124:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:129:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:132:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:132:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:142:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:163:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:171:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:173:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:185:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:185:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:242:30: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:219:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:219:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:225:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:225:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:233:22: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:278:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:298:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:298:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:336:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:336:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:343:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:343:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:377:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:377:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:379:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:380:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:382:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:382:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:515:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:518:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:566:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:567:9: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/dev_printk.h:14,
                    from include/linux/device.h:15,
                    from drivers/nfc/pn533/pn533.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 1069-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/regulator/da9052-regulator.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 1086-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from include/linux/mm.h:9,
                    from include/linux/pagemap.h:8,
                    from drivers/dax/super.c:5:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 1106-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/tty/serial/fsl_linflexuart.c:147:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:149:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:156:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:157:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:195:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:196:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:209:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:212:35: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:216:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:248:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:250:22: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:270:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:272:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:295:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:310:18: sparse: sparse: cast removes address space '__iomem' of expression
--
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/err.h:5,
                    from drivers/regulator/gpio-regulator.c:21:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2140-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/ide/ide-pm.c:2:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2155-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/ide/ide-probe.c:20:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2172-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/string.h:6,
                    from drivers/ide/ide-taskfile.c:13:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2187-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/scsi/scsicam.c:14:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2204-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/mfd/wm8350-core.c:10:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2219-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
>> drivers/ide/ide-io-std.c:34:21: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:39:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:45:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:54:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:63:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:72:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:84:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:185:25: sparse: sparse: undefined identifier 'io_insl'
   drivers/ide/ide-io-std.c:200:17: sparse: sparse: undefined identifier 'io_insw'
   drivers/ide/ide-io-std.c:229:25: sparse: sparse: undefined identifier 'io_outsl'
   drivers/ide/ide-io-std.c:244:17: sparse: sparse: undefined identifier 'io_outsw'
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:356:33: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:340:33: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:420:25: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:405:25: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from include/linux/highmem.h:5,
                    from include/linux/bio.h:8,
                    from drivers/scsi/scsi_lib.c:12:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2265-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/ide/ide-devsets.c:3:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2280-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from drivers/regulator/lp3972.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2297-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/ide/ide-sysfs.c:2:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 2312-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   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/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
--
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/mmc/core/host.c:361:33: sparse: sparse: cast to restricted __be32
   drivers/mmc/core/host.c:362:33: sparse: sparse: cast to restricted __be32
   drivers/input/touchscreen/wdt87xx_i2c.c:1166:36: warning: 'wdt87xx_acpi_id' defined but not used [-Wunused-const-variable=]
    1166 | static const struct acpi_device_id wdt87xx_acpi_id[] = {
         |                                    ^~~~~~~~~~~~~~~
   drivers/md/dm.c:520:12: sparse: sparse: context imbalance in 'dm_prepare_ioctl' - wrong count at exit
   drivers/md/dm.c:555:13: sparse: sparse: context imbalance in 'dm_unprepare_ioctl' - wrong count at exit
   drivers/md/dm.c:1140:13: sparse: sparse: context imbalance in 'dm_dax_supported' - different lock contexts for basic block
   drivers/md/dm.c:1231:9: sparse: sparse: context imbalance in 'dm_dax_zero_page_range' - unexpected unlock
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/thread_info.h:12,
                    from arch/m68k/include/asm/current.h:16,
                    from include/linux/sched.h:12,
                    from include/linux/blkdev.h:5,
                    from drivers/md/md-faulty.c:56:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6519-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/thread_info.h:12,
                    from arch/m68k/include/asm/current.h:16,
                    from include/linux/sched.h:12,
                    from include/linux/blkdev.h:5,
                    from drivers/md/md-bitmap.c:19:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6540-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/err.h:5,
                    from include/linux/kthread.h:5,
                    from drivers/md/dm-core.h:12,
                    from drivers/md/dm.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6557-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   In file included from include/linux/kernel.h:11,
                    from include/linux/sched/mm.h:5,
                    from drivers/md/md.c:40:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6575-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from drivers/mmc/core/mmc.c:25:
   drivers/mmc/core/quirks.h:123:31: warning: 'sdio_fixup_methods' defined but not used [-Wunused-const-variable=]
     123 | static const struct mmc_fixup sdio_fixup_methods[] = {
         |                               ^~~~~~~~~~~~~~~~~~
   drivers/mmc/core/quirks.h:17:31: warning: 'mmc_blk_fixups' defined but not used [-Wunused-const-variable=]
      17 | static const struct mmc_fixup mmc_blk_fixups[] = {
         |                               ^~~~~~~~~~~~~~
>> drivers/md/dm-ioctl.c:1783:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got struct dm_ioctl [noderef] __user *user @@
   drivers/md/dm-ioctl.c:1783:36: sparse:     expected void *to
   drivers/md/dm-ioctl.c:1783:36: sparse:     got struct dm_ioctl [noderef] __user *user
   drivers/md/dm-ioctl.c:1798:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got struct dm_ioctl [noderef] __user *user @@
   drivers/md/dm-ioctl.c:1798:28: sparse:     expected void *to
   drivers/md/dm-ioctl.c:1798:28: sparse:     got struct dm_ioctl [noderef] __user *user
   drivers/md/md.c: In function 'bind_rdev_to_array':
   drivers/md/md.c:2445:27: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
    2445 |   /* failure here is OK */;
         |                           ^
   In file included from include/linux/err.h:5,
                    from include/linux/kthread.h:5,
                    from drivers/md/dm-core.h:12,
                    from drivers/md/dm-table.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   drivers/md/md.c: In function 'slot_store':
   drivers/md/md.c:3206:28: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
    3206 |    /* failure here is OK */;
         |                            ^
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6613-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from drivers/md/dm.h:13,
                    from drivers/md/dm-linear.c:7:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6633-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/md/md.c: In function 'remove_and_add_spares':
   drivers/md/md.c:9064:29: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
    9064 |     /* failure here is OK */;
         |                             ^
   In file included from include/linux/err.h:5,
                    from include/linux/kthread.h:5,
                    from drivers/md/dm-core.h:12,
                    from drivers/md/dm-ioctl.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6654-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from include/linux/gfp.h:5,
                    from include/linux/slab.h:15,
                    from drivers/mmc/core/sd_ops.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 6674-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from include/linux/gfp.h:5,
                    from include/linux/slab.h:15,
                    from drivers/mmc/core/mmc_ops.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
--
   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'
   drivers/leds/leds-tlc591xx.c:138:34: warning: 'of_tlc591xx_leds_match' defined but not used [-Wunused-const-variable=]
     138 | static const struct of_device_id of_tlc591xx_leds_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~~~~
   In file included from include/linux/build_bug.h:5,
                    from include/linux/bits.h:23,
                    from include/linux/bitops.h:5,
                    from drivers/iio/accel/adxl372.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7663-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/timer.h:5,
                    from include/linux/workqueue.h:9,
                    from drivers/greybus/connection.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7681-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/greybus.h:14,
                    from drivers/greybus/bundle.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7697-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'usb_propval' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'chg_propval' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'jack_propval' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'disp_propval' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'usb_bits' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'chg_bits' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'jack_bits' not described in 'extcon_cable'
   drivers/extcon/extcon.c:219: warning: Function parameter or member 'disp_bits' not described in 'extcon_cable'
   drivers/extcon/extcon.c:409: warning: Function parameter or member 'id' not described in 'extcon_sync'
   drivers/extcon/extcon.c:762: warning: Function parameter or member 'edev' not described in 'extcon_set_property_sync'
   drivers/extcon/extcon.c:762: warning: Function parameter or member 'id' not described in 'extcon_set_property_sync'
   drivers/extcon/extcon.c:762: warning: Function parameter or member 'prop' not described in 'extcon_set_property_sync'
   In file included from include/linux/dev_printk.h:14,
                    from include/linux/device.h:15,
                    from include/linux/leds.h:12,
                    from drivers/leds/leds-tps6105x.c:6:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7726-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/leds/leds-wm8350.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7741-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/kernel.h:11,
                    from drivers/greybus/control.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7764-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/iio/adc/axp20x_adc.c:638:34: warning: 'axp20x_adc_of_match' defined but not used [-Wunused-const-variable=]
     638 | static const struct of_device_id axp20x_adc_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   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[] = {
         |                                    ^~~~~~~~~~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from include/linux/highmem.h:5,
                    from include/linux/bio.h:8,
                    from drivers/md/dm-bio-record.h:10,
                    from drivers/md/dm-raid1.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7793-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/fpga/altera-freeze-bridge.c:50:27: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:54:25: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:56:35: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:65:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:69:32: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:95:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:97:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:108:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:114:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:116:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:130:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:132:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:134:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:145:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:150:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:152:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:154:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:225:20: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/fpga/altera-freeze-bridge.c:241:18: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/firmware.h:6,
                    from drivers/fpga/fpga-mgr.c:11:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7827-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from include/linux/debugfs.h:15,
                    from drivers/greybus/svc.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 7847-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
--
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   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)) {
         |                      ^
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/tty/serial/8250/8250_fintek.c:7:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 109-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   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/tty/serial/serial_core.c:3299: warning: Function parameter or member 'port' not described in 'uart_get_rs485_mode'
   drivers/tty/serial/serial_core.c:3299: warning: Excess function parameter 'dev' description in 'uart_get_rs485_mode'
   drivers/tty/serial/serial_core.c:3299: warning: Excess function parameter 'rs485conf' description in 'uart_get_rs485_mode'
   drivers/tty/serial/uartlite.c:559:30: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/uartlite.c:565:17: sparse: sparse: cast removes address space '__iomem' of expression
   include/linux/spinlock.h:408:9: sparse: sparse: context imbalance in 'ulite_console_write' - wrong count at exit
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/build_bug.h:5,
                    from include/linux/bits.h:23,
                    from include/linux/bitops.h:5,
                    from drivers/tty/serial/sc16is7xx.c:11:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 145-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/tty/vt/vt.c:233:5: sparse: sparse: symbol 'console_blank_hook' was not declared. Should it be static?
   drivers/tty/vt/vt.c:2901:19: sparse: sparse: symbol 'console_driver' was not declared. Should it be static?
   drivers/tty/serial/altera_uart.c:86:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/altera_uart.c:91:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/vt/vt.c:4589:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected char const *src @@     got unsigned char [noderef] __user *data @@
   drivers/tty/vt/vt.c:4589:44: sparse:     expected char const *src
   drivers/tty/vt/vt.c:4589:44: sparse:     got unsigned char [noderef] __user *data
   drivers/tty/vt/vt.c:2942:13: sparse: sparse: context imbalance in 'vt_console_print' - wrong count at exit
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/tty/serial/8250/serial_cs.c:35:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 170-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/tty/serial/8250/serial_cs.c: In function 'multi_config':
   drivers/tty/serial/8250/serial_cs.c:562:7: warning: variable 'err' set but not used [-Wunused-but-set-variable]
     562 |   int err;
         |       ^~~
   drivers/tty/serial/8250/8250_early.c:44:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:46:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:48:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:67:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:70:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:73:17: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/tty/serial/arc_uart.c:124:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/tty/serial/arc_uart.c:124:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:129:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:132:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:132:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:142:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:163:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:171:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:173:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:185:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:185:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:242:30: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:219:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:219:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:225:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:225:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:233:22: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:278:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:298:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:298:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:336:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:336:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:343:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:343:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:377:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:377:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:379:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:380:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:382:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:382:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:515:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:518:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:566:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:567:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:147:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:149:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:156:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:157:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:195:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:196:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:209:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:212:35: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:216:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:248:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:250:22: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:270:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:272:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:295:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:310:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:333:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:335:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:337:14: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:339:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:346:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:349:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:363:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:368:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:372:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:374:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:378:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:406:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:408:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:423:14: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:427:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:429:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:432:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:518:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:522:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:168:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:171:35: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:179:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:168:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:171:35: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:179:17: sparse: sparse: cast removes address space '__iomem' of expression
   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;
         |      ^~~~~
   drivers/tty/serdev/core.c:811: warning: Function parameter or member 'owner' not described in '__serdev_device_driver_register'
   drivers/tty/vt/vt.c:1187: warning: Excess function parameter 'real_tty' description in 'vc_do_resize'
   drivers/tty/vt/vt.c:3902: warning: Function parameter or member 'vc' not described in 'con_debug_enter'
   drivers/tty/vt/vt.c:3902: warning: Excess function parameter 'sw' description in 'con_debug_enter'
   drivers/tty/vt/vt.c:3959: warning: Excess function parameter 'sw' description in 'con_debug_leave'
   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/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/tty_io.c:218: warning: Function parameter or member 'file' not described in 'tty_free_file'
   drivers/tty/tty_io.c:320: warning: Function parameter or member 'device' not described in 'get_tty_driver'
   drivers/tty/tty_io.c:320: warning: Excess function parameter 'dev_t' description in 'get_tty_driver'
--
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/ide/ide-io.c:27:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 65-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/ide/ide-iops.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 82-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/ide/ide-io.c:320: warning: Function parameter or member 'drive' not described in 'start_request'
   drivers/ide/ide-io.c:320: warning: Function parameter or member 'rq' not described in 'start_request'
   drivers/ide/ide-io.c:623: warning: Function parameter or member 't' not described in 'ide_timer_expiry'
   drivers/ide/ide-io.c:623: warning: Excess function parameter 'data' description in 'ide_timer_expiry'
   drivers/ide/ide-io.c:780: warning: Excess function parameter 'regs' description in 'ide_intr'
   In file included from include/linux/string.h:6,
                    from drivers/ide/ide-lib.c:3:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 102-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/ide/ide-pm.c:2:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 117-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/ide/ide-probe.c:20:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 134-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/string.h:6,
                    from drivers/ide/ide-taskfile.c:13:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 149-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
>> drivers/ide/ide-io-std.c:34:21: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:39:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:45:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:54:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:63:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:72:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:84:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:185:25: sparse: sparse: undefined identifier 'io_insl'
   drivers/ide/ide-io-std.c:200:17: sparse: sparse: undefined identifier 'io_insw'
   drivers/ide/ide-io-std.c:229:25: sparse: sparse: undefined identifier 'io_outsl'
   drivers/ide/ide-io-std.c:244:17: sparse: sparse: undefined identifier 'io_outsw'
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:356:33: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:340:33: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:420:25: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:405:25: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/kernel.h:11,
                    from drivers/ide/ide-devsets.c:3:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 189-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/ide/ide-sysfs.c:2:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 204-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/ide/ide-park.c:2:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 219-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from drivers/ide/ide-io-std.c:3:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 234-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from drivers/ide/ide-io-std.c:9:
   drivers/ide/ide-io-std.c: In function 'ide_input_data':
   arch/m68k/include/asm/ide.h:60:38: error: implicit declaration of function 'io_insl' [-Werror=implicit-function-declaration]
      60 | #define __ide_mm_insl(port, addr, n) io_insl((unsigned int)port, addr, n)
         |                                      ^~~~~~~
   drivers/ide/ide-io-std.c:185:4: note: in expansion of macro '__ide_mm_insl'
     185 |    __ide_mm_insl((void __iomem *)data_addr, buf, words);
         |    ^~~~~~~~~~~~~
   arch/m68k/include/asm/ide.h:59:38: error: implicit declaration of function 'io_insw' [-Werror=implicit-function-declaration]
      59 | #define __ide_mm_insw(port, addr, n) io_insw((unsigned int)port, addr, n)
         |                                      ^~~~~~~
   drivers/ide/ide-io-std.c:200:3: note: in expansion of macro '__ide_mm_insw'
     200 |   __ide_mm_insw((void __iomem *)data_addr, buf, words);
         |   ^~~~~~~~~~~~~
   drivers/ide/ide-io-std.c: In function 'ide_output_data':
   arch/m68k/include/asm/ide.h:62:39: error: implicit declaration of function 'io_outsl'; did you mean 'outsl'? [-Werror=implicit-function-declaration]
--
   In file included from include/linux/kernel.h:11,
                    from drivers/md/raid5-ppl.c:7:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 367-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/md/raid5-cache.c: In function 'r5c_tree_index':
   drivers/md/raid5-cache.c:198:11: warning: variable 'offset' set but not used [-Wunused-but-set-variable]
     198 |  sector_t offset;
         |           ^~~~~~
   drivers/md/dm.c:520:12: sparse: sparse: context imbalance in 'dm_prepare_ioctl' - wrong count at exit
   drivers/md/dm.c:555:13: sparse: sparse: context imbalance in 'dm_unprepare_ioctl' - wrong count at exit
   drivers/md/dm.c:1140:13: sparse: sparse: context imbalance in 'dm_dax_supported' - different lock contexts for basic block
   drivers/md/dm.c:1231:9: sparse: sparse: context imbalance in 'dm_dax_zero_page_range' - unexpected unlock
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/thread_info.h:12,
                    from arch/m68k/include/asm/current.h:16,
                    from include/linux/sched.h:12,
                    from include/linux/blkdev.h:5,
                    from drivers/md/md-faulty.c:56:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 396-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/thread_info.h:12,
                    from arch/m68k/include/asm/current.h:16,
                    from include/linux/sched.h:12,
                    from include/linux/blkdev.h:5,
                    from drivers/md/md-bitmap.c:19:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 417-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/err.h:5,
                    from include/linux/kthread.h:5,
                    from drivers/md/dm-core.h:12,
                    from drivers/md/dm.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 434-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   In file included from include/linux/kernel.h:11,
                    from include/linux/sched/mm.h:5,
                    from drivers/md/md.c:40:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 452-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
>> drivers/md/dm-ioctl.c:1783:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got struct dm_ioctl [noderef] __user *user @@
   drivers/md/dm-ioctl.c:1783:36: sparse:     expected void *to
   drivers/md/dm-ioctl.c:1783:36: sparse:     got struct dm_ioctl [noderef] __user *user
   drivers/md/dm-ioctl.c:1798:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got struct dm_ioctl [noderef] __user *user @@
   drivers/md/dm-ioctl.c:1798:28: sparse:     expected void *to
   drivers/md/dm-ioctl.c:1798:28: sparse:     got struct dm_ioctl [noderef] __user *user
   drivers/md/md.c: In function 'bind_rdev_to_array':
   drivers/md/md.c:2445:27: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
    2445 |   /* failure here is OK */;
         |                           ^
   In file included from include/linux/err.h:5,
                    from include/linux/kthread.h:5,
                    from drivers/md/dm-core.h:12,
                    from drivers/md/dm-table.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   drivers/md/md.c: In function 'slot_store':
   drivers/md/md.c:3206:28: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
    3206 |    /* failure here is OK */;
         |                            ^
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 483-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from drivers/md/dm.h:13,
                    from drivers/md/dm-linear.c:7:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 503-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/md/md.c: In function 'remove_and_add_spares':
   drivers/md/md.c:9064:29: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
    9064 |     /* failure here is OK */;
         |                             ^
   In file included from include/linux/err.h:5,
                    from include/linux/kthread.h:5,
                    from drivers/md/dm-core.h:12,
                    from drivers/md/dm-ioctl.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 524-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from drivers/md/dm.h:13,
                    from drivers/md/dm-stripe.c:7:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 544-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/linux/err.h:5,
                    from include/linux/kthread.h:5,
                    from drivers/md/dm-core.h:12,
                    from drivers/md/dm-target.c:7:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 561-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
--
   In file included from include/linux/build_bug.h:5,
                    from include/linux/bits.h:23,
                    from include/linux/bitops.h:5,
                    from drivers/iio/accel/adxl372.c:8:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 8-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/axp20x_adc.c:638:34: warning: 'axp20x_adc_of_match' defined but not used [-Wunused-const-variable=]
     638 | static const struct of_device_id axp20x_adc_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~
   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[] = {
         |                                    ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/iio/adc/ltc2497.c:92:34: warning: 'ltc2497_of_match' defined but not used [-Wunused-const-variable=]
      92 | static const struct of_device_id ltc2497_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~
   drivers/iio/accel/da280.c:178:36: warning: 'da280_acpi_match' defined but not used [-Wunused-const-variable=]
     178 | static const struct acpi_device_id da280_acpi_match[] = {
         |                                    ^~~~~~~~~~~~~~~~
   drivers/iio/chemical/atlas-sensor.c:612:34: warning: 'atlas_dt_ids' defined but not used [-Wunused-const-variable=]
     612 | static const struct of_device_id atlas_dt_ids[] = {
         |                                  ^~~~~~~~~~~~
   drivers/iio/adc/max9611.c:117: warning: cannot understand function prototype: 'const unsigned int max9611_mux_conf[][2] = '
   drivers/iio/adc/max9611.c:145: warning: cannot understand function prototype: 'const unsigned int max9611_gain_conf[][2] = '
   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'
   In file included from include/asm-generic/bug.h:5,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from include/linux/gfp.h:5,
                    from include/linux/slab.h:15,
                    from drivers/iio/buffer/kfifo_buf.c:2:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 55-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/iio/chemical/ams-iaq-core.c:172:34: warning: 'ams_iaqcore_dt_ids' defined but not used [-Wunused-const-variable=]
     172 | static const struct of_device_id ams_iaqcore_dt_ids[] = {
         |                                  ^~~~~~~~~~~~~~~~~~
   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/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[] = {
         |                                    ^~~~~~~~~~~~~~~~~
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   In file included from include/linux/dev_printk.h:14,
                    from include/linux/device.h:15,
                    from drivers/iio/dac/ad5380.c:9:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 84-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
   In file included from include/linux/kernel.h:11,
                    from drivers/iio/common/st_sensors/st_sensors_i2c.c:10:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 105-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/iio/dac/ad5380.c:64: warning: Function parameter or member 'lock' not described in 'ad5380_state'
   In file included from include/linux/kernel.h:11,
                    from drivers/iio/common/st_sensors/st_sensors_core.c:10:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 121-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
--
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   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/serial/sccnxp.c:228:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/sccnxp.c:239:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/tty/serial/8250/8250_fintek.c:7:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 84-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/tty/serial/serial_core.c:3299: warning: Function parameter or member 'port' not described in 'uart_get_rs485_mode'
   drivers/tty/serial/serial_core.c:3299: warning: Excess function parameter 'dev' description in 'uart_get_rs485_mode'
   drivers/tty/serial/serial_core.c:3299: warning: Excess function parameter 'rs485conf' description in 'uart_get_rs485_mode'
   drivers/tty/serial/uartlite.c:559:30: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/uartlite.c:565:17: sparse: sparse: cast removes address space '__iomem' of expression
   include/linux/spinlock.h:408:9: sparse: sparse: context imbalance in 'ulite_console_write' - wrong count at exit
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/build_bug.h:5,
                    from include/linux/bits.h:23,
                    from include/linux/bitops.h:5,
                    from drivers/tty/serial/sc16is7xx.c:11:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 115-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/tty/serial/altera_uart.c:86:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/altera_uart.c:91:9: sparse: sparse: cast removes address space '__iomem' of expression
   In file included from include/linux/kernel.h:11,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from drivers/tty/serial/8250/serial_cs.c:35:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
      33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && 134-      |                                                  ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   drivers/tty/serial/8250/serial_cs.c: In function 'multi_config':
   drivers/tty/serial/8250/serial_cs.c:562:7: warning: variable 'err' set but not used [-Wunused-but-set-variable]
     562 |   int err;
         |       ^~~
   drivers/tty/serial/8250/8250_early.c:44:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:46:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:48:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:67:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:70:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/8250_early.c:73:17: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/tty/serial/arc_uart.c:124:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/tty/serial/arc_uart.c:124:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:129:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:132:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:132:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:142:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:163:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:171:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:173:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:185:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:185:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:242:30: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:219:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:219:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:225:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:225:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:233:22: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:278:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:298:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:298:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:336:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:336:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:343:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:343:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:377:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:377:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:379:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:380:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:382:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:382:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:515:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:518:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:566:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:567:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:147:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:149:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:156:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:157:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:195:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:196:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:209:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:212:35: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:216:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:248:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:250:22: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:270:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:272:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:295:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:310:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:333:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:335:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:337:14: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:339:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:346:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:349:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:363:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:368:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:372:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:374:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:378:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:406:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:408:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:423:14: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:427:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:429:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:432:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:518:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:522:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:168:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:171:35: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:179:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:168:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:171:35: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/fsl_linflexuart.c:179:17: sparse: sparse: cast removes address space '__iomem' of expression
--
>> drivers/tty/serial/arc_uart.c:124:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/tty/serial/arc_uart.c:124:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:129:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:132:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:132:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:142:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:163:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:171:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:173:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:185:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:185:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:242:30: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:219:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:219:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:225:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:225:33: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:233:22: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:278:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:298:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:298:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:336:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:336:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:343:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:343:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:377:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:377:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:379:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:380:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:382:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:382:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:515:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:518:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:566:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/arc_uart.c:567:9: sparse: sparse: cast removes address space '__iomem' of expression
--
>> drivers/ide/ide-io-std.c:34:21: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:39:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:45:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:54:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:63:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:72:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:84:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/ide/ide-io-std.c:185:25: sparse: sparse: undefined identifier 'io_insl'
   drivers/ide/ide-io-std.c:200:17: sparse: sparse: undefined identifier 'io_insw'
   drivers/ide/ide-io-std.c:229:25: sparse: sparse: undefined identifier 'io_outsl'
   drivers/ide/ide-io-std.c:244:17: sparse: sparse: undefined identifier 'io_outsw'
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:501:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:464:15: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:356:33: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:340:33: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:420:25: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:405:25: sparse: sparse: cast removes address space '__iomem' of expression
--
>> drivers/md/dm-ioctl.c:1783:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got struct dm_ioctl [noderef] __user *user @@
   drivers/md/dm-ioctl.c:1783:36: sparse:     expected void *to
   drivers/md/dm-ioctl.c:1783:36: sparse:     got struct dm_ioctl [noderef] __user *user
   drivers/md/dm-ioctl.c:1798:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got struct dm_ioctl [noderef] __user *user @@
   drivers/md/dm-ioctl.c:1798:28: sparse:     expected void *to
   drivers/md/dm-ioctl.c:1798:28: sparse:     got struct dm_ioctl [noderef] __user *user
--
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/axp20x_adc.c:638:34: warning: 'axp20x_adc_of_match' defined but not used [-Wunused-const-variable=]
     638 | static const struct of_device_id axp20x_adc_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~
   drivers/iio/adc/ltc2497.c:92:34: warning: 'ltc2497_of_match' defined but not used [-Wunused-const-variable=]
      92 | static const struct of_device_id ltc2497_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~
   drivers/iio/adc/max9611.c:117: warning: cannot understand function prototype: 'const unsigned int max9611_mux_conf[][2] = '
   drivers/iio/adc/max9611.c:145: warning: cannot understand function prototype: 'const unsigned int max9611_gain_conf[][2] = '
   drivers/iio/adc/palmas_gpadc.c:114: warning: Function parameter or member 'dev' not described in 'palmas_gpadc'
   drivers/iio/adc/palmas_gpadc.c:114: warning: Function parameter or member 'palmas' not described in 'palmas_gpadc'
   drivers/iio/adc/palmas_gpadc.c:114: warning: Function parameter or member 'irq' not described in 'palmas_gpadc'
   drivers/iio/adc/palmas_gpadc.c:114: warning: Function parameter or member 'irq_auto_0' not described in 'palmas_gpadc'
   drivers/iio/adc/palmas_gpadc.c:114: warning: Function parameter or member 'irq_auto_1' not described in 'palmas_gpadc'
   drivers/iio/adc/palmas_gpadc.c:114: warning: Function parameter or member 'adc_info' not described in 'palmas_gpadc'
   drivers/iio/adc/palmas_gpadc.c:114: warning: Function parameter or member 'conv_completion' not described in 'palmas_gpadc'
   drivers/iio/adc/palmas_gpadc.c:114: warning: Function parameter or member 'wakeup1_data' not described in 'palmas_gpadc'
   drivers/iio/adc/palmas_gpadc.c:114: warning: Function parameter or member 'wakeup2_data' not described in 'palmas_gpadc'
   drivers/iio/adc/palmas_gpadc.c:114: warning: Function parameter or member 'wakeup1_enable' not described in 'palmas_gpadc'
   drivers/iio/adc/palmas_gpadc.c:114: warning: Function parameter or member 'wakeup2_enable' not described in 'palmas_gpadc'
   drivers/iio/adc/xilinx-xadc-core.c:118:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/xilinx-xadc-core.c:124:16: sparse: sparse: cast removes address space '__iomem' of expression
--
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/iio/adc/cc10001_adc.c:70:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/iio/adc/cc10001_adc.c:76:16: sparse: sparse: cast removes address space '__iomem' of expression

vim +/__iomem +124 drivers/tty/serial/arc_uart.c

2ac4ad2a146812 Vineet Gupta 2012-10-27  121  
2ac4ad2a146812 Vineet Gupta 2012-10-27  122  static void arc_serial_stop_rx(struct uart_port *port)
2ac4ad2a146812 Vineet Gupta 2012-10-27  123  {
12d15e6f6377fe Vineet Gupta 2014-06-24 @124  	UART_RX_IRQ_DISABLE(port);
2ac4ad2a146812 Vineet Gupta 2012-10-27  125  }
2ac4ad2a146812 Vineet Gupta 2012-10-27  126  

:::::: The code at line 124 was first introduced by commit
:::::: 12d15e6f6377fe46b1f9dc51133890a732f1ae05 serial/arc: Refactor by referencing to uart_port where possible

:::::: TO: Vineet Gupta <Vineet.Gupta1@synopsys.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
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: 21084 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-30 17:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-30 14:58 drivers/tty/serial/arc_uart.c:124:9: sparse: sparse: cast removes address space '__iomem' of expression kernel test robot
2020-06-30 14:58 ` 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.