Use coccinelle to check patch in Ubuntu 14.04

前端之家收集整理的这篇文章主要介绍了Use coccinelle to check patch in Ubuntu 14.04前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Use coccinelle to check patch in Ubuntu 14.04

In Ubuntu14.04,when running coccinelle,it will fail. So we install it manually
to make patch check.

  1. install from its git repo: https://github.com/coccinelle/coccinelle.git

  2. install the packedge mention in install.txt

  3. ./autogen
    ./configure
    ./make
    ./make install

  4. cd in a kernel directory,run:

    make coccicheck MODE=report M=arch/arm64/mm

    It will check all the patch under,e.g. arch/arm64/mm

猜你在找的Ubuntu相关文章