Fix some make checkcodebase errors

- Reorder checkpatch ignore flags alphabetically
- Fix checkpatch WARNINGs and CHECKs when they make sense
- Add more checkpatch ignores
This commit is contained in:
ISSOtm
2019-12-04 00:16:28 +01:00
parent a290e19f46
commit 2d7d9eef9f
14 changed files with 63 additions and 46 deletions

View File

@@ -9,7 +9,7 @@
#include "extern/err.h"
FILE *outputFile;
FILE * outputFile;
FILE *overlayFile;
FILE *symFile;
FILE *mapFile;
@@ -357,9 +357,8 @@ static void writeSymAndMap(void)
symFile = openFile(symFileName, "w");
mapFile = openFile(mapFileName, "w");
if (symFileName) {
if (symFileName)
fputs("; File generated by rgblink\n", symFile);
}
for (uint8_t i = 0; i < SECTTYPE_INVALID; i++) {
enum SectionType type = typeMap[i];

View File

@@ -11,7 +11,7 @@
#include "extern/err.h"
FILE *linkerScript;
FILE * linkerScript;
static uint32_t lineNo;