lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202211100335.lklnspsr-lkp@intel.com>
Date:   Thu, 10 Nov 2022 04:05:03 +0800
From:   kernel test robot <lkp@...el.com>
To:     Arnd Bergmann <arnd@...db.de>
Cc:     oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: arch/arm/mach-meson/platsmp.c:40:55: sparse: sparse: Using plain
 integer as NULL pointer

Hi Stephen,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f141df371335645ce29a87d9683a3f79fba7fd67
commit: 09f6b27d5ddd9ad0ec096d1b0f8decdacc70f0f8 ARM: dove: multiplatform support
date:   7 months ago
config: arm-randconfig-s031-20221107
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.4-39-gce1a6720-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=09f6b27d5ddd9ad0ec096d1b0f8decdacc70f0f8
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 09f6b27d5ddd9ad0ec096d1b0f8decdacc70f0f8
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm SHELL=/bin/bash arch/arm/mach-meson/ arch/arm/mach-mmp/ arch/arm/mach-mvebu/ arch/arm/mach-tegra/ drivers/clk/ drivers/gpu/drm/ drivers/irqchip/ drivers/mmc/host/ drivers/scsi/ drivers/soc/ux500/ drivers/video/fbdev/ kernel/futex/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

sparse warnings: (new ones prefixed by >>)
>> arch/arm/mach-meson/platsmp.c:40:55: sparse: sparse: Using plain integer as NULL pointer
--
>> arch/arm/mach-mmp/mmp2.c:148:1: sparse: sparse: symbol 'mmp2_device_nand' was not declared. Should it be static?
>> arch/arm/mach-mmp/mmp2.c:157:17: sparse: sparse: symbol 'mmp2_resource_gpio' was not declared. Should it be static?
--
>> arch/arm/mach-mvebu/pm.c:124:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got unsigned int [usertype] * @@
   arch/arm/mach-mvebu/pm.c:124:9: sparse:     expected void volatile [noderef] __iomem *addr
   arch/arm/mach-mvebu/pm.c:124:9: sparse:     got unsigned int [usertype] *
   arch/arm/mach-mvebu/pm.c:125:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got unsigned int [usertype] * @@
   arch/arm/mach-mvebu/pm.c:125:9: sparse:     expected void volatile [noderef] __iomem *addr
   arch/arm/mach-mvebu/pm.c:125:9: sparse:     got unsigned int [usertype] *
   arch/arm/mach-mvebu/pm.c:133:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got unsigned int [usertype] * @@
   arch/arm/mach-mvebu/pm.c:133:9: sparse:     expected void volatile [noderef] __iomem *addr
   arch/arm/mach-mvebu/pm.c:133:9: sparse:     got unsigned int [usertype] *
   arch/arm/mach-mvebu/pm.c:134:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got unsigned int [usertype] * @@
   arch/arm/mach-mvebu/pm.c:134:9: sparse:     expected void volatile [noderef] __iomem *addr
   arch/arm/mach-mvebu/pm.c:134:9: sparse:     got unsigned int [usertype] *
   arch/arm/mach-mvebu/pm.c:140:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got unsigned int [usertype] * @@
   arch/arm/mach-mvebu/pm.c:140:9: sparse:     expected void volatile [noderef] __iomem *addr
   arch/arm/mach-mvebu/pm.c:140:9: sparse:     got unsigned int [usertype] *
   arch/arm/mach-mvebu/pm.c:141:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got unsigned int [usertype] * @@
   arch/arm/mach-mvebu/pm.c:141:9: sparse:     expected void volatile [noderef] __iomem *addr
   arch/arm/mach-mvebu/pm.c:141:9: sparse:     got unsigned int [usertype] *
>> arch/arm/mach-mvebu/pm.c:148:50: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected unsigned int [noderef] [usertype] __iomem *store_addr @@     got unsigned int [usertype] *[assigned] store_addr @@
   arch/arm/mach-mvebu/pm.c:148:50: sparse:     expected unsigned int [noderef] [usertype] __iomem *store_addr
   arch/arm/mach-mvebu/pm.c:148:50: sparse:     got unsigned int [usertype] *[assigned] store_addr
>> arch/arm/mach-mvebu/pm.c:150:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got unsigned int [usertype] *[assigned] store_addr @@
   arch/arm/mach-mvebu/pm.c:150:9: sparse:     expected void volatile [noderef] __iomem *addr
   arch/arm/mach-mvebu/pm.c:150:9: sparse:     got unsigned int [usertype] *[assigned] store_addr
--
>> arch/arm/mach-mvebu/pmsu.c:145:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *dest @@     got void [noderef] __iomem *[assigned] sram_virt_base @@
   arch/arm/mach-mvebu/pmsu.c:145:9: sparse:     expected void *dest
   arch/arm/mach-mvebu/pmsu.c:145:9: sparse:     got void [noderef] __iomem *[assigned] sram_virt_base
