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: <202011021226.HaDjrM3B-lkp@intel.com>
Date:   Mon, 2 Nov 2020 12:52:37 +0800
From:   kernel test robot <lkp@...el.com>
To:     Luc Van Oostenryck <luc.vanoostenryck@...il.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
Subject: arch/sh/kernel/cpu/sh3/clock-sh7710.c:26:31: sparse: sparse:
 incorrect type in argument 1 (different base types)

Hi Luc,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   3cea11cd5e3b00d91caf0b4730194039b45c5891
commit: e5fc436f06eef54ef512ea55a9db8eb9f2e76959 sparse: use static inline for __chk_{user,io}_ptr()
date:   9 weeks ago
config: sh-randconfig-s031-20201030 (attached as .config)
compiler: sh4-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-76-gf680124b-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e5fc436f06eef54ef512ea55a9db8eb9f2e76959
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout e5fc436f06eef54ef512ea55a9db8eb9f2e76959
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=sh 

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


"sparse warnings: (new ones prefixed by >>)"
>> arch/sh/kernel/cpu/sh3/clock-sh7710.c:26:31: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected void const volatile [noderef] __iomem *ptr @@     got unsigned int @@
>> arch/sh/kernel/cpu/sh3/clock-sh7710.c:26:31: sparse:     expected void const volatile [noderef] __iomem *ptr
   arch/sh/kernel/cpu/sh3/clock-sh7710.c:26:31: sparse:     got unsigned int
   arch/sh/kernel/cpu/sh3/clock-sh7710.c:35:20: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected void const volatile [noderef] __iomem *ptr @@     got unsigned int @@
   arch/sh/kernel/cpu/sh3/clock-sh7710.c:35:20: sparse:     expected void const volatile [noderef] __iomem *ptr
   arch/sh/kernel/cpu/sh3/clock-sh7710.c:35:20: sparse:     got unsigned int
   arch/sh/kernel/cpu/sh3/clock-sh7710.c:45:20: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected void const volatile [noderef] __iomem *ptr @@     got unsigned int @@
   arch/sh/kernel/cpu/sh3/clock-sh7710.c:45:20: sparse:     expected void const volatile [noderef] __iomem *ptr
   arch/sh/kernel/cpu/sh3/clock-sh7710.c:45:20: sparse:     got unsigned int
   arch/sh/kernel/cpu/sh3/clock-sh7710.c:55:20: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected void const volatile [noderef] __iomem *ptr @@     got unsigned int @@
   arch/sh/kernel/cpu/sh3/clock-sh7710.c:55:20: sparse:     expected void const volatile [noderef] __iomem *ptr
   arch/sh/kernel/cpu/sh3/clock-sh7710.c:55:20: sparse:     got unsigned int
--
>> arch/sh/kernel/cpu/sh3/serial-sh7710.c:13:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected void const volatile [noderef] __iomem *ptr @@     got unsigned int @@
>> arch/sh/kernel/cpu/sh3/serial-sh7710.c:13:17: sparse:     expected void const volatile [noderef] __iomem *ptr
   arch/sh/kernel/cpu/sh3/serial-sh7710.c:13:17: sparse:     got unsigned int
>> arch/sh/kernel/cpu/sh3/serial-sh7710.c:13:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected void const volatile [noderef] __iomem *ptr @@     got unsigned int @@
>> arch/sh/kernel/cpu/sh3/serial-sh7710.c:13:17: sparse:     expected void const volatile [noderef] __iomem *ptr
   arch/sh/kernel/cpu/sh3/serial-sh7710.c:13:17: sparse:     got unsigned int
   arch/sh/kernel/cpu/sh3/serial-sh7710.c:14:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected void const volatile [noderef] __iomem *ptr @@     got unsigned int @@
   arch/sh/kernel/cpu/sh3/serial-sh7710.c:14:17: sparse:     expected void const volatile [noderef] __iomem *ptr
   arch/sh/kernel/cpu/sh3/serial-sh7710.c:14:17: sparse:     got unsigned int
   arch/sh/kernel/cpu/sh3/serial-sh7710.c:14:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected void const volatile [noderef] __iomem *ptr @@     got unsigned int @@
   arch/sh/kernel/cpu/sh3/serial-sh7710.c:14:17: sparse:     expected void const volatile [noderef] __iomem *ptr
   arch/sh/kernel/cpu/sh3/serial-sh7710.c:14:17: sparse:     got unsigned int
   arch/sh/kernel/cpu/sh3/serial-sh7710.c:16:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected void const volatile [noderef] __iomem *ptr @@     got unsigned int @@
   arch/sh/kernel/cpu/sh3/serial-sh7710.c:16:17: sparse:     expected void const volatile [noderef] __iomem *ptr
   arch/sh/kernel/cpu/sh3/serial-sh7710.c:16:17: sparse:     got unsigned int
   arch/sh/kernel/cpu/sh3/serial-sh7710.c:16:17: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected void const volatile [noderef] __iomem *ptr @@     got unsigned int @@
   arch/sh/kernel/cpu/sh3/serial-sh7710.c:16:17: sparse:     expected void const volatile [noderef] __iomem *ptr
   arch/sh/kernel/cpu/sh3/serial-sh7710.c:16:17: sparse:     got unsigned int
