lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202411272233.Dh4B5mNx-lkp@intel.com>
Date: Wed, 27 Nov 2024 22:36:49 +0800
From: kernel test robot <lkp@...el.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
	Martin Schwidefsky <schwidefsky@...ibm.com>,
	Heiko Carstens <heiko.carstens@...ibm.com>
Subject: arch/s390/kernel/guarded_storage.c:109:1: sparse: sparse: Using
 plain integer as NULL pointer

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   aaf20f870da056752f6386693cc0d8e25421ef35
commit: aa0d6e70d3b34e710a6a57a53a3096cb2e0ea99f s390: autogenerate compat syscall wrappers
date:   6 years ago
config: s390-randconfig-r133-20241121 (https://download.01.org/0day-ci/archive/20241127/202411272233.Dh4B5mNx-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 14.2.0
reproduce: (https://download.01.org/0day-ci/archive/20241127/202411272233.Dh4B5mNx-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411272233.Dh4B5mNx-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> arch/s390/kernel/guarded_storage.c:109:1: sparse: sparse: Using plain integer as NULL pointer
>> arch/s390/kernel/guarded_storage.c:109:1: sparse: sparse: Using plain integer as NULL pointer
--
>> arch/s390/kernel/sthyi.c:490:1: sparse: sparse: Using plain integer as NULL pointer
>> arch/s390/kernel/sthyi.c:490:1: sparse: sparse: Using plain integer as NULL pointer
>> arch/s390/kernel/sthyi.c:490:1: sparse: sparse: Using plain integer as NULL pointer
>> arch/s390/kernel/sthyi.c:490:1: sparse: sparse: Using plain integer as NULL pointer
--
>> arch/s390/pci/pci_mmio.c:35:1: sparse: sparse: Using plain integer as NULL pointer
>> arch/s390/pci/pci_mmio.c:35:1: sparse: sparse: Using plain integer as NULL pointer
   arch/s390/pci/pci_mmio.c:75:1: sparse: sparse: Using plain integer as NULL pointer
   arch/s390/pci/pci_mmio.c:75:1: sparse: sparse: Using plain integer as NULL pointer
--
   drivers/char/random.c:418:19: sparse: sparse: symbol 'primary_crng' was not declared. Should it be static?
>> drivers/char/random.c:2040:1: sparse: sparse: Using plain integer as NULL pointer
>> drivers/char/random.c:2040:1: sparse: sparse: Using plain integer as NULL pointer
   drivers/char/random.c:2256:9: sparse: sparse: context imbalance in 'get_random_u64' - different lock contexts for basic block
   drivers/char/random.c:2286:9: sparse: sparse: context imbalance in 'get_random_u32' - different lock contexts for basic block
--
   fs/read_write.c:335:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:335:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:481:9: sparse: sparse: symbol '__vfs_write' was not declared. Should it be static?
   fs/read_write.c:586:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:586:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:607:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:607:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:633:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:633:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:659:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:659:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1100:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1100:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1106:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1106:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1112:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1112:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1120:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1120:1: sparse: sparse: Using plain integer as NULL pointer
>> fs/read_write.c:1120:1: sparse: sparse: cast to restricted __kernel_rwf_t
   fs/read_write.c:1132:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1132:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1140:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1140:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1140:1: sparse: sparse: cast to restricted __kernel_rwf_t
   fs/read_write.c:1192:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1192:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1227:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1227:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1245:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1245:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1298:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1298:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1333:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1333:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1351:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1351:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1464:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1464:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1483:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1483:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1501:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1501:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1521:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1521:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1627:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1627:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1627:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:1627:1: sparse: sparse: Using plain integer as NULL pointer
   fs/read_write.c:315:36: sparse: sparse: self-comparison always evaluates to false
--
>> fs/pipe.c:845:1: sparse: sparse: Using plain integer as NULL pointer
>> fs/pipe.c:845:1: sparse: sparse: Using plain integer as NULL pointer
   fs/pipe.c:850:1: sparse: sparse: Using plain integer as NULL pointer
   fs/pipe.c:850:1: sparse: sparse: Using plain integer as NULL pointer
--
>> fs/namei.c:3786:1: sparse: sparse: Using plain integer as NULL pointer
>> fs/namei.c:3786:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:3792:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:3792:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:3848:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:3848:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:3853:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:3853:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:3956:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:3956:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4096:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4096:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4107:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4107:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4164:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4164:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4164:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4164:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4170:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4170:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4170:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4170:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4329:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4329:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4329:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4329:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4335:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4335:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4335:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4335:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4658:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4658:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4658:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4658:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4664:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4664:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4664:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4664:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4670:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4670:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4670:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c:4670:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namei.c: note: in included file (through include/linux/srcu.h, include/linux/notifier.h, include/linux/memory_hotplug.h, ...):
   include/linux/rcupdate.h:660:9: sparse: sparse: context imbalance in 'terminate_walk' - unexpected unlock
   include/linux/rcupdate.h:660:9: sparse: sparse: context imbalance in 'unlazy_walk' - unexpected unlock
   include/linux/rcupdate.h:660:9: sparse: sparse: context imbalance in 'unlazy_child' - unexpected unlock
   include/linux/rcupdate.h:660:9: sparse: sparse: context imbalance in 'pick_link' - unexpected unlock
   fs/namei.c:2172:19: sparse: sparse: context imbalance in 'path_init' - wrong count at exit
--
>> fs/namespace.c:1667:1: sparse: sparse: Using plain integer as NULL pointer
>> fs/namespace.c:1667:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namespace.c:1677:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namespace.c:1677:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namespace.c:1691:22: sparse: sparse: symbol 'to_mnt_ns' was not declared. Should it be static?
   fs/namespace.c:3074:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namespace.c:3074:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namespace.c:3074:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namespace.c:3074:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namespace.c:3074:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namespace.c:3074:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namespace.c:3074:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namespace.c:3074:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namespace.c:3130:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namespace.c:3130:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namespace.c:3130:1: sparse: sparse: Using plain integer as NULL pointer
   fs/namespace.c:3130:1: sparse: sparse: Using plain integer as NULL pointer
--
>> fs/xattr.c:480:1: sparse: sparse: Using plain integer as NULL pointer
>> fs/xattr.c:480:1: sparse: sparse: Using plain integer as NULL pointer
>> fs/xattr.c:480:1: sparse: sparse: Using plain integer as NULL pointer
>> fs/xattr.c:480:1: sparse: sparse: Using plain integer as NULL pointer
>> fs/xattr.c:480:1: sparse: sparse: Using plain integer as NULL pointer
>> fs/xattr.c:480:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:487:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:487:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:487:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:487:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:487:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:487:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:494:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:494:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:494:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:494:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:574:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:574:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:574:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:574:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:574:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:574:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:580:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:580:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:580:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:580:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:580:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:580:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:586:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:586:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:586:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:586:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:650:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:650:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:650:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:650:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:656:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:656:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:656:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:656:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:662:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:662:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:715:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:715:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:715:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:715:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:721:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:721:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:721:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:721:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:727:1: sparse: sparse: Using plain integer as NULL pointer
   fs/xattr.c:727:1: sparse: sparse: Using plain integer as NULL pointer
--
>> fs/d_path.c:424:1: sparse: sparse: Using plain integer as NULL pointer
>> fs/d_path.c:424:1: sparse: sparse: Using plain integer as NULL pointer
   fs/d_path.c:153:9: sparse: sparse: context imbalance in 'prepend_path' - wrong count at exit
   fs/d_path.c:366:23: sparse: sparse: context imbalance in '__dentry_path' - different lock contexts for basic block
--
>> ipc/syscall.c:110:1: sparse: sparse: Using plain integer as NULL pointer
>> ipc/syscall.c:110:1: sparse: sparse: Using plain integer as NULL pointer
--
   kernel/fork.c:1470:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/fork.c:1470:9: sparse:    struct sighand_struct [noderef] __rcu *
   kernel/fork.c:1470:9: sparse:    struct sighand_struct *
>> kernel/fork.c:1599:1: sparse: sparse: Using plain integer as NULL pointer
>> kernel/fork.c:1599:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/fork.c:2024:32: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct task_struct [noderef] __rcu *real_parent @@     got struct task_struct * @@
   kernel/fork.c:2024:32: sparse:     expected struct task_struct [noderef] __rcu *real_parent
   kernel/fork.c:2024:32: sparse:     got struct task_struct *
   kernel/fork.c:2076:54: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected struct list_head *head @@     got struct list_head [noderef] __rcu * @@
   kernel/fork.c:2076:54: sparse:     expected struct list_head *head
   kernel/fork.c:2076:54: sparse:     got struct list_head [noderef] __rcu *
   kernel/fork.c:2317:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/fork.c:2317:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/fork.c:2317:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/fork.c:2317:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/fork.c:2362:24: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct task_struct *[assigned] parent @@     got struct task_struct [noderef] __rcu *real_parent @@
   kernel/fork.c:2362:24: sparse:     expected struct task_struct *[assigned] parent
   kernel/fork.c:2362:24: sparse:     got struct task_struct [noderef] __rcu *real_parent
   kernel/fork.c:1778:27: sparse: sparse: dereference of noderef expression
   kernel/fork.c:1778:27: sparse: sparse: dereference of noderef expression
   kernel/fork.c:1780:22: sparse: sparse: dereference of noderef expression
   kernel/fork.c: note: in included file (through include/linux/ftrace.h, include/linux/perf_event.h, include/linux/trace_events.h, ...):
   include/linux/ptrace.h:211:45: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected struct task_struct *new_parent @@     got struct task_struct [noderef] __rcu *parent @@
   include/linux/ptrace.h:211:45: sparse:     expected struct task_struct *new_parent
   include/linux/ptrace.h:211:45: sparse:     got struct task_struct [noderef] __rcu *parent
   include/linux/ptrace.h:211:62: sparse: sparse: incorrect type in argument 3 (different address spaces) @@     expected struct cred const *ptracer_cred @@     got struct cred const [noderef] __rcu *ptracer_cred @@
   include/linux/ptrace.h:211:62: sparse:     expected struct cred const *ptracer_cred
   include/linux/ptrace.h:211:62: sparse:     got struct cred const [noderef] __rcu *ptracer_cred
   kernel/fork.c:2074:59: sparse: sparse: dereference of noderef expression
   kernel/fork.c:2075:59: sparse: sparse: dereference of noderef expression
   kernel/fork.c:2154:9: sparse: sparse: dereference of noderef expression
   kernel/fork.c:2154:9: sparse: sparse: dereference of noderef expression
--
>> kernel/capability.c:150:1: sparse: sparse: Using plain integer as NULL pointer
>> kernel/capability.c:150:1: sparse: sparse: Using plain integer as NULL pointer
>> kernel/capability.c:150:1: sparse: sparse: Using plain integer as NULL pointer
>> kernel/capability.c:150:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/capability.c:224:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/capability.c:224:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/capability.c:224:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/capability.c:224:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/capability.c:197:43: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const *from @@     got struct __user_cap_data_struct [noderef] __user * @@
   kernel/capability.c:197:43: sparse:     expected void const *from
   kernel/capability.c:197:43: sparse:     got struct __user_cap_data_struct [noderef] __user *
   kernel/capability.c:173:30: sparse: sparse: dereference of noderef expression
   kernel/capability.c:174:30: sparse: sparse: dereference of noderef expression
   kernel/capability.c:175:30: sparse: sparse: dereference of noderef expression
   kernel/capability.c:248:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void *to @@     got struct __user_cap_data_struct [noderef] __user ( * )[2] @@
   kernel/capability.c:248:29: sparse:     expected void *to
   kernel/capability.c:248:29: sparse:     got struct __user_cap_data_struct [noderef] __user ( * )[2]
   kernel/capability.c:252:41: sparse: sparse: dereference of noderef expression
   kernel/capability.c:253:41: sparse: sparse: dereference of noderef expression
   kernel/capability.c:254:43: sparse: sparse: dereference of noderef expression
--
>> kernel/reboot.c:308:1: sparse: sparse: Using plain integer as NULL pointer
>> kernel/reboot.c:308:1: sparse: sparse: Using plain integer as NULL pointer
--
>> kernel/groups.c:153:1: sparse: sparse: Using plain integer as NULL pointer
>> kernel/groups.c:153:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/groups.c:190:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/groups.c:190:1: sparse: sparse: Using plain integer as NULL pointer
--
>> kernel/uid16.c:23:1: sparse: sparse: Using plain integer as NULL pointer
>> kernel/uid16.c:23:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/uid16.c:28:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/uid16.c:28:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/uid16.c:64:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/uid16.c:64:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/uid16.c:64:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/uid16.c:64:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/uid16.c:64:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/uid16.c:64:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/uid16.c:87:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/uid16.c:87:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/uid16.c:87:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/uid16.c:87:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/uid16.c:87:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/uid16.c:87:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/uid16.c:154:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/uid16.c:154:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/uid16.c:177:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/uid16.c:177:1: sparse: sparse: Using plain integer as NULL pointer
--
>> kernel/kexec_file.c:319:1: sparse: sparse: Using plain integer as NULL pointer
>> kernel/kexec_file.c:319:1: sparse: sparse: Using plain integer as NULL pointer
--
>> kernel/rseq.c:308:1: sparse: sparse: Using plain integer as NULL pointer
>> kernel/rseq.c:308:1: sparse: sparse: Using plain integer as NULL pointer
--
>> kernel/bpf/syscall.c:2580:1: sparse: sparse: Using plain integer as NULL pointer
>> kernel/bpf/syscall.c:2580:1: sparse: sparse: Using plain integer as NULL pointer
--
>> mm/mincore.c:156:1: sparse: sparse: Using plain integer as NULL pointer
>> mm/mincore.c:156:1: sparse: sparse: Using plain integer as NULL pointer
--
>> mm/swapfile.c:2510:1: sparse: sparse: Using plain integer as NULL pointer
>> mm/swapfile.c:2510:1: sparse: sparse: Using plain integer as NULL pointer
   mm/swapfile.c:3090:1: sparse: sparse: Using plain integer as NULL pointer
   mm/swapfile.c:3090:1: sparse: sparse: Using plain integer as NULL pointer
   mm/swapfile.c:441:35: sparse: sparse: context imbalance in 'swap_do_scheduled_discard' - different lock contexts for basic block
   mm/swapfile.c:612:23: sparse: sparse: context imbalance in 'scan_swap_map_try_ssd_cluster' - different lock contexts for basic block
   mm/swapfile.c:856:20: sparse: sparse: context imbalance in 'scan_swap_map_slots' - unexpected unlock
   mm/swapfile.c:938:23: sparse: sparse: context imbalance in 'swap_free_cluster' - different lock contexts for basic block
   mm/swapfile.c:1121:9: sparse: sparse: context imbalance in 'swap_info_get' - wrong count at exit
   mm/swapfile.c:1133:36: sparse: sparse: context imbalance in 'swap_info_get_cont' - unexpected unlock
   mm/swapfile.c:337:9: sparse: sparse: context imbalance in '__swap_entry_free' - different lock contexts for basic block
   mm/swapfile.c:1203:23: sparse: sparse: context imbalance in 'swap_entry_free' - different lock contexts for basic block
   mm/swapfile.c:1260:34: sparse: sparse: context imbalance in 'put_swap_page' - different lock contexts for basic block
   mm/swapfile.c:1321:28: sparse: sparse: context imbalance in 'swapcache_free_entries' - unexpected unlock
   mm/swapfile.c:337:9: sparse: sparse: context imbalance in 'page_swapcount' - different lock contexts for basic block
   mm/swapfile.c:337:9: sparse: sparse: context imbalance in 'swap_swapcount' - different lock contexts for basic block
   mm/swapfile.c:337:9: sparse: sparse: context imbalance in 'swp_swapcount' - different lock contexts for basic block
   mm/swapfile.c:337:9: sparse: sparse: context imbalance in 'swap_page_trans_huge_swapped' - different lock contexts for basic block
   mm/swapfile.c:1570:44: sparse: sparse: context imbalance in 'reuse_swap_page' - unexpected unlock
   mm/swapfile.c:337:9: sparse: sparse: context imbalance in '__swap_duplicate' - different lock contexts for basic block
   mm/swapfile.c:3603:23: sparse: sparse: context imbalance in 'add_swap_count_continuation' - unexpected unlock
--
>> mm/memfd.c:247:1: sparse: sparse: Using plain integer as NULL pointer
>> mm/memfd.c:247:1: sparse: sparse: Using plain integer as NULL pointer
--
>> net/socket.c:1455:1: sparse: sparse: Using plain integer as NULL pointer
>> net/socket.c:1455:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1492:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1492:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1622:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1622:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1622:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1622:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1628:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1628:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1628:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1628:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1672:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1672:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1710:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1710:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1710:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1710:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1746:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1746:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1746:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1746:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1796:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1796:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1796:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1796:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1807:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1807:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1859:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1859:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1859:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1859:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1859:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1859:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1870:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1870:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1910:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1910:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1947:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1947:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1947:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:1947:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:2161:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:2161:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:2237:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:2237:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:2334:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:2334:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:2486:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:2486:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:2486:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:2486:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:2497:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:2497:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:2497:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:2497:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:2528:1: sparse: sparse: Using plain integer as NULL pointer
   net/socket.c:2528:1: sparse: sparse: Using plain integer as NULL pointer
--
>> kernel/printk/printk.c:1564:1: sparse: sparse: Using plain integer as NULL pointer
>> kernel/printk/printk.c:1564:1: sparse: sparse: Using plain integer as NULL pointer
   kernel/printk/printk.c:2875:23: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected int [noderef] __percpu *__p @@     got int * @@
   kernel/printk/printk.c:2875:23: sparse:     expected int [noderef] __percpu *__p
   kernel/printk/printk.c:2875:23: sparse:     got int *
   kernel/printk/printk.c:2875:23: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected int [noderef] __percpu *__p @@     got int * @@
   kernel/printk/printk.c:2875:23: sparse:     expected int [noderef] __percpu *__p
   kernel/printk/printk.c:2875:23: sparse:     got int *
   kernel/printk/printk.c:2875:23: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected int [noderef] __percpu *__p @@     got int * @@
   kernel/printk/printk.c:2875:23: sparse:     expected int [noderef] __percpu *__p
   kernel/printk/printk.c:2875:23: sparse:     got int *
   kernel/printk/printk.c:2875:23: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected int [noderef] __percpu *__p @@     got int * @@
   kernel/printk/printk.c:2875:23: sparse:     expected int [noderef] __percpu *__p
   kernel/printk/printk.c:2875:23: sparse:     got int *
   kernel/printk/printk.c:2875:23: sparse: sparse: dereference of noderef expression
   kernel/printk/printk.c:2875:23: sparse: sparse: dereference of noderef expression
   kernel/printk/printk.c:2875:23: sparse: sparse: dereference of noderef expression
   kernel/printk/printk.c:2875:23: sparse: sparse: dereference of noderef expression
   kernel/printk/printk.c:2875:23: sparse: sparse: dereference of noderef expression
   kernel/printk/printk.c:2875:23: sparse: sparse: dereference of noderef expression
   kernel/printk/printk.c:2875:23: sparse: sparse: dereference of noderef expression
   kernel/printk/printk.c:2875:23: sparse: sparse: dereference of noderef expression
--
>> security/keys/keyctl.c:61:1: sparse: sparse: Using plain integer as NULL pointer
>> security/keys/keyctl.c:61:1: sparse: sparse: Using plain integer as NULL pointer
>> security/keys/keyctl.c:61:1: sparse: sparse: Using plain integer as NULL pointer
>> security/keys/keyctl.c:61:1: sparse: sparse: Using plain integer as NULL pointer
>> security/keys/keyctl.c:61:1: sparse: sparse: Using plain integer as NULL pointer
>> security/keys/keyctl.c:61:1: sparse: sparse: Using plain integer as NULL pointer
   security/keys/keyctl.c:157:1: sparse: sparse: Using plain integer as NULL pointer
   security/keys/keyctl.c:157:1: sparse: sparse: Using plain integer as NULL pointer
   security/keys/keyctl.c:157:1: sparse: sparse: Using plain integer as NULL pointer
   security/keys/keyctl.c:157:1: sparse: sparse: Using plain integer as NULL pointer
   security/keys/keyctl.c:157:1: sparse: sparse: Using plain integer as NULL pointer
   security/keys/keyctl.c:157:1: sparse: sparse: Using plain integer as NULL pointer
   security/keys/keyctl.c:1516:31: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct key [noderef] __rcu *session_keyring @@     got struct key * @@
   security/keys/keyctl.c:1516:31: sparse:     expected struct key [noderef] __rcu *session_keyring
   security/keys/keyctl.c:1516:31: sparse:     got struct key *
   security/keys/keyctl.c:1526:16: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct task_struct *parent @@     got struct task_struct [noderef] __rcu *real_parent @@
   security/keys/keyctl.c:1526:16: sparse:     expected struct task_struct *parent
   security/keys/keyctl.c:1526:16: sparse:     got struct task_struct [noderef] __rcu *real_parent
   security/keys/keyctl.c:1558:27: sparse: sparse: dereference of noderef expression
   security/keys/keyctl.c:1558:27: sparse: sparse: dereference of noderef expression
   security/keys/keyctl.c:1559:27: sparse: sparse: dereference of noderef expression
   security/keys/keyctl.c:1559:27: sparse: sparse: dereference of noderef expression
   security/keys/keyctl.c:1754:43: sparse: sparse: incorrect type in argument 3 (different address spaces) @@     expected struct keyctl_pkey_query [noderef] __user * @@     got struct keyctl_pkey_query * @@
   security/keys/keyctl.c:1754:43: sparse:     expected struct keyctl_pkey_query [noderef] __user *
   security/keys/keyctl.c:1754:43: sparse:     got struct keyctl_pkey_query *
--
   fs/notify/inotify/inotify_user.c:544:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected struct fsnotify_mark_connector *conn @@     got struct fsnotify_mark_connector [noderef] __rcu *i_fsnotify_marks @@
   fs/notify/inotify/inotify_user.c:544:51: sparse:     expected struct fsnotify_mark_connector *conn
   fs/notify/inotify/inotify_user.c:544:51: sparse:     got struct fsnotify_mark_connector [noderef] __rcu *i_fsnotify_marks
>> fs/notify/inotify/inotify_user.c:696:1: sparse: sparse: Using plain integer as NULL pointer
>> fs/notify/inotify/inotify_user.c:696:1: sparse: sparse: Using plain integer as NULL pointer
--
>> fs/quota/quota.c:890:1: sparse: sparse: Using plain integer as NULL pointer
>> fs/quota/quota.c:890:1: sparse: sparse: Using plain integer as NULL pointer
>> fs/quota/quota.c:890:1: sparse: sparse: Using plain integer as NULL pointer
>> fs/quota/quota.c:890:1: sparse: sparse: Using plain integer as NULL pointer

vim +109 arch/s390/kernel/guarded_storage.c

916cda1aa1b412 Martin Schwidefsky 2016-01-26  108  
916cda1aa1b412 Martin Schwidefsky 2016-01-26 @109  SYSCALL_DEFINE2(s390_guarded_storage, int, command,

:::::: The code at line 109 was first introduced by commit
:::::: 916cda1aa1b412d7cf2991c3af7479544942d121 s390: add a system call for guarded storage

:::::: TO: Martin Schwidefsky <schwidefsky@...ibm.com>
:::::: CC: Martin Schwidefsky <schwidefsky@...ibm.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