--
>> arch/arm/mach-mvebu/pm-board.c:46:15: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] srcmd @@     got restricted __le32 [usertype] @@
   arch/arm/mach-mvebu/pm-board.c:46:15: sparse:     expected unsigned int [usertype] srcmd
   arch/arm/mach-mvebu/pm-board.c:46:15: sparse:     got restricted __le32 [usertype]
>> arch/arm/mach-mvebu/pm-board.c:47:16: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [assigned] [usertype] ackcmd @@     got restricted __le32 [usertype] @@
   arch/arm/mach-mvebu/pm-board.c:47:16: sparse:     expected unsigned int [assigned] [usertype] ackcmd
   arch/arm/mach-mvebu/pm-board.c:47:16: sparse:     got restricted __le32 [usertype]
--
>> arch/arm/mach-tegra/reset.c:64:9: sparse: sparse: subtraction of functions? Share your drugs
   arch/arm/mach-tegra/reset.c:66:9: sparse: sparse: subtraction of functions? Share your drugs
--
   kernel/futex/waitwake.c: note: in included file (through kernel/futex/futex.h):
>> arch/arm/include/asm/futex.h:146:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const * @@     got unsigned int [noderef] [usertype] __user *uaddr @@
   arch/arm/include/asm/futex.h:146:17: sparse:     expected void const *
   arch/arm/include/asm/futex.h:146:17: sparse:     got unsigned int [noderef] [usertype] __user *uaddr
   arch/arm/include/asm/futex.h:149:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const * @@     got unsigned int [noderef] [usertype] __user *uaddr @@
   arch/arm/include/asm/futex.h:149:17: sparse:     expected void const *
   arch/arm/include/asm/futex.h:149:17: sparse:     got unsigned int [noderef] [usertype] __user *uaddr
   arch/arm/include/asm/futex.h:152:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const * @@     got unsigned int [noderef] [usertype] __user *uaddr @@
   arch/arm/include/asm/futex.h:152:17: sparse:     expected void const *
   arch/arm/include/asm/futex.h:152:17: sparse:     got unsigned int [noderef] [usertype] __user *uaddr
   arch/arm/include/asm/futex.h:155:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const * @@     got unsigned int [noderef] [usertype] __user *uaddr @@
   arch/arm/include/asm/futex.h:155:17: sparse:     expected void const *
   arch/arm/include/asm/futex.h:155:17: sparse:     got unsigned int [noderef] [usertype] __user *uaddr
   arch/arm/include/asm/futex.h:158:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const * @@     got unsigned int [noderef] [usertype] __user *uaddr @@
   arch/arm/include/asm/futex.h:158:17: sparse:     expected void const *
   arch/arm/include/asm/futex.h:158:17: sparse:     got unsigned int [noderef] [usertype] __user *uaddr
   kernel/futex/waitwake.c:262:33: sparse: sparse: context imbalance in 'futex_wake_op' - different lock contexts for basic block
   kernel/futex/waitwake.c:328:6: sparse: sparse: context imbalance in 'futex_wait_queue' - unexpected unlock
   kernel/futex/waitwake.c:449:36: sparse: sparse: context imbalance in 'futex_wait_multiple_setup' - unexpected unlock
--
>> drivers/clk/clk-stm32mp1.c:158:30: sparse: sparse: symbol 'ethrx_src' was not declared. Should it be static?
--
   drivers/irqchip/irq-gic-v3.c:943:78: sparse: sparse: dubious: !x | y
   drivers/irqchip/irq-gic-v3.c:233:29: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3.c:256:17: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3.c:346:24: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3.c:363:24: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3.c:197:24: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3.c:594:24: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3.c:891:17: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3.c:892:17: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3.c:893:17: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3.c: note: in included file (through include/linux/irqchip/arm-gic-v3.h):
>> arch/arm/include/asm/arch_gicv3.h:151:9: sparse: sparse: cast truncates bits from constant value (2000000000000000 becomes 0)
   drivers/irqchip/irq-gic-v3.c:1130:17: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3.c:197:24: sparse: sparse: dereference of noderef expression