--
>> drivers/usb/cdns3/drd.c:42:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
>> drivers/usb/cdns3/drd.c:42:31: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:42:31: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:44:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:44:25: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:44:25: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:46:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:46:31: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:46:31: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:48:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:48:25: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:48:25: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:70:14: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:70:14: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:70:14: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:80:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:80:19: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:80:19: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:113:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:113:9: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:113:9: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:122:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:122:9: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:122:9: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:138:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:138:9: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:138:9: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:142:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:142:15: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:142:15: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:142:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:142:15: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:142:15: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:159:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:159:9: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:159:9: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:164:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:164:9: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:164:9: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:164:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:164:9: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:164:9: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:181:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:181:9: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:181:9: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:185:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:185:15: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:185:15: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:185:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:185:15: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:185:15: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:209:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:209:9: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:209:9: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:213:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:213:9: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:213:9: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:213:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:213:9: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:213:9: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:230:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:230:9: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:230:9: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:296:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:296:15: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:296:15: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:315:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:315:9: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:315:9: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:338:27: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct cdns3_otg_legacy_regs *otg_v0_regs @@     got void [noderef] __iomem *[assigned] regs @@
   drivers/usb/cdns3/drd.c:338:27: sparse:     expected struct cdns3_otg_legacy_regs *otg_v0_regs
   drivers/usb/cdns3/drd.c:338:27: sparse:     got void [noderef] __iomem *[assigned] regs
   drivers/usb/cdns3/drd.c:339:14: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:339:14: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:339:14: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:342:32: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct cdns3_otg_common_regs *otg_regs @@     got void [noderef] __iomem *[assigned] regs @@
   drivers/usb/cdns3/drd.c:342:32: sparse:     expected struct cdns3_otg_common_regs *otg_regs
   drivers/usb/cdns3/drd.c:342:32: sparse:     got void [noderef] __iomem *[assigned] regs
   drivers/usb/cdns3/drd.c:343:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:343:17: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:343:17: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:344:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:344:17: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:344:17: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:348:35: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct cdns3_otg_regs *otg_v1_regs @@     got void [noderef] __iomem *[assigned] regs @@
   drivers/usb/cdns3/drd.c:348:35: sparse:     expected struct cdns3_otg_regs *otg_v1_regs
   drivers/usb/cdns3/drd.c:348:35: sparse:     got void [noderef] __iomem *[assigned] regs
   drivers/usb/cdns3/drd.c:351:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:351:17: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:351:17: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:352:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:352:17: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:352:17: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:352:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:352:17: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:352:17: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:357:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:357:17: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:357:17: sparse:     got restricted __le32 *
   drivers/usb/cdns3/drd.c:379:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:379:17: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/cdns3/drd.c:379:17: sparse:     got restricted __le32 *
--
   drivers/usb/gadget/udc/mv_udc_core.c:66:33: sparse: sparse: incorrect type in initializer (different base types) @@     expected restricted __le16 [usertype] wMaxPacketSize @@     got int @@
   drivers/usb/gadget/udc/mv_udc_core.c:66:33: sparse:     expected restricted __le16 [usertype] wMaxPacketSize
   drivers/usb/gadget/udc/mv_udc_core.c:66:33: sparse:     got int
   drivers/usb/gadget/udc/mv_udc_core.c:366:24: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] buff_ptr0 @@     got restricted __le32 [usertype] @@
   drivers/usb/gadget/udc/mv_udc_core.c:366:24: sparse:     expected unsigned int [usertype] buff_ptr0
   drivers/usb/gadget/udc/mv_udc_core.c:366:24: sparse:     got restricted __le32 [usertype]
   drivers/usb/gadget/udc/mv_udc_core.c:368:24: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] buff_ptr1 @@     got restricted __le32 [usertype] @@
   drivers/usb/gadget/udc/mv_udc_core.c:368:24: sparse:     expected unsigned int [usertype] buff_ptr1
   drivers/usb/gadget/udc/mv_udc_core.c:368:24: sparse:     got restricted __le32 [usertype]
   drivers/usb/gadget/udc/mv_udc_core.c:369:24: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] buff_ptr2 @@     got restricted __le32 [usertype] @@
   drivers/usb/gadget/udc/mv_udc_core.c:369:24: sparse:     expected unsigned int [usertype] buff_ptr2
   drivers/usb/gadget/udc/mv_udc_core.c:369:24: sparse:     got restricted __le32 [usertype]
   drivers/usb/gadget/udc/mv_udc_core.c:370:24: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] buff_ptr3 @@     got restricted __le32 [usertype] @@
   drivers/usb/gadget/udc/mv_udc_core.c:370:24: sparse:     expected unsigned int [usertype] buff_ptr3
   drivers/usb/gadget/udc/mv_udc_core.c:370:24: sparse:     got restricted __le32 [usertype]
   drivers/usb/gadget/udc/mv_udc_core.c:371:24: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] buff_ptr4 @@     got restricted __le32 [usertype] @@
   drivers/usb/gadget/udc/mv_udc_core.c:371:24: sparse:     expected unsigned int [usertype] buff_ptr4
   drivers/usb/gadget/udc/mv_udc_core.c:371:24: sparse:     got restricted __le32 [usertype]
