lkml.org 
[lkml]   [2026]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2] scripts/coccinelle: Add script for using ARRAY_END()
From

> ---
> scripts/coccinelle/misc/array_end.cocci | 74 +++++++++++++++++++++++++


Some contributors would appreciate patch version descriptions.
https://lore.kernel.org/all/?q=%22This+looks+like+a+new+version+of+a+previously+submitted+patch%22
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v7.0-rc3#n310


May a subdirectory name be omitted from the subject prefix?
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/log/scripts/coccinelle/



> +// Comments: No known false positives, but has a few false negatives

Would such information motivate for any further software refinements?



> +@script:python depends on org@
> +p << r.p;
> +@@
> +
> +coccilib.org.print_todo(p[0], "WARNING should use ARRAY_END")


I suggest to reuse the message also from the SmPL report rule.

Regards,
Markus

\
 
 \ /
  Last update: 2026-03-09 15:06    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog