Need help with Coccinelle
Hello Julia,
I have installed Coccinelle and tried to used it. However, I am not seeing any useful outcome of running the Coccinelle commands. For example, I ran the following test but did not see either an error or output. Can you please suggest what may be wrong here?
make coccicheck COCCI=scripts/coccinelle/api/err_cast.cocci MODE=patch M=drivers/gpio/ j=8
Please check for false positives in the output before submitting a patch. When using "patch" mode, carefully review the patch before submitting it.
Thank you,
Deepak.
Quoted 10 lines · Deepak R Varma
Hello Julia,
I have installed Coccinelle and tried to used it. However, I am not seeing any useful outcome of running the Coccinelle commands. For example, I ran the following test but did not see either an error or output. Can you please suggest what may be wrong here?make coccicheck COCCI=scripts/coccinelle/api/err_cast.cocci MODE=patch M=drivers/gpio/ j=8
Please check for false positives in the output before submitting a patch. When using "patch" mode, carefully review the patch before submitting it.
I think that there is just no opportunity for this rule in this code.
julia