All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: drivers/gpu/drm/exynos/exynos_drm_fimd.c:470:41: sparse: sparse: incorrect type in argument 2 (different address spaces)
Date: Mon, 26 Jul 2021 01:01:40 +0800	[thread overview]
Message-ID: <202107260112.CVFlmIJ6-lkp@intel.com> (raw)

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

Hi Stephen,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d8079fac168168b25677dc16c00ffaf9fb7df723
commit: 2f2b4fd674cadd8c6b40eb629e140a14db4068fd MIPS: Disable Loongson MMI instructions for kernel build
date:   1 year, 10 months ago
config: mips-randconfig-s031-20210724 (attached as .config)
compiler: mips64-linux-gcc (GCC) 10.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-341-g8af24329-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2f2b4fd674cadd8c6b40eb629e140a14db4068fd
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 2f2b4fd674cadd8c6b40eb629e140a14db4068fd
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=mips 

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 >>)
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:458:39: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected void *timing_base @@     got void [noderef] <asn:2> * @@
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:458:39: sparse:     expected void *timing_base
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:458:39: sparse:     got void [noderef] <asn:2> *
>> drivers/gpu/drm/exynos/exynos_drm_fimd.c:470:41: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *mem @@     got void * @@
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:470:41: sparse:     expected void volatile [noderef] <asn:2> *mem
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:470:41: sparse:     got void *
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:473:39: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *mem @@     got void * @@
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:473:39: sparse:     expected void volatile [noderef] <asn:2> *mem
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:473:39: sparse:     got void *
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:519:53: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *mem @@     got void * @@
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:519:53: sparse:     expected void volatile [noderef] <asn:2> *mem
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:519:53: sparse:     got void *
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:945:39: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected void *timing_base @@     got void [noderef] <asn:2> * @@
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:945:39: sparse:     expected void *timing_base
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:945:39: sparse:     got void [noderef] <asn:2> *
>> drivers/gpu/drm/exynos/exynos_drm_fimd.c:958:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:958:33: sparse:     expected void const volatile [noderef] <asn:2> *mem
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:958:33: sparse:     got void *
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:960:33: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *mem @@     got void * @@
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:960:33: sparse:     expected void volatile [noderef] <asn:2> *mem
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:960:33: sparse:     got void *
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   drivers/tty/tty_ioctl.c:385:53: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected struct ktermios [noderef] <asn:1> *k @@     got struct ktermios * @@
   drivers/tty/tty_ioctl.c:385:53: sparse:     expected struct ktermios [noderef] <asn:1> *k
   drivers/tty/tty_ioctl.c:385:53: sparse:     got struct ktermios *
   drivers/tty/tty_ioctl.c:386:50: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected struct termios2 *u @@     got struct termios2 [noderef] <asn:1> * @@
   drivers/tty/tty_ioctl.c:386:50: sparse:     expected struct termios2 *u
   drivers/tty/tty_ioctl.c:386:50: sparse:     got struct termios2 [noderef] <asn:1> *
   drivers/tty/tty_ioctl.c: note: in included file (through include/uapi/linux/termios.h):
   arch/mips/include/asm/termios.h:84:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got struct ktermios [noderef] <asn:1> *k @@
   arch/mips/include/asm/termios.h:84:31: sparse:     expected void *to
   arch/mips/include/asm/termios.h:84:31: sparse:     got struct ktermios [noderef] <asn:1> *k
>> arch/mips/include/asm/termios.h:84:34: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const [noderef] <asn:1> *from @@     got struct termios2 *u @@
   arch/mips/include/asm/termios.h:84:34: sparse:     expected void const [noderef] <asn:1> *from
   arch/mips/include/asm/termios.h:84:34: sparse:     got struct termios2 *u
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   drivers/tty/cyclades.c:3077:68: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected struct FIRM_ID *firm_id @@     got void [noderef] <asn:2> * @@
   drivers/tty/cyclades.c:3077:68: sparse:     expected struct FIRM_ID *firm_id
   drivers/tty/cyclades.c:3077:68: sparse:     got void [noderef] <asn:2> *
>> drivers/tty/cyclades.c:3084:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got unsigned int * @@
   drivers/tty/cyclades.c:3084:41: sparse:     expected void const volatile [noderef] <asn:2> *mem
   drivers/tty/cyclades.c:3084:41: sparse:     got unsigned int *
   drivers/tty/cyclades.c:3083:34: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct ZFW_CTRL *zfw_ctrl @@     got void [noderef] <asn:2> * @@
   drivers/tty/cyclades.c:3083:34: sparse:     expected struct ZFW_CTRL *zfw_ctrl
   drivers/tty/cyclades.c:3083:34: sparse:     got void [noderef] <asn:2> *
   drivers/tty/cyclades.c:3085:45: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct CH_CTRL [noderef] <asn:2> *ch_ctrl @@     got struct CH_CTRL * @@
   drivers/tty/cyclades.c:3085:45: sparse:     expected struct CH_CTRL [noderef] <asn:2> *ch_ctrl
   drivers/tty/cyclades.c:3085:45: sparse:     got struct CH_CTRL *
   drivers/tty/cyclades.c:3086:46: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct BUF_CTRL [noderef] <asn:2> *buf_ctrl @@     got struct BUF_CTRL * @@
   drivers/tty/cyclades.c:3086:46: sparse:     expected struct BUF_CTRL [noderef] <asn:2> *buf_ctrl
   drivers/tty/cyclades.c:3086:46: sparse:     got struct BUF_CTRL *
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   drivers/tty/synclinkmp.c:3562:27: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected unsigned char *[usertype] memory_base @@     got void [noderef] <asn:2> * @@
   drivers/tty/synclinkmp.c:3562:27: sparse:     expected unsigned char *[usertype] memory_base
   drivers/tty/synclinkmp.c:3562:27: sparse:     got void [noderef] <asn:2> *
   drivers/tty/synclinkmp.c:3571:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected unsigned char *[usertype] lcr_base @@     got void [noderef] <asn:2> * @@
   drivers/tty/synclinkmp.c:3571:24: sparse:     expected unsigned char *[usertype] lcr_base
   drivers/tty/synclinkmp.c:3571:24: sparse:     got void [noderef] <asn:2> *
   drivers/tty/synclinkmp.c:3580:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected unsigned char *[usertype] sca_base @@     got void [noderef] <asn:2> * @@
   drivers/tty/synclinkmp.c:3580:24: sparse:     expected unsigned char *[usertype] sca_base
   drivers/tty/synclinkmp.c:3580:24: sparse:     got void [noderef] <asn:2> *
   drivers/tty/synclinkmp.c:3589:29: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected unsigned char *[usertype] statctrl_base @@     got void [noderef] <asn:2> * @@
   drivers/tty/synclinkmp.c:3589:29: sparse:     expected unsigned char *[usertype] statctrl_base
   drivers/tty/synclinkmp.c:3589:29: sparse:     got void [noderef] <asn:2> *
>> drivers/tty/synclinkmp.c:3642:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *addr @@     got unsigned char *[usertype] memory_base @@
   drivers/tty/synclinkmp.c:3642:29: sparse:     expected void const volatile [noderef] <asn:2> *addr
   drivers/tty/synclinkmp.c:3642:29: sparse:     got unsigned char *[usertype] memory_base
