Re: Improving output for single characters (with SmPL)?
Markus Elfring <[email protected]> Fri, 24 Jul 2026 11:02:07 +0200
| Newsgroups | gmane.linux.kernel,gmane.linux.kernel.janitors |
|---|---|
| Message-ID | <[email protected]> |
> Which implementation details should be reconsidered here for an affected= macro? > https://elixir.bootlin.com/linux/v7.2-rc4/source/tools/bpf/bpftool/netli= nk_dumper.h#L25 The shown source code transformation approach can be repeated on demand for selected areas. Another test result (according to the software combination =E2=80=9CCoccin= elle 1.3.1=E2=80=9D): Markus_Elfring@Sonne:=E2=80=A6/Projekte/Linux/next-analyses> time /usr/bin= /spatch --timeout 23 -j4 --chunksize 1 --no-loops --include-headers -dir t= ools/bpf/bpftool /home/altes_Heim2/elfring/Projekte/Coccinelle/janitor/use= _fputc-20260723.cocci > /home/altes_Heim2/elfring/Projekte/Bau/Linux/scrip= ts/Coccinelle/tuning1/next/20260721/use_fputc-bpftool-2.diff =E2=80=A6 17 files match =E2=80=A6 real 0m1,998s user 0m4,143s sys 0m0,372s Now I wonder about the following information. Markus_Elfring@Sonne:/home/altes_Heim2/elfring/Projekte/Linux/next-analyse= s> grep 'diff -u -p a/netlink_dumper.h b/netlink_dumper.h' /home/altes_Hei= m2/elfring/Projekte/Bau/Linux/scripts/Coccinelle/tuning1/next/20260721/use= _fputc-bpftool-2.diff | wc -l 2 Should it be sufficient to adjust an affected header file only once (according to the means of the mentioned development tool)? https://gitlab.inria.fr/coccinelle/coccinelle/-/blob/bd41911b6d35eda4d9a03= 247043bd3879733fb3f/docs/manual/spatch_options.tex#L43-46 Regards, Markus