[frank-w-bpi-r2-4.14:5.12-hnat 3/11] drivers/pci/probe.c:930:39: error: 'struct device' has no member named 'msi_domain'; did you mean
by kernel test robot
Hi Marc,
FYI, the error/warning still remains.
tree: https://github.com/frank-w/BPI-R2-4.14 5.12-hnat
head: 79ba85605b096ebba4359684a0e5d719541e14fb
commit: 985198ae531b3360e32967e50a2f2a3fc07075ab [3/11] pci: fix MSI issue part 2
config: i386-randconfig-a003-20210322 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/frank-w/BPI-R2-4.14/commit/985198ae531b3360e32967e50a2...
git remote add frank-w-bpi-r2-4.14 https://github.com/frank-w/BPI-R2-4.14
git fetch --no-tags frank-w-bpi-r2-4.14 5.12-hnat
git checkout 985198ae531b3360e32967e50a2f2a3fc07075ab
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/pci/probe.c: In function 'pci_register_host_bridge':
>> drivers/pci/probe.c:930:39: error: 'struct device' has no member named 'msi_domain'; did you mean 'pm_domain'?
930 | (bridge->msi_domain && !bus->dev.msi_domain))
| ^~~~~~~~~~
| pm_domain
vim +930 drivers/pci/probe.c
904
905 b = pci_find_bus(pci_domain_nr(bus), bridge->busnr);
906 if (b) {
907 /* Ignore it if we already got here via a different bridge */
908 dev_dbg(&b->dev, "bus already known\n");
909 err = -EEXIST;
910 goto free;
911 }
912
913 dev_set_name(&bridge->dev, "pci%04x:%02x", pci_domain_nr(bus),
914 bridge->busnr);
915
916 err = pcibios_root_bridge_prepare(bridge);
917 if (err)
918 goto free;
919
920 err = device_add(&bridge->dev);
921 if (err) {
922 put_device(&bridge->dev);
923 goto free;
924 }
925 bus->bridge = get_device(&bridge->dev);
926 device_enable_async_suspend(bus->bridge);
927 pci_set_bus_of_node(bus);
928 pci_set_bus_msi_domain(bus);
929 if (bridge->no_msi ||
> 930 (bridge->msi_domain && !bus->dev.msi_domain))
931 bus->bus_flags |= PCI_BUS_FLAGS_NO_MSI;
932
933 if (!parent)
934 set_dev_node(bus->bridge, pcibus_to_node(bus));
935
936 bus->dev.class = &pcibus_class;
937 bus->dev.parent = bus->bridge;
938
939 dev_set_name(&bus->dev, "%04x:%02x", pci_domain_nr(bus), bus->number);
940 name = dev_name(&bus->dev);
941
942 err = device_register(&bus->dev);
943 if (err)
944 goto unregister;
945
946 pcibios_add_bus(bus);
947
948 if (bus->ops->add_bus) {
949 err = bus->ops->add_bus(bus);
950 if (WARN_ON(err < 0))
951 dev_err(&bus->dev, "failed to add bus: %d\n", err);
952 }
953
954 /* Create legacy_io and legacy_mem files for this bus */
955 pci_create_legacy_files(bus);
956
957 if (parent)
958 dev_info(parent, "PCI host bridge to bus %s\n", name);
959 else
960 pr_info("PCI host bridge to bus %s\n", name);
961
962 if (nr_node_ids > 1 && pcibus_to_node(bus) == NUMA_NO_NODE)
963 dev_warn(&bus->dev, "Unknown NUMA node; performance will be reduced\n");
964
965 /* Add initial resources to the bus */
966 resource_list_for_each_entry_safe(window, n, &resources) {
967 list_move_tail(&window->node, &bridge->windows);
968 offset = window->offset;
969 res = window->res;
970
971 if (res->flags & IORESOURCE_BUS)
972 pci_bus_insert_busn_res(bus, bus->number, res->end);
973 else
974 pci_bus_add_resource(bus, res, 0);
975
976 if (offset) {
977 if (resource_type(res) == IORESOURCE_IO)
978 fmt = " (bus address [%#06llx-%#06llx])";
979 else
980 fmt = " (bus address [%#010llx-%#010llx])";
981
982 snprintf(addr, sizeof(addr), fmt,
983 (unsigned long long)(res->start - offset),
984 (unsigned long long)(res->end - offset));
985 } else
986 addr[0] = '\0';
987
988 dev_info(&bus->dev, "root bus resource %pR%s\n", res, addr);
989 }
990
991 down_write(&pci_bus_sem);
992 list_add_tail(&bus->node, &pci_root_buses);
993 up_write(&pci_bus_sem);
994
995 return 0;
996
997 unregister:
998 put_device(&bridge->dev);
999 device_del(&bridge->dev);
1000
1001 free:
1002 kfree(bus);
1003 return err;
1004 }
1005
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
arch/mips/loongson2ef/common/reset.c:20:11: sparse: sparse: cast removes address space '__iomem' of expression
by kernel test robot
Hi Jiaxun,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0d02ec6b3136c73c09e7859f0d0e4e2c4c07b49b
commit: b13812ddea615b6507beef24f76540c0c1143c5c MIPS: Loongson2ef: Disable Loongson MMI instructions
date: 6 months ago
config: mips-randconfig-s032-20210322 (attached as .config)
compiler: mips64el-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-277-gc089cd2d-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout b13812ddea615b6507beef24f76540c0c1143c5c
# 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=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
command-line: note: in included file:
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
builtin:0:0: sparse: this was the original definition
>> arch/mips/loongson2ef/common/reset.c:20:11: sparse: sparse: cast removes address space '__iomem' of expression
--
command-line: note: in included file:
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
builtin:0:0: sparse: this was the original definition
fs/ocfs2/refcounttree.c:635:27: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] rf_generation @@ got unsigned int @@
fs/ocfs2/refcounttree.c:635:27: sparse: expected restricted __le32 [usertype] rf_generation
fs/ocfs2/refcounttree.c:635:27: sparse: got unsigned int
>> fs/ocfs2/refcounttree.c:2087:9: sparse: sparse: cast from restricted __le16
>> fs/ocfs2/refcounttree.c:2134:17: sparse: sparse: cast from restricted __le32
--
command-line: note: in included file:
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
builtin:0:0: sparse: this was the original definition
>> arch/mips/pci/ops-loongson2.c:93:24: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] val @@ got restricted __le32 [usertype] @@
arch/mips/pci/ops-loongson2.c:93:24: sparse: expected unsigned int [usertype] val
arch/mips/pci/ops-loongson2.c:93:24: sparse: got restricted __le32 [usertype]
>> arch/mips/pci/ops-loongson2.c:93:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *mem @@ got void *[assigned] addrp @@
arch/mips/pci/ops-loongson2.c:93:44: sparse: expected void volatile [noderef] __iomem *mem
arch/mips/pci/ops-loongson2.c:93:44: sparse: got void *[assigned] addrp
>> arch/mips/pci/ops-loongson2.c:95:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got void *[assigned] addrp @@
arch/mips/pci/ops-loongson2.c:95:25: sparse: expected void const volatile [noderef] __iomem *mem
arch/mips/pci/ops-loongson2.c:95:25: sparse: got void *[assigned] addrp
>> arch/mips/pci/ops-loongson2.c:95:25: sparse: sparse: cast to restricted __le32
--
command-line: note: in included file:
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
builtin:0:0: sparse: this was the original definition
drivers/net/wireless/intel/iwlwifi/mvm/rs.c: note: in included file (through drivers/net/wireless/intel/iwlwifi/mvm/..//fw/img.h, drivers/net/wireless/intel/iwlwifi/mvm/..//iwl-trans.h, ...):
drivers/net/wireless/intel/iwlwifi/mvm/..//fw/file.h:330:19: sparse: sparse: mixed bitwiseness
drivers/net/wireless/intel/iwlwifi/mvm/..//fw/file.h:484:19: sparse: sparse: mixed bitwiseness
>> drivers/net/wireless/intel/iwlwifi/mvm/rs.c:3298:6: sparse: sparse: context imbalance in 'iwl_mvm_rs_tx_status' - wrong count at exit
vim +/__iomem +20 arch/mips/loongson2ef/common/reset.c
71e2f4dd5a65bd Jiaxun Yang 2019-10-20 16
71e2f4dd5a65bd Jiaxun Yang 2019-10-20 17 static inline void loongson_reboot(void)
71e2f4dd5a65bd Jiaxun Yang 2019-10-20 18 {
71e2f4dd5a65bd Jiaxun Yang 2019-10-20 19 #ifndef CONFIG_CPU_JUMP_WORKAROUNDS
4bdc0d676a6431 Christoph Hellwig 2020-01-06 @20 ((void (*)(void))ioremap(LOONGSON_BOOT_BASE, 4)) ();
71e2f4dd5a65bd Jiaxun Yang 2019-10-20 21 #else
71e2f4dd5a65bd Jiaxun Yang 2019-10-20 22 void (*func)(void);
71e2f4dd5a65bd Jiaxun Yang 2019-10-20 23
4bdc0d676a6431 Christoph Hellwig 2020-01-06 24 func = (void *)ioremap(LOONGSON_BOOT_BASE, 4);
71e2f4dd5a65bd Jiaxun Yang 2019-10-20 25
71e2f4dd5a65bd Jiaxun Yang 2019-10-20 26 __asm__ __volatile__(
71e2f4dd5a65bd Jiaxun Yang 2019-10-20 27 " .set noat \n"
71e2f4dd5a65bd Jiaxun Yang 2019-10-20 28 " jr %[func] \n"
71e2f4dd5a65bd Jiaxun Yang 2019-10-20 29 " .set at \n"
71e2f4dd5a65bd Jiaxun Yang 2019-10-20 30 : /* No outputs */
71e2f4dd5a65bd Jiaxun Yang 2019-10-20 31 : [func] "r" (func));
71e2f4dd5a65bd Jiaxun Yang 2019-10-20 32 #endif
71e2f4dd5a65bd Jiaxun Yang 2019-10-20 33 }
71e2f4dd5a65bd Jiaxun Yang 2019-10-20 34
:::::: The code at line 20 was first introduced by commit
:::::: 4bdc0d676a643140bdf17dbf7eafedee3d496a3c remove ioremap_nocache and devm_ioremap_nocache
:::::: TO: Christoph Hellwig <hch(a)lst.de>
:::::: CC: Christoph Hellwig <hch(a)lst.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
[smfrench-smb3-kernel:pr/33 19/21] fs/cifsd/oplock.c:1454: warning: expecting prototype for create_durable_rsp__buf(). Prototype was for create_durable_rsp_buf() instead
by kernel test robot
tree: git://github.com/smfrench/smb3-kernel.git pr/33
head: 3bf0685764b93fb21ea962af4b1e035bdc11e03a
commit: 2d44673005eab9b51d7851724c63f8bcb060202b [19/21] cifsd: fix incorrect comments
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/smfrench/smb3-kernel/commit/2d44673005eab9b51d7851724c...
git remote add smfrench-smb3-kernel git://github.com/smfrench/smb3-kernel.git
git fetch --no-tags smfrench-smb3-kernel pr/33
git checkout 2d44673005eab9b51d7851724c63f8bcb060202b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=xtensa
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> fs/cifsd/oplock.c:1454: warning: expecting prototype for create_durable_rsp__buf(). Prototype was for create_durable_rsp_buf() instead
vim +1454 fs/cifsd/oplock.c
788b6f45c1d2ee Namjae Jeon 2021-03-16 1448
788b6f45c1d2ee Namjae Jeon 2021-03-16 1449 /**
2d44673005eab9 Hyunchul Lee 2021-03-21 1450 * create_durable_rsp__buf() - create durable handle context
788b6f45c1d2ee Namjae Jeon 2021-03-16 1451 * @cc: buffer to create durable context response
788b6f45c1d2ee Namjae Jeon 2021-03-16 1452 */
788b6f45c1d2ee Namjae Jeon 2021-03-16 1453 void create_durable_rsp_buf(char *cc)
788b6f45c1d2ee Namjae Jeon 2021-03-16 @1454 {
788b6f45c1d2ee Namjae Jeon 2021-03-16 1455 struct create_durable_rsp *buf;
788b6f45c1d2ee Namjae Jeon 2021-03-16 1456
788b6f45c1d2ee Namjae Jeon 2021-03-16 1457 buf = (struct create_durable_rsp *)cc;
788b6f45c1d2ee Namjae Jeon 2021-03-16 1458 memset(buf, 0, sizeof(struct create_durable_rsp));
788b6f45c1d2ee Namjae Jeon 2021-03-16 1459 buf->ccontext.DataOffset = cpu_to_le16(offsetof
788b6f45c1d2ee Namjae Jeon 2021-03-16 1460 (struct create_durable_rsp, Data));
788b6f45c1d2ee Namjae Jeon 2021-03-16 1461 buf->ccontext.DataLength = cpu_to_le32(8);
788b6f45c1d2ee Namjae Jeon 2021-03-16 1462 buf->ccontext.NameOffset = cpu_to_le16(offsetof
788b6f45c1d2ee Namjae Jeon 2021-03-16 1463 (struct create_durable_rsp, Name));
788b6f45c1d2ee Namjae Jeon 2021-03-16 1464 buf->ccontext.NameLength = cpu_to_le16(4);
788b6f45c1d2ee Namjae Jeon 2021-03-16 1465 /* SMB2_CREATE_DURABLE_HANDLE_RESPONSE is "DHnQ" */
788b6f45c1d2ee Namjae Jeon 2021-03-16 1466 buf->Name[0] = 'D';
788b6f45c1d2ee Namjae Jeon 2021-03-16 1467 buf->Name[1] = 'H';
788b6f45c1d2ee Namjae Jeon 2021-03-16 1468 buf->Name[2] = 'n';
788b6f45c1d2ee Namjae Jeon 2021-03-16 1469 buf->Name[3] = 'Q';
788b6f45c1d2ee Namjae Jeon 2021-03-16 1470 }
788b6f45c1d2ee Namjae Jeon 2021-03-16 1471
:::::: The code at line 1454 was first introduced by commit
:::::: 788b6f45c1d2eef909c296d775196bc6ec7dd63a cifsd: add server-side procedures for SMB3
:::::: TO: Namjae Jeon <namjae.jeon(a)samsung.com>
:::::: CC: Namjae Jeon <namjae.jeon(a)samsung.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
include/linux/compiler_types.h:319:38: error: call to '__compiletime_assert_222' declared with attribute error: BUILD_BUG_ON failed: FIX_KMAP_SLOTS > PTRS_PER_PTE
by kernel test robot
Hi Thomas,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 812da4d39463a060738008a46cfc9f775e4bfcf6
commit: 39cac191ff37939544af80d5d2af6b870fd94c9b arc/mm/highmem: Use generic kmap atomic implementation
date: 5 months ago
config: arc-randconfig-r003-20210322 (attached as .config)
compiler: arc-elf-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 39cac191ff37939544af80d5d2af6b870fd94c9b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from <command-line>:
arch/arc/mm/highmem.c: In function 'kmap_init':
>> include/linux/compiler_types.h:319:38: error: call to '__compiletime_assert_222' declared with attribute error: BUILD_BUG_ON failed: FIX_KMAP_SLOTS > PTRS_PER_PTE
319 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
include/linux/compiler_types.h:300:4: note: in definition of macro '__compiletime_assert'
300 | prefix ## suffix(); \
| ^~~~~~
include/linux/compiler_types.h:319:2: note: in expansion of macro '_compiletime_assert'
319 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^~~~~~~~~~~~~~~~
arch/arc/mm/highmem.c:69:2: note: in expansion of macro 'BUILD_BUG_ON'
69 | BUILD_BUG_ON(FIX_KMAP_SLOTS > PTRS_PER_PTE);
| ^~~~~~~~~~~~
vim +/__compiletime_assert_222 +319 include/linux/compiler_types.h
eb5c2d4b45e3d2 Will Deacon 2020-07-21 305
eb5c2d4b45e3d2 Will Deacon 2020-07-21 306 #define _compiletime_assert(condition, msg, prefix, suffix) \
eb5c2d4b45e3d2 Will Deacon 2020-07-21 307 __compiletime_assert(condition, msg, prefix, suffix)
eb5c2d4b45e3d2 Will Deacon 2020-07-21 308
eb5c2d4b45e3d2 Will Deacon 2020-07-21 309 /**
eb5c2d4b45e3d2 Will Deacon 2020-07-21 310 * compiletime_assert - break build and emit msg if condition is false
eb5c2d4b45e3d2 Will Deacon 2020-07-21 311 * @condition: a compile-time constant condition to check
eb5c2d4b45e3d2 Will Deacon 2020-07-21 312 * @msg: a message to emit if condition is false
eb5c2d4b45e3d2 Will Deacon 2020-07-21 313 *
eb5c2d4b45e3d2 Will Deacon 2020-07-21 314 * In tradition of POSIX assert, this macro will break the build if the
eb5c2d4b45e3d2 Will Deacon 2020-07-21 315 * supplied condition is *false*, emitting the supplied error message if the
eb5c2d4b45e3d2 Will Deacon 2020-07-21 316 * compiler has support to do so.
eb5c2d4b45e3d2 Will Deacon 2020-07-21 317 */
eb5c2d4b45e3d2 Will Deacon 2020-07-21 318 #define compiletime_assert(condition, msg) \
eb5c2d4b45e3d2 Will Deacon 2020-07-21 @319 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
eb5c2d4b45e3d2 Will Deacon 2020-07-21 320
:::::: The code at line 319 was first introduced by commit
:::::: eb5c2d4b45e3d2d5d052ea6b8f1463976b1020d5 compiler.h: Move compiletime_assert() macros into compiler_types.h
:::::: TO: Will Deacon <will(a)kernel.org>
:::::: CC: Will Deacon <will(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
arch/sh/kernel/signal_32.c:484:54: sparse: sparse: incorrect type in argument 1 (different base types)
by kernel test robot
Hi Luc,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 812da4d39463a060738008a46cfc9f775e4bfcf6
commit: e5fc436f06eef54ef512ea55a9db8eb9f2e76959 sparse: use static inline for __chk_{user,io}_ptr()
date: 7 months ago
config: sh-randconfig-s031-20210321 (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-277-gc089cd2d-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
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(a)intel.com>
sparse warnings: (new ones prefixed by >>)
>> arch/sh/kernel/signal_32.c:484:54: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/kernel/signal_32.c:484:54: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/signal_32.c:484:54: sparse: got unsigned long
arch/sh/kernel/signal_32.c:486:54: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/kernel/signal_32.c:486:54: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/signal_32.c:486:54: sparse: got unsigned long
arch/sh/kernel/signal_32.c:424:54: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/kernel/signal_32.c:424:54: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/signal_32.c:424:54: sparse: got unsigned long
--
>> arch/sh/kernel/traps.c:138:38: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/kernel/traps.c:138:38: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/traps.c:138:38: sparse: got unsigned long
arch/sh/kernel/traps.c:155:38: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/kernel/traps.c:155:38: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/traps.c:155:38: sparse: got unsigned long
--
>> arch/sh/mm/cache-sh2a.c:43:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned long @@
arch/sh/mm/cache-sh2a.c:43:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/mm/cache-sh2a.c:43:9: sparse: got unsigned long
>> arch/sh/mm/cache-sh2a.c:136:17: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/mm/cache-sh2a.c:136:17: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/mm/cache-sh2a.c:136:17: sparse: got unsigned int
>> arch/sh/mm/cache-sh2a.c:136:17: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/mm/cache-sh2a.c:136:17: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/mm/cache-sh2a.c:136:17: sparse: got unsigned int
arch/sh/mm/cache-sh2a.c:170:17: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/mm/cache-sh2a.c:170:17: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/mm/cache-sh2a.c:170:17: sparse: got unsigned int
arch/sh/mm/cache-sh2a.c:170:17: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/mm/cache-sh2a.c:170:17: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/mm/cache-sh2a.c:170:17: sparse: got unsigned int
--
kernel/futex.c:1993:31: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user *uaddr1 @@
kernel/futex.c:1993:31: sparse: expected unsigned int const *__gu_addr
kernel/futex.c:1993:31: sparse: got unsigned int [noderef] [usertype] __user *uaddr1
>> kernel/futex.c:1993:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
kernel/futex.c:1993:31: sparse: expected void const volatile [noderef] __user *ptr
kernel/futex.c:1993:31: sparse: got unsigned int const *__gu_addr
kernel/futex.c:2647:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user *uaddr @@
kernel/futex.c:2647:23: sparse: expected unsigned int const *__gu_addr
kernel/futex.c:2647:23: sparse: got unsigned int [noderef] [usertype] __user *uaddr
kernel/futex.c:2647:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
kernel/futex.c:2647:23: sparse: expected void const volatile [noderef] __user *ptr
kernel/futex.c:2647:23: sparse: got unsigned int const *__gu_addr
kernel/futex.c:2955:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user *uaddr @@
kernel/futex.c:2955:13: sparse: expected unsigned int const *__gu_addr
kernel/futex.c:2955:13: sparse: got unsigned int [noderef] [usertype] __user *uaddr
kernel/futex.c:2955:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
kernel/futex.c:2955:13: sparse: expected void const volatile [noderef] __user *ptr
kernel/futex.c:2955:13: sparse: got unsigned int const *__gu_addr
kernel/futex.c:3428:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user *uaddr @@
kernel/futex.c:3428:13: sparse: expected unsigned int const *__gu_addr
kernel/futex.c:3428:13: sparse: got unsigned int [noderef] [usertype] __user *uaddr
kernel/futex.c:3428:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
kernel/futex.c:3428:13: sparse: expected void const volatile [noderef] __user *ptr
kernel/futex.c:3428:13: sparse: got unsigned int const *__gu_addr
kernel/futex.c:3566:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected long const *__gu_addr @@ got long [noderef] __user * @@
kernel/futex.c:3566:13: sparse: expected long const *__gu_addr
kernel/futex.c:3566:13: sparse: got long [noderef] __user *
>> kernel/futex.c:3566:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got long const *__gu_addr @@
kernel/futex.c:3566:13: sparse: expected void const volatile [noderef] __user *ptr
kernel/futex.c:3566:13: sparse: got long const *__gu_addr
kernel/futex.c: note: in included file (through arch/sh/include/asm/futex.h):
arch/sh/include/asm/futex-irq.h:15:15: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user *uaddr @@
arch/sh/include/asm/futex-irq.h:15:15: sparse: expected unsigned int const *__gu_addr
arch/sh/include/asm/futex-irq.h:15:15: sparse: got unsigned int [noderef] [usertype] __user *uaddr
>> arch/sh/include/asm/futex-irq.h:15:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
arch/sh/include/asm/futex-irq.h:15:15: sparse: expected void const volatile [noderef] __user *ptr
arch/sh/include/asm/futex-irq.h:15:15: sparse: got unsigned int const *__gu_addr
kernel/futex.c:1544:9: sparse: sparse: context imbalance in 'wake_futex_pi' - unexpected unlock
kernel/futex.c: note: in included file:
arch/sh/include/asm/futex.h:36:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user *uaddr @@
arch/sh/include/asm/futex.h:36:23: sparse: expected unsigned int const *__gu_addr
arch/sh/include/asm/futex.h:36:23: sparse: got unsigned int [noderef] [usertype] __user *uaddr
>> arch/sh/include/asm/futex.h:36:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
arch/sh/include/asm/futex.h:36:23: sparse: expected void const volatile [noderef] __user *ptr
arch/sh/include/asm/futex.h:36:23: sparse: got unsigned int const *__gu_addr
kernel/futex.c: note: in included file (through arch/sh/include/asm/futex.h):
arch/sh/include/asm/futex-irq.h:15:15: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user *uaddr @@
arch/sh/include/asm/futex-irq.h:15:15: sparse: expected unsigned int const *__gu_addr
arch/sh/include/asm/futex-irq.h:15:15: sparse: got unsigned int [noderef] [usertype] __user *uaddr
>> arch/sh/include/asm/futex-irq.h:15:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
arch/sh/include/asm/futex-irq.h:15:15: sparse: expected void const volatile [noderef] __user *ptr
arch/sh/include/asm/futex-irq.h:15:15: sparse: got unsigned int const *__gu_addr
kernel/futex.c:1708:25: sparse: sparse: context imbalance in 'futex_wake_op' - different lock contexts for basic block
kernel/futex.c:1990:41: sparse: sparse: context imbalance in 'futex_requeue' - different lock contexts for basic block
kernel/futex.c:2453:9: sparse: sparse: context imbalance in 'fixup_pi_state_owner' - unexpected unlock
kernel/futex.c:2561:13: sparse: sparse: context imbalance in 'futex_wait_queue_me' - unexpected unlock
kernel/futex.c:2662:9: sparse: sparse: context imbalance in 'futex_wait_setup' - different lock contexts for basic block
kernel/futex.c:2943:12: sparse: sparse: context imbalance in 'futex_unlock_pi' - different lock contexts for basic block
kernel/futex.c:3218:29: sparse: sparse: context imbalance in 'futex_wait_requeue_pi' - unexpected unlock
kernel/futex.c:3530:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] __user * @@
kernel/futex.c:3530:13: sparse: expected unsigned long const *__gu_addr
kernel/futex.c:3530:13: sparse: got unsigned long [noderef] __user *
>> kernel/futex.c:3530:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@
kernel/futex.c:3530:13: sparse: expected void const volatile [noderef] __user *ptr
kernel/futex.c:3530:13: sparse: got unsigned long const *__gu_addr
kernel/futex.c:3530:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] __user * @@
kernel/futex.c:3530:13: sparse: expected unsigned long const *__gu_addr
kernel/futex.c:3530:13: sparse: got unsigned long [noderef] __user *
>> kernel/futex.c:3530:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@
kernel/futex.c:3530:13: sparse: expected void const volatile [noderef] __user *ptr
kernel/futex.c:3530:13: sparse: got unsigned long const *__gu_addr
kernel/futex.c:3530:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] __user * @@
kernel/futex.c:3530:13: sparse: expected unsigned long const *__gu_addr
kernel/futex.c:3530:13: sparse: got unsigned long [noderef] __user *
>> kernel/futex.c:3530:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@
kernel/futex.c:3530:13: sparse: expected void const volatile [noderef] __user *ptr
kernel/futex.c:3530:13: sparse: got unsigned long const *__gu_addr
--
>> arch/sh/kernel/cpu/sh2a/clock-sh7201.c:27:26: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/kernel/cpu/sh2a/clock-sh7201.c:27:26: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh2a/clock-sh7201.c:27:26: sparse: got unsigned int
arch/sh/kernel/cpu/sh2a/clock-sh7201.c:36: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/sh2a/clock-sh7201.c:36:20: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh2a/clock-sh7201.c:36:20: sparse: got unsigned int
arch/sh/kernel/cpu/sh2a/clock-sh7201.c:46: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/sh2a/clock-sh7201.c:46:20: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh2a/clock-sh7201.c:46:20: sparse: got unsigned int
arch/sh/kernel/cpu/sh2a/clock-sh7201.c:56: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/sh2a/clock-sh7201.c:56:21: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh2a/clock-sh7201.c:56:21: sparse: got unsigned int
--
>> arch/sh/kernel/cpu/sh2a/setup-sh7201.c:414:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/kernel/cpu/sh2a/setup-sh7201.c:414:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh2a/setup-sh7201.c:414:9: sparse: got unsigned int
>> arch/sh/kernel/cpu/sh2a/setup-sh7201.c:414:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/kernel/cpu/sh2a/setup-sh7201.c:414:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh2a/setup-sh7201.c:414:9: sparse: got unsigned int
--
fs/aio.c:589:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __percpu *__pdata @@ got struct kioctx_cpu *cpu @@
fs/aio.c:589:24: sparse: expected void [noderef] __percpu *__pdata
fs/aio.c:589:24: sparse: got struct kioctx_cpu *cpu
fs/aio.c:756:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct kioctx_cpu *cpu @@ got struct kioctx_cpu [noderef] __percpu * @@
fs/aio.c:756:18: sparse: expected struct kioctx_cpu *cpu
fs/aio.c:756:18: sparse: got struct kioctx_cpu [noderef] __percpu *
fs/aio.c:803:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __percpu *__pdata @@ got struct kioctx_cpu *cpu @@
fs/aio.c:803:24: sparse: expected void [noderef] __percpu *__pdata
fs/aio.c:803:24: sparse: got struct kioctx_cpu *cpu
fs/aio.c:908:16: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __percpu *__vpp_verify @@ got struct kioctx_cpu * @@
fs/aio.c:908:16: sparse: expected void const [noderef] __percpu *__vpp_verify
fs/aio.c:908:16: sparse: got struct kioctx_cpu *
fs/aio.c:926:16: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __percpu *__vpp_verify @@ got struct kioctx_cpu * @@
fs/aio.c:926:16: sparse: expected void const [noderef] __percpu *__vpp_verify
fs/aio.c:926:16: sparse: got struct kioctx_cpu *
fs/aio.c:1055:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@
fs/aio.c:1055:13: sparse: expected unsigned int const *__gu_addr
fs/aio.c:1055:13: sparse: got unsigned int [noderef] __user *
>> fs/aio.c:1055:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
fs/aio.c:1055:13: sparse: expected void const volatile [noderef] __user *ptr
fs/aio.c:1055:13: sparse: got unsigned int const *__gu_addr
fs/aio.c:1318:15: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] [usertype] __user *ctxp @@
fs/aio.c:1318:15: sparse: expected unsigned long const *__gu_addr
fs/aio.c:1318:15: sparse: got unsigned long [noderef] [usertype] __user *ctxp
>> fs/aio.c:1318:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@
fs/aio.c:1318:15: sparse: expected void const volatile [noderef] __user *ptr
fs/aio.c:1318:15: sparse: got unsigned long const *__gu_addr
fs/aio.c:1939:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct iocb [noderef] __user *const *__gu_addr @@ got struct iocb [noderef] __user *[noderef] __user * @@
fs/aio.c:1939:21: sparse: expected struct iocb [noderef] __user *const *__gu_addr
fs/aio.c:1939:21: sparse: got struct iocb [noderef] __user *[noderef] __user *
>> fs/aio.c:1939:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got struct iocb [noderef] __user *const *__gu_addr @@
fs/aio.c:1939:21: sparse: expected void const volatile [noderef] __user *ptr
fs/aio.c:1939:21: sparse: got struct iocb [noderef] __user *const *__gu_addr
fs/aio.c:2017:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@
fs/aio.c:2017:13: sparse: expected unsigned int const *__gu_addr
fs/aio.c:2017:13: sparse: got unsigned int [noderef] __user *
fs/aio.c:2017:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
fs/aio.c:2017:13: sparse: expected void const volatile [noderef] __user *ptr
fs/aio.c:2017:13: sparse: got unsigned int const *__gu_addr
--
kernel/sched/core.c:610:38: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct task_struct *curr @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/core.c:610:38: sparse: expected struct task_struct *curr
kernel/sched/core.c:610:38: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/core.c:1697:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct task_struct *p @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/core.c:1697:33: sparse: expected struct task_struct *p
kernel/sched/core.c:1697:33: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/core.c:1697:68: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct task_struct *tsk @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/core.c:1697:68: sparse: expected struct task_struct *tsk
kernel/sched/core.c:1697:68: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/core.c:3987:38: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct task_struct *curr @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/core.c:3987:38: sparse: expected struct task_struct *curr
kernel/sched/core.c:3987:38: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/core.c:4420:14: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct task_struct *prev @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/core.c:4420:14: sparse: expected struct task_struct *prev
kernel/sched/core.c:4420:14: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/core.c:4879:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/core.c:4879:17: sparse: struct task_struct *
kernel/sched/core.c:4879:17: sparse: struct task_struct [noderef] __rcu *
kernel/sched/core.c:5079:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/core.c:5079:22: sparse: struct task_struct [noderef] __rcu *
kernel/sched/core.c:5079:22: sparse: struct task_struct *
kernel/sched/core.c:5623:15: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@
kernel/sched/core.c:5623:15: sparse: expected unsigned int const *__gu_addr
kernel/sched/core.c:5623:15: sparse: got unsigned int [noderef] __user *
>> kernel/sched/core.c:5623:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
kernel/sched/core.c:5623:15: sparse: expected void const volatile [noderef] __user *ptr
kernel/sched/core.c:5623:15: sparse: got unsigned int const *__gu_addr
kernel/sched/core.c:8437:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct task_struct *p @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/core.c:8437:25: sparse: expected struct task_struct *p
kernel/sched/core.c:8437:25: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/core.c:1688:33: sparse: sparse: dereference of noderef expression
kernel/sched/core.c:1689:19: sparse: sparse: dereference of noderef expression
kernel/sched/core.c:1690:37: sparse: sparse: dereference of noderef expression
kernel/sched/core.c: note: in included file:
kernel/sched/sched.h:1688:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:1688:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:1688:25: sparse: struct task_struct *
kernel/sched/sched.h:1833:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:1833:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:1833:9: sparse: struct task_struct *
kernel/sched/sched.h:1833:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:1833:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:1833:9: sparse: struct task_struct *
kernel/sched/sched.h:1688:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:1688:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:1688:25: sparse: struct task_struct *
kernel/sched/sched.h:1833:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:1833:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:1833:9: sparse: struct task_struct *
kernel/sched/sched.h:1839:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:1839:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:1839:9: sparse: struct task_struct *
kernel/sched/sched.h:1688:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:1688:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:1688:25: sparse: struct task_struct *
kernel/sched/sched.h:1833:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:1833:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:1833:9: sparse: struct task_struct *
kernel/sched/sched.h:1839:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:1839:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:1839:9: sparse: struct task_struct *
kernel/sched/sched.h:1688:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:1688:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:1688:25: sparse: struct task_struct *
kernel/sched/sched.h:1833:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:1833:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:1833:9: sparse: struct task_struct *
kernel/sched/sched.h:1839:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:1839:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:1839:9: sparse: struct task_struct *
kernel/sched/sched.h:1688:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:1688:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:1688:25: sparse: struct task_struct *
--
ipc/msg.c:958:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected long const *__gu_addr @@ got long [noderef] __user * @@
ipc/msg.c:958:13: sparse: expected long const *__gu_addr
ipc/msg.c:958:13: sparse: got long [noderef] __user *
>> ipc/msg.c:958:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got long const *__gu_addr @@
ipc/msg.c:958:13: sparse: expected void const volatile [noderef] __user *ptr
ipc/msg.c:958:13: sparse: got long const *__gu_addr
ipc/msg.c:180:26: sparse: sparse: context imbalance in 'newque' - unexpected unlock
--
drivers/firewire/core-cdev.c:1088:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@
drivers/firewire/core-cdev.c:1088:21: sparse: expected unsigned int const *__gu_addr
drivers/firewire/core-cdev.c:1088:21: sparse: got unsigned int [noderef] __user *
>> drivers/firewire/core-cdev.c:1088:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
drivers/firewire/core-cdev.c:1088:21: sparse: expected void const volatile [noderef] __user *ptr
drivers/firewire/core-cdev.c:1088:21: sparse: got unsigned int const *__gu_addr
--
sound/core/control.c:776:17: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer
sound/core/control.c:776:26: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer
sound/core/control.c:777:17: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer
sound/core/control.c:777:26: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer
sound/core/control.c:796:48: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer
sound/core/control.c:1462:40: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer
sound/core/control.c:1565:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ptr @@
sound/core/control.c:1565:13: sparse: expected int const *__gu_addr
sound/core/control.c:1565:13: sparse: got int [noderef] __user *ptr
>> sound/core/control.c:1565:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
sound/core/control.c:1565:13: sparse: expected void const volatile [noderef] __user *ptr
sound/core/control.c:1565:13: sparse: got int const *__gu_addr
--
sound/core/pcm.c:92:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
sound/core/pcm.c:92:29: sparse: expected int const *__gu_addr
sound/core/pcm.c:92:29: sparse: got int [noderef] __user *
>> sound/core/pcm.c:92:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
sound/core/pcm.c:92:29: sparse: expected void const volatile [noderef] __user *ptr
sound/core/pcm.c:92:29: sparse: got int const *__gu_addr
sound/core/pcm.c:112:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@
sound/core/pcm.c:112:29: sparse: expected unsigned int const *__gu_addr
sound/core/pcm.c:112:29: sparse: got unsigned int [noderef] __user *
>> sound/core/pcm.c:112:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
sound/core/pcm.c:112:29: sparse: expected void const volatile [noderef] __user *ptr
sound/core/pcm.c:112:29: sparse: got unsigned int const *__gu_addr
sound/core/pcm.c:114:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
sound/core/pcm.c:114:29: sparse: expected int const *__gu_addr
sound/core/pcm.c:114:29: sparse: got int [noderef] __user *
sound/core/pcm.c:114:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
sound/core/pcm.c:114:29: sparse: expected void const volatile [noderef] __user *ptr
sound/core/pcm.c:114:29: sparse: got int const *__gu_addr
sound/core/pcm.c:119:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@
sound/core/pcm.c:119:29: sparse: expected unsigned int const *__gu_addr
sound/core/pcm.c:119:29: sparse: got unsigned int [noderef] __user *
sound/core/pcm.c:119:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
sound/core/pcm.c:119:29: sparse: expected void const volatile [noderef] __user *ptr
sound/core/pcm.c:119:29: sparse: got unsigned int const *__gu_addr
sound/core/pcm.c:155:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
sound/core/pcm.c:155:29: sparse: expected int const *__gu_addr
sound/core/pcm.c:155:29: sparse: got int [noderef] __user *
sound/core/pcm.c:155:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
sound/core/pcm.c:155:29: sparse: expected void const volatile [noderef] __user *ptr
sound/core/pcm.c:155:29: sparse: got int const *__gu_addr
sound/core/pcm.c:999:9: sparse: sparse: context imbalance in 'snd_pcm_detach_substream' - different lock contexts for basic block
--
sound/core/pcm_native.c:1010:20: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@
sound/core/pcm_native.c:1010:20: sparse: expected unsigned int const *__gu_addr
sound/core/pcm_native.c:1010:20: sparse: got unsigned int [noderef] [usertype] __user *
>> sound/core/pcm_native.c:1010:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
sound/core/pcm_native.c:1010:20: sparse: expected void const volatile [noderef] __user *ptr
sound/core/pcm_native.c:1010:20: sparse: got unsigned int const *__gu_addr
sound/core/pcm_native.c:1036:20: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@
sound/core/pcm_native.c:1036:20: sparse: expected unsigned int const *__gu_addr
sound/core/pcm_native.c:1036:20: sparse: got unsigned int [noderef] [usertype] __user *
sound/core/pcm_native.c:1036:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
sound/core/pcm_native.c:1036:20: sparse: expected void const volatile [noderef] __user *ptr
sound/core/pcm_native.c:1036:20: sparse: got unsigned int const *__gu_addr
sound/core/pcm_native.c:2944:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@
sound/core/pcm_native.c:2944:13: sparse: expected unsigned int const *__gu_addr
sound/core/pcm_native.c:2944:13: sparse: got unsigned int [noderef] __user *
sound/core/pcm_native.c:2944:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
sound/core/pcm_native.c:2944:13: sparse: expected void const volatile [noderef] __user *ptr
sound/core/pcm_native.c:2944:13: sparse: got unsigned int const *__gu_addr
sound/core/pcm_native.c:3037:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@
sound/core/pcm_native.c:3037:13: sparse: expected unsigned int const *__gu_addr
sound/core/pcm_native.c:3037:13: sparse: got unsigned int [noderef] __user *
sound/core/pcm_native.c:3037:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
sound/core/pcm_native.c:3037:13: sparse: expected void const volatile [noderef] __user *ptr
sound/core/pcm_native.c:3037:13: sparse: got unsigned int const *__gu_addr
sound/core/pcm_native.c:3038:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@
sound/core/pcm_native.c:3038:13: sparse: expected unsigned int const *__gu_addr
sound/core/pcm_native.c:3038:13: sparse: got unsigned int [noderef] __user *
sound/core/pcm_native.c:3038:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
sound/core/pcm_native.c:3038:13: sparse: expected void const volatile [noderef] __user *ptr
sound/core/pcm_native.c:3038:13: sparse: got unsigned int const *__gu_addr
sound/core/pcm_native.c:3039:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@
sound/core/pcm_native.c:3039:13: sparse: expected unsigned int const *__gu_addr
sound/core/pcm_native.c:3039:13: sparse: got unsigned int [noderef] __user *
sound/core/pcm_native.c:3039:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
sound/core/pcm_native.c:3039:13: sparse: expected void const volatile [noderef] __user *ptr
sound/core/pcm_native.c:3039:13: sparse: got unsigned int const *__gu_addr
sound/core/pcm_native.c:3087:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *_arg @@
sound/core/pcm_native.c:3087:13: sparse: expected int const *__gu_addr
sound/core/pcm_native.c:3087:13: sparse: got int [noderef] __user *_arg
>> sound/core/pcm_native.c:3087:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
sound/core/pcm_native.c:3087:13: sparse: expected void const volatile [noderef] __user *ptr
sound/core/pcm_native.c:3087:13: sparse: got int const *__gu_addr
sound/core/pcm_native.c:3153:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@
sound/core/pcm_native.c:3153:13: sparse: expected unsigned long const *__gu_addr
sound/core/pcm_native.c:3153:13: sparse: got unsigned long [noderef] [usertype] __user *_frames
>> sound/core/pcm_native.c:3153:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@
sound/core/pcm_native.c:3153:13: sparse: expected void const volatile [noderef] __user *ptr
sound/core/pcm_native.c:3153:13: sparse: got unsigned long const *__gu_addr
sound/core/pcm_native.c:3169:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long const *__gu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@
sound/core/pcm_native.c:3169:13: sparse: expected unsigned long const *__gu_addr
sound/core/pcm_native.c:3169:13: sparse: got unsigned long [noderef] [usertype] __user *_frames
sound/core/pcm_native.c:3169:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned long const *__gu_addr @@
sound/core/pcm_native.c:3169:13: sparse: expected void const volatile [noderef] __user *ptr
sound/core/pcm_native.c:3169:13: sparse: got unsigned long const *__gu_addr
sound/core/pcm_native.c:3203:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@
sound/core/pcm_native.c:3203:21: sparse: expected unsigned int const *__gu_addr
sound/core/pcm_native.c:3203:21: sparse: got unsigned int [noderef] __user *
sound/core/pcm_native.c:3203:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
sound/core/pcm_native.c:3203:21: sparse: expected void const volatile [noderef] __user *ptr
sound/core/pcm_native.c:3203:21: sparse: got unsigned int const *__gu_addr
sound/core/pcm_native.c:95:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock' - different lock contexts for basic block
sound/core/pcm_native.c:96:1: sparse: sparse: context imbalance in 'snd_pcm_group_unlock' - unexpected unlock
sound/core/pcm_native.c:97:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock_irq' - different lock contexts for basic block
sound/core/pcm_native.c:98:1: sparse: sparse: context imbalance in 'snd_pcm_group_unlock_irq' - unexpected unlock
sound/core/pcm_native.c:145:9: sparse: sparse: context imbalance in 'snd_pcm_stream_lock_nested' - different lock contexts for basic block
sound/core/pcm_native.c:171:9: sparse: sparse: context imbalance in '_snd_pcm_stream_lock_irqsave' - different lock contexts for basic block
sound/core/pcm_native.c:188:39: sparse: sparse: context imbalance in 'snd_pcm_stream_unlock_irqrestore' - unexpected unlock
sound/core/pcm_native.c:1186:52: sparse: sparse: context imbalance in 'snd_pcm_action_group' - unexpected unlock
sound/core/pcm_native.c:1257:37: sparse: sparse: context imbalance in 'snd_pcm_stream_group_ref' - different lock contexts for basic block
--
sound/core/rawmidi.c:654:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@
sound/core/rawmidi.c:654:13: sparse: expected unsigned int const *__gu_addr
sound/core/rawmidi.c:654:13: sparse: got unsigned int [noderef] __user *
>> sound/core/rawmidi.c:654:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
sound/core/rawmidi.c:654:13: sparse: expected void const volatile [noderef] __user *ptr
sound/core/rawmidi.c:654:13: sparse: got unsigned int const *__gu_addr
sound/core/rawmidi.c:656:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
sound/core/rawmidi.c:656:13: sparse: expected int const *__gu_addr
sound/core/rawmidi.c:656:13: sparse: got int [noderef] __user *
>> sound/core/rawmidi.c:656:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
sound/core/rawmidi.c:656:13: sparse: expected void const volatile [noderef] __user *ptr
sound/core/rawmidi.c:656:13: sparse: got int const *__gu_addr
sound/core/rawmidi.c:658:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@
sound/core/rawmidi.c:658:13: sparse: expected unsigned int const *__gu_addr
sound/core/rawmidi.c:658:13: sparse: got unsigned int [noderef] __user *
sound/core/rawmidi.c:658:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
sound/core/rawmidi.c:658:13: sparse: expected void const volatile [noderef] __user *ptr
sound/core/rawmidi.c:658:13: sparse: got unsigned int const *__gu_addr
sound/core/rawmidi.c:836:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
sound/core/rawmidi.c:836:21: sparse: expected int const *__gu_addr
sound/core/rawmidi.c:836:21: sparse: got int [noderef] __user *
sound/core/rawmidi.c:836:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
sound/core/rawmidi.c:836:21: sparse: expected void const volatile [noderef] __user *ptr
sound/core/rawmidi.c:836:21: sparse: got int const *__gu_addr
sound/core/rawmidi.c:874:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
sound/core/rawmidi.c:874:21: sparse: expected int const *__gu_addr
sound/core/rawmidi.c:874:21: sparse: got int [noderef] __user *
sound/core/rawmidi.c:874:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
sound/core/rawmidi.c:874:21: sparse: expected void const volatile [noderef] __user *ptr
sound/core/rawmidi.c:874:21: sparse: got int const *__gu_addr
sound/core/rawmidi.c:889:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
sound/core/rawmidi.c:889:21: sparse: expected int const *__gu_addr
sound/core/rawmidi.c:889:21: sparse: got int [noderef] __user *
sound/core/rawmidi.c:889:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
sound/core/rawmidi.c:889:21: sparse: expected void const volatile [noderef] __user *ptr
sound/core/rawmidi.c:889:21: sparse: got int const *__gu_addr
sound/core/rawmidi.c:923:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
sound/core/rawmidi.c:923:21: sparse: expected int const *__gu_addr
sound/core/rawmidi.c:923:21: sparse: got int [noderef] __user *
sound/core/rawmidi.c:923:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
sound/core/rawmidi.c:923:21: sparse: expected void const volatile [noderef] __user *ptr
sound/core/rawmidi.c:923:21: sparse: got int const *__gu_addr
sound/core/rawmidi.c:945:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
sound/core/rawmidi.c:945:21: sparse: expected int const *__gu_addr
sound/core/rawmidi.c:945:21: sparse: got int [noderef] __user *
sound/core/rawmidi.c:945:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
sound/core/rawmidi.c:945:21: sparse: expected void const volatile [noderef] __user *ptr
sound/core/rawmidi.c:945:21: sparse: got int const *__gu_addr
--
sound/core/seq/oss/seq_oss_timer.c:224:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@
sound/core/seq/oss/seq_oss_timer.c:224:21: sparse: expected int const *__gu_addr
sound/core/seq/oss/seq_oss_timer.c:224:21: sparse: got int [noderef] __user *arg
>> sound/core/seq/oss/seq_oss_timer.c:224:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
sound/core/seq/oss/seq_oss_timer.c:224:21: sparse: expected void const volatile [noderef] __user *ptr
sound/core/seq/oss/seq_oss_timer.c:224:21: sparse: got int const *__gu_addr
sound/core/seq/oss/seq_oss_timer.c:243:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@
sound/core/seq/oss/seq_oss_timer.c:243:21: sparse: expected int const *__gu_addr
sound/core/seq/oss/seq_oss_timer.c:243:21: sparse: got int [noderef] __user *arg
sound/core/seq/oss/seq_oss_timer.c:243:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
sound/core/seq/oss/seq_oss_timer.c:243:21: sparse: expected void const volatile [noderef] __user *ptr
sound/core/seq/oss/seq_oss_timer.c:243:21: sparse: got int const *__gu_addr
sound/core/seq/oss/seq_oss_timer.c:247:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@
sound/core/seq/oss/seq_oss_timer.c:247:21: sparse: expected int const *__gu_addr
sound/core/seq/oss/seq_oss_timer.c:247:21: sparse: got int [noderef] __user *arg
sound/core/seq/oss/seq_oss_timer.c:247:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
sound/core/seq/oss/seq_oss_timer.c:247:21: sparse: expected void const volatile [noderef] __user *ptr
sound/core/seq/oss/seq_oss_timer.c:247:21: sparse: got int const *__gu_addr
--
sound/core/seq/oss/seq_oss_ioctl.c:97:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
sound/core/seq/oss/seq_oss_ioctl.c:97:21: sparse: expected int const *__gu_addr
sound/core/seq/oss/seq_oss_ioctl.c:97:21: sparse: got int [noderef] __user *p
>> sound/core/seq/oss/seq_oss_ioctl.c:97:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
sound/core/seq/oss/seq_oss_ioctl.c:97:21: sparse: expected void const volatile [noderef] __user *ptr
sound/core/seq/oss/seq_oss_ioctl.c:97:21: sparse: got int const *__gu_addr
sound/core/seq/oss/seq_oss_ioctl.c:115:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
sound/core/seq/oss/seq_oss_ioctl.c:115:21: sparse: expected int const *__gu_addr
sound/core/seq/oss/seq_oss_ioctl.c:115:21: sparse: got int [noderef] __user *p
sound/core/seq/oss/seq_oss_ioctl.c:115:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
sound/core/seq/oss/seq_oss_ioctl.c:115:21: sparse: expected void const volatile [noderef] __user *ptr
sound/core/seq/oss/seq_oss_ioctl.c:115:21: sparse: got int const *__gu_addr
sound/core/seq/oss/seq_oss_ioctl.c:126:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
sound/core/seq/oss/seq_oss_ioctl.c:126:21: sparse: expected int const *__gu_addr
sound/core/seq/oss/seq_oss_ioctl.c:126:21: sparse: got int [noderef] __user *p
sound/core/seq/oss/seq_oss_ioctl.c:126:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
sound/core/seq/oss/seq_oss_ioctl.c:126:21: sparse: expected void const volatile [noderef] __user *ptr
sound/core/seq/oss/seq_oss_ioctl.c:126:21: sparse: got int const *__gu_addr
sound/core/seq/oss/seq_oss_ioctl.c:132:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
sound/core/seq/oss/seq_oss_ioctl.c:132:21: sparse: expected int const *__gu_addr
sound/core/seq/oss/seq_oss_ioctl.c:132:21: sparse: got int [noderef] __user *p
sound/core/seq/oss/seq_oss_ioctl.c:132:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
sound/core/seq/oss/seq_oss_ioctl.c:132:21: sparse: expected void const volatile [noderef] __user *ptr
sound/core/seq/oss/seq_oss_ioctl.c:132:21: sparse: got int const *__gu_addr
sound/core/seq/oss/seq_oss_ioctl.c:150:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
sound/core/seq/oss/seq_oss_ioctl.c:150:21: sparse: expected int const *__gu_addr
sound/core/seq/oss/seq_oss_ioctl.c:150:21: sparse: got int [noderef] __user *p
sound/core/seq/oss/seq_oss_ioctl.c:150:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
sound/core/seq/oss/seq_oss_ioctl.c:150:21: sparse: expected void const volatile [noderef] __user *ptr
sound/core/seq/oss/seq_oss_ioctl.c:150:21: sparse: got int const *__gu_addr
sound/core/seq/oss/seq_oss_ioctl.c:162:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
sound/core/seq/oss/seq_oss_ioctl.c:162:21: sparse: expected int const *__gu_addr
sound/core/seq/oss/seq_oss_ioctl.c:162:21: sparse: got int [noderef] __user *p
sound/core/seq/oss/seq_oss_ioctl.c:162:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
sound/core/seq/oss/seq_oss_ioctl.c:162:21: sparse: expected void const volatile [noderef] __user *ptr
sound/core/seq/oss/seq_oss_ioctl.c:162:21: sparse: got int const *__gu_addr
--
drivers/tee/tee_core.c:683:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@
drivers/tee/tee_core.c:683:13: sparse: expected unsigned int const *__gu_addr
drivers/tee/tee_core.c:683:13: sparse: got unsigned int [noderef] __user *
>> drivers/tee/tee_core.c:683:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
drivers/tee/tee_core.c:683:13: sparse: expected void const volatile [noderef] __user *ptr
drivers/tee/tee_core.c:683:13: sparse: got unsigned int const *__gu_addr
drivers/tee/tee_core.c:781:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@
drivers/tee/tee_core.c:781:13: sparse: expected unsigned int const *__gu_addr
drivers/tee/tee_core.c:781:13: sparse: got unsigned int [noderef] __user *
drivers/tee/tee_core.c:781:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
drivers/tee/tee_core.c:781:13: sparse: expected void const volatile [noderef] __user *ptr
drivers/tee/tee_core.c:781:13: sparse: got unsigned int const *__gu_addr
drivers/tee/tee_core.c:782:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@
drivers/tee/tee_core.c:782:13: sparse: expected unsigned int const *__gu_addr
drivers/tee/tee_core.c:782:13: sparse: got unsigned int [noderef] __user *
drivers/tee/tee_core.c:782:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
drivers/tee/tee_core.c:782:13: sparse: expected void const volatile [noderef] __user *ptr
drivers/tee/tee_core.c:782:13: sparse: got unsigned int const *__gu_addr
--
drivers/tty/tty_io.c:2189:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char [noderef] __user *p @@
drivers/tty/tty_io.c:2189:13: sparse: expected char const *__gu_addr
drivers/tty/tty_io.c:2189:13: sparse: got char [noderef] __user *p
>> drivers/tty/tty_io.c:2189:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@
drivers/tty/tty_io.c:2189:13: sparse: expected void const volatile [noderef] __user *ptr
drivers/tty/tty_io.c:2189:13: sparse: got char const *__gu_addr
drivers/tty/tty_io.c:2330:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/tty/tty_io.c:2330:13: sparse: expected int const *__gu_addr
drivers/tty/tty_io.c:2330:13: sparse: got int [noderef] __user *p
>> drivers/tty/tty_io.c:2330:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
drivers/tty/tty_io.c:2330:13: sparse: expected void const volatile [noderef] __user *ptr
drivers/tty/tty_io.c:2330:13: sparse: got int const *__gu_addr
drivers/tty/tty_io.c:2448:18: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user *p @@
drivers/tty/tty_io.c:2448:18: sparse: expected unsigned int const *__gu_addr
drivers/tty/tty_io.c:2448:18: sparse: got unsigned int [noderef] __user *p
>> drivers/tty/tty_io.c:2448:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
drivers/tty/tty_io.c:2448:18: sparse: expected void const volatile [noderef] __user *ptr
drivers/tty/tty_io.c:2448:18: sparse: got unsigned int const *__gu_addr
--
drivers/tty/tty_jobctrl.c:77:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@
drivers/tty/tty_jobctrl.c:77:9: sparse: expected struct spinlock [usertype] *lock
drivers/tty/tty_jobctrl.c:77:9: sparse: got struct spinlock [noderef] __rcu *
drivers/tty/tty_jobctrl.c:80:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@
drivers/tty/tty_jobctrl.c:80:34: sparse: expected struct spinlock [usertype] *lock
drivers/tty/tty_jobctrl.c:80:34: sparse: got struct spinlock [noderef] __rcu *
drivers/tty/tty_jobctrl.c:120:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@
drivers/tty/tty_jobctrl.c:120:31: sparse: expected struct spinlock [usertype] *lock
drivers/tty/tty_jobctrl.c:120:31: sparse: got struct spinlock [noderef] __rcu *
drivers/tty/tty_jobctrl.c:122:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@
drivers/tty/tty_jobctrl.c:122:33: sparse: expected struct spinlock [usertype] *lock
drivers/tty/tty_jobctrl.c:122:33: sparse: got struct spinlock [noderef] __rcu *
drivers/tty/tty_jobctrl.c:131:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@
drivers/tty/tty_jobctrl.c:131:31: sparse: expected struct spinlock [usertype] *lock
drivers/tty/tty_jobctrl.c:131:31: sparse: got struct spinlock [noderef] __rcu *
drivers/tty/tty_jobctrl.c:152:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@
drivers/tty/tty_jobctrl.c:152:33: sparse: expected struct spinlock [usertype] *lock
drivers/tty/tty_jobctrl.c:152:33: sparse: got struct spinlock [noderef] __rcu *
drivers/tty/tty_jobctrl.c:161:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@
drivers/tty/tty_jobctrl.c:161:9: sparse: expected struct spinlock [usertype] *lock
drivers/tty/tty_jobctrl.c:161:9: sparse: got struct spinlock [noderef] __rcu *
drivers/tty/tty_jobctrl.c:163:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@
drivers/tty/tty_jobctrl.c:163:40: sparse: expected struct spinlock [usertype] *lock
drivers/tty/tty_jobctrl.c:163:40: sparse: got struct spinlock [noderef] __rcu *
drivers/tty/tty_jobctrl.c:200:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@
drivers/tty/tty_jobctrl.c:200:41: sparse: expected struct spinlock [usertype] *lock
drivers/tty/tty_jobctrl.c:200:41: sparse: got struct spinlock [noderef] __rcu *
drivers/tty/tty_jobctrl.c:208:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@
drivers/tty/tty_jobctrl.c:208:51: sparse: expected struct spinlock [usertype] *lock
drivers/tty/tty_jobctrl.c:208:51: sparse: got struct spinlock [noderef] __rcu *
drivers/tty/tty_jobctrl.c:219:43: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@
drivers/tty/tty_jobctrl.c:219:43: sparse: expected struct spinlock [usertype] *lock
drivers/tty/tty_jobctrl.c:219:43: sparse: got struct spinlock [noderef] __rcu *
drivers/tty/tty_jobctrl.c:281:39: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@
drivers/tty/tty_jobctrl.c:281:39: sparse: expected struct spinlock [usertype] *lock
drivers/tty/tty_jobctrl.c:281:39: sparse: got struct spinlock [noderef] __rcu *
drivers/tty/tty_jobctrl.c:284:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@
drivers/tty/tty_jobctrl.c:284:41: sparse: expected struct spinlock [usertype] *lock
drivers/tty/tty_jobctrl.c:284:41: sparse: got struct spinlock [noderef] __rcu *
drivers/tty/tty_jobctrl.c:293:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@
drivers/tty/tty_jobctrl.c:293:31: sparse: expected struct spinlock [usertype] *lock
drivers/tty/tty_jobctrl.c:293:31: sparse: got struct spinlock [noderef] __rcu *
drivers/tty/tty_jobctrl.c:309:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@
drivers/tty/tty_jobctrl.c:309:33: sparse: expected struct spinlock [usertype] *lock
drivers/tty/tty_jobctrl.c:309:33: sparse: got struct spinlock [noderef] __rcu *
drivers/tty/tty_jobctrl.c:484:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] [usertype] __user *p @@
drivers/tty/tty_jobctrl.c:484:13: sparse: expected int const *__gu_addr
drivers/tty/tty_jobctrl.c:484:13: sparse: got int [noderef] [usertype] __user *p
>> drivers/tty/tty_jobctrl.c:484:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
drivers/tty/tty_jobctrl.c:484:13: sparse: expected void const volatile [noderef] __user *ptr
drivers/tty/tty_jobctrl.c:484:13: sparse: got int const *__gu_addr
drivers/tty/tty_jobctrl.c:18:41: sparse: sparse: dereference of noderef expression
--
drivers/tty/pty.c:163:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@
drivers/tty/pty.c:163:13: sparse: expected int const *__gu_addr
drivers/tty/pty.c:163:13: sparse: got int [noderef] __user *arg
>> drivers/tty/pty.c:163:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
drivers/tty/pty.c:163:13: sparse: expected void const volatile [noderef] __user *ptr
drivers/tty/pty.c:163:13: sparse: got int const *__gu_addr
drivers/tty/pty.c:183:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *arg @@
drivers/tty/pty.c:183:13: sparse: expected int const *__gu_addr
drivers/tty/pty.c:183:13: sparse: got int [noderef] __user *arg
drivers/tty/pty.c:183:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
drivers/tty/pty.c:183:13: sparse: expected void const volatile [noderef] __user *ptr
drivers/tty/pty.c:183:13: sparse: got int const *__gu_addr
--
drivers/watchdog/shwdt.c: note: in included file:
arch/sh/include/asm/watchdog.h:144:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/include/asm/watchdog.h:144:16: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/include/asm/watchdog.h:144:16: sparse: got unsigned int
arch/sh/include/asm/watchdog.h:156:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/include/asm/watchdog.h:156:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/include/asm/watchdog.h:156:9: sparse: got unsigned int
arch/sh/include/asm/watchdog.h:134:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/include/asm/watchdog.h:134:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/include/asm/watchdog.h:134:9: sparse: got unsigned int
arch/sh/include/asm/watchdog.h:144:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/include/asm/watchdog.h:144:16: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/include/asm/watchdog.h:144:16: sparse: got unsigned int
arch/sh/include/asm/watchdog.h:156:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/include/asm/watchdog.h:156:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/include/asm/watchdog.h:156:9: sparse: got unsigned int
drivers/watchdog/shwdt.c: note: in included file (through arch/sh/include/cpu-sh2a/cpu/watchdog.h, arch/sh/include/asm/watchdog.h):
>> arch/sh/include/cpu-sh2/cpu/watchdog.h:44:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/include/cpu-sh2/cpu/watchdog.h:44:16: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/include/cpu-sh2/cpu/watchdog.h:44:16: sparse: got unsigned int
arch/sh/include/cpu-sh2/cpu/watchdog.h:62:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/include/cpu-sh2/cpu/watchdog.h:62:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/include/cpu-sh2/cpu/watchdog.h:62:9: sparse: got unsigned int
drivers/watchdog/shwdt.c: note: in included file:
arch/sh/include/asm/watchdog.h:144:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/include/asm/watchdog.h:144:16: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/include/asm/watchdog.h:144:16: sparse: got unsigned int
arch/sh/include/asm/watchdog.h:156:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/include/asm/watchdog.h:156:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/include/asm/watchdog.h:156:9: sparse: got unsigned int
arch/sh/include/asm/watchdog.h:144:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/include/asm/watchdog.h:144:16: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/include/asm/watchdog.h:144:16: sparse: got unsigned int
arch/sh/include/asm/watchdog.h:156:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/include/asm/watchdog.h:156:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/include/asm/watchdog.h:156:9: sparse: got unsigned int
arch/sh/include/asm/watchdog.h:134:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/include/asm/watchdog.h:134:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/include/asm/watchdog.h:134:9: sparse: got unsigned int
--
kernel/trace/trace.c:1450:15: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@
kernel/trace/trace.c:1450:15: sparse: expected char const *__gu_addr
kernel/trace/trace.c:1450:15: sparse: got char const [noderef] __user *
>> kernel/trace/trace.c:1450:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@
kernel/trace/trace.c:1450:15: sparse: expected void const volatile [noderef] __user *ptr
kernel/trace/trace.c:1450:15: sparse: got char const *__gu_addr
kernel/trace/trace.c:1464:31: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@
kernel/trace/trace.c:1464:31: sparse: expected char const *__gu_addr
kernel/trace/trace.c:1464:31: sparse: got char const [noderef] __user *
kernel/trace/trace.c:1464:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@
kernel/trace/trace.c:1464:31: sparse: expected void const volatile [noderef] __user *ptr
kernel/trace/trace.c:1464:31: sparse: got char const *__gu_addr
kernel/trace/trace.c:1489:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@
kernel/trace/trace.c:1489:23: sparse: expected char const *__gu_addr
kernel/trace/trace.c:1489:23: sparse: got char const [noderef] __user *
kernel/trace/trace.c:1489:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got char const *__gu_addr @@
kernel/trace/trace.c:1489:23: sparse: expected void const volatile [noderef] __user *ptr
kernel/trace/trace.c:1489:23: sparse: got char const *__gu_addr
kernel/trace/trace.c:2649:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct event_filter *filter @@ got struct event_filter [noderef] __rcu *filter @@
kernel/trace/trace.c:2649:38: sparse: expected struct event_filter *filter
kernel/trace/trace.c:2649:38: sparse: got struct event_filter [noderef] __rcu *filter
kernel/trace/trace.c:2846:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct trace_export **list @@ got struct trace_export [noderef] __rcu ** @@
kernel/trace/trace.c:2846:28: sparse: expected struct trace_export **list
kernel/trace/trace.c:2846:28: sparse: got struct trace_export [noderef] __rcu **
kernel/trace/trace.c:2860:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct trace_export **list @@ got struct trace_export [noderef] __rcu ** @@
kernel/trace/trace.c:2860:33: sparse: expected struct trace_export **list
kernel/trace/trace.c:2860:33: sparse: got struct trace_export [noderef] __rcu **
kernel/trace/trace.c:3108:46: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __percpu *__vpp_verify @@ got struct trace_buffer_struct * @@
kernel/trace/trace.c:3108:46: sparse: expected void const [noderef] __percpu *__vpp_verify
kernel/trace/trace.c:3108:46: sparse: got struct trace_buffer_struct *
kernel/trace/trace.c:3124:9: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __percpu *__vpp_verify @@ got int * @@
kernel/trace/trace.c:3124:9: sparse: expected void const [noderef] __percpu *__vpp_verify
kernel/trace/trace.c:3124:9: sparse: got int *
kernel/trace/trace.c:3124:9: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __percpu *__vpp_verify @@ got int * @@
kernel/trace/trace.c:3124:9: sparse: expected void const [noderef] __percpu *__vpp_verify
kernel/trace/trace.c:3124:9: sparse: got int *
kernel/trace/trace.c:3124:9: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __percpu *__vpp_verify @@ got int * @@
kernel/trace/trace.c:3124:9: sparse: expected void const [noderef] __percpu *__vpp_verify
kernel/trace/trace.c:3124:9: sparse: got int *
kernel/trace/trace.c:3124:9: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __percpu *__vpp_verify @@ got int * @@
kernel/trace/trace.c:3124:9: sparse: expected void const [noderef] __percpu *__vpp_verify
kernel/trace/trace.c:3124:9: sparse: got int *
kernel/trace/trace.c:3124:9: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __percpu *__vpp_verify @@ got int * @@
kernel/trace/trace.c:3124:9: sparse: expected void const [noderef] __percpu *__vpp_verify
kernel/trace/trace.c:3124:9: sparse: got int *
kernel/trace/trace.c:3134:17: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct trace_buffer_struct *buffers @@ got struct trace_buffer_struct [noderef] __percpu * @@
kernel/trace/trace.c:3134:17: sparse: expected struct trace_buffer_struct *buffers
kernel/trace/trace.c:3134:17: sparse: got struct trace_buffer_struct [noderef] __percpu *
kernel/trace/trace.c: note: in included file:
kernel/trace/trace.h:1499:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct event_filter *filter @@ got struct event_filter [noderef] __rcu *filter @@
kernel/trace/trace.h:1499:38: sparse: expected struct event_filter *filter
kernel/trace/trace.h:1499:38: sparse: got struct event_filter [noderef] __rcu *filter
kernel/trace/trace.c:2798:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/trace/trace.c:2798:9: sparse: struct trace_export [noderef] __rcu *
kernel/trace/trace.c:2798:9: sparse: struct trace_export *
kernel/trace/trace.c:2813:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/trace/trace.c:2813:9: sparse: struct trace_export [noderef] __rcu *
kernel/trace/trace.c:2813:9: sparse: struct trace_export *
--
fs/fuse/dev.c:2231:22: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@
fs/fuse/dev.c:2231:22: sparse: expected unsigned int const *__gu_addr
fs/fuse/dev.c:2231:22: sparse: got unsigned int [noderef] [usertype] __user *
>> fs/fuse/dev.c:2231:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
fs/fuse/dev.c:2231:22: sparse: expected void const volatile [noderef] __user *ptr
fs/fuse/dev.c:2231:22: sparse: got unsigned int const *__gu_addr
--
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
--
kernel/events/core.c:578:26: sparse: sparse: function 'perf_pmu_name' with external linkage has definition
kernel/events/core.c:1461:15: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:1461:15: sparse: struct perf_event_context [noderef] __rcu *
kernel/events/core.c:1461:15: sparse: struct perf_event_context *
kernel/events/core.c:1474:28: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:1474:28: sparse: struct perf_event_context [noderef] __rcu *
kernel/events/core.c:1474:28: sparse: struct perf_event_context *
kernel/events/core.c:3372:18: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:3372:18: sparse: struct perf_event_context [noderef] __rcu *
kernel/events/core.c:3372:18: sparse: struct perf_event_context *
kernel/events/core.c:3373:23: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:3373:23: sparse: struct perf_event_context [noderef] __rcu *
kernel/events/core.c:3373:23: sparse: struct perf_event_context *
kernel/events/core.c:3415:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:3415:25: sparse: struct perf_event_context [noderef] __rcu *
kernel/events/core.c:3415:25: sparse: struct perf_event_context *
kernel/events/core.c:3416:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:3416:25: sparse: struct perf_event_context [noderef] __rcu *
kernel/events/core.c:3416:25: sparse: struct perf_event_context *
kernel/events/core.c:4533:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:4533:25: sparse: struct perf_event_context [noderef] __rcu *
kernel/events/core.c:4533:25: sparse: struct perf_event_context *
kernel/events/core.c:5793:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:5793:9: sparse: struct perf_buffer [noderef] __rcu *
kernel/events/core.c:5793:9: sparse: struct perf_buffer *
kernel/events/core.c:5269:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __poll_t [usertype] events @@ got int @@
kernel/events/core.c:11340:15: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] __user * @@
>> kernel/events/core.c:11340:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
kernel/events/core.c:5499:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:5499:22: sparse: struct perf_buffer [noderef] __rcu *
kernel/events/core.c:5499:22: sparse: struct perf_buffer *
kernel/events/core.c:5635:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:5635:14: sparse: struct perf_buffer [noderef] __rcu *
kernel/events/core.c:5635:14: sparse: struct perf_buffer *
kernel/events/core.c:5668:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:5668:14: sparse: struct perf_buffer [noderef] __rcu *
kernel/events/core.c:5668:14: sparse: struct perf_buffer *
kernel/events/core.c:5725:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:5725:14: sparse: struct perf_buffer [noderef] __rcu *
kernel/events/core.c:5725:14: sparse: struct perf_buffer *
kernel/events/core.c:5811:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:5811:14: sparse: struct perf_buffer [noderef] __rcu *
kernel/events/core.c:5811:14: sparse: struct perf_buffer *
kernel/events/core.c:5824:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:5824:14: sparse: struct perf_buffer [noderef] __rcu *
kernel/events/core.c:5824:14: sparse: struct perf_buffer *
kernel/events/core.c:6506:6: sparse: sparse: symbol 'perf_pmu_snapshot_aux' was not declared. Should it be static?
kernel/events/core.c:7321:23: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:7321:23: sparse: struct perf_event_context [noderef] __rcu *
kernel/events/core.c:7321:23: sparse: struct perf_event_context *
kernel/events/core.c:7412:13: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:7412:13: sparse: struct perf_buffer [noderef] __rcu *
kernel/events/core.c:7412:13: sparse: struct perf_buffer *
kernel/events/core.c:7517:61: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected struct task_struct *p @@ got struct task_struct [noderef] __rcu *real_parent @@
kernel/events/core.c:7517:61: sparse: expected struct task_struct *p
kernel/events/core.c:7517:61: sparse: got struct task_struct [noderef] __rcu *real_parent
kernel/events/core.c:7519:61: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected struct task_struct *p @@ got struct task_struct [noderef] __rcu *real_parent @@
kernel/events/core.c:7519:61: sparse: expected struct task_struct *p
kernel/events/core.c:7519:61: sparse: got struct task_struct [noderef] __rcu *real_parent
kernel/events/core.c:8206:23: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:8206:23: sparse: struct perf_event_context [noderef] __rcu *
kernel/events/core.c:8206:23: sparse: struct perf_event_context *
kernel/events/core.c:9169:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:9169:9: sparse: struct swevent_hlist [noderef] __rcu *
kernel/events/core.c:9169:9: sparse: struct swevent_hlist *
kernel/events/core.c:9208:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:9208:17: sparse: struct swevent_hlist [noderef] __rcu *
kernel/events/core.c:9208:17: sparse: struct swevent_hlist *
kernel/events/core.c:9389:23: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:9389:23: sparse: struct perf_event_context [noderef] __rcu *
kernel/events/core.c:9389:23: sparse: struct perf_event_context *
kernel/events/core.c:10576:1: sparse: sparse: symbol 'dev_attr_nr_addr_filters' was not declared. Should it be static?
kernel/events/core.c:12312:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:12312:9: sparse: struct perf_event_context [noderef] __rcu *
kernel/events/core.c:12312:9: sparse: struct perf_event_context *
kernel/events/core.c:12422:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:12422:17: sparse: struct perf_event_context [noderef] __rcu *
kernel/events/core.c:12422:17: sparse: struct perf_event_context *
kernel/events/core.c:12845:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:12845:17: sparse: struct swevent_hlist [noderef] __rcu *
kernel/events/core.c:12845:17: sparse: struct swevent_hlist *
kernel/events/core.c:162:9: sparse: sparse: context imbalance in 'perf_ctx_lock' - wrong count at exit
kernel/events/core.c:170:17: sparse: sparse: context imbalance in 'perf_ctx_unlock' - unexpected unlock
kernel/events/core.c: note: in included file (through include/linux/rculist.h, include/linux/dcache.h, include/linux/fs.h):
include/linux/rcupdate.h:686:9: sparse: sparse: context imbalance in 'perf_lock_task_context' - different lock contexts for basic block
kernel/events/core.c:1508:17: sparse: sparse: context imbalance in 'perf_pin_task_context' - unexpected unlock
kernel/events/core.c:2800:9: sparse: sparse: context imbalance in '__perf_install_in_context' - wrong count at exit
kernel/events/core.c:4505:17: sparse: sparse: context imbalance in 'find_get_context' - unexpected unlock
kernel/events/core.c: note: in included file:
kernel/events/internal.h:197:46: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *src @@
kernel/events/core.c:9018:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:9018:17: sparse: struct swevent_hlist [noderef] __rcu *
kernel/events/core.c:9018:17: sparse: struct swevent_hlist *
kernel/events/core.c:9038:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:9038:17: sparse: struct swevent_hlist [noderef] __rcu *
kernel/events/core.c:9038:17: sparse: struct swevent_hlist *
kernel/events/core.c:9158:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:9158:16: sparse: struct swevent_hlist [noderef] __rcu *
kernel/events/core.c:9158:16: sparse: struct swevent_hlist *
kernel/events/core.c:9158:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:9158:16: sparse: struct swevent_hlist [noderef] __rcu *
kernel/events/core.c:9158:16: sparse: struct swevent_hlist *
kernel/events/core.c:9158:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/events/core.c:9158:16: sparse: struct swevent_hlist [noderef] __rcu *
kernel/events/core.c:9158:16: sparse: struct swevent_hlist *
vim +484 arch/sh/kernel/signal_32.c
9f23e7e94f7083 arch/sh/kernel/signal.c Paul Mundt 2006-09-27 446
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 447 /*
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 448 * Note that 'init' is a special process: it doesn't get signals it doesn't
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 449 * want to handle. Thus you cannot kill init even with a SIGKILL even by
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 450 * mistake.
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 451 *
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 452 * Note that we go through the signals twice: once to check the signals that
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 453 * the kernel can handle, and then we build all the user-level signal handling
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 454 * stack-frames in one go after that.
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 455 */
9f23e7e94f7083 arch/sh/kernel/signal.c Paul Mundt 2006-09-27 456 static void do_signal(struct pt_regs *regs, unsigned int save_r0)
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 457 {
b46e848768acc4 arch/sh/kernel/signal_32.c Richard Weinberger 2013-10-07 458 struct ksignal ksig;
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 459
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 460 /*
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 461 * We want the common case to go fast, which
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 462 * is why we may in certain cases get here from
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 463 * kernel mode. Just return without doing anything
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 464 * if so.
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 465 */
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 466 if (!user_mode(regs))
9f23e7e94f7083 arch/sh/kernel/signal.c Paul Mundt 2006-09-27 467 return;
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 468
b46e848768acc4 arch/sh/kernel/signal_32.c Richard Weinberger 2013-10-07 469 if (get_signal(&ksig)) {
b46e848768acc4 arch/sh/kernel/signal_32.c Richard Weinberger 2013-10-07 470 handle_syscall_restart(save_r0, regs, &ksig.ka.sa);
f8b890ab4ca60c arch/sh/kernel/signal_32.c Paul Mundt 2008-09-12 471
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 472 /* Whee! Actually deliver the signal. */
b46e848768acc4 arch/sh/kernel/signal_32.c Richard Weinberger 2013-10-07 473 handle_signal(&ksig, regs, save_r0);
c8bfa1fdc84af7 arch/sh/kernel/signal.c Ryusuke Sakato 2007-02-23 474 return;
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 475 }
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 476
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 477 /* Did we come from a system call? */
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 478 if (regs->tra >= 0) {
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 479 /* Restart the system call - no handlers present */
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 480 if (regs->regs[0] == -ERESTARTNOHAND ||
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 481 regs->regs[0] == -ERESTARTSYS ||
0b8929354cdedd arch/sh/kernel/signal.c Paul Mundt 2006-09-27 482 regs->regs[0] == -ERESTARTNOINTR) {
0b8929354cdedd arch/sh/kernel/signal.c Paul Mundt 2006-09-27 483 regs->regs[0] = save_r0;
9d56dd3b083a3b arch/sh/kernel/signal_32.c Paul Mundt 2010-01-26 @484 regs->pc -= instruction_size(__raw_readw(regs->pc - 4));
0b8929354cdedd arch/sh/kernel/signal.c Paul Mundt 2006-09-27 485 } else if (regs->regs[0] == -ERESTART_RESTARTBLOCK) {
9d56dd3b083a3b arch/sh/kernel/signal_32.c Paul Mundt 2010-01-26 486 regs->pc -= instruction_size(__raw_readw(regs->pc - 4));
0b8929354cdedd arch/sh/kernel/signal.c Paul Mundt 2006-09-27 487 regs->regs[3] = __NR_restart_syscall;
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 488 }
^1da177e4c3f41 arch/sh/kernel/signal.c Linus Torvalds 2005-04-16 489 }
9f23e7e94f7083 arch/sh/kernel/signal.c Paul Mundt 2006-09-27 490
56bfc42f6cba3e arch/sh/kernel/signal_32.c Paul Mundt 2009-10-14 491 /*
56bfc42f6cba3e arch/sh/kernel/signal_32.c Paul Mundt 2009-10-14 492 * If there's no signal to deliver, we just put the saved sigmask
56bfc42f6cba3e arch/sh/kernel/signal_32.c Paul Mundt 2009-10-14 493 * back.
56bfc42f6cba3e arch/sh/kernel/signal_32.c Paul Mundt 2009-10-14 494 */
51a7b448d4134e arch/sh/kernel/signal_32.c Al Viro 2012-05-21 495 restore_saved_sigmask();
9f23e7e94f7083 arch/sh/kernel/signal.c Paul Mundt 2006-09-27 496 }
9f23e7e94f7083 arch/sh/kernel/signal.c Paul Mundt 2006-09-27 497
:::::: The code at line 484 was first introduced by commit
:::::: 9d56dd3b083a3bec56e9da35ce07baca81030b03 sh: Mass ctrl_in/outX to __raw_read/writeX conversion.
:::::: TO: Paul Mundt <lethal(a)linux-sh.org>
:::::: CC: Paul Mundt <lethal(a)linux-sh.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months