WARNING: const array should probably be static const #35: FILE: lib/buildid.c:21: + const char note_name[] = "GNU"; WARNING: line length of 98 exceeds 80 columns #48: FILE: lib/buildid.c:33: + new_offs = note_offs + sizeof(Elf32_Nhdr) + ALIGN(name_sz, 4) + ALIGN(desc_sz, 4); WARNING: line length of 81 exceeds 80 columns #49: FILE: lib/buildid.c:34: + if (new_offs <= note_offs /* overflow */ || new_offs > note_size) WARNING: line length of 83 exceeds 80 columns #68: FILE: lib/buildid.c:43: + memset(build_id + desc_sz, 0, BUILD_ID_SIZE_MAX - desc_sz); total: 0 errors, 4 warnings, 0 checks, 112 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit 2b8121fa035e ("lib/buildid: harden build ID parsing logic") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 4 warnings, 0 checks, 112 lines checked