On 19 November 2017 at 06:33, Heinrich Schuchardt <xypron.g...@gmx.de> wrote:
> Coccinelle is a program for static code analysis.
> For details on Coccinelle see
>
>         http://coccinelle.lip6.fr/
>
> Add scripts/coccicheck copied from Linux kernel v4.14.
>
> The coccicheck script executes the tests *.cocci in
> directory scripts/coccinelle by calling spatch.
>
> In Makefile add a coccicheck target. You can use it with
>
>         make coccicheck MODE=<mode>
>
>         where mode in patch, report, context, org.
>
> Add a copy of Linux v4.14 file Documentation/dev-tools/coccinelle.rst
> as doc/README.coccinelle.
>
> Cc: Simon Glass <s...@chromium.org>
> Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de>
> ---
> v2
>         Move Documentation/dev-tools/coccinelle.rst to
>         doc/README.coccinelle as suggested by Simon Glass.
> ---
>  Makefile              |   9 +
>  doc/README.coccinelle | 491 
> ++++++++++++++++++++++++++++++++++++++++++++++++++
>  scripts/coccicheck    | 256 ++++++++++++++++++++++++++
>  3 files changed, 756 insertions(+)
>  create mode 100644 doc/README.coccinelle
>  create mode 100755 scripts/coccicheck

Reviewed-by: Simon Glass <s...@chromium.org>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to