>> drivers/tty/synclinkmp.c:3647:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *addr @@     got unsigned char * @@
   drivers/tty/synclinkmp.c:3647:40: sparse:     expected void const volatile [noderef] <asn:2> *addr
   drivers/tty/synclinkmp.c:3647:40: sparse:     got unsigned char *
   drivers/tty/synclinkmp.c:3652:45: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *addr @@     got unsigned char * @@
   drivers/tty/synclinkmp.c:3652:45: sparse:     expected void const volatile [noderef] <asn:2> *addr
   drivers/tty/synclinkmp.c:3652:45: sparse:     got unsigned char *
   drivers/tty/synclinkmp.c:3657:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *addr @@     got unsigned char * @@
   drivers/tty/synclinkmp.c:3657:40: sparse:     expected void const volatile [noderef] <asn:2> *addr
   drivers/tty/synclinkmp.c:3657:40: sparse:     got unsigned char *
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   drivers/tty/synclink.c:4057:35: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected unsigned char *memory_base @@     got void [noderef] <asn:2> * @@
   drivers/tty/synclink.c:4057:35: sparse:     expected unsigned char *memory_base
   drivers/tty/synclink.c:4057:35: sparse:     got void [noderef] <asn:2> *
   drivers/tty/synclink.c:4071:32: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected unsigned char *lcr_base @@     got void [noderef] <asn:2> * @@
   drivers/tty/synclink.c:4071:32: sparse:     expected unsigned char *lcr_base
   drivers/tty/synclink.c:4071:32: sparse:     got void [noderef] <asn:2> *
>> drivers/tty/synclink.c:4140:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *addr @@     got unsigned char *memory_base @@
   drivers/tty/synclink.c:4140:29: sparse:     expected void const volatile [noderef] <asn:2> *addr
   drivers/tty/synclink.c:4140:29: sparse:     got unsigned char *memory_base
>> drivers/tty/synclink.c:4144:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *addr @@     got unsigned char * @@
   drivers/tty/synclink.c:4144:40: sparse:     expected void const volatile [noderef] <asn:2> *addr
   drivers/tty/synclink.c:4144:40: sparse:     got unsigned char *
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   drivers/usb/core/devio.c: note: in included file (through include/linux/uaccess.h, include/linux/sched/task.h, include/linux/sched/signal.h):
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   arch/mips/kernel/traps.c:518:14: sparse: sparse: symbol 'll_bit' was not declared. Should it be static?
   arch/mips/kernel/traps.c:519:20: sparse: sparse: symbol 'll_task' was not declared. Should it be static?
   arch/mips/kernel/traps.c:701:17: sparse: sparse: symbol 'do_ov' was not declared. Should it be static?
   arch/mips/kernel/traps.c:978:17: sparse: sparse: symbol 'do_bp' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1070:17: sparse: sparse: symbol 'do_tr' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1139:47: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void [noderef] <asn:1> *fault_addr @@     got unsigned long * @@
   arch/mips/kernel/traps.c:1139:47: sparse:     expected void [noderef] <asn:1> *fault_addr
   arch/mips/kernel/traps.c:1139:47: sparse:     got unsigned long *
   arch/mips/kernel/traps.c:1112:17: sparse: sparse: symbol 'do_ri' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1346:17: sparse: sparse: symbol 'do_cpu' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1452:17: sparse: sparse: symbol 'do_msa_fpe' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1472:17: sparse: sparse: symbol 'do_msa' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1493:17: sparse: sparse: symbol 'do_mdmx' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1505:17: sparse: sparse: symbol 'do_watch' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1532:17: sparse: sparse: symbol 'do_mcheck' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1563:17: sparse: sparse: symbol 'do_mt' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1599:17: sparse: sparse: symbol 'do_dsp' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1607:17: sparse: sparse: symbol 'do_reserved' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1831:17: sparse: sparse: symbol 'do_ftlb' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1928:15: sparse: sparse: symbol 'vi_handlers' was not declared. Should it be static?
   arch/mips/kernel/traps.c: note: in included file (through arch/mips/include/asm/mips-cps.h):
>> arch/mips/include/asm/mips-cm.h:151:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     got void *
>> arch/mips/include/asm/mips-cm.h:151:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     got void *
>> arch/mips/include/asm/mips-cm.h:151:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     got void *
>> arch/mips/include/asm/mips-cm.h:151:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:151:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:151:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:151:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:151:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
>> arch/mips/loongson64/common/reset.c:25:17: sparse: sparse: cast removes address space '<asn:2>' of expression
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
>> arch/mips/loongson64/common/mem.c:129:31: sparse: sparse: Using plain integer as NULL pointer
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
>> arch/mips/loongson64/common/early_printk.c:17:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got unsigned char [usertype] * @@
   arch/mips/loongson64/common/early_printk.c:17:22: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/loongson64/common/early_printk.c:17:22: sparse:     got unsigned char [usertype] *
>> arch/mips/loongson64/common/early_printk.c:22:23: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *mem @@     got unsigned char [usertype] * @@
   arch/mips/loongson64/common/early_printk.c:22:23: sparse:     expected void volatile [noderef] <asn:2> *mem
   arch/mips/loongson64/common/early_printk.c:22:23: sparse:     got unsigned char [usertype] *
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
>> arch/mips/loongson64/common/cs5536/cs5536_isa.c:84:6: sparse: sparse: symbol 'pci_isa_write_bar' was not declared. Should it be static?
>> arch/mips/loongson64/common/cs5536/cs5536_isa.c:110:5: sparse: sparse: symbol 'pci_isa_read_bar' was not declared. Should it be static?
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   fs/compat_ioctl.c: note: in included file (through include/linux/uaccess.h, include/linux/crypto.h, include/crypto/hash.h, ...):
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   drivers/irqchip/irq-i8259.c:312:19: sparse: sparse: symbol '__init_i8259_irqs' was not declared. Should it be static?
>> drivers/irqchip/irq-i8259.c:349:12: sparse: sparse: symbol 'i8259_of_init' was not declared. Should it be static?
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
>> drivers/net/hamradio/dmascc.c:1238:56: sparse: sparse: non size-preserving pointer to integer cast
   drivers/net/hamradio/dmascc.c:978:48: sparse: sparse: non size-preserving pointer to integer cast
   drivers/net/hamradio/dmascc.c:1025:48: sparse: sparse: non size-preserving pointer to integer cast
   drivers/net/hamradio/dmascc.c:1025:48: sparse: sparse: non size-preserving pointer to integer cast
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   arch/mips/pci/ops-loongson2.c:93:24: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   arch/mips/pci/ops-loongson2.c:93:24: sparse:     expected unsigned int [usertype] val
   arch/mips/pci/ops-loongson2.c:93:24: sparse:     got restricted __le32 [usertype]
>> arch/mips/pci/ops-loongson2.c:93:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *mem @@     got void *[assigned] addrp @@
   arch/mips/pci/ops-loongson2.c:93:44: sparse:     expected void volatile [noderef] <asn:2> *mem
   arch/mips/pci/ops-loongson2.c:93:44: sparse:     got void *[assigned] addrp
>> arch/mips/pci/ops-loongson2.c:95:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void *[assigned] addrp @@
   arch/mips/pci/ops-loongson2.c:95:25: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/pci/ops-loongson2.c:95:25: sparse:     got void *[assigned] addrp
   arch/mips/pci/ops-loongson2.c:95:25: sparse: sparse: cast to restricted __le32
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
>> arch/mips/oprofile/backtrace.c:22:14: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const [noderef] <asn:1> *p @@     got unsigned long *address @@
   arch/mips/oprofile/backtrace.c:22:14: sparse:     expected void const [noderef] <asn:1> *p
   arch/mips/oprofile/backtrace.c:22:14: sparse:     got unsigned long *address
>> arch/mips/oprofile/backtrace.c:24:47: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const [noderef] <asn:1> *from @@     got unsigned long *address @@
   arch/mips/oprofile/backtrace.c:24:47: sparse:     expected void const [noderef] <asn:1> *from
   arch/mips/oprofile/backtrace.c:24:47: sparse:     got unsigned long *address
>> arch/mips/oprofile/backtrace.c:22:14: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const [noderef] <asn:1> *p @@     got unsigned long *address @@
   arch/mips/oprofile/backtrace.c:22:14: sparse:     expected void const [noderef] <asn:1> *p
   arch/mips/oprofile/backtrace.c:22:14: sparse:     got unsigned long *address
