CHECK: spaces preferred around that '*' (ctx:WxO) #36: FILE: include/linux/nsfs.h:29: + struct cgroup_namespace *: current->nsproxy->cgroup_ns, \ ^ ERROR: spaces required around that ':' (ctx:OxW) #36: FILE: include/linux/nsfs.h:29: + struct cgroup_namespace *: current->nsproxy->cgroup_ns, \ ^ CHECK: spaces preferred around that '*' (ctx:WxO) #37: FILE: include/linux/nsfs.h:30: + struct ipc_namespace *: current->nsproxy->ipc_ns, \ ^ ERROR: spaces required around that ':' (ctx:OxW) #37: FILE: include/linux/nsfs.h:30: + struct ipc_namespace *: current->nsproxy->ipc_ns, \ ^ CHECK: spaces preferred around that '*' (ctx:WxO) #38: FILE: include/linux/nsfs.h:31: + struct net *: current->nsproxy->net_ns, \ ^ ERROR: spaces required around that ':' (ctx:OxW) #38: FILE: include/linux/nsfs.h:31: + struct net *: current->nsproxy->net_ns, \ ^ CHECK: spaces preferred around that '*' (ctx:WxO) #39: FILE: include/linux/nsfs.h:32: + struct pid_namespace *: task_active_pid_ns(current), \ ^ ERROR: spaces required around that ':' (ctx:OxW) #39: FILE: include/linux/nsfs.h:32: + struct pid_namespace *: task_active_pid_ns(current), \ ^ CHECK: spaces preferred around that '*' (ctx:WxO) #40: FILE: include/linux/nsfs.h:33: + struct mnt_namespace *: current->nsproxy->mnt_ns, \ ^ ERROR: spaces required around that ':' (ctx:OxW) #40: FILE: include/linux/nsfs.h:33: + struct mnt_namespace *: current->nsproxy->mnt_ns, \ ^ CHECK: spaces preferred around that '*' (ctx:WxO) #41: FILE: include/linux/nsfs.h:34: + struct time_namespace *: current->nsproxy->time_ns, \ ^ ERROR: spaces required around that ':' (ctx:OxW) #41: FILE: include/linux/nsfs.h:34: + struct time_namespace *: current->nsproxy->time_ns, \ ^ CHECK: spaces preferred around that '*' (ctx:WxO) #42: FILE: include/linux/nsfs.h:35: + struct user_namespace *: current_user_ns(), \ ^ ERROR: spaces required around that ':' (ctx:OxW) #42: FILE: include/linux/nsfs.h:35: + struct user_namespace *: current_user_ns(), \ ^ CHECK: spaces preferred around that '*' (ctx:WxO) #43: FILE: include/linux/nsfs.h:36: + struct uts_namespace *: current->nsproxy->uts_ns) ^ ERROR: spaces required around that ':' (ctx:OxW) #43: FILE: include/linux/nsfs.h:36: + struct uts_namespace *: current->nsproxy->uts_ns) ^ total: 8 errors, 0 warnings, 8 checks, 26 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 13fa61cf9c72 ("nsfs: add current_in_namespace()") 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.