Re: [cocci] Improving output for single characters (with SmPL)?

Markus Elfring <[email protected]> Sat, 1 Aug 2026 14:00:26 +0200
Newsgroups gmane.linux.kernel.janitors,gmane.linux.kernel
Message-ID <[email protected]>
>>> Markus_Elfring@Sonne:/home/altes_Heim2/elfring/Projekte/Linux/next-ana=
lyses> grep 'diff -u -p a/netlink_dumper.h b/netlink_dumper.h' /home/altes=
_Heim2/elfring/Projekte/Bau/Linux/scripts/Coccinelle/tuning1/next/20260721=
/use_fputc-bpftool-2.diff | wc -l
>>> 2
>>
>> How can the generation of duplicate difference output be avoided here
>> for other SmPL script variations?
>=20
> I don't know the details o what you are doing,

How does such a feedback fit to provided information?


>                                                but if you have duplicate=
d
> output about herder files, it would be because the header file is includ=
ed
> in other files.

Duplicate difference hunks are not produced in all test cases.

Can you reproduce unexpected software behaviour also in your test environm=
ent?

Regards,
Markus