WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #49: new file mode 100644 CHECK: spaces preferred around that '*' (ctx:WxO) #89: FILE: include/linux/nstree.h:36: + struct cgroup_namespace *: &(cgroup_ns_tree), \ ^ ERROR: spaces required around that ':' (ctx:OxW) #89: FILE: include/linux/nstree.h:36: + struct cgroup_namespace *: &(cgroup_ns_tree), \ ^ CHECK: spaces preferred around that '*' (ctx:WxO) #90: FILE: include/linux/nstree.h:37: + struct ipc_namespace *: &(ipc_ns_tree), \ ^ ERROR: spaces required around that ':' (ctx:OxW) #90: FILE: include/linux/nstree.h:37: + struct ipc_namespace *: &(ipc_ns_tree), \ ^ CHECK: spaces preferred around that '*' (ctx:WxO) #91: FILE: include/linux/nstree.h:38: + struct net *: &(net_ns_tree), \ ^ ERROR: spaces required around that ':' (ctx:OxW) #91: FILE: include/linux/nstree.h:38: + struct net *: &(net_ns_tree), \ ^ CHECK: spaces preferred around that '*' (ctx:WxO) #92: FILE: include/linux/nstree.h:39: + struct pid_namespace *: &(pid_ns_tree), \ ^ ERROR: spaces required around that ':' (ctx:OxW) #92: FILE: include/linux/nstree.h:39: + struct pid_namespace *: &(pid_ns_tree), \ ^ CHECK: spaces preferred around that '*' (ctx:WxO) #93: FILE: include/linux/nstree.h:40: + struct mnt_namespace *: &(mnt_ns_tree), \ ^ ERROR: spaces required around that ':' (ctx:OxW) #93: FILE: include/linux/nstree.h:40: + struct mnt_namespace *: &(mnt_ns_tree), \ ^ CHECK: spaces preferred around that '*' (ctx:WxO) #94: FILE: include/linux/nstree.h:41: + struct time_namespace *: &(time_ns_tree), \ ^ ERROR: spaces required around that ':' (ctx:OxW) #94: FILE: include/linux/nstree.h:41: + struct time_namespace *: &(time_ns_tree), \ ^ CHECK: spaces preferred around that '*' (ctx:WxO) #95: FILE: include/linux/nstree.h:42: + struct user_namespace *: &(user_ns_tree), \ ^ ERROR: spaces required around that ':' (ctx:OxW) #95: FILE: include/linux/nstree.h:42: + struct user_namespace *: &(user_ns_tree), \ ^ CHECK: spaces preferred around that '*' (ctx:WxO) #96: FILE: include/linux/nstree.h:43: + struct uts_namespace *: &(uts_ns_tree)) ^ ERROR: spaces required around that ':' (ctx:OxW) #96: FILE: include/linux/nstree.h:43: + struct uts_namespace *: &(uts_ns_tree)) ^ WARNING: line length of 85 exceeds 80 columns #119: FILE: include/linux/nstree.h:66: +#define ns_tree_add_raw(__ns) __ns_tree_add_raw(to_ns_common(__ns), to_ns_tree(__ns)) WARNING: line length of 84 exceeds 80 columns #137: FILE: include/linux/nstree.h:84: +#define ns_tree_remove(__ns) __ns_tree_remove(to_ns_common(__ns), to_ns_tree(__ns)) WARNING: line length of 81 exceeds 80 columns #281: FILE: kernel/nstree.c:106: + list_add_rcu(&ns->ns_list_node, &node_to_ns(prev)->ns_list_node); CHECK: Please don't use multiple blank lines #314: FILE: kernel/nstree.c:139: + + WARNING: line length of 89 exceeds 80 columns #345: FILE: kernel/nstree.c:170: + RCU_LOCKDEP_WARN(!rcu_read_lock_held(), "suspicious ns_tree_lookup_rcu() usage"); WARNING: Prefer using '"%s...", __func__' to using 'ns_tree_lookup_rcu', this function's name, in a string #345: FILE: kernel/nstree.c:170: + RCU_LOCKDEP_WARN(!rcu_read_lock_held(), "suspicious ns_tree_lookup_rcu() usage"); WARNING: line length of 91 exceeds 80 columns #380: FILE: kernel/nstree.c:205: + RCU_LOCKDEP_WARN(!rcu_read_lock_held(), "suspicious ns_tree_adjoined_rcu() usage"); WARNING: line length of 107 exceeds 80 columns #389: FILE: kernel/nstree.c:214: + VFS_WARN_ON_ONCE(list_entry_rcu(list, struct ns_common, ns_list_node)->ops->type != ns_tree->type); total: 8 errors, 8 warnings, 9 checks, 360 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 60ff3a3b8a9f ("nstree: make iterator generic") 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.