* fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
@ 2023-12-04 13:07 kernel test robot
0 siblings, 0 replies; 8+ messages in thread
From: kernel test robot @ 2023-12-04 13:07 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "low confidence static check warning: fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: David Howells <dhowells@redhat.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 33cc938e65a98f1d29d0a18403dbbee050dcad9a
commit: ad25f5cb39872ca14bcbe00816ae65c22fe04b89 rxrpc: Fix locking issue
date: 1 year, 6 months ago
:::::: branch date: 26 hours ago
:::::: commit date: 1 year, 6 months ago
config: x86_64-alldefconfig (https://download.01.org/0day-ci/archive/20231204/202312042001.BCQ3DIjR-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231204/202312042001.BCQ3DIjR-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@intel.com>
| Closes: https://lore.kernel.org/r/202312042001.BCQ3DIjR-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
fs/seq_file.c:938:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
>> fs/seq_file.c:938:9: sparse: struct list_head *
fs/seq_file.c:938:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
>> fs/seq_file.c:938:9: sparse: struct list_head *
>> fs/seq_file.c:960:12: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct list_head *lh @@ got struct list_head [noderef] __rcu * @@
fs/seq_file.c:960:12: sparse: expected struct list_head *lh
fs/seq_file.c:960:12: sparse: got struct list_head [noderef] __rcu *
fs/seq_file.c:1087:24: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/seq_file.c:1087:24: sparse: struct hlist_node [noderef] __rcu *
fs/seq_file.c:1087:24: sparse: struct hlist_node *
fs/seq_file.c:1089:24: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/seq_file.c:1089:24: sparse: struct hlist_node [noderef] __rcu *
fs/seq_file.c:1089:24: sparse: struct hlist_node *
vim +938 fs/seq_file.c
66655de6d132b7 Li Zefan 2010-02-08 933
ad25f5cb39872c David Howells 2022-05-21 934 struct list_head *seq_list_start_rcu(struct list_head *head, loff_t pos)
ad25f5cb39872c David Howells 2022-05-21 935 {
ad25f5cb39872c David Howells 2022-05-21 936 struct list_head *lh;
ad25f5cb39872c David Howells 2022-05-21 937
ad25f5cb39872c David Howells 2022-05-21 @938 list_for_each_rcu(lh, head)
ad25f5cb39872c David Howells 2022-05-21 939 if (pos-- == 0)
ad25f5cb39872c David Howells 2022-05-21 940 return lh;
ad25f5cb39872c David Howells 2022-05-21 941
ad25f5cb39872c David Howells 2022-05-21 942 return NULL;
ad25f5cb39872c David Howells 2022-05-21 943 }
ad25f5cb39872c David Howells 2022-05-21 944 EXPORT_SYMBOL(seq_list_start_rcu);
ad25f5cb39872c David Howells 2022-05-21 945
ad25f5cb39872c David Howells 2022-05-21 946 struct list_head *seq_list_start_head_rcu(struct list_head *head, loff_t pos)
ad25f5cb39872c David Howells 2022-05-21 947 {
ad25f5cb39872c David Howells 2022-05-21 948 if (!pos)
ad25f5cb39872c David Howells 2022-05-21 949 return head;
ad25f5cb39872c David Howells 2022-05-21 950
ad25f5cb39872c David Howells 2022-05-21 951 return seq_list_start_rcu(head, pos - 1);
ad25f5cb39872c David Howells 2022-05-21 952 }
ad25f5cb39872c David Howells 2022-05-21 953 EXPORT_SYMBOL(seq_list_start_head_rcu);
ad25f5cb39872c David Howells 2022-05-21 954
ad25f5cb39872c David Howells 2022-05-21 955 struct list_head *seq_list_next_rcu(void *v, struct list_head *head,
ad25f5cb39872c David Howells 2022-05-21 956 loff_t *ppos)
ad25f5cb39872c David Howells 2022-05-21 957 {
ad25f5cb39872c David Howells 2022-05-21 958 struct list_head *lh;
ad25f5cb39872c David Howells 2022-05-21 959
ad25f5cb39872c David Howells 2022-05-21 @960 lh = list_next_rcu((struct list_head *)v);
ad25f5cb39872c David Howells 2022-05-21 961 ++*ppos;
ad25f5cb39872c David Howells 2022-05-21 962 return lh == head ? NULL : lh;
ad25f5cb39872c David Howells 2022-05-21 963 }
ad25f5cb39872c David Howells 2022-05-21 964 EXPORT_SYMBOL(seq_list_next_rcu);
ad25f5cb39872c David Howells 2022-05-21 965
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 8+ messages in thread* fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
@ 2023-12-08 19:51 kernel test robot
0 siblings, 0 replies; 8+ messages in thread
From: kernel test robot @ 2023-12-08 19:51 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "low confidence static check warning: fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: David Howells <dhowells@redhat.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4df7c5fde316820286dfa6d203a1005d7fbe007d
commit: ad25f5cb39872ca14bcbe00816ae65c22fe04b89 rxrpc: Fix locking issue
date: 1 year, 7 months ago
:::::: branch date: 3 hours ago
:::::: commit date: 1 year, 7 months ago
config: x86_64-alldefconfig (https://download.01.org/0day-ci/archive/20231209/202312090332.zHaDRvAI-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231209/202312090332.zHaDRvAI-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@intel.com>
| Closes: https://lore.kernel.org/r/202312090332.zHaDRvAI-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
fs/seq_file.c:938:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
>> fs/seq_file.c:938:9: sparse: struct list_head *
fs/seq_file.c:938:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
>> fs/seq_file.c:938:9: sparse: struct list_head *
>> fs/seq_file.c:960:12: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct list_head *lh @@ got struct list_head [noderef] __rcu * @@
fs/seq_file.c:960:12: sparse: expected struct list_head *lh
fs/seq_file.c:960:12: sparse: got struct list_head [noderef] __rcu *
fs/seq_file.c:1087:24: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/seq_file.c:1087:24: sparse: struct hlist_node [noderef] __rcu *
fs/seq_file.c:1087:24: sparse: struct hlist_node *
fs/seq_file.c:1089:24: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/seq_file.c:1089:24: sparse: struct hlist_node [noderef] __rcu *
fs/seq_file.c:1089:24: sparse: struct hlist_node *
vim +938 fs/seq_file.c
66655de6d132b7 Li Zefan 2010-02-08 933
ad25f5cb39872c David Howells 2022-05-21 934 struct list_head *seq_list_start_rcu(struct list_head *head, loff_t pos)
ad25f5cb39872c David Howells 2022-05-21 935 {
ad25f5cb39872c David Howells 2022-05-21 936 struct list_head *lh;
ad25f5cb39872c David Howells 2022-05-21 937
ad25f5cb39872c David Howells 2022-05-21 @938 list_for_each_rcu(lh, head)
ad25f5cb39872c David Howells 2022-05-21 939 if (pos-- == 0)
ad25f5cb39872c David Howells 2022-05-21 940 return lh;
ad25f5cb39872c David Howells 2022-05-21 941
ad25f5cb39872c David Howells 2022-05-21 942 return NULL;
ad25f5cb39872c David Howells 2022-05-21 943 }
ad25f5cb39872c David Howells 2022-05-21 944 EXPORT_SYMBOL(seq_list_start_rcu);
ad25f5cb39872c David Howells 2022-05-21 945
ad25f5cb39872c David Howells 2022-05-21 946 struct list_head *seq_list_start_head_rcu(struct list_head *head, loff_t pos)
ad25f5cb39872c David Howells 2022-05-21 947 {
ad25f5cb39872c David Howells 2022-05-21 948 if (!pos)
ad25f5cb39872c David Howells 2022-05-21 949 return head;
ad25f5cb39872c David Howells 2022-05-21 950
ad25f5cb39872c David Howells 2022-05-21 951 return seq_list_start_rcu(head, pos - 1);
ad25f5cb39872c David Howells 2022-05-21 952 }
ad25f5cb39872c David Howells 2022-05-21 953 EXPORT_SYMBOL(seq_list_start_head_rcu);
ad25f5cb39872c David Howells 2022-05-21 954
ad25f5cb39872c David Howells 2022-05-21 955 struct list_head *seq_list_next_rcu(void *v, struct list_head *head,
ad25f5cb39872c David Howells 2022-05-21 956 loff_t *ppos)
ad25f5cb39872c David Howells 2022-05-21 957 {
ad25f5cb39872c David Howells 2022-05-21 958 struct list_head *lh;
ad25f5cb39872c David Howells 2022-05-21 959
ad25f5cb39872c David Howells 2022-05-21 @960 lh = list_next_rcu((struct list_head *)v);
ad25f5cb39872c David Howells 2022-05-21 961 ++*ppos;
ad25f5cb39872c David Howells 2022-05-21 962 return lh == head ? NULL : lh;
ad25f5cb39872c David Howells 2022-05-21 963 }
ad25f5cb39872c David Howells 2022-05-21 964 EXPORT_SYMBOL(seq_list_next_rcu);
ad25f5cb39872c David Howells 2022-05-21 965
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 8+ messages in thread* fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
@ 2023-12-07 20:22 kernel test robot
0 siblings, 0 replies; 8+ messages in thread
From: kernel test robot @ 2023-12-07 20:22 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "low confidence static check warning: fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: David Howells <dhowells@redhat.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: bee0e7762ad2c6025b9f5245c040fcc36ef2bde8
commit: ad25f5cb39872ca14bcbe00816ae65c22fe04b89 rxrpc: Fix locking issue
date: 1 year, 7 months ago
:::::: branch date: 3 days ago
:::::: commit date: 1 year, 7 months ago
config: x86_64-alldefconfig (https://download.01.org/0day-ci/archive/20231208/202312080406.BXoED6g7-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231208/202312080406.BXoED6g7-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@intel.com>
| Closes: https://lore.kernel.org/r/202312080406.BXoED6g7-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
fs/seq_file.c:938:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
>> fs/seq_file.c:938:9: sparse: struct list_head *
fs/seq_file.c:938:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
>> fs/seq_file.c:938:9: sparse: struct list_head *
>> fs/seq_file.c:960:12: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct list_head *lh @@ got struct list_head [noderef] __rcu * @@
fs/seq_file.c:960:12: sparse: expected struct list_head *lh
fs/seq_file.c:960:12: sparse: got struct list_head [noderef] __rcu *
fs/seq_file.c:1087:24: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/seq_file.c:1087:24: sparse: struct hlist_node [noderef] __rcu *
fs/seq_file.c:1087:24: sparse: struct hlist_node *
fs/seq_file.c:1089:24: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/seq_file.c:1089:24: sparse: struct hlist_node [noderef] __rcu *
fs/seq_file.c:1089:24: sparse: struct hlist_node *
vim +938 fs/seq_file.c
66655de6d132b7 Li Zefan 2010-02-08 933
ad25f5cb39872c David Howells 2022-05-21 934 struct list_head *seq_list_start_rcu(struct list_head *head, loff_t pos)
ad25f5cb39872c David Howells 2022-05-21 935 {
ad25f5cb39872c David Howells 2022-05-21 936 struct list_head *lh;
ad25f5cb39872c David Howells 2022-05-21 937
ad25f5cb39872c David Howells 2022-05-21 @938 list_for_each_rcu(lh, head)
ad25f5cb39872c David Howells 2022-05-21 939 if (pos-- == 0)
ad25f5cb39872c David Howells 2022-05-21 940 return lh;
ad25f5cb39872c David Howells 2022-05-21 941
ad25f5cb39872c David Howells 2022-05-21 942 return NULL;
ad25f5cb39872c David Howells 2022-05-21 943 }
ad25f5cb39872c David Howells 2022-05-21 944 EXPORT_SYMBOL(seq_list_start_rcu);
ad25f5cb39872c David Howells 2022-05-21 945
ad25f5cb39872c David Howells 2022-05-21 946 struct list_head *seq_list_start_head_rcu(struct list_head *head, loff_t pos)
ad25f5cb39872c David Howells 2022-05-21 947 {
ad25f5cb39872c David Howells 2022-05-21 948 if (!pos)
ad25f5cb39872c David Howells 2022-05-21 949 return head;
ad25f5cb39872c David Howells 2022-05-21 950
ad25f5cb39872c David Howells 2022-05-21 951 return seq_list_start_rcu(head, pos - 1);
ad25f5cb39872c David Howells 2022-05-21 952 }
ad25f5cb39872c David Howells 2022-05-21 953 EXPORT_SYMBOL(seq_list_start_head_rcu);
ad25f5cb39872c David Howells 2022-05-21 954
ad25f5cb39872c David Howells 2022-05-21 955 struct list_head *seq_list_next_rcu(void *v, struct list_head *head,
ad25f5cb39872c David Howells 2022-05-21 956 loff_t *ppos)
ad25f5cb39872c David Howells 2022-05-21 957 {
ad25f5cb39872c David Howells 2022-05-21 958 struct list_head *lh;
ad25f5cb39872c David Howells 2022-05-21 959
ad25f5cb39872c David Howells 2022-05-21 @960 lh = list_next_rcu((struct list_head *)v);
ad25f5cb39872c David Howells 2022-05-21 961 ++*ppos;
ad25f5cb39872c David Howells 2022-05-21 962 return lh == head ? NULL : lh;
ad25f5cb39872c David Howells 2022-05-21 963 }
ad25f5cb39872c David Howells 2022-05-21 964 EXPORT_SYMBOL(seq_list_next_rcu);
ad25f5cb39872c David Howells 2022-05-21 965
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 8+ messages in thread* fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
@ 2023-12-06 23:30 kernel test robot
0 siblings, 0 replies; 8+ messages in thread
From: kernel test robot @ 2023-12-06 23:30 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "low confidence static check warning: fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: David Howells <dhowells@redhat.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: bee0e7762ad2c6025b9f5245c040fcc36ef2bde8
commit: ad25f5cb39872ca14bcbe00816ae65c22fe04b89 rxrpc: Fix locking issue
date: 1 year, 7 months ago
:::::: branch date: 2 days ago
:::::: commit date: 1 year, 7 months ago
config: x86_64-alldefconfig (https://download.01.org/0day-ci/archive/20231207/202312070719.zq1vomKj-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231207/202312070719.zq1vomKj-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@intel.com>
| Closes: https://lore.kernel.org/r/202312070719.zq1vomKj-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
fs/seq_file.c:938:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
>> fs/seq_file.c:938:9: sparse: struct list_head *
fs/seq_file.c:938:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
>> fs/seq_file.c:938:9: sparse: struct list_head *
>> fs/seq_file.c:960:12: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct list_head *lh @@ got struct list_head [noderef] __rcu * @@
fs/seq_file.c:960:12: sparse: expected struct list_head *lh
fs/seq_file.c:960:12: sparse: got struct list_head [noderef] __rcu *
fs/seq_file.c:1087:24: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/seq_file.c:1087:24: sparse: struct hlist_node [noderef] __rcu *
fs/seq_file.c:1087:24: sparse: struct hlist_node *
fs/seq_file.c:1089:24: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/seq_file.c:1089:24: sparse: struct hlist_node [noderef] __rcu *
fs/seq_file.c:1089:24: sparse: struct hlist_node *
vim +938 fs/seq_file.c
66655de6d132b7 Li Zefan 2010-02-08 933
ad25f5cb39872c David Howells 2022-05-21 934 struct list_head *seq_list_start_rcu(struct list_head *head, loff_t pos)
ad25f5cb39872c David Howells 2022-05-21 935 {
ad25f5cb39872c David Howells 2022-05-21 936 struct list_head *lh;
ad25f5cb39872c David Howells 2022-05-21 937
ad25f5cb39872c David Howells 2022-05-21 @938 list_for_each_rcu(lh, head)
ad25f5cb39872c David Howells 2022-05-21 939 if (pos-- == 0)
ad25f5cb39872c David Howells 2022-05-21 940 return lh;
ad25f5cb39872c David Howells 2022-05-21 941
ad25f5cb39872c David Howells 2022-05-21 942 return NULL;
ad25f5cb39872c David Howells 2022-05-21 943 }
ad25f5cb39872c David Howells 2022-05-21 944 EXPORT_SYMBOL(seq_list_start_rcu);
ad25f5cb39872c David Howells 2022-05-21 945
ad25f5cb39872c David Howells 2022-05-21 946 struct list_head *seq_list_start_head_rcu(struct list_head *head, loff_t pos)
ad25f5cb39872c David Howells 2022-05-21 947 {
ad25f5cb39872c David Howells 2022-05-21 948 if (!pos)
ad25f5cb39872c David Howells 2022-05-21 949 return head;
ad25f5cb39872c David Howells 2022-05-21 950
ad25f5cb39872c David Howells 2022-05-21 951 return seq_list_start_rcu(head, pos - 1);
ad25f5cb39872c David Howells 2022-05-21 952 }
ad25f5cb39872c David Howells 2022-05-21 953 EXPORT_SYMBOL(seq_list_start_head_rcu);
ad25f5cb39872c David Howells 2022-05-21 954
ad25f5cb39872c David Howells 2022-05-21 955 struct list_head *seq_list_next_rcu(void *v, struct list_head *head,
ad25f5cb39872c David Howells 2022-05-21 956 loff_t *ppos)
ad25f5cb39872c David Howells 2022-05-21 957 {
ad25f5cb39872c David Howells 2022-05-21 958 struct list_head *lh;
ad25f5cb39872c David Howells 2022-05-21 959
ad25f5cb39872c David Howells 2022-05-21 @960 lh = list_next_rcu((struct list_head *)v);
ad25f5cb39872c David Howells 2022-05-21 961 ++*ppos;
ad25f5cb39872c David Howells 2022-05-21 962 return lh == head ? NULL : lh;
ad25f5cb39872c David Howells 2022-05-21 963 }
ad25f5cb39872c David Howells 2022-05-21 964 EXPORT_SYMBOL(seq_list_next_rcu);
ad25f5cb39872c David Howells 2022-05-21 965
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 8+ messages in thread* fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
@ 2023-12-05 17:34 kernel test robot
0 siblings, 0 replies; 8+ messages in thread
From: kernel test robot @ 2023-12-05 17:34 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "low confidence static check warning: fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: David Howells <dhowells@redhat.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: bee0e7762ad2c6025b9f5245c040fcc36ef2bde8
commit: ad25f5cb39872ca14bcbe00816ae65c22fe04b89 rxrpc: Fix locking issue
date: 1 year, 6 months ago
:::::: branch date: 20 hours ago
:::::: commit date: 1 year, 6 months ago
config: x86_64-alldefconfig (https://download.01.org/0day-ci/archive/20231206/202312060114.AIH2hMlu-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231206/202312060114.AIH2hMlu-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@intel.com>
| Closes: https://lore.kernel.org/r/202312060114.AIH2hMlu-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
fs/seq_file.c:938:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
>> fs/seq_file.c:938:9: sparse: struct list_head *
fs/seq_file.c:938:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
>> fs/seq_file.c:938:9: sparse: struct list_head *
>> fs/seq_file.c:960:12: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct list_head *lh @@ got struct list_head [noderef] __rcu * @@
fs/seq_file.c:960:12: sparse: expected struct list_head *lh
fs/seq_file.c:960:12: sparse: got struct list_head [noderef] __rcu *
fs/seq_file.c:1087:24: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/seq_file.c:1087:24: sparse: struct hlist_node [noderef] __rcu *
fs/seq_file.c:1087:24: sparse: struct hlist_node *
fs/seq_file.c:1089:24: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/seq_file.c:1089:24: sparse: struct hlist_node [noderef] __rcu *
fs/seq_file.c:1089:24: sparse: struct hlist_node *
vim +938 fs/seq_file.c
66655de6d132b7 Li Zefan 2010-02-08 933
ad25f5cb39872c David Howells 2022-05-21 934 struct list_head *seq_list_start_rcu(struct list_head *head, loff_t pos)
ad25f5cb39872c David Howells 2022-05-21 935 {
ad25f5cb39872c David Howells 2022-05-21 936 struct list_head *lh;
ad25f5cb39872c David Howells 2022-05-21 937
ad25f5cb39872c David Howells 2022-05-21 @938 list_for_each_rcu(lh, head)
ad25f5cb39872c David Howells 2022-05-21 939 if (pos-- == 0)
ad25f5cb39872c David Howells 2022-05-21 940 return lh;
ad25f5cb39872c David Howells 2022-05-21 941
ad25f5cb39872c David Howells 2022-05-21 942 return NULL;
ad25f5cb39872c David Howells 2022-05-21 943 }
ad25f5cb39872c David Howells 2022-05-21 944 EXPORT_SYMBOL(seq_list_start_rcu);
ad25f5cb39872c David Howells 2022-05-21 945
ad25f5cb39872c David Howells 2022-05-21 946 struct list_head *seq_list_start_head_rcu(struct list_head *head, loff_t pos)
ad25f5cb39872c David Howells 2022-05-21 947 {
ad25f5cb39872c David Howells 2022-05-21 948 if (!pos)
ad25f5cb39872c David Howells 2022-05-21 949 return head;
ad25f5cb39872c David Howells 2022-05-21 950
ad25f5cb39872c David Howells 2022-05-21 951 return seq_list_start_rcu(head, pos - 1);
ad25f5cb39872c David Howells 2022-05-21 952 }
ad25f5cb39872c David Howells 2022-05-21 953 EXPORT_SYMBOL(seq_list_start_head_rcu);
ad25f5cb39872c David Howells 2022-05-21 954
ad25f5cb39872c David Howells 2022-05-21 955 struct list_head *seq_list_next_rcu(void *v, struct list_head *head,
ad25f5cb39872c David Howells 2022-05-21 956 loff_t *ppos)
ad25f5cb39872c David Howells 2022-05-21 957 {
ad25f5cb39872c David Howells 2022-05-21 958 struct list_head *lh;
ad25f5cb39872c David Howells 2022-05-21 959
ad25f5cb39872c David Howells 2022-05-21 @960 lh = list_next_rcu((struct list_head *)v);
ad25f5cb39872c David Howells 2022-05-21 961 ++*ppos;
ad25f5cb39872c David Howells 2022-05-21 962 return lh == head ? NULL : lh;
ad25f5cb39872c David Howells 2022-05-21 963 }
ad25f5cb39872c David Howells 2022-05-21 964 EXPORT_SYMBOL(seq_list_next_rcu);
ad25f5cb39872c David Howells 2022-05-21 965
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 8+ messages in thread* fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
@ 2023-12-05 8:23 kernel test robot
0 siblings, 0 replies; 8+ messages in thread
From: kernel test robot @ 2023-12-05 8:23 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "low confidence static check warning: fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: David Howells <dhowells@redhat.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: bee0e7762ad2c6025b9f5245c040fcc36ef2bde8
commit: ad25f5cb39872ca14bcbe00816ae65c22fe04b89 rxrpc: Fix locking issue
date: 1 year, 6 months ago
:::::: branch date: 10 hours ago
:::::: commit date: 1 year, 6 months ago
config: x86_64-alldefconfig (https://download.01.org/0day-ci/archive/20231205/202312051609.4hSPnHrH-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231205/202312051609.4hSPnHrH-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@intel.com>
| Closes: https://lore.kernel.org/r/202312051609.4hSPnHrH-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
fs/seq_file.c:938:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
>> fs/seq_file.c:938:9: sparse: struct list_head *
fs/seq_file.c:938:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
>> fs/seq_file.c:938:9: sparse: struct list_head *
>> fs/seq_file.c:960:12: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct list_head *lh @@ got struct list_head [noderef] __rcu * @@
fs/seq_file.c:960:12: sparse: expected struct list_head *lh
fs/seq_file.c:960:12: sparse: got struct list_head [noderef] __rcu *
fs/seq_file.c:1087:24: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/seq_file.c:1087:24: sparse: struct hlist_node [noderef] __rcu *
fs/seq_file.c:1087:24: sparse: struct hlist_node *
fs/seq_file.c:1089:24: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/seq_file.c:1089:24: sparse: struct hlist_node [noderef] __rcu *
fs/seq_file.c:1089:24: sparse: struct hlist_node *
vim +938 fs/seq_file.c
66655de6d132b7 Li Zefan 2010-02-08 933
ad25f5cb39872c David Howells 2022-05-21 934 struct list_head *seq_list_start_rcu(struct list_head *head, loff_t pos)
ad25f5cb39872c David Howells 2022-05-21 935 {
ad25f5cb39872c David Howells 2022-05-21 936 struct list_head *lh;
ad25f5cb39872c David Howells 2022-05-21 937
ad25f5cb39872c David Howells 2022-05-21 @938 list_for_each_rcu(lh, head)
ad25f5cb39872c David Howells 2022-05-21 939 if (pos-- == 0)
ad25f5cb39872c David Howells 2022-05-21 940 return lh;
ad25f5cb39872c David Howells 2022-05-21 941
ad25f5cb39872c David Howells 2022-05-21 942 return NULL;
ad25f5cb39872c David Howells 2022-05-21 943 }
ad25f5cb39872c David Howells 2022-05-21 944 EXPORT_SYMBOL(seq_list_start_rcu);
ad25f5cb39872c David Howells 2022-05-21 945
ad25f5cb39872c David Howells 2022-05-21 946 struct list_head *seq_list_start_head_rcu(struct list_head *head, loff_t pos)
ad25f5cb39872c David Howells 2022-05-21 947 {
ad25f5cb39872c David Howells 2022-05-21 948 if (!pos)
ad25f5cb39872c David Howells 2022-05-21 949 return head;
ad25f5cb39872c David Howells 2022-05-21 950
ad25f5cb39872c David Howells 2022-05-21 951 return seq_list_start_rcu(head, pos - 1);
ad25f5cb39872c David Howells 2022-05-21 952 }
ad25f5cb39872c David Howells 2022-05-21 953 EXPORT_SYMBOL(seq_list_start_head_rcu);
ad25f5cb39872c David Howells 2022-05-21 954
ad25f5cb39872c David Howells 2022-05-21 955 struct list_head *seq_list_next_rcu(void *v, struct list_head *head,
ad25f5cb39872c David Howells 2022-05-21 956 loff_t *ppos)
ad25f5cb39872c David Howells 2022-05-21 957 {
ad25f5cb39872c David Howells 2022-05-21 958 struct list_head *lh;
ad25f5cb39872c David Howells 2022-05-21 959
ad25f5cb39872c David Howells 2022-05-21 @960 lh = list_next_rcu((struct list_head *)v);
ad25f5cb39872c David Howells 2022-05-21 961 ++*ppos;
ad25f5cb39872c David Howells 2022-05-21 962 return lh == head ? NULL : lh;
ad25f5cb39872c David Howells 2022-05-21 963 }
ad25f5cb39872c David Howells 2022-05-21 964 EXPORT_SYMBOL(seq_list_next_rcu);
ad25f5cb39872c David Howells 2022-05-21 965
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 8+ messages in thread* fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
@ 2023-12-04 14:12 kernel test robot
0 siblings, 0 replies; 8+ messages in thread
From: kernel test robot @ 2023-12-04 14:12 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "low confidence static check warning: fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: David Howells <dhowells@redhat.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 33cc938e65a98f1d29d0a18403dbbee050dcad9a
commit: ad25f5cb39872ca14bcbe00816ae65c22fe04b89 rxrpc: Fix locking issue
date: 1 year, 6 months ago
:::::: branch date: 28 hours ago
:::::: commit date: 1 year, 6 months ago
config: x86_64-alldefconfig (https://download.01.org/0day-ci/archive/20231204/202312042111.eOq2l0Aa-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231204/202312042111.eOq2l0Aa-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@intel.com>
| Closes: https://lore.kernel.org/r/202312042111.eOq2l0Aa-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
fs/seq_file.c:938:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
>> fs/seq_file.c:938:9: sparse: struct list_head *
fs/seq_file.c:938:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
>> fs/seq_file.c:938:9: sparse: struct list_head *
>> fs/seq_file.c:960:12: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct list_head *lh @@ got struct list_head [noderef] __rcu * @@
fs/seq_file.c:960:12: sparse: expected struct list_head *lh
fs/seq_file.c:960:12: sparse: got struct list_head [noderef] __rcu *
fs/seq_file.c:1087:24: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/seq_file.c:1087:24: sparse: struct hlist_node [noderef] __rcu *
fs/seq_file.c:1087:24: sparse: struct hlist_node *
fs/seq_file.c:1089:24: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/seq_file.c:1089:24: sparse: struct hlist_node [noderef] __rcu *
fs/seq_file.c:1089:24: sparse: struct hlist_node *
vim +938 fs/seq_file.c
66655de6d132b7 Li Zefan 2010-02-08 933
ad25f5cb39872c David Howells 2022-05-21 934 struct list_head *seq_list_start_rcu(struct list_head *head, loff_t pos)
ad25f5cb39872c David Howells 2022-05-21 935 {
ad25f5cb39872c David Howells 2022-05-21 936 struct list_head *lh;
ad25f5cb39872c David Howells 2022-05-21 937
ad25f5cb39872c David Howells 2022-05-21 @938 list_for_each_rcu(lh, head)
ad25f5cb39872c David Howells 2022-05-21 939 if (pos-- == 0)
ad25f5cb39872c David Howells 2022-05-21 940 return lh;
ad25f5cb39872c David Howells 2022-05-21 941
ad25f5cb39872c David Howells 2022-05-21 942 return NULL;
ad25f5cb39872c David Howells 2022-05-21 943 }
ad25f5cb39872c David Howells 2022-05-21 944 EXPORT_SYMBOL(seq_list_start_rcu);
ad25f5cb39872c David Howells 2022-05-21 945
ad25f5cb39872c David Howells 2022-05-21 946 struct list_head *seq_list_start_head_rcu(struct list_head *head, loff_t pos)
ad25f5cb39872c David Howells 2022-05-21 947 {
ad25f5cb39872c David Howells 2022-05-21 948 if (!pos)
ad25f5cb39872c David Howells 2022-05-21 949 return head;
ad25f5cb39872c David Howells 2022-05-21 950
ad25f5cb39872c David Howells 2022-05-21 951 return seq_list_start_rcu(head, pos - 1);
ad25f5cb39872c David Howells 2022-05-21 952 }
ad25f5cb39872c David Howells 2022-05-21 953 EXPORT_SYMBOL(seq_list_start_head_rcu);
ad25f5cb39872c David Howells 2022-05-21 954
ad25f5cb39872c David Howells 2022-05-21 955 struct list_head *seq_list_next_rcu(void *v, struct list_head *head,
ad25f5cb39872c David Howells 2022-05-21 956 loff_t *ppos)
ad25f5cb39872c David Howells 2022-05-21 957 {
ad25f5cb39872c David Howells 2022-05-21 958 struct list_head *lh;
ad25f5cb39872c David Howells 2022-05-21 959
ad25f5cb39872c David Howells 2022-05-21 @960 lh = list_next_rcu((struct list_head *)v);
ad25f5cb39872c David Howells 2022-05-21 961 ++*ppos;
ad25f5cb39872c David Howells 2022-05-21 962 return lh == head ? NULL : lh;
ad25f5cb39872c David Howells 2022-05-21 963 }
ad25f5cb39872c David Howells 2022-05-21 964 EXPORT_SYMBOL(seq_list_next_rcu);
ad25f5cb39872c David Howells 2022-05-21 965
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 8+ messages in thread* fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
@ 2023-12-04 11:02 kernel test robot
0 siblings, 0 replies; 8+ messages in thread
From: kernel test robot @ 2023-12-04 11:02 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "low confidence static check warning: fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: David Howells <dhowells@redhat.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 33cc938e65a98f1d29d0a18403dbbee050dcad9a
commit: ad25f5cb39872ca14bcbe00816ae65c22fe04b89 rxrpc: Fix locking issue
date: 1 year, 6 months ago
:::::: branch date: 25 hours ago
:::::: commit date: 1 year, 6 months ago
config: x86_64-alldefconfig (https://download.01.org/0day-ci/archive/20231204/202312041837.l0rCFWkz-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231204/202312041837.l0rCFWkz-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@intel.com>
| Closes: https://lore.kernel.org/r/202312041837.l0rCFWkz-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
fs/seq_file.c:938:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
>> fs/seq_file.c:938:9: sparse: struct list_head *
fs/seq_file.c:938:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu *
>> fs/seq_file.c:938:9: sparse: struct list_head *
>> fs/seq_file.c:960:12: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct list_head *lh @@ got struct list_head [noderef] __rcu * @@
fs/seq_file.c:960:12: sparse: expected struct list_head *lh
fs/seq_file.c:960:12: sparse: got struct list_head [noderef] __rcu *
fs/seq_file.c:1087:24: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/seq_file.c:1087:24: sparse: struct hlist_node [noderef] __rcu *
fs/seq_file.c:1087:24: sparse: struct hlist_node *
fs/seq_file.c:1089:24: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/seq_file.c:1089:24: sparse: struct hlist_node [noderef] __rcu *
fs/seq_file.c:1089:24: sparse: struct hlist_node *
vim +938 fs/seq_file.c
66655de6d132b7 Li Zefan 2010-02-08 933
ad25f5cb39872c David Howells 2022-05-21 934 struct list_head *seq_list_start_rcu(struct list_head *head, loff_t pos)
ad25f5cb39872c David Howells 2022-05-21 935 {
ad25f5cb39872c David Howells 2022-05-21 936 struct list_head *lh;
ad25f5cb39872c David Howells 2022-05-21 937
ad25f5cb39872c David Howells 2022-05-21 @938 list_for_each_rcu(lh, head)
ad25f5cb39872c David Howells 2022-05-21 939 if (pos-- == 0)
ad25f5cb39872c David Howells 2022-05-21 940 return lh;
ad25f5cb39872c David Howells 2022-05-21 941
ad25f5cb39872c David Howells 2022-05-21 942 return NULL;
ad25f5cb39872c David Howells 2022-05-21 943 }
ad25f5cb39872c David Howells 2022-05-21 944 EXPORT_SYMBOL(seq_list_start_rcu);
ad25f5cb39872c David Howells 2022-05-21 945
ad25f5cb39872c David Howells 2022-05-21 946 struct list_head *seq_list_start_head_rcu(struct list_head *head, loff_t pos)
ad25f5cb39872c David Howells 2022-05-21 947 {
ad25f5cb39872c David Howells 2022-05-21 948 if (!pos)
ad25f5cb39872c David Howells 2022-05-21 949 return head;
ad25f5cb39872c David Howells 2022-05-21 950
ad25f5cb39872c David Howells 2022-05-21 951 return seq_list_start_rcu(head, pos - 1);
ad25f5cb39872c David Howells 2022-05-21 952 }
ad25f5cb39872c David Howells 2022-05-21 953 EXPORT_SYMBOL(seq_list_start_head_rcu);
ad25f5cb39872c David Howells 2022-05-21 954
ad25f5cb39872c David Howells 2022-05-21 955 struct list_head *seq_list_next_rcu(void *v, struct list_head *head,
ad25f5cb39872c David Howells 2022-05-21 956 loff_t *ppos)
ad25f5cb39872c David Howells 2022-05-21 957 {
ad25f5cb39872c David Howells 2022-05-21 958 struct list_head *lh;
ad25f5cb39872c David Howells 2022-05-21 959
ad25f5cb39872c David Howells 2022-05-21 @960 lh = list_next_rcu((struct list_head *)v);
ad25f5cb39872c David Howells 2022-05-21 961 ++*ppos;
ad25f5cb39872c David Howells 2022-05-21 962 return lh == head ? NULL : lh;
ad25f5cb39872c David Howells 2022-05-21 963 }
ad25f5cb39872c David Howells 2022-05-21 964 EXPORT_SYMBOL(seq_list_next_rcu);
ad25f5cb39872c David Howells 2022-05-21 965
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-12-08 19:52 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-04 13:07 fs/seq_file.c:938:9: sparse: struct list_head [noderef] __rcu * kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2023-12-08 19:51 kernel test robot
2023-12-07 20:22 kernel test robot
2023-12-06 23:30 kernel test robot
2023-12-05 17:34 kernel test robot
2023-12-05 8:23 kernel test robot
2023-12-04 14:12 kernel test robot
2023-12-04 11:02 kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.