>> arch/mips/oprofile/backtrace.c:24:47: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const [noderef] <asn:1> *from @@     got unsigned long *address @@
   arch/mips/oprofile/backtrace.c:24:47: sparse:     expected void const [noderef] <asn:1> *from
   arch/mips/oprofile/backtrace.c:24:47: sparse:     got unsigned long *address
>> arch/mips/oprofile/backtrace.c:22:14: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const [noderef] <asn:1> *p @@     got unsigned long *address @@
   arch/mips/oprofile/backtrace.c:22:14: sparse:     expected void const [noderef] <asn:1> *p
   arch/mips/oprofile/backtrace.c:22:14: sparse:     got unsigned long *address
>> arch/mips/oprofile/backtrace.c:24:47: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const [noderef] <asn:1> *from @@     got unsigned long *address @@
   arch/mips/oprofile/backtrace.c:24:47: sparse:     expected void const [noderef] <asn:1> *from
   arch/mips/oprofile/backtrace.c:24:47: sparse:     got unsigned long *address
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   net/compat.c:59:27: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *msg_control @@     got void [noderef] <asn:1> * @@
   net/compat.c:59:27: sparse:     expected void *msg_control
   net/compat.c:59:27: sparse:     got void [noderef] <asn:1> *
   net/compat.c:144:22: sparse: sparse: cast removes address space '<asn:1>' of expression
   net/compat.c:171:22: sparse: sparse: cast removes address space '<asn:1>' of expression
   net/compat.c: note: in included file (through include/linux/uaccess.h, include/linux/crypto.h, include/crypto/hash.h, ...):
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   net/socket.c: note: in included file (through include/linux/uaccess.h, include/linux/crypto.h, include/crypto/hash.h, ...):
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to

vim +470 drivers/gpu/drm/exynos/exynos_drm_fimd.c

