CHECK: Prefer using the BIT macro #67: FILE: include/net/netns/vsock.h:9: +#define VSOCK_NS_MODE_LOCAL (1 << 1) CHECK: Prefer using the BIT macro #70: FILE: include/net/netns/vsock.h:12: +#define VSOCK_NS_MODE_WRITTEN_ONCE (1 << 7) CHECK: spinlock_t definition without comment #74: FILE: include/net/netns/vsock.h:16: + spinlock_t lock; total: 0 errors, 0 warnings, 3 checks, 42 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 2b617ecd7e2e ("vsock: a per-net vsock NS mode 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, 0 warnings, 3 checks, 42 lines checked