Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reseerved symbol #11

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

reseerved symbol #11

wants to merge 14 commits into from

Commits on Mar 25, 2021

  1. scripts: coccinelle: Check rule 5.7

    This coccinelle script can check some violations for rule 5.7.
    It can identify things like:
    
    struct device *device
    
    But it is not capable to identify:
    
    struct test { ... }
    
    ...
    
    int test;
    
    Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
    Flavio Ceolin authored and nashif committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    9ed40e8 View commit details
    Browse the repository at this point in the history
  2. scripts: coccinelle: Check rule 21.2

    This coccinelle script can check some violations for rule 21.2.
    Currently it is checking the follow reserved names:
    
    "remove", "rewind", "malloc", "free", "exp", "signal"
    
    It can easily be extended in the future though.
    
    Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
    
    Rebnase
    Flavio Ceolin authored and nashif committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    84bb433 View commit details
    Browse the repository at this point in the history
  3. ci: Apply coccinelle scripts in git diffs

    This scripts receives the same parameter of what_changed.py. And run
    coccinelle scripts for code guideline compliance in the given git
    commits. e.g: ./guideline_check.py --commits origin/master..HEAD
    
    Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
    Flavio Ceolin authored and nashif committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    9822024 View commit details
    Browse the repository at this point in the history
  4. scripts: coccinelle: Add guideline number on a script output

    Add information about the guideline number in the script checking a
    identifier length.
    
    Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
    Flavio Ceolin authored and nashif committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    ac12de2 View commit details
    Browse the repository at this point in the history
  5. ci: coccinelle: Add support to write to a file

    Add parameter to write the script output to a file.
    
    Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
    Flavio Ceolin authored and nashif committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    d04bf8a View commit details
    Browse the repository at this point in the history
  6. ci: coccinelle: Suppress pylint false positive

    Suppress pylint false positive on 'sh' library.
    
    Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
    Flavio Ceolin authored and nashif committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    d89a0ee View commit details
    Browse the repository at this point in the history
  7. ci: guideline_check: fix indentation

    Signed-off-by: Anas Nashif <anas.nashif@intel.com>
    nashif committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    b5e001f View commit details
    Browse the repository at this point in the history
  8. coccinelle: check reserved symbols based on a file

    Signed-off-by: Anas Nashif <anas.nashif@intel.com>
    nashif committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    d79b461 View commit details
    Browse the repository at this point in the history
  9. ci: add coding guideline workflow

    Signed-off-by: Anas Nashif <anas.nashif@intel.com>
    nashif committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    b896b84 View commit details
    Browse the repository at this point in the history
  10. add annotations

    Signed-off-by: Anas Nashif <anas.nashif@intel.com>
    nashif committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    d5e534b View commit details
    Browse the repository at this point in the history
  11. remove check-warn

    Signed-off-by: Anas Nashif <anas.nashif@intel.com>
    nashif committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    d56b766 View commit details
    Browse the repository at this point in the history
  12. violations

    Signed-off-by: Anas Nashif <anas.nashif@intel.com>
    nashif committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    bb87998 View commit details
    Browse the repository at this point in the history
  13. action

    Signed-off-by: Anas Nashif <anas.nashif@intel.com>
    nashif committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    9df8836 View commit details
    Browse the repository at this point in the history
  14. new action

    Signed-off-by: Anas Nashif <anas.nashif@intel.com>
    nashif committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    a752db7 View commit details
    Browse the repository at this point in the history