--
   drivers/irqchip/irq-gic-v3-its.c:1456:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected struct raw_spinlock [usertype] *lock @@     got struct raw_spinlock [noderef] __percpu * @@
   drivers/irqchip/irq-gic-v3-its.c:1456:9: sparse:     expected struct raw_spinlock [usertype] *lock
   drivers/irqchip/irq-gic-v3-its.c:1456:9: sparse:     got struct raw_spinlock [noderef] __percpu *
   drivers/irqchip/irq-gic-v3-its.c:1461:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected struct raw_spinlock [usertype] *lock @@     got struct raw_spinlock [noderef] __percpu * @@
   drivers/irqchip/irq-gic-v3-its.c:1461:9: sparse:     expected struct raw_spinlock [usertype] *lock
   drivers/irqchip/irq-gic-v3-its.c:1461:9: sparse:     got struct raw_spinlock [noderef] __percpu *
   drivers/irqchip/irq-gic-v3-its.c:2827:45: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected struct cpumask [usertype] **mask @@     got struct cpumask [usertype] *[noderef] __percpu * @@
   drivers/irqchip/irq-gic-v3-its.c:2827:45: sparse:     expected struct cpumask [usertype] **mask
   drivers/irqchip/irq-gic-v3-its.c:2827:45: sparse:     got struct cpumask [usertype] *[noderef] __percpu *
   drivers/irqchip/irq-gic-v3-its.c:3936:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected struct raw_spinlock [usertype] *lock @@     got struct raw_spinlock [noderef] __percpu * @@
   drivers/irqchip/irq-gic-v3-its.c:3936:17: sparse:     expected struct raw_spinlock [usertype] *lock
   drivers/irqchip/irq-gic-v3-its.c:3936:17: sparse:     got struct raw_spinlock [noderef] __percpu *
   drivers/irqchip/irq-gic-v3-its.c:3940:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected struct raw_spinlock [usertype] *lock @@     got struct raw_spinlock [noderef] __percpu * @@
   drivers/irqchip/irq-gic-v3-its.c:3940:17: sparse:     expected struct raw_spinlock [usertype] *lock
   drivers/irqchip/irq-gic-v3-its.c:3940:17: sparse:     got struct raw_spinlock [noderef] __percpu *
   drivers/irqchip/irq-gic-v3-its.c:4118:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected struct raw_spinlock [usertype] *lock @@     got struct raw_spinlock [noderef] __percpu * @@
   drivers/irqchip/irq-gic-v3-its.c:4118:9: sparse:     expected struct raw_spinlock [usertype] *lock
   drivers/irqchip/irq-gic-v3-its.c:4118:9: sparse:     got struct raw_spinlock [noderef] __percpu *
   drivers/irqchip/irq-gic-v3-its.c:4123:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected struct raw_spinlock [usertype] *lock @@     got struct raw_spinlock [noderef] __percpu * @@
   drivers/irqchip/irq-gic-v3-its.c:4123:9: sparse:     expected struct raw_spinlock [usertype] *lock
   drivers/irqchip/irq-gic-v3-its.c:4123:9: sparse:     got struct raw_spinlock [noderef] __percpu *
   drivers/irqchip/irq-gic-v3-its.c:4258:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected struct raw_spinlock [usertype] *lock @@     got struct raw_spinlock [noderef] __percpu * @@
   drivers/irqchip/irq-gic-v3-its.c:4258:9: sparse:     expected struct raw_spinlock [usertype] *lock
   drivers/irqchip/irq-gic-v3-its.c:4258:9: sparse:     got struct raw_spinlock [noderef] __percpu *
   drivers/irqchip/irq-gic-v3-its.c:4276:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected struct raw_spinlock [usertype] *lock @@     got struct raw_spinlock [noderef] __percpu * @@
   drivers/irqchip/irq-gic-v3-its.c:4276:9: sparse:     expected struct raw_spinlock [usertype] *lock
   drivers/irqchip/irq-gic-v3-its.c:4276:9: sparse:     got struct raw_spinlock [noderef] __percpu *
   drivers/irqchip/irq-gic-v3-its.c:263:12: sparse: sparse: context imbalance in 'vpe_to_cpuid_lock' - wrong count at exit
   drivers/irqchip/irq-gic-v3-its.c:269:13: sparse: sparse: context imbalance in 'vpe_to_cpuid_unlock' - unexpected unlock
   drivers/irqchip/irq-gic-v3-its.c:1457:18: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:2234:23: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:2234:23: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:2644:15: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:2644:15: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:2665:17: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:2699:15: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:2699:15: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:2703:38: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:2721:17: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:2721:49: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:2722:25: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:2732:30: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:2775:17: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:2802:35: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c: note: in included file (through include/linux/irqchip/arm-gic-v3.h):
