CHECK: Comparison to NULL could be written "reg->map_ptr" #42: FILE: kernel/bpf/log.c:722: + if (reg->map_ptr != NULL && reg->map_ptr->name[0] != '\0') CHECK: Comparison to NULL could be written "reg->map_ptr" #47: FILE: kernel/bpf/log.c:724: + if (reg->map_ptr != NULL) CHECK: Alignment should match open parenthesis #49: FILE: kernel/bpf/log.c:726: + 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, 23 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 d06c0d08682f ("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, 23 lines checked