1c248b7d2960fa Inki Dae              2011-10-04  460  
e30d4bcf79b6a3 Inki Dae              2011-12-12  461  	if (ctx->suspended)
e30d4bcf79b6a3 Inki Dae              2011-12-12  462  		return;
e30d4bcf79b6a3 Inki Dae              2011-12-12  463  
a968e72771ea19 Sean Paul             2014-01-30  464  	/* nothing to do if we haven't set the mode yet */
a968e72771ea19 Sean Paul             2014-01-30  465  	if (mode->htotal == 0 || mode->vtotal == 0)
a968e72771ea19 Sean Paul             2014-01-30  466  		return;
a968e72771ea19 Sean Paul             2014-01-30  467  
3854fab24e899c YoungJun Cho          2014-07-17  468  	if (ctx->i80_if) {
3854fab24e899c YoungJun Cho          2014-07-17  469  		val = ctx->i80ifcon | I80IFEN_ENABLE;
3854fab24e899c YoungJun Cho          2014-07-17 @470  		writel(val, timing_base + I80IFCONFAx(0));
3854fab24e899c YoungJun Cho          2014-07-17  471  
3854fab24e899c YoungJun Cho          2014-07-17  472  		/* disable auto frame rate */
3854fab24e899c YoungJun Cho          2014-07-17  473  		writel(0, timing_base + I80IFCONFBx(0));
3854fab24e899c YoungJun Cho          2014-07-17  474  
3854fab24e899c YoungJun Cho          2014-07-17  475  		/* set video type selection to I80 interface */
3c3c9c1d904dca Joonyoung Shim        2014-11-14  476  		if (driver_data->has_vtsel && ctx->sysreg &&
3c3c9c1d904dca Joonyoung Shim        2014-11-14  477  				regmap_update_bits(ctx->sysreg,
3854fab24e899c YoungJun Cho          2014-07-17  478  					driver_data->lcdblk_offset,
3854fab24e899c YoungJun Cho          2014-07-17  479  					0x3 << driver_data->lcdblk_vt_shift,
3854fab24e899c YoungJun Cho          2014-07-17  480  					0x1 << driver_data->lcdblk_vt_shift)) {
6f83d20838c099 Inki Dae              2019-04-15  481  			DRM_DEV_ERROR(ctx->dev,
6f83d20838c099 Inki Dae              2019-04-15  482  				      "Failed to update sysreg for I80 i/f.\n");
3854fab24e899c YoungJun Cho          2014-07-17  483  			return;
3854fab24e899c YoungJun Cho          2014-07-17  484  		}
3854fab24e899c YoungJun Cho          2014-07-17  485  	} else {
3854fab24e899c YoungJun Cho          2014-07-17  486  		int vsync_len, vbpd, vfpd, hsync_len, hbpd, hfpd;
3854fab24e899c YoungJun Cho          2014-07-17  487  		u32 vidcon1;
3854fab24e899c YoungJun Cho          2014-07-17  488  
1417f109a82f8a Sean Paul             2014-01-30  489  		/* setup polarity values */
1417f109a82f8a Sean Paul             2014-01-30  490  		vidcon1 = ctx->vidcon1;
1417f109a82f8a Sean Paul             2014-01-30  491  		if (mode->flags & DRM_MODE_FLAG_NVSYNC)
1417f109a82f8a Sean Paul             2014-01-30  492  			vidcon1 |= VIDCON1_INV_VSYNC;
1417f109a82f8a Sean Paul             2014-01-30  493  		if (mode->flags & DRM_MODE_FLAG_NHSYNC)
1417f109a82f8a Sean Paul             2014-01-30  494  			vidcon1 |= VIDCON1_INV_HSYNC;
1417f109a82f8a Sean Paul             2014-01-30  495  		writel(vidcon1, ctx->regs + driver_data->timing_base + VIDCON1);
1c248b7d2960fa Inki Dae              2011-10-04  496  
1c248b7d2960fa Inki Dae              2011-10-04  497  		/* setup vertical timing values. */
a968e72771ea19 Sean Paul             2014-01-30  498  		vsync_len = mode->crtc_vsync_end - mode->crtc_vsync_start;
8b4cad23531da4 Andrzej Hajda         2014-03-17  499  		vbpd = mode->crtc_vtotal - mode->crtc_vsync_end;
8b4cad23531da4 Andrzej Hajda         2014-03-17  500  		vfpd = mode->crtc_vsync_start - mode->crtc_vdisplay;
a968e72771ea19 Sean Paul             2014-01-30  501  
a968e72771ea19 Sean Paul             2014-01-30  502  		val = VIDTCON0_VBPD(vbpd - 1) |
a968e72771ea19 Sean Paul             2014-01-30  503  			VIDTCON0_VFPD(vfpd - 1) |
a968e72771ea19 Sean Paul             2014-01-30  504  			VIDTCON0_VSPW(vsync_len - 1);
e2e1338900208a Leela Krishna Amudala 2012-09-21  505  		writel(val, ctx->regs + driver_data->timing_base + VIDTCON0);
1c248b7d2960fa Inki Dae              2011-10-04  506  
1c248b7d2960fa Inki Dae              2011-10-04  507  		/* setup horizontal timing values.  */
a968e72771ea19 Sean Paul             2014-01-30  508  		hsync_len = mode->crtc_hsync_end - mode->crtc_hsync_start;
8b4cad23531da4 Andrzej Hajda         2014-03-17  509  		hbpd = mode->crtc_htotal - mode->crtc_hsync_end;
8b4cad23531da4 Andrzej Hajda         2014-03-17  510  		hfpd = mode->crtc_hsync_start - mode->crtc_hdisplay;
a968e72771ea19 Sean Paul             2014-01-30  511  
a968e72771ea19 Sean Paul             2014-01-30  512  		val = VIDTCON1_HBPD(hbpd - 1) |
a968e72771ea19 Sean Paul             2014-01-30  513  			VIDTCON1_HFPD(hfpd - 1) |
a968e72771ea19 Sean Paul             2014-01-30  514  			VIDTCON1_HSPW(hsync_len - 1);
e2e1338900208a Leela Krishna Amudala 2012-09-21  515  		writel(val, ctx->regs + driver_data->timing_base + VIDTCON1);
3854fab24e899c YoungJun Cho          2014-07-17  516  	}
3854fab24e899c YoungJun Cho          2014-07-17  517  
3854fab24e899c YoungJun Cho          2014-07-17  518  	if (driver_data->has_vidoutcon)
3854fab24e899c YoungJun Cho          2014-07-17  519  		writel(ctx->vidout_con, timing_base + VIDOUT_CON);
3854fab24e899c YoungJun Cho          2014-07-17  520  
3854fab24e899c YoungJun Cho          2014-07-17  521  	/* set bypass selection */
3854fab24e899c YoungJun Cho          2014-07-17  522  	if (ctx->sysreg && regmap_update_bits(ctx->sysreg,
3854fab24e899c YoungJun Cho          2014-07-17  523  				driver_data->lcdblk_offset,
3854fab24e899c YoungJun Cho          2014-07-17  524  				0x1 << driver_data->lcdblk_bypass_shift,
3854fab24e899c YoungJun Cho          2014-07-17  525  				0x1 << driver_data->lcdblk_bypass_shift)) {
6f83d20838c099 Inki Dae              2019-04-15  526  		DRM_DEV_ERROR(ctx->dev,
6f83d20838c099 Inki Dae              2019-04-15  527  			      "Failed to update sysreg for bypass setting.\n");
3854fab24e899c YoungJun Cho          2014-07-17  528  		return;
3854fab24e899c YoungJun Cho          2014-07-17  529  	}
1c248b7d2960fa Inki Dae              2011-10-04  530  
1feafd3afd294b Chanho Park           2016-02-12  531  	/* TODO: When MIC is enabled for display path, the lcdblk_mic_bypass
1feafd3afd294b Chanho Park           2016-02-12  532  	 * bit should be cleared.
1feafd3afd294b Chanho Park           2016-02-12  533  	 */
1feafd3afd294b Chanho Park           2016-02-12  534  	if (driver_data->has_mic_bypass && ctx->sysreg &&
1feafd3afd294b Chanho Park           2016-02-12  535  	    regmap_update_bits(ctx->sysreg,
1feafd3afd294b Chanho Park           2016-02-12  536  				driver_data->lcdblk_offset,
1feafd3afd294b Chanho Park           2016-02-12  537  				0x1 << driver_data->lcdblk_mic_bypass_shift,
1feafd3afd294b Chanho Park           2016-02-12  538  				0x1 << driver_data->lcdblk_mic_bypass_shift)) {
6f83d20838c099 Inki Dae              2019-04-15  539  		DRM_DEV_ERROR(ctx->dev,
6f83d20838c099 Inki Dae              2019-04-15  540  			      "Failed to update sysreg for bypass mic.\n");
1feafd3afd294b Chanho Park           2016-02-12  541  		return;
1feafd3afd294b Chanho Park           2016-02-12  542  	}
1feafd3afd294b Chanho Park           2016-02-12  543  
1c248b7d2960fa Inki Dae              2011-10-04  544  	/* setup horizontal and vertical display size. */
a968e72771ea19 Sean Paul             2014-01-30  545  	val = VIDTCON2_LINEVAL(mode->vdisplay - 1) |
a968e72771ea19 Sean Paul             2014-01-30  546  	       VIDTCON2_HOZVAL(mode->hdisplay - 1) |
a968e72771ea19 Sean Paul             2014-01-30  547  	       VIDTCON2_LINEVAL_E(mode->vdisplay - 1) |
a968e72771ea19 Sean Paul             2014-01-30  548  	       VIDTCON2_HOZVAL_E(mode->hdisplay - 1);
e2e1338900208a Leela Krishna Amudala 2012-09-21  549  	writel(val, ctx->regs + driver_data->timing_base + VIDTCON2);
1c248b7d2960fa Inki Dae              2011-10-04  550  
a6f75aa161c5a5 Inki Dae              2016-04-18  551  	fimd_setup_trigger(ctx);
a6f75aa161c5a5 Inki Dae              2016-04-18  552  
1d531062cdc5fc Andrzej Hajda         2014-03-20  553  	/*
1d531062cdc5fc Andrzej Hajda         2014-03-20  554  	 * fields of register with prefix '_F' would be updated
1d531062cdc5fc Andrzej Hajda         2014-03-20  555  	 * at vsync(same as dma start)
1d531062cdc5fc Andrzej Hajda         2014-03-20  556  	 */
3854fab24e899c YoungJun Cho          2014-07-17  557  	val = ctx->vidcon0;
3854fab24e899c YoungJun Cho          2014-07-17  558  	val |= VIDCON0_ENVID | VIDCON0_ENVID_F;
1c248b7d2960fa Inki Dae              2011-10-04  559  
1d531062cdc5fc Andrzej Hajda         2014-03-20  560  	if (ctx->driver_data->has_clksel)
411d9ed4486a4e Tomasz Figa           2013-05-01  561  		val |= VIDCON0_CLKSEL_LCD;
411d9ed4486a4e Tomasz Figa           2013-05-01  562  
c96fdfdeca5657 Andrzej Hajda         2016-09-23  563  	if (ctx->clkdiv > 1)
c96fdfdeca5657 Andrzej Hajda         2016-09-23  564  		val |= VIDCON0_CLKVAL_F(ctx->clkdiv - 1) | VIDCON0_CLKDIR;
1c248b7d2960fa Inki Dae              2011-10-04  565  
1c248b7d2960fa Inki Dae              2011-10-04  566  	writel(val, ctx->regs + VIDCON0);
1c248b7d2960fa Inki Dae              2011-10-04  567  }
1c248b7d2960fa Inki Dae              2011-10-04  568  
3b5129b3a7c62f Christoph Manszewski  2018-10-25  569  static void fimd_win_set_bldeq(struct fimd_context *ctx, unsigned int win,
3b5129b3a7c62f Christoph Manszewski  2018-10-25  570  			       unsigned int alpha, unsigned int pixel_alpha)
3b5129b3a7c62f Christoph Manszewski  2018-10-25  571  {
3b5129b3a7c62f Christoph Manszewski  2018-10-25  572  	u32 mask = BLENDEQ_A_FUNC_F(0xf) | BLENDEQ_B_FUNC_F(0xf);
3b5129b3a7c62f Christoph Manszewski  2018-10-25  573  	u32 val = 0;
3b5129b3a7c62f Christoph Manszewski  2018-10-25  574  
3b5129b3a7c62f Christoph Manszewski  2018-10-25  575  	switch (pixel_alpha) {
3b5129b3a7c62f Christoph Manszewski  2018-10-25  576  	case DRM_MODE_BLEND_PIXEL_NONE:

:::::: The code at line 470 was first introduced by commit
:::::: 3854fab24e899c02439657956ab1d2c85001958c drm/exynos: fimd: support LCD I80 interface

:::::: TO: YoungJun Cho <yj44.cho@samsung.com>
:::::: CC: Inki Dae <daeinki@gmail.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Paul Burton <paul.burton@mips.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: drivers/gpu/drm/exynos/exynos_drm_fimd.c:470:41: sparse: sparse: incorrect type in argument 2 (different address spaces)
Date: Mon, 26 Jul 2021 01:01:40 +0800	[thread overview]
Message-ID: <202107260112.CVFlmIJ6-lkp@intel.com> (raw)

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

Hi Stephen,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d8079fac168168b25677dc16c00ffaf9fb7df723
commit: 2f2b4fd674cadd8c6b40eb629e140a14db4068fd MIPS: Disable Loongson MMI instructions for kernel build
date:   1 year, 10 months ago
config: mips-randconfig-s031-20210724 (attached as .config)
compiler: mips64-linux-gcc (GCC) 10.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-341-g8af24329-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2f2b4fd674cadd8c6b40eb629e140a14db4068fd
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 2f2b4fd674cadd8c6b40eb629e140a14db4068fd
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=mips 

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 >>)
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:458:39: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected void *timing_base @@     got void [noderef] <asn:2> * @@
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:458:39: sparse:     expected void *timing_base
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:458:39: sparse:     got void [noderef] <asn:2> *
>> drivers/gpu/drm/exynos/exynos_drm_fimd.c:470:41: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *mem @@     got void * @@
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:470:41: sparse:     expected void volatile [noderef] <asn:2> *mem
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:470:41: sparse:     got void *
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:473:39: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *mem @@     got void * @@
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:473:39: sparse:     expected void volatile [noderef] <asn:2> *mem
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:473:39: sparse:     got void *
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:519:53: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *mem @@     got void * @@
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:519:53: sparse:     expected void volatile [noderef] <asn:2> *mem
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:519:53: sparse:     got void *
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:945:39: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected void *timing_base @@     got void [noderef] <asn:2> * @@
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:945:39: sparse:     expected void *timing_base
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:945:39: sparse:     got void [noderef] <asn:2> *
>> drivers/gpu/drm/exynos/exynos_drm_fimd.c:958:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:958:33: sparse:     expected void const volatile [noderef] <asn:2> *mem
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:958:33: sparse:     got void *
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:960:33: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *mem @@     got void * @@
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:960:33: sparse:     expected void volatile [noderef] <asn:2> *mem
   drivers/gpu/drm/exynos/exynos_drm_fimd.c:960:33: sparse:     got void *
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   drivers/tty/tty_ioctl.c:385:53: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected struct ktermios [noderef] <asn:1> *k @@     got struct ktermios * @@
   drivers/tty/tty_ioctl.c:385:53: sparse:     expected struct ktermios [noderef] <asn:1> *k
   drivers/tty/tty_ioctl.c:385:53: sparse:     got struct ktermios *
   drivers/tty/tty_ioctl.c:386:50: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected struct termios2 *u @@     got struct termios2 [noderef] <asn:1> * @@
   drivers/tty/tty_ioctl.c:386:50: sparse:     expected struct termios2 *u
   drivers/tty/tty_ioctl.c:386:50: sparse:     got struct termios2 [noderef] <asn:1> *
   drivers/tty/tty_ioctl.c: note: in included file (through include/uapi/linux/termios.h):
   arch/mips/include/asm/termios.h:84:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got struct ktermios [noderef] <asn:1> *k @@
   arch/mips/include/asm/termios.h:84:31: sparse:     expected void *to
   arch/mips/include/asm/termios.h:84:31: sparse:     got struct ktermios [noderef] <asn:1> *k
>> arch/mips/include/asm/termios.h:84:34: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const [noderef] <asn:1> *from @@     got struct termios2 *u @@
   arch/mips/include/asm/termios.h:84:34: sparse:     expected void const [noderef] <asn:1> *from
   arch/mips/include/asm/termios.h:84:34: sparse:     got struct termios2 *u
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   drivers/tty/cyclades.c:3077:68: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected struct FIRM_ID *firm_id @@     got void [noderef] <asn:2> * @@
   drivers/tty/cyclades.c:3077:68: sparse:     expected struct FIRM_ID *firm_id
   drivers/tty/cyclades.c:3077:68: sparse:     got void [noderef] <asn:2> *
>> drivers/tty/cyclades.c:3084:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got unsigned int * @@
   drivers/tty/cyclades.c:3084:41: sparse:     expected void const volatile [noderef] <asn:2> *mem
   drivers/tty/cyclades.c:3084:41: sparse:     got unsigned int *
   drivers/tty/cyclades.c:3083:34: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct ZFW_CTRL *zfw_ctrl @@     got void [noderef] <asn:2> * @@
   drivers/tty/cyclades.c:3083:34: sparse:     expected struct ZFW_CTRL *zfw_ctrl
   drivers/tty/cyclades.c:3083:34: sparse:     got void [noderef] <asn:2> *
   drivers/tty/cyclades.c:3085:45: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct CH_CTRL [noderef] <asn:2> *ch_ctrl @@     got struct CH_CTRL * @@
   drivers/tty/cyclades.c:3085:45: sparse:     expected struct CH_CTRL [noderef] <asn:2> *ch_ctrl
   drivers/tty/cyclades.c:3085:45: sparse:     got struct CH_CTRL *
   drivers/tty/cyclades.c:3086:46: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct BUF_CTRL [noderef] <asn:2> *buf_ctrl @@     got struct BUF_CTRL * @@
   drivers/tty/cyclades.c:3086:46: sparse:     expected struct BUF_CTRL [noderef] <asn:2> *buf_ctrl
   drivers/tty/cyclades.c:3086:46: sparse:     got struct BUF_CTRL *
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   drivers/tty/synclinkmp.c:3562:27: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected unsigned char *[usertype] memory_base @@     got void [noderef] <asn:2> * @@
   drivers/tty/synclinkmp.c:3562:27: sparse:     expected unsigned char *[usertype] memory_base
   drivers/tty/synclinkmp.c:3562:27: sparse:     got void [noderef] <asn:2> *
   drivers/tty/synclinkmp.c:3571:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected unsigned char *[usertype] lcr_base @@     got void [noderef] <asn:2> * @@
   drivers/tty/synclinkmp.c:3571:24: sparse:     expected unsigned char *[usertype] lcr_base
   drivers/tty/synclinkmp.c:3571:24: sparse:     got void [noderef] <asn:2> *
   drivers/tty/synclinkmp.c:3580:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected unsigned char *[usertype] sca_base @@     got void [noderef] <asn:2> * @@
   drivers/tty/synclinkmp.c:3580:24: sparse:     expected unsigned char *[usertype] sca_base
   drivers/tty/synclinkmp.c:3580:24: sparse:     got void [noderef] <asn:2> *
   drivers/tty/synclinkmp.c:3589:29: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected unsigned char *[usertype] statctrl_base @@     got void [noderef] <asn:2> * @@
   drivers/tty/synclinkmp.c:3589:29: sparse:     expected unsigned char *[usertype] statctrl_base
   drivers/tty/synclinkmp.c:3589:29: sparse:     got void [noderef] <asn:2> *
>> drivers/tty/synclinkmp.c:3642:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *addr @@     got unsigned char *[usertype] memory_base @@
   drivers/tty/synclinkmp.c:3642:29: sparse:     expected void const volatile [noderef] <asn:2> *addr
   drivers/tty/synclinkmp.c:3642:29: sparse:     got unsigned char *[usertype] memory_base
>> drivers/tty/synclinkmp.c:3647:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *addr @@     got unsigned char * @@
   drivers/tty/synclinkmp.c:3647:40: sparse:     expected void const volatile [noderef] <asn:2> *addr
   drivers/tty/synclinkmp.c:3647:40: sparse:     got unsigned char *
   drivers/tty/synclinkmp.c:3652:45: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *addr @@     got unsigned char * @@
   drivers/tty/synclinkmp.c:3652:45: sparse:     expected void const volatile [noderef] <asn:2> *addr
   drivers/tty/synclinkmp.c:3652:45: sparse:     got unsigned char *
   drivers/tty/synclinkmp.c:3657:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *addr @@     got unsigned char * @@
   drivers/tty/synclinkmp.c:3657:40: sparse:     expected void const volatile [noderef] <asn:2> *addr
   drivers/tty/synclinkmp.c:3657:40: sparse:     got unsigned char *
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   drivers/tty/synclink.c:4057:35: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected unsigned char *memory_base @@     got void [noderef] <asn:2> * @@
   drivers/tty/synclink.c:4057:35: sparse:     expected unsigned char *memory_base
   drivers/tty/synclink.c:4057:35: sparse:     got void [noderef] <asn:2> *
   drivers/tty/synclink.c:4071:32: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected unsigned char *lcr_base @@     got void [noderef] <asn:2> * @@
   drivers/tty/synclink.c:4071:32: sparse:     expected unsigned char *lcr_base
   drivers/tty/synclink.c:4071:32: sparse:     got void [noderef] <asn:2> *
>> drivers/tty/synclink.c:4140:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *addr @@     got unsigned char *memory_base @@
   drivers/tty/synclink.c:4140:29: sparse:     expected void const volatile [noderef] <asn:2> *addr
   drivers/tty/synclink.c:4140:29: sparse:     got unsigned char *memory_base
>> drivers/tty/synclink.c:4144:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *addr @@     got unsigned char * @@
   drivers/tty/synclink.c:4144:40: sparse:     expected void const volatile [noderef] <asn:2> *addr
   drivers/tty/synclink.c:4144:40: sparse:     got unsigned char *
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   drivers/usb/core/devio.c: note: in included file (through include/linux/uaccess.h, include/linux/sched/task.h, include/linux/sched/signal.h):
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   arch/mips/kernel/traps.c:518:14: sparse: sparse: symbol 'll_bit' was not declared. Should it be static?
   arch/mips/kernel/traps.c:519:20: sparse: sparse: symbol 'll_task' was not declared. Should it be static?
   arch/mips/kernel/traps.c:701:17: sparse: sparse: symbol 'do_ov' was not declared. Should it be static?
   arch/mips/kernel/traps.c:978:17: sparse: sparse: symbol 'do_bp' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1070:17: sparse: sparse: symbol 'do_tr' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1139:47: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void [noderef] <asn:1> *fault_addr @@     got unsigned long * @@
   arch/mips/kernel/traps.c:1139:47: sparse:     expected void [noderef] <asn:1> *fault_addr
   arch/mips/kernel/traps.c:1139:47: sparse:     got unsigned long *
   arch/mips/kernel/traps.c:1112:17: sparse: sparse: symbol 'do_ri' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1346:17: sparse: sparse: symbol 'do_cpu' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1452:17: sparse: sparse: symbol 'do_msa_fpe' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1472:17: sparse: sparse: symbol 'do_msa' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1493:17: sparse: sparse: symbol 'do_mdmx' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1505:17: sparse: sparse: symbol 'do_watch' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1532:17: sparse: sparse: symbol 'do_mcheck' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1563:17: sparse: sparse: symbol 'do_mt' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1599:17: sparse: sparse: symbol 'do_dsp' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1607:17: sparse: sparse: symbol 'do_reserved' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1831:17: sparse: sparse: symbol 'do_ftlb' was not declared. Should it be static?
   arch/mips/kernel/traps.c:1928:15: sparse: sparse: symbol 'vi_handlers' was not declared. Should it be static?
   arch/mips/kernel/traps.c: note: in included file (through arch/mips/include/asm/mips-cps.h):
>> arch/mips/include/asm/mips-cm.h:151:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     got void *
>> arch/mips/include/asm/mips-cm.h:151:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     got void *
>> arch/mips/include/asm/mips-cm.h:151:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     got void *
>> arch/mips/include/asm/mips-cm.h:151:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:151:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:151:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:151:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:151:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:151:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
   arch/mips/include/asm/mips-cm.h:165:1: sparse: sparse: incorrect type in return expression (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     expected void *
   arch/mips/include/asm/mips-cm.h:165:1: sparse:     got void [noderef] <asn:2> *
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
>> arch/mips/loongson64/common/reset.c:25:17: sparse: sparse: cast removes address space '<asn:2>' of expression
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
>> arch/mips/loongson64/common/mem.c:129:31: sparse: sparse: Using plain integer as NULL pointer
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
>> arch/mips/loongson64/common/early_printk.c:17:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got unsigned char [usertype] * @@
   arch/mips/loongson64/common/early_printk.c:17:22: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/loongson64/common/early_printk.c:17:22: sparse:     got unsigned char [usertype] *
>> arch/mips/loongson64/common/early_printk.c:22:23: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *mem @@     got unsigned char [usertype] * @@
   arch/mips/loongson64/common/early_printk.c:22:23: sparse:     expected void volatile [noderef] <asn:2> *mem
   arch/mips/loongson64/common/early_printk.c:22:23: sparse:     got unsigned char [usertype] *
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
>> arch/mips/loongson64/common/cs5536/cs5536_isa.c:84:6: sparse: sparse: symbol 'pci_isa_write_bar' was not declared. Should it be static?
>> arch/mips/loongson64/common/cs5536/cs5536_isa.c:110:5: sparse: sparse: symbol 'pci_isa_read_bar' was not declared. Should it be static?
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   fs/compat_ioctl.c: note: in included file (through include/linux/uaccess.h, include/linux/crypto.h, include/crypto/hash.h, ...):
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   drivers/irqchip/irq-i8259.c:312:19: sparse: sparse: symbol '__init_i8259_irqs' was not declared. Should it be static?
>> drivers/irqchip/irq-i8259.c:349:12: sparse: sparse: symbol 'i8259_of_init' was not declared. Should it be static?
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
>> drivers/net/hamradio/dmascc.c:1238:56: sparse: sparse: non size-preserving pointer to integer cast
   drivers/net/hamradio/dmascc.c:978:48: sparse: sparse: non size-preserving pointer to integer cast
   drivers/net/hamradio/dmascc.c:1025:48: sparse: sparse: non size-preserving pointer to integer cast
   drivers/net/hamradio/dmascc.c:1025:48: sparse: sparse: non size-preserving pointer to integer cast
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   arch/mips/pci/ops-loongson2.c:93:24: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] val @@     got restricted __le32 [usertype] @@
   arch/mips/pci/ops-loongson2.c:93:24: sparse:     expected unsigned int [usertype] val
   arch/mips/pci/ops-loongson2.c:93:24: sparse:     got restricted __le32 [usertype]
>> arch/mips/pci/ops-loongson2.c:93:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] <asn:2> *mem @@     got void *[assigned] addrp @@
   arch/mips/pci/ops-loongson2.c:93:44: sparse:     expected void volatile [noderef] <asn:2> *mem
   arch/mips/pci/ops-loongson2.c:93:44: sparse:     got void *[assigned] addrp