>> arch/arm/include/asm/arch_gicv3.h:151:9: sparse: sparse: cast truncates bits from constant value (2000000000000000 becomes 0)
   drivers/irqchip/irq-gic-v3-its.c:2831:9: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:2832:14: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:2902:9: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:2914:45: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:2914:45: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:2916:9: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:2968:15: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:2968:15: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:2983:15: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:2983:15: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:3008:17: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:3046:31: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:3051:13: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:3070:17: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:3075:21: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:3128:43: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:3163:9: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:3164:9: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:3195:26: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:3198:26: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:3198:26: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:3748:26: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:3797:13: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:3798:36: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:3798:36: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:3813:35: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:3827:35: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:3859:35: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:3937:26: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:3977:26: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:4057:35: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:4072:35: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:4119:18: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:4259:16: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:5136:19: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:5136:19: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:5141:31: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:5161:14: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:5238:13: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:5241:21: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:5251:13: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:5253:17: sparse: sparse: dereference of noderef expression
   drivers/irqchip/irq-gic-v3-its.c:5265:9: sparse: sparse: dereference of noderef expression
--
>> drivers/mmc/host/wmt-sdmmc.c:242:39: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int @@     got restricted __be32 [usertype] @@
   drivers/mmc/host/wmt-sdmmc.c:242:39: sparse:     expected unsigned int
   drivers/mmc/host/wmt-sdmmc.c:242:39: sparse:     got restricted __be32 [usertype]
--
   drivers/soc/ux500/ux500-soc-id.c:179:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const * @@     got void [noderef] __iomem *[assigned] uid @@
   drivers/soc/ux500/ux500-soc-id.c:179:31: sparse:     expected void const *
   drivers/soc/ux500/ux500-soc-id.c:179:31: sparse:     got void [noderef] __iomem *[assigned] uid
>> drivers/soc/ux500/ux500-soc-id.c:181:26: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/soc/ux500/ux500-soc-id.c:181:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got unsigned int [usertype] * @@
   drivers/soc/ux500/ux500-soc-id.c:181:26: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/soc/ux500/ux500-soc-id.c:181:26: sparse:     got unsigned int [usertype] *
   drivers/soc/ux500/ux500-soc-id.c:182:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/soc/ux500/ux500-soc-id.c:182:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got unsigned int [usertype] * @@
   drivers/soc/ux500/ux500-soc-id.c:182:26: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/soc/ux500/ux500-soc-id.c:182:26: sparse:     got unsigned int [usertype] *
   drivers/soc/ux500/ux500-soc-id.c:182:47: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/soc/ux500/ux500-soc-id.c:182:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got unsigned int [usertype] * @@
   drivers/soc/ux500/ux500-soc-id.c:182:47: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/soc/ux500/ux500-soc-id.c:182:47: sparse:     got unsigned int [usertype] *
   drivers/soc/ux500/ux500-soc-id.c:183:26: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/soc/ux500/ux500-soc-id.c:183:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got unsigned int [usertype] * @@
   drivers/soc/ux500/ux500-soc-id.c:183:26: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/soc/ux500/ux500-soc-id.c:183:26: sparse:     got unsigned int [usertype] *
   drivers/soc/ux500/ux500-soc-id.c:183:47: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/soc/ux500/ux500-soc-id.c:183:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got unsigned int [usertype] * @@
   drivers/soc/ux500/ux500-soc-id.c:183:47: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/soc/ux500/ux500-soc-id.c:183:47: sparse:     got unsigned int [usertype] *
--
>> drivers/gpu/drm/sti/sti_mixer.c:145:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/gpu/drm/sti/sti_mixer.c:145:47: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/gpu/drm/sti/sti_mixer.c:145:47: sparse:     got void *
>> drivers/gpu/drm/sti/sti_mixer.c:168:38: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void *addr @@     got void [noderef] __iomem * @@
   drivers/gpu/drm/sti/sti_mixer.c:168:38: sparse:     expected void *addr
   drivers/gpu/drm/sti/sti_mixer.c:168:38: sparse:     got void [noderef] __iomem *

vim +40 arch/arm/mach-meson/platsmp.c

d850f3e5d2966e Martin Blumenstingl 2017-09-17  37  
d850f3e5d2966e Martin Blumenstingl 2017-09-17  38  static struct reset_control *meson_smp_get_core_reset(int cpu)
d850f3e5d2966e Martin Blumenstingl 2017-09-17  39  {
d850f3e5d2966e Martin Blumenstingl 2017-09-17 @40  	struct device_node *np = of_get_cpu_node(cpu, 0);
d850f3e5d2966e Martin Blumenstingl 2017-09-17  41  
d850f3e5d2966e Martin Blumenstingl 2017-09-17  42  	return of_reset_control_get_exclusive(np, NULL);
d850f3e5d2966e Martin Blumenstingl 2017-09-17  43  }
d850f3e5d2966e Martin Blumenstingl 2017-09-17  44  

:::::: The code at line 40 was first introduced by commit
:::::: d850f3e5d2966e5c9eb55f66181cee960737e04c ARM: meson: Add SMP bringup code for Meson8 and Meson8b

:::::: TO: Martin Blumenstingl <martin.blumenstingl@...glemail.com>
:::::: CC: Kevin Hilman <khilman@...libre.com>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (187829 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