osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/simtrace2/+/32487 )
Change subject: Cosmetic: fix CI errors ......................................................................
Cosmetic: fix CI errors
* Fix UTF-8 encoding in: firmware/atmel_softpack_libraries/usb/include/USBDescriptors.h This caused the endianness check to fail, which reads all .c and .h files.
* Add .checkpatch.conf to skip linting for: firmware/atmel_softpack_libraries
Change-Id: Ibb2e42e9b4307275a33e4000c201847a6bd60137 --- A .checkpatch.conf M firmware/atmel_softpack_libraries/usb/include/USBDescriptors.h 2 files changed, 19 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/87/32487/1
diff --git a/.checkpatch.conf b/.checkpatch.conf new file mode 100644 index 0000000..591ff65 --- /dev/null +++ b/.checkpatch.conf @@ -0,0 +1 @@ +--exclude ^firmware/atmel_softpack_libraries/.*$ diff --git a/firmware/atmel_softpack_libraries/usb/include/USBDescriptors.h b/firmware/atmel_softpack_libraries/usb/include/USBDescriptors.h index 84b5ef6..aada0f1 100644 --- a/firmware/atmel_softpack_libraries/usb/include/USBDescriptors.h +++ b/firmware/atmel_softpack_libraries/usb/include/USBDescriptors.h @@ -296,7 +296,7 @@ */ #pragma pack(1)
-#if defined ( __CC_ARM ) /* Keil µVision 4 */ +#if defined ( __CC_ARM ) /* Keil µVision 4 */ #elif defined ( __ICCARM__ ) /* IAR Ewarm 5.41+ */ #define __attribute__(...) #elif defined ( __GNUC__ ) /* GCC CS3 2009q3-68 */