VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Daniel Thompson <daniel.thompson@linaro.org> 2021-07-30 10:58:56 +0100 committer: Julia Lawall <Julia.Lawall@inria.fr> 2021-08-08 22:00:49 +0200 commit: e71ec0bc06038cdfa18cbd23f5cea71fe4785d35 parent: 9eec0792024983276871baeb201609abb07dd35d
Commit Summary:
scripts: coccinelle: allow list_entry_is_head() to use pos
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/scripts/coccinelle/iterators/use_after_iter.cocci b/scripts/coccinelle/iterators/use_after_iter.cocci
index 9be48b520879..676edd562eef 100644
--- a/scripts/coccinelle/iterators/use_after_iter.cocci
+++ b/scripts/coccinelle/iterators/use_after_iter.cocci
@@ -123,6 +123,8 @@ hlist_for_each_entry_safe(c,...) S
 |
 list_remove_head(x,c,...)
 |
+list_entry_is_head(c,...)
+|
 sizeof(<+...c...+>)
 |
  &c->member