laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-e1-hardware/+/26927 )
Change subject: checkpatch.conf: new file ......................................................................
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: https://gerrit.osmocom.org/c/osmo-e1-hardware/+/26841 Related: OS#5399 Change-Id: I4d2cf2eb698b8f4e54f04e62e4dbbc37146daf88 --- A .checkpatch.conf 1 file changed, 2 insertions(+), 0 deletions(-)
Approvals: laforge: Looks good to me, approved tnt: Looks good to me, but someone else must approve Jenkins Builder: Verified
diff --git a/.checkpatch.conf b/.checkpatch.conf new file mode 100644 index 0000000..20c0832 --- /dev/null +++ b/.checkpatch.conf @@ -0,0 +1,2 @@ +--ignore OPEN_BRACE +--ignore SPACING