Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 1.02 KB

CONTRIBUTING.md

File metadata and controls

21 lines (17 loc) · 1.02 KB

Header and Copyrights

Verification of License and Copyrights is automated on Github by Licensing test.

The rules for Licenses and Copyrights are as follows:

  • Preferred comment mark should be used for file type. Please prefer to test or other files for examples. For .c and .h files, it is //.
  • SPDX Licenses must be used:
    • It must be on the first or the third line (only if interpreter is defined);
    • Verification script contains set of allowed licenses for directories to avoid legal issues. If you need to honor other license types, tests must be extended.
  • Immediately after SPDX header Copyright lines may come. There are multiple Copyrights lines allowed.
  • Only Intel copyright must follow strict style check.
  • The block must be ended by empty line.

Coding

Commits must pass kernel Checkpatch. There are some excludes and it is automatically tested on Github.