>> arch/mips/pci/ops-loongson2.c:95:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] <asn:2> *mem @@     got void *[assigned] addrp @@
   arch/mips/pci/ops-loongson2.c:95:25: sparse:     expected void const volatile [noderef] <asn:2> *mem
   arch/mips/pci/ops-loongson2.c:95:25: sparse:     got void *[assigned] addrp
   arch/mips/pci/ops-loongson2.c:95:25: sparse: sparse: cast to restricted __le32
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
>> arch/mips/oprofile/backtrace.c:22:14: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const [noderef] <asn:1> *p @@     got unsigned long *address @@
   arch/mips/oprofile/backtrace.c:22:14: sparse:     expected void const [noderef] <asn:1> *p
   arch/mips/oprofile/backtrace.c:22:14: sparse:     got unsigned long *address
>> arch/mips/oprofile/backtrace.c:24:47: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const [noderef] <asn:1> *from @@     got unsigned long *address @@
   arch/mips/oprofile/backtrace.c:24:47: sparse:     expected void const [noderef] <asn:1> *from
   arch/mips/oprofile/backtrace.c:24:47: sparse:     got unsigned long *address
>> arch/mips/oprofile/backtrace.c:22:14: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const [noderef] <asn:1> *p @@     got unsigned long *address @@
   arch/mips/oprofile/backtrace.c:22:14: sparse:     expected void const [noderef] <asn:1> *p
   arch/mips/oprofile/backtrace.c:22:14: sparse:     got unsigned long *address
