| 1 | # Override checkpatch's default max line length 100 |
| 2 | --max-line-length=96 |
| 3 | |
| 4 | # Not Linux, so don't expect a Linux tree. |
| 5 | --no-tree |
| 6 | |
| 7 | # Ignore aspects we don't follow here. |
| 8 | --ignore C99_COMMENTS |
| 9 | --ignore GLOBAL_INITIALISERS |
| 10 | --ignore COMPARISON_TO_NULL |
| 11 | --ignore INITIALISED_STATIC |
| 12 | --ignore LINE_SPACING |
| 13 | --ignore NEW_TYPEDEFS |
| 14 | --ignore SPLIT_STRING |
| 15 | --ignore BLOCK_COMMENT_STYLE |
| 16 | --ignore AVOID_EXTERNS |
| 17 | --ignore VOLATILE |
| 18 | --ignore CONFIG_DESCRIPTION |
| 19 | --ignore MISSING_SPACE |
| 20 | --ignore CORRUPTED_PATCH |
| 21 | --ignore SPDX_LICENSE_TAG |
| 22 | --ignore UNDOCUMENTED_DT_STRING |
| 23 | --ignore PRINTK_WITHOUT_KERN_LEVEL |
| 24 | --ignore ASSIGN_IN_IF |
| 25 | --ignore UNNECESSARY_ELSE |
| 26 | --ignore GERRIT_CHANGE_ID |
| 27 | |
| 28 | # FILE_PATH_CHANGES seems to not be working correctly. It will |
| 29 | # choke on added / deleted files even if the MAINTAINERS file |
| 30 | # is touched. |
| 31 | --ignore FILE_PATH_CHANGES |
| 32 | |
| 33 | # This one has a linux path hard coded, so it would choke on |
| 34 | # some commits unnecessarily. |
| 35 | --ignore EXECUTE_PERMISSIONS |
| 36 | |
| 37 | # Exclude vendorcode directories that don't follow coreboot's coding style. |
| 38 | --exclude src/vendorcode/amd |
| 39 | --exclude src/vendorcode/cavium |
| 40 | --exclude src/vendorcode/intel |
| 41 | --exclude src/vendorcode/mediatek |