WARNING: Prefer __packed over __attribute__((packed)) #41: FILE: tools/lib/bpf/libbpf_utils.c:153: +struct __packed_u32 { __u32 __val; } __attribute__((packed)); WARNING: line length of 92 exceeds 80 columns #45: FILE: tools/lib/bpf/libbpf_utils.c:157: +#define put_unaligned_be32(v, p) do { ((struct __packed_u32 *)(p))->__val = (v); } while (0) WARNING: Single statement macros should not use a do {} while (0) loop #45: FILE: tools/lib/bpf/libbpf_utils.c:157: +#define put_unaligned_be32(v, p) do { ((struct __packed_u32 *)(p))->__val = (v); } while (0) total: 0 errors, 3 warnings, 0 checks, 29 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 5929db0f0500 ("libbpf: remove linux/unaligned.h dependency for libbpf_sha256()") 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, 3 warnings, 0 checks, 29 lines checked