Re: [v2] Documentation: Coccinelle: fix typos and command example

From: Markus Elfring
Date: Thu Jul 02 2020 - 04:23:27 EST


>> elfring@Sonne:~/Projekte/Linux/next-patched> make J=1 C=1 CHECK='scripts/coccicheck' MODE=context COCCI=~/Projekte/Linux/next-patched/scripts/coccinelle/null/show_pointer_usage_before_null_check-20200701.cocci drivers/usb/mtu3/mtu3_gadget.o
>
> This is not what is intended. What is intended has never worked. The
> coccicheck script expects that the file name is received on its command
> line, and that is not the case.

I suggest to take another look at information from the verbose execution variant
for such a command example.

* Do the generated program calls look more appropriate then?

* Are you still missing any relevant data (or corresponding descriptions)?

Regards,
Markus