checkpatch.conf: new file

Disable spacing and open brace checks, as this repository follows a
different code style.

If needed, the checkpatch file can be extended with other checks:
* get the check name from the linter output, e.g. SPACING in:
  firmware/ice40-riscv/icE1usb/fw_app.c:155: ERROR:SPACING: spaces required around that '=' (ctx:VxV)
* add a new "--ignore NAME" line to the file

Related: OS#5399
Change-Id: I4d2cf2eb698b8f4e54f04e62e4dbbc37146daf88
This commit is contained in:
Oliver Smith 2022-01-17 17:15:15 +01:00 committed by laforge
parent 9df9995d2f
commit d0a5a5d074
1 changed files with 2 additions and 0 deletions

.checkpatch.conf Normal file
View File

@ -0,0 +1,2 @@
--ignore OPEN_BRACE
--ignore SPACING