* arch/sh/kernel/cpu/sh3/clock-sh7712.c:23:21: sparse: sparse: incorrect type in argument 1 (different base types)
@ 2021-11-04 12:40 ` kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-11-04 12:40 UTC (permalink / raw)
To: Luc Van Oostenryck; +Cc: kbuild-all, linux-kernel, Miguel Ojeda
[-- Attachment #1: Type: text/plain, Size: 7082 bytes --]
Hi Luc,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7ddb58cb0ecae8e8b6181d736a87667cc9ab8389
commit: e5fc436f06eef54ef512ea55a9db8eb9f2e76959 sparse: use static inline for __chk_{user,io}_ptr()
date: 1 year, 2 months ago
config: sh-randconfig-s032-20211104 (attached as .config)
compiler: sh4-linux-gcc (GCC) 11.2.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-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-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=sh
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> arch/sh/kernel/cpu/sh3/clock-sh7712.c:23:21: 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-sh7712.c:23:21: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh3/clock-sh7712.c:23:21: sparse: got unsigned int
arch/sh/kernel/cpu/sh3/clock-sh7712.c:35:21: 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-sh7712.c:35:21: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh3/clock-sh7712.c:35:21: sparse: got unsigned int
arch/sh/kernel/cpu/sh3/clock-sh7712.c:47:21: 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-sh7712.c:47:21: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh3/clock-sh7712.c:47:21: 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
--
fs/orangefs/file.c:118:32: sparse: sparse: incorrect type in assignment (different base types) @@ expected int open_for_write @@ got restricted fmode_t @@
fs/orangefs/file.c:118:32: sparse: expected int open_for_write
fs/orangefs/file.c:118:32: sparse: got restricted fmode_t
fs/orangefs/file.c:119:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected int open_for_read @@ got restricted fmode_t @@
fs/orangefs/file.c:119:31: sparse: expected int open_for_read
fs/orangefs/file.c:119:31: sparse: got restricted fmode_t
fs/orangefs/file.c:424:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
fs/orangefs/file.c:424:21: sparse: expected int const *__gu_addr
fs/orangefs/file.c:424:21: sparse: got int [noderef] __user *
>> fs/orangefs/file.c:424:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
fs/orangefs/file.c:424:21: sparse: expected void const volatile [noderef] __user *ptr
fs/orangefs/file.c:424:21: sparse: got int const *__gu_addr
vim +23 arch/sh/kernel/cpu/sh3/clock-sh7712.c
c3aa92afd0a6c2 Andrew Murray 2008-01-08 20
c3aa92afd0a6c2 Andrew Murray 2008-01-08 21 static void master_clk_init(struct clk *clk)
c3aa92afd0a6c2 Andrew Murray 2008-01-08 22 {
9d56dd3b083a3b Paul Mundt 2010-01-26 @23 int frqcr = __raw_readw(FRQCR);
c3aa92afd0a6c2 Andrew Murray 2008-01-08 24 int idx = (frqcr & 0x0300) >> 8;
c3aa92afd0a6c2 Andrew Murray 2008-01-08 25
c3aa92afd0a6c2 Andrew Murray 2008-01-08 26 clk->rate *= multipliers[idx];
c3aa92afd0a6c2 Andrew Murray 2008-01-08 27 }
c3aa92afd0a6c2 Andrew Murray 2008-01-08 28
:::::: The code at line 23 was first introduced by commit
:::::: 9d56dd3b083a3bec56e9da35ce07baca81030b03 sh: Mass ctrl_in/outX to __raw_read/writeX conversion.
:::::: TO: Paul Mundt <lethal@linux-sh.org>
:::::: CC: Paul Mundt <lethal@linux-sh.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 19453 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* arch/sh/kernel/cpu/sh3/clock-sh7712.c:23:21: sparse: sparse: incorrect type in argument 1 (different base types)
@ 2021-11-04 12:40 ` kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-11-04 12:40 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 7174 bytes --]
Hi Luc,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7ddb58cb0ecae8e8b6181d736a87667cc9ab8389
commit: e5fc436f06eef54ef512ea55a9db8eb9f2e76959 sparse: use static inline for __chk_{user,io}_ptr()
date: 1 year, 2 months ago
config: sh-randconfig-s032-20211104 (attached as .config)
compiler: sh4-linux-gcc (GCC) 11.2.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-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-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=sh
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> arch/sh/kernel/cpu/sh3/clock-sh7712.c:23:21: 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-sh7712.c:23:21: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh3/clock-sh7712.c:23:21: sparse: got unsigned int
arch/sh/kernel/cpu/sh3/clock-sh7712.c:35:21: 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-sh7712.c:35:21: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh3/clock-sh7712.c:35:21: sparse: got unsigned int
arch/sh/kernel/cpu/sh3/clock-sh7712.c:47:21: 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-sh7712.c:47:21: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh3/clock-sh7712.c:47:21: 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
--
fs/orangefs/file.c:118:32: sparse: sparse: incorrect type in assignment (different base types) @@ expected int open_for_write @@ got restricted fmode_t @@
fs/orangefs/file.c:118:32: sparse: expected int open_for_write
fs/orangefs/file.c:118:32: sparse: got restricted fmode_t
fs/orangefs/file.c:119:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected int open_for_read @@ got restricted fmode_t @@
fs/orangefs/file.c:119:31: sparse: expected int open_for_read
fs/orangefs/file.c:119:31: sparse: got restricted fmode_t
fs/orangefs/file.c:424:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
fs/orangefs/file.c:424:21: sparse: expected int const *__gu_addr
fs/orangefs/file.c:424:21: sparse: got int [noderef] __user *
>> fs/orangefs/file.c:424:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
fs/orangefs/file.c:424:21: sparse: expected void const volatile [noderef] __user *ptr
fs/orangefs/file.c:424:21: sparse: got int const *__gu_addr
vim +23 arch/sh/kernel/cpu/sh3/clock-sh7712.c
c3aa92afd0a6c2 Andrew Murray 2008-01-08 20
c3aa92afd0a6c2 Andrew Murray 2008-01-08 21 static void master_clk_init(struct clk *clk)
c3aa92afd0a6c2 Andrew Murray 2008-01-08 22 {
9d56dd3b083a3b Paul Mundt 2010-01-26 @23 int frqcr = __raw_readw(FRQCR);
c3aa92afd0a6c2 Andrew Murray 2008-01-08 24 int idx = (frqcr & 0x0300) >> 8;
c3aa92afd0a6c2 Andrew Murray 2008-01-08 25
c3aa92afd0a6c2 Andrew Murray 2008-01-08 26 clk->rate *= multipliers[idx];
c3aa92afd0a6c2 Andrew Murray 2008-01-08 27 }
c3aa92afd0a6c2 Andrew Murray 2008-01-08 28
:::::: The code at line 23 was first introduced by commit
:::::: 9d56dd3b083a3bec56e9da35ce07baca81030b03 sh: Mass ctrl_in/outX to __raw_read/writeX conversion.
:::::: TO: Paul Mundt <lethal@linux-sh.org>
:::::: CC: Paul Mundt <lethal@linux-sh.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 19453 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* arch/sh/kernel/cpu/sh3/clock-sh7712.c:23:21: sparse: sparse: incorrect type in argument 1 (different base types)
@ 2020-11-11 6:44 ` kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2020-11-11 6:44 UTC (permalink / raw)
To: Luc Van Oostenryck; +Cc: kbuild-all, linux-kernel, Miguel Ojeda
[-- Attachment #1: Type: text/plain, Size: 14883 bytes --]
Hi Luc,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: eccc876724927ff3b9ff91f36f7b6b159e948f0c
commit: e5fc436f06eef54ef512ea55a9db8eb9f2e76959 sparse: use static inline for __chk_{user,io}_ptr()
date: 2 months ago
config: sh-randconfig-s031-20201111 (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-106-gd020cf33-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@intel.com>
"sparse warnings: (new ones prefixed by >>)"
>> arch/sh/kernel/cpu/sh3/clock-sh7712.c:23:21: 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-sh7712.c:23:21: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh3/clock-sh7712.c:23:21: sparse: got unsigned int
arch/sh/kernel/cpu/sh3/clock-sh7712.c:35:21: 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-sh7712.c:35:21: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh3/clock-sh7712.c:35:21: sparse: got unsigned int
arch/sh/kernel/cpu/sh3/clock-sh7712.c:47:21: 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-sh7712.c:47:21: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh3/clock-sh7712.c:47:21: sparse: got unsigned int
--
fs/binfmt_flat.c:402:9: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] __user *[assigned] ptr @@
fs/binfmt_flat.c:402:9: sparse: expected unsigned long const *__gu_addr
fs/binfmt_flat.c:402:9: sparse: got unsigned long [noderef] __user *[assigned] ptr
>> fs/binfmt_flat.c:402:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@
fs/binfmt_flat.c:402:9: sparse: expected void const volatile [noderef] __user *ptr
fs/binfmt_flat.c:402:9: sparse: got unsigned long const *__gu_addr
fs/binfmt_flat.c:775:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user *[assigned] rp @@
fs/binfmt_flat.c:775:29: sparse: expected unsigned int const *__gu_addr
fs/binfmt_flat.c:775:29: sparse: got unsigned int [noderef] [usertype] __user *[assigned] rp
fs/binfmt_flat.c:775:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
fs/binfmt_flat.c:775:29: sparse: expected void const volatile [noderef] __user *ptr
fs/binfmt_flat.c:775:29: sparse: got unsigned int const *__gu_addr
fs/binfmt_flat.c:812:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __be32 const *__gu_addr @@ got restricted __be32 [noderef] [usertype] __user * @@
fs/binfmt_flat.c:812:29: sparse: expected restricted __be32 const *__gu_addr
fs/binfmt_flat.c:812:29: sparse: got restricted __be32 [noderef] [usertype] __user *
fs/binfmt_flat.c:812:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got restricted __be32 const *__gu_addr @@
fs/binfmt_flat.c:812:29: sparse: expected void const volatile [noderef] __user *ptr
fs/binfmt_flat.c:812:29: sparse: got restricted __be32 const *__gu_addr
fs/binfmt_flat.c:855:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __be32 const *__gu_addr @@ got restricted __be32 [noderef] [usertype] __user * @@
fs/binfmt_flat.c:855:29: sparse: expected restricted __be32 const *__gu_addr
fs/binfmt_flat.c:855:29: sparse: got restricted __be32 [noderef] [usertype] __user *
fs/binfmt_flat.c:855:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got restricted __be32 const *__gu_addr @@
fs/binfmt_flat.c:855:29: sparse: expected void const volatile [noderef] __user *ptr
fs/binfmt_flat.c:855:29: sparse: got restricted __be32 const *__gu_addr
fs/binfmt_flat.c:865:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *addr @@ got void [noderef] __user *__cl_addr @@
fs/binfmt_flat.c:865:13: sparse: expected void *addr
fs/binfmt_flat.c:865:13: sparse: got void [noderef] __user *__cl_addr
--
drivers/hid/usbhid/hiddev.c:569:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
drivers/hid/usbhid/hiddev.c:569:13: sparse: expected int const *__gu_addr
drivers/hid/usbhid/hiddev.c:569:13: sparse: got int [noderef] __user *
>> drivers/hid/usbhid/hiddev.c:569:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
drivers/hid/usbhid/hiddev.c:569:13: sparse: expected void const volatile [noderef] __user *ptr
drivers/hid/usbhid/hiddev.c:569:13: sparse: got int const *__gu_addr
drivers/hid/usbhid/hiddev.c:664:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
drivers/hid/usbhid/hiddev.c:664:29: sparse: expected int const *__gu_addr
drivers/hid/usbhid/hiddev.c:664:29: sparse: got int [noderef] __user *
drivers/hid/usbhid/hiddev.c:664:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
drivers/hid/usbhid/hiddev.c:664:29: sparse: expected void const volatile [noderef] __user *ptr
drivers/hid/usbhid/hiddev.c:664:29: sparse: got int const *__gu_addr
--
>> arch/sh/drivers/dma/dma-sh.c:111:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
>> arch/sh/drivers/dma/dma-sh.c:111:16: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:111:16: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:117:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:117:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:117:9: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:151:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:151:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:151:9: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:162:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:162:16: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:162:16: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:168:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:168:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:168:9: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:186:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:186:16: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:186:16: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:188:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:188:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:188:9: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:219:17: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:219:17: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:219:17: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:222:17: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:222:17: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:222:17: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:224:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:224:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:224:9: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:234:15: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:234:15: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:234:15: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:237:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:237:16: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:237:16: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:93:20: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:93:20: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:93:20: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:93:20: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:93:20: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:93:20: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:262:31: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:262:31: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:262:31: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:266:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:266:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:266:9: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:269:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:269:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:269:9: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:272:14: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:272:14: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:272:14: sparse: got unsigned long
vim +23 arch/sh/kernel/cpu/sh3/clock-sh7712.c
c3aa92afd0a6c25 Andrew Murray 2008-01-08 20
c3aa92afd0a6c25 Andrew Murray 2008-01-08 21 static void master_clk_init(struct clk *clk)
c3aa92afd0a6c25 Andrew Murray 2008-01-08 22 {
9d56dd3b083a3be Paul Mundt 2010-01-26 @23 int frqcr = __raw_readw(FRQCR);
c3aa92afd0a6c25 Andrew Murray 2008-01-08 24 int idx = (frqcr & 0x0300) >> 8;
c3aa92afd0a6c25 Andrew Murray 2008-01-08 25
c3aa92afd0a6c25 Andrew Murray 2008-01-08 26 clk->rate *= multipliers[idx];
c3aa92afd0a6c25 Andrew Murray 2008-01-08 27 }
c3aa92afd0a6c25 Andrew Murray 2008-01-08 28
:::::: The code at line 23 was first introduced by commit
:::::: 9d56dd3b083a3bec56e9da35ce07baca81030b03 sh: Mass ctrl_in/outX to __raw_read/writeX conversion.
:::::: TO: Paul Mundt <lethal@linux-sh.org>
:::::: CC: Paul Mundt <lethal@linux-sh.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 22761 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* arch/sh/kernel/cpu/sh3/clock-sh7712.c:23:21: sparse: sparse: incorrect type in argument 1 (different base types)
@ 2020-11-11 6:44 ` kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2020-11-11 6:44 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 15039 bytes --]
Hi Luc,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: eccc876724927ff3b9ff91f36f7b6b159e948f0c
commit: e5fc436f06eef54ef512ea55a9db8eb9f2e76959 sparse: use static inline for __chk_{user,io}_ptr()
date: 2 months ago
config: sh-randconfig-s031-20201111 (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-106-gd020cf33-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@intel.com>
"sparse warnings: (new ones prefixed by >>)"
>> arch/sh/kernel/cpu/sh3/clock-sh7712.c:23:21: 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-sh7712.c:23:21: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh3/clock-sh7712.c:23:21: sparse: got unsigned int
arch/sh/kernel/cpu/sh3/clock-sh7712.c:35:21: 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-sh7712.c:35:21: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh3/clock-sh7712.c:35:21: sparse: got unsigned int
arch/sh/kernel/cpu/sh3/clock-sh7712.c:47:21: 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-sh7712.c:47:21: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh3/clock-sh7712.c:47:21: sparse: got unsigned int
--
fs/binfmt_flat.c:402:9: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] __user *[assigned] ptr @@
fs/binfmt_flat.c:402:9: sparse: expected unsigned long const *__gu_addr
fs/binfmt_flat.c:402:9: sparse: got unsigned long [noderef] __user *[assigned] ptr
>> fs/binfmt_flat.c:402:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@
fs/binfmt_flat.c:402:9: sparse: expected void const volatile [noderef] __user *ptr
fs/binfmt_flat.c:402:9: sparse: got unsigned long const *__gu_addr
fs/binfmt_flat.c:775:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user *[assigned] rp @@
fs/binfmt_flat.c:775:29: sparse: expected unsigned int const *__gu_addr
fs/binfmt_flat.c:775:29: sparse: got unsigned int [noderef] [usertype] __user *[assigned] rp
fs/binfmt_flat.c:775:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
fs/binfmt_flat.c:775:29: sparse: expected void const volatile [noderef] __user *ptr
fs/binfmt_flat.c:775:29: sparse: got unsigned int const *__gu_addr
fs/binfmt_flat.c:812:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __be32 const *__gu_addr @@ got restricted __be32 [noderef] [usertype] __user * @@
fs/binfmt_flat.c:812:29: sparse: expected restricted __be32 const *__gu_addr
fs/binfmt_flat.c:812:29: sparse: got restricted __be32 [noderef] [usertype] __user *
fs/binfmt_flat.c:812:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got restricted __be32 const *__gu_addr @@
fs/binfmt_flat.c:812:29: sparse: expected void const volatile [noderef] __user *ptr
fs/binfmt_flat.c:812:29: sparse: got restricted __be32 const *__gu_addr
fs/binfmt_flat.c:855:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __be32 const *__gu_addr @@ got restricted __be32 [noderef] [usertype] __user * @@
fs/binfmt_flat.c:855:29: sparse: expected restricted __be32 const *__gu_addr
fs/binfmt_flat.c:855:29: sparse: got restricted __be32 [noderef] [usertype] __user *
fs/binfmt_flat.c:855:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got restricted __be32 const *__gu_addr @@
fs/binfmt_flat.c:855:29: sparse: expected void const volatile [noderef] __user *ptr
fs/binfmt_flat.c:855:29: sparse: got restricted __be32 const *__gu_addr
fs/binfmt_flat.c:865:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *addr @@ got void [noderef] __user *__cl_addr @@
fs/binfmt_flat.c:865:13: sparse: expected void *addr
fs/binfmt_flat.c:865:13: sparse: got void [noderef] __user *__cl_addr
--
drivers/hid/usbhid/hiddev.c:569:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
drivers/hid/usbhid/hiddev.c:569:13: sparse: expected int const *__gu_addr
drivers/hid/usbhid/hiddev.c:569:13: sparse: got int [noderef] __user *
>> drivers/hid/usbhid/hiddev.c:569:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
drivers/hid/usbhid/hiddev.c:569:13: sparse: expected void const volatile [noderef] __user *ptr
drivers/hid/usbhid/hiddev.c:569:13: sparse: got int const *__gu_addr
drivers/hid/usbhid/hiddev.c:664:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
drivers/hid/usbhid/hiddev.c:664:29: sparse: expected int const *__gu_addr
drivers/hid/usbhid/hiddev.c:664:29: sparse: got int [noderef] __user *
drivers/hid/usbhid/hiddev.c:664:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
drivers/hid/usbhid/hiddev.c:664:29: sparse: expected void const volatile [noderef] __user *ptr
drivers/hid/usbhid/hiddev.c:664:29: sparse: got int const *__gu_addr
--
>> arch/sh/drivers/dma/dma-sh.c:111:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
>> arch/sh/drivers/dma/dma-sh.c:111:16: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:111:16: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:117:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:117:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:117:9: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:151:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:151:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:151:9: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:162:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:162:16: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:162:16: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:168:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:168:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:168:9: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:186:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:186:16: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:186:16: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:188:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:188:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:188:9: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:219:17: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:219:17: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:219:17: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:222:17: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:222:17: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:222:17: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:224:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:224:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:224:9: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:234:15: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:234:15: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:234:15: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:237:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:237:16: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:237:16: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:93:20: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:93:20: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:93:20: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:93:20: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:93:20: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:93:20: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:262:31: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:262:31: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:262:31: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:266:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:266:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:266:9: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:269:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:269:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:269:9: sparse: got unsigned long
arch/sh/drivers/dma/dma-sh.c:272:14: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/drivers/dma/dma-sh.c:272:14: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/drivers/dma/dma-sh.c:272:14: sparse: got unsigned long
vim +23 arch/sh/kernel/cpu/sh3/clock-sh7712.c
c3aa92afd0a6c25 Andrew Murray 2008-01-08 20
c3aa92afd0a6c25 Andrew Murray 2008-01-08 21 static void master_clk_init(struct clk *clk)
c3aa92afd0a6c25 Andrew Murray 2008-01-08 22 {
9d56dd3b083a3be Paul Mundt 2010-01-26 @23 int frqcr = __raw_readw(FRQCR);
c3aa92afd0a6c25 Andrew Murray 2008-01-08 24 int idx = (frqcr & 0x0300) >> 8;
c3aa92afd0a6c25 Andrew Murray 2008-01-08 25
c3aa92afd0a6c25 Andrew Murray 2008-01-08 26 clk->rate *= multipliers[idx];
c3aa92afd0a6c25 Andrew Murray 2008-01-08 27 }
c3aa92afd0a6c25 Andrew Murray 2008-01-08 28
:::::: The code at line 23 was first introduced by commit
:::::: 9d56dd3b083a3bec56e9da35ce07baca81030b03 sh: Mass ctrl_in/outX to __raw_read/writeX conversion.
:::::: TO: Paul Mundt <lethal@linux-sh.org>
:::::: CC: Paul Mundt <lethal@linux-sh.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 22761 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-11-04 12:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-04 12:40 arch/sh/kernel/cpu/sh3/clock-sh7712.c:23:21: sparse: sparse: incorrect type in argument 1 (different base types) kernel test robot
2021-11-04 12:40 ` kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2020-11-11 6:44 kernel test robot
2020-11-11 6:44 ` kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.