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

@@ -265,13 +265,12 @@ static void writesymbol(struct sSymbol *pSym, FILE *f)
uint32_t offset;
int32_t sectid;
if (!(pSym->nType & SYMF_DEFINED)) {
if (!(pSym->nType & SYMF_DEFINED))
type = SYMTYPE_IMPORT;
} else if (pSym->nType & SYMF_EXPORT) {
else if (pSym->nType & SYMF_EXPORT)
type = SYMTYPE_EXPORT;
} else {
else
type = SYMTYPE_LOCAL;
}
switch (type) {
case SYMTYPE_LOCAL: