CHECK: Comparison to NULL could be written "reg->map_ptr" #34: FILE: kernel/bpf/log.c:721: + if (reg->map_ptr != NULL && reg->map_ptr->name[0] != '\0') CHECK: Comparison to NULL could be written "reg->map_ptr" #39: FILE: kernel/bpf/log.c:723: + if (reg->map_ptr != NULL) CHECK: Alignment should match open parenthesis #41: FILE: kernel/bpf/log.c:725: + verbose_a("ks=%d,vs=%d", + reg->map_ptr->key_size, WARNING: The commit message has 'syzkaller', perhaps it also needs a 'Fixes:' tag? total: 0 errors, 1 warnings, 3 checks, 16 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 8380dace7805 ("bpf: fix NULL pointer dereference in print_reg_state()") 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, 1 warnings, 3 checks, 16 lines checked