>> drivers/usb/gadget/udc/mv_udc_core.c:832:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got unsigned int * @@
>> drivers/usb/gadget/udc/mv_udc_core.c:832:17: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/gadget/udc/mv_udc_core.c:832:17: sparse:     got unsigned int *
>> drivers/usb/gadget/udc/mv_udc_core.c:832:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *ptr @@     got unsigned int * @@
>> drivers/usb/gadget/udc/mv_udc_core.c:832:17: sparse:     expected void const volatile [noderef] __iomem *ptr
   drivers/usb/gadget/udc/mv_udc_core.c:832:17: sparse:     got unsigned int *
   drivers/usb/gadget/udc/mv_udc_core.c:1455:41: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned short [usertype] @@     got restricted __le16 [usertype] @@
   drivers/usb/gadget/udc/mv_udc_core.c:1455:41: sparse:     expected unsigned short [usertype]
   drivers/usb/gadget/udc/mv_udc_core.c:1455:41: sparse:     got restricted __le16 [usertype]
   drivers/usb/gadget/udc/mv_udc_core.c:1515:26: sparse: sparse: cast from restricted __le16
   drivers/usb/gadget/udc/mv_udc_core.c:1545:31: sparse: sparse: restricted __le16 degrades to integer
   drivers/usb/gadget/udc/mv_udc_core.c:1546:35: sparse: sparse: restricted __le16 degrades to integer
   drivers/usb/gadget/udc/mv_udc_core.c:1567:30: sparse: sparse: restricted __le16 degrades to integer
   drivers/usb/gadget/udc/mv_udc_core.c:1578:39: sparse: sparse: restricted __le16 degrades to integer
   drivers/usb/gadget/udc/mv_udc_core.c:1579:43: sparse: sparse: restricted __le16 degrades to integer
   drivers/usb/gadget/udc/mv_udc_core.c:1615:34: sparse: sparse: restricted __le16 degrades to integer
   drivers/usb/gadget/udc/mv_udc_core.c:1624:52: sparse: sparse: restricted __le16 degrades to integer
   drivers/usb/gadget/udc/mv_udc_core.c:1610:30: sparse: sparse: restricted __le16 degrades to integer
   drivers/usb/gadget/udc/mv_udc_core.c:1610:30: sparse: sparse: restricted __le16 degrades to integer
   drivers/usb/gadget/udc/mv_udc_core.c:1633:39: sparse: sparse: restricted __le16 degrades to integer
   drivers/usb/gadget/udc/mv_udc_core.c:1634:43: sparse: sparse: restricted __le16 degrades to integer

vim +26 arch/sh/kernel/cpu/sh3/clock-sh7710.c

36ddf31b689a8c1 arch/sh/kernel/cpu/sh3/clock-sh7300.c Paul Mundt 2006-01-16  23  
36ddf31b689a8c1 arch/sh/kernel/cpu/sh3/clock-sh7300.c Paul Mundt 2006-01-16  24  static void master_clk_init(struct clk *clk)
36ddf31b689a8c1 arch/sh/kernel/cpu/sh3/clock-sh7300.c Paul Mundt 2006-01-16  25  {
9d56dd3b083a3be arch/sh/kernel/cpu/sh3/clock-sh7710.c Paul Mundt 2010-01-26 @26  	clk->rate *= md_table[__raw_readw(FRQCR) & 0x0007];
36ddf31b689a8c1 arch/sh/kernel/cpu/sh3/clock-sh7300.c Paul Mundt 2006-01-16  27  }
36ddf31b689a8c1 arch/sh/kernel/cpu/sh3/clock-sh7300.c Paul Mundt 2006-01-16  28  

:::::: The code at line 26 was first introduced by commit
:::::: 9d56dd3b083a3bec56e9da35ce07baca81030b03 sh: Mass ctrl_in/outX to __raw_read/writeX conversion.

:::::: TO: Paul Mundt <lethal@...ux-sh.org>
:::::: CC: Paul Mundt <lethal@...ux-sh.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (27571 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