>> arch/mips/oprofile/backtrace.c:24:47: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const [noderef] <asn:1> *from @@     got unsigned long *address @@
   arch/mips/oprofile/backtrace.c:24:47: sparse:     expected void const [noderef] <asn:1> *from
   arch/mips/oprofile/backtrace.c:24:47: sparse:     got unsigned long *address
>> arch/mips/oprofile/backtrace.c:22:14: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const [noderef] <asn:1> *p @@     got unsigned long *address @@
   arch/mips/oprofile/backtrace.c:22:14: sparse:     expected void const [noderef] <asn:1> *p
   arch/mips/oprofile/backtrace.c:22:14: sparse:     got unsigned long *address
>> arch/mips/oprofile/backtrace.c:24:47: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const [noderef] <asn:1> *from @@     got unsigned long *address @@
   arch/mips/oprofile/backtrace.c:24:47: sparse:     expected void const [noderef] <asn:1> *from
   arch/mips/oprofile/backtrace.c:24:47: sparse:     got unsigned long *address
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   net/compat.c:59:27: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *msg_control @@     got void [noderef] <asn:1> * @@
   net/compat.c:59:27: sparse:     expected void *msg_control
   net/compat.c:59:27: sparse:     got void [noderef] <asn:1> *
   net/compat.c:144:22: sparse: sparse: cast removes address space '<asn:1>' of expression
   net/compat.c:171:22: sparse: sparse: cast removes address space '<asn:1>' of expression
   net/compat.c: note: in included file (through include/linux/uaccess.h, include/linux/crypto.h, include/crypto/hash.h, ...):
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
--
   command-line: note: in included file:
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
   builtin:0:0: sparse: this was the original definition
   builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
   builtin:0:0: sparse: this was the original definition
   net/socket.c: note: in included file (through include/linux/uaccess.h, include/linux/crypto.h, include/crypto/hash.h, ...):
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to
>> arch/mips/include/asm/uaccess.h:629:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:629:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:629:24: sparse:     got void [noderef] <asn:1> *to
   arch/mips/include/asm/uaccess.h:631:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *register __cu_to_r @@     got void [noderef] <asn:1> *to @@
   arch/mips/include/asm/uaccess.h:631:24: sparse:     expected void *register __cu_to_r
   arch/mips/include/asm/uaccess.h:631:24: sparse:     got void [noderef] <asn:1> *to

