Re: [PATCH v2] scripts/coccinelle: Add script for using ARRAY_END()

Alejandro Colomar <[email protected]>
Newsgroups org.kernel.vger.kernel-janitors,fr.inria.cocci,org.kernel.vger.linux-kernel
Message-ID <abcsydFAe1S7KR8q@devuan>
Hi Julia,

On 2026-03-15T18:54:32+0100, Julia Lawall wrote:
> > Here are more false negatives that I found manually.  The semantic patch
> > didn't find them.  Does anyone know how we could improve it or why it
> > didn't find them?
> 
> Typically, some things are not found when Coccinelle is not able to parse
> the relevnt code.  You can see this with the --verbose-parsing option.
> BUG indicates the line where the parsing problem was detected and bug
> indicates the other lines that were ignored due to the parse error.

Ahhh, thanks!  It seems there were issues parsing unrelated code, so not
a problem of the semantic patch.  I'll remove the comment about false
negatives and send v3.


> julia

Have a lovely night!
Alex

-- 
<https://www.alejandro-colomar.es>
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEES7Jt9u9GbmlWADAi64mZXMKQwqkFAmm3LRMACgkQ64mZXMKQ
wqksZw/6AmUWEVoAZdvuU4aGOd7QuUuQqPwwo47e42fX1tDVDY5ZrNQT+E2EjB9z
3pSCGFGnooSsUl699VOkDhse34GGiXK6LBea6C6BSc7I+kk0dTf2DpS52FhgTP8L
4FHTRJSLSZx1BvCbechCLCkYmdl70Ag84vp3Y07siinszxcgGe9FN8js7mvZE/yb
U7Nc/q6N8JgATbOfcvjE1H3xnVwHuRO2dvTwCWRhNTNzb/Q0api1+MHJO6A/Jg7X
cET+Gteee6xsOYfZpAf+h2puDRl5JqOpM2vg7dNQYI8k+cl9FZkUGhd6ILQrBk5e
vGxQrpbkVafIGVD22elv/x6R/sO2nAHAD35LpmDL1FxTbz9jUCyAVtebLGxYwLTB
b251mM6gUVgOkcN6NB0XP8WAr3nI0s87KscKBNC2sREcjeZTyj4BFbDpwoL9wo/V
EeTgrWeOhc6h7PTGuytiG2qxPFqy3jwtPPyR+oIFiMRLB6XSPMUOPRD6F8tlzXwE
vJUIV+VtPQ1cdv2foCNnrqcA6HKTDnRedx0vAJBaYpfDZIYtnF5uY3PaRtgdnBnk
jfvf8iQ3cueqY5NESg+ZiA/PTnsi6gcNc16LuowT/6dl4dFCJzEp8w1YAivykS7j
TQw1yVQ4mqBGWAkEc7ThvOtGLU9KSAxB1n51+l25MrlfezTl3AY=
=c/0o
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.