vim +470 drivers/gpu/drm/exynos/exynos_drm_fimd.c

1c248b7d2960fa Inki Dae              2011-10-04  460  
e30d4bcf79b6a3 Inki Dae              2011-12-12  461  	if (ctx->suspended)
e30d4bcf79b6a3 Inki Dae              2011-12-12  462  		return;
e30d4bcf79b6a3 Inki Dae              2011-12-12  463  
a968e72771ea19 Sean Paul             2014-01-30  464  	/* nothing to do if we haven't set the mode yet */
a968e72771ea19 Sean Paul             2014-01-30  465  	if (mode->htotal == 0 || mode->vtotal == 0)
a968e72771ea19 Sean Paul             2014-01-30  466  		return;
a968e72771ea19 Sean Paul             2014-01-30  467  
3854fab24e899c YoungJun Cho          2014-07-17  468  	if (ctx->i80_if) {
3854fab24e899c YoungJun Cho          2014-07-17  469  		val = ctx->i80ifcon | I80IFEN_ENABLE;
3854fab24e899c YoungJun Cho          2014-07-17 @470  		writel(val, timing_base + I80IFCONFAx(0));
3854fab24e899c YoungJun Cho          2014-07-17  471  
3854fab24e899c YoungJun Cho          2014-07-17  472  		/* disable auto frame rate */
3854fab24e899c YoungJun Cho          2014-07-17  473  		writel(0, timing_base + I80IFCONFBx(0));
3854fab24e899c YoungJun Cho          2014-07-17  474  
3854fab24e899c YoungJun Cho          2014-07-17  475  		/* set video type selection to I80 interface */
3c3c9c1d904dca Joonyoung Shim        2014-11-14  476  		if (driver_data->has_vtsel && ctx->sysreg &&
3c3c9c1d904dca Joonyoung Shim        2014-11-14  477  				regmap_update_bits(ctx->sysreg,
3854fab24e899c YoungJun Cho          2014-07-17  478  					driver_data->lcdblk_offset,
3854fab24e899c YoungJun Cho          2014-07-17  479  					0x3 << driver_data->lcdblk_vt_shift,
3854fab24e899c YoungJun Cho          2014-07-17  480  					0x1 << driver_data->lcdblk_vt_shift)) {
6f83d20838c099 Inki Dae              2019-04-15  481  			DRM_DEV_ERROR(ctx->dev,
6f83d20838c099 Inki Dae              2019-04-15  482  				      "Failed to update sysreg for I80 i/f.\n");
3854fab24e899c YoungJun Cho          2014-07-17  483  			return;
3854fab24e899c YoungJun Cho          2014-07-17  484  		}
3854fab24e899c YoungJun Cho          2014-07-17  485  	} else {
3854fab24e899c YoungJun Cho          2014-07-17  486  		int vsync_len, vbpd, vfpd, hsync_len, hbpd, hfpd;
3854fab24e899c YoungJun Cho          2014-07-17  487  		u32 vidcon1;
3854fab24e899c YoungJun Cho          2014-07-17  488  
1417f109a82f8a Sean Paul             2014-01-30  489  		/* setup polarity values */
1417f109a82f8a Sean Paul             2014-01-30  490  		vidcon1 = ctx->vidcon1;
1417f109a82f8a Sean Paul             2014-01-30  491  		if (mode->flags & DRM_MODE_FLAG_NVSYNC)
1417f109a82f8a Sean Paul             2014-01-30  492  			vidcon1 |= VIDCON1_INV_VSYNC;
1417f109a82f8a Sean Paul             2014-01-30  493  		if (mode->flags & DRM_MODE_FLAG_NHSYNC)
1417f109a82f8a Sean Paul             2014-01-30  494  			vidcon1 |= VIDCON1_INV_HSYNC;
1417f109a82f8a Sean Paul             2014-01-30  495  		writel(vidcon1, ctx->regs + driver_data->timing_base + VIDCON1);
1c248b7d2960fa Inki Dae              2011-10-04  496  
1c248b7d2960fa Inki Dae              2011-10-04  497  		/* setup vertical timing values. */
a968e72771ea19 Sean Paul             2014-01-30  498  		vsync_len = mode->crtc_vsync_end - mode->crtc_vsync_start;
8b4cad23531da4 Andrzej Hajda         2014-03-17  499  		vbpd = mode->crtc_vtotal - mode->crtc_vsync_end;
8b4cad23531da4 Andrzej Hajda         2014-03-17  500  		vfpd = mode->crtc_vsync_start - mode->crtc_vdisplay;
a968e72771ea19 Sean Paul             2014-01-30  501  
a968e72771ea19 Sean Paul             2014-01-30  502  		val = VIDTCON0_VBPD(vbpd - 1) |
a968e72771ea19 Sean Paul             2014-01-30  503  			VIDTCON0_VFPD(vfpd - 1) |
a968e72771ea19 Sean Paul             2014-01-30  504  			VIDTCON0_VSPW(vsync_len - 1);
e2e1338900208a Leela Krishna Amudala 2012-09-21  505  		writel(val, ctx->regs + driver_data->timing_base + VIDTCON0);
1c248b7d2960fa Inki Dae              2011-10-04  506  
1c248b7d2960fa Inki Dae              2011-10-04  507  		/* setup horizontal timing values.  */
a968e72771ea19 Sean Paul             2014-01-30  508  		hsync_len = mode->crtc_hsync_end - mode->crtc_hsync_start;
8b4cad23531da4 Andrzej Hajda         2014-03-17  509  		hbpd = mode->crtc_htotal - mode->crtc_hsync_end;
8b4cad23531da4 Andrzej Hajda         2014-03-17  510  		hfpd = mode->crtc_hsync_start - mode->crtc_hdisplay;
a968e72771ea19 Sean Paul             2014-01-30  511  
a968e72771ea19 Sean Paul             2014-01-30  512  		val = VIDTCON1_HBPD(hbpd - 1) |
a968e72771ea19 Sean Paul             2014-01-30  513  			VIDTCON1_HFPD(hfpd - 1) |
a968e72771ea19 Sean Paul             2014-01-30  514  			VIDTCON1_HSPW(hsync_len - 1);
e2e1338900208a Leela Krishna Amudala 2012-09-21  515  		writel(val, ctx->regs + driver_data->timing_base + VIDTCON1);
3854fab24e899c YoungJun Cho          2014-07-17  516  	}
3854fab24e899c YoungJun Cho          2014-07-17  517  
3854fab24e899c YoungJun Cho          2014-07-17  518  	if (driver_data->has_vidoutcon)
3854fab24e899c YoungJun Cho          2014-07-17  519  		writel(ctx->vidout_con, timing_base + VIDOUT_CON);
3854fab24e899c YoungJun Cho          2014-07-17  520  
3854fab24e899c YoungJun Cho          2014-07-17  521  	/* set bypass selection */
3854fab24e899c YoungJun Cho          2014-07-17  522  	if (ctx->sysreg && regmap_update_bits(ctx->sysreg,
3854fab24e899c YoungJun Cho          2014-07-17  523  				driver_data->lcdblk_offset,
3854fab24e899c YoungJun Cho          2014-07-17  524  				0x1 << driver_data->lcdblk_bypass_shift,
3854fab24e899c YoungJun Cho          2014-07-17  525  				0x1 << driver_data->lcdblk_bypass_shift)) {
6f83d20838c099 Inki Dae              2019-04-15  526  		DRM_DEV_ERROR(ctx->dev,
6f83d20838c099 Inki Dae              2019-04-15  527  			      "Failed to update sysreg for bypass setting.\n");
3854fab24e899c YoungJun Cho          2014-07-17  528  		return;
3854fab24e899c YoungJun Cho          2014-07-17  529  	}
1c248b7d2960fa Inki Dae              2011-10-04  530  
1feafd3afd294b Chanho Park           2016-02-12  531  	/* TODO: When MIC is enabled for display path, the lcdblk_mic_bypass
1feafd3afd294b Chanho Park           2016-02-12  532  	 * bit should be cleared.
1feafd3afd294b Chanho Park           2016-02-12  533  	 */
1feafd3afd294b Chanho Park           2016-02-12  534  	if (driver_data->has_mic_bypass && ctx->sysreg &&
1feafd3afd294b Chanho Park           2016-02-12  535  	    regmap_update_bits(ctx->sysreg,
1feafd3afd294b Chanho Park           2016-02-12  536  				driver_data->lcdblk_offset,
1feafd3afd294b Chanho Park           2016-02-12  537  				0x1 << driver_data->lcdblk_mic_bypass_shift,
1feafd3afd294b Chanho Park           2016-02-12  538  				0x1 << driver_data->lcdblk_mic_bypass_shift)) {
6f83d20838c099 Inki Dae              2019-04-15  539  		DRM_DEV_ERROR(ctx->dev,
6f83d20838c099 Inki Dae              2019-04-15  540  			      "Failed to update sysreg for bypass mic.\n");
1feafd3afd294b Chanho Park           2016-02-12  541  		return;
1feafd3afd294b Chanho Park           2016-02-12  542  	}
1feafd3afd294b Chanho Park           2016-02-12  543  
1c248b7d2960fa Inki Dae              2011-10-04  544  	/* setup horizontal and vertical display size. */
a968e72771ea19 Sean Paul             2014-01-30  545  	val = VIDTCON2_LINEVAL(mode->vdisplay - 1) |
a968e72771ea19 Sean Paul             2014-01-30  546  	       VIDTCON2_HOZVAL(mode->hdisplay - 1) |
a968e72771ea19 Sean Paul             2014-01-30  547  	       VIDTCON2_LINEVAL_E(mode->vdisplay - 1) |
a968e72771ea19 Sean Paul             2014-01-30  548  	       VIDTCON2_HOZVAL_E(mode->hdisplay - 1);
e2e1338900208a Leela Krishna Amudala 2012-09-21  549  	writel(val, ctx->regs + driver_data->timing_base + VIDTCON2);
1c248b7d2960fa Inki Dae              2011-10-04  550  
a6f75aa161c5a5 Inki Dae              2016-04-18  551  	fimd_setup_trigger(ctx);
a6f75aa161c5a5 Inki Dae              2016-04-18  552  
1d531062cdc5fc Andrzej Hajda         2014-03-20  553  	/*
1d531062cdc5fc Andrzej Hajda         2014-03-20  554  	 * fields of register with prefix '_F' would be updated
1d531062cdc5fc Andrzej Hajda         2014-03-20  555  	 * at vsync(same as dma start)
1d531062cdc5fc Andrzej Hajda         2014-03-20  556  	 */
3854fab24e899c YoungJun Cho          2014-07-17  557  	val = ctx->vidcon0;
3854fab24e899c YoungJun Cho          2014-07-17  558  	val |= VIDCON0_ENVID | VIDCON0_ENVID_F;
1c248b7d2960fa Inki Dae              2011-10-04  559  
1d531062cdc5fc Andrzej Hajda         2014-03-20  560  	if (ctx->driver_data->has_clksel)
411d9ed4486a4e Tomasz Figa           2013-05-01  561  		val |= VIDCON0_CLKSEL_LCD;
411d9ed4486a4e Tomasz Figa           2013-05-01  562  
c96fdfdeca5657 Andrzej Hajda         2016-09-23  563  	if (ctx->clkdiv > 1)
c96fdfdeca5657 Andrzej Hajda         2016-09-23  564  		val |= VIDCON0_CLKVAL_F(ctx->clkdiv - 1) | VIDCON0_CLKDIR;
1c248b7d2960fa Inki Dae              2011-10-04  565  
1c248b7d2960fa Inki Dae              2011-10-04  566  	writel(val, ctx->regs + VIDCON0);
1c248b7d2960fa Inki Dae              2011-10-04  567  }
1c248b7d2960fa Inki Dae              2011-10-04  568  
3b5129b3a7c62f Christoph Manszewski  2018-10-25  569  static void fimd_win_set_bldeq(struct fimd_context *ctx, unsigned int win,
3b5129b3a7c62f Christoph Manszewski  2018-10-25  570  			       unsigned int alpha, unsigned int pixel_alpha)
3b5129b3a7c62f Christoph Manszewski  2018-10-25  571  {
3b5129b3a7c62f Christoph Manszewski  2018-10-25  572  	u32 mask = BLENDEQ_A_FUNC_F(0xf) | BLENDEQ_B_FUNC_F(0xf);
3b5129b3a7c62f Christoph Manszewski  2018-10-25  573  	u32 val = 0;
3b5129b3a7c62f Christoph Manszewski  2018-10-25  574  
3b5129b3a7c62f Christoph Manszewski  2018-10-25  575  	switch (pixel_alpha) {
3b5129b3a7c62f Christoph Manszewski  2018-10-25  576  	case DRM_MODE_BLEND_PIXEL_NONE:

:::::: The code at line 470 was first introduced by commit
:::::: 3854fab24e899c02439657956ab1d2c85001958c drm/exynos: fimd: support LCD I80 interface

:::::: TO: YoungJun Cho <yj44.cho@samsung.com>
:::::: CC: Inki Dae <daeinki@gmail.com>

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

             reply	other threads:[~2021-07-25 17:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-25 17:01 kernel test robot [this message]
2021-07-25 17:01 ` drivers/gpu/drm/exynos/exynos_drm_fimd.c:470:41: sparse: sparse: incorrect type in argument 2 (different address spaces) kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2023-12-11 21:53 kernel test robot
2023-12-14  1:46 kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202107260112.CVFlmIJ6-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.