From 0c645bbbebe7d883898bc8a158cbe094c7ff564b Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 8 Apr 2015 09:44:52 +1000 Subject: [PATCH] kernel-conditionally-support-non-root-users-groups-and-capabilities-checkpatch-fixes ERROR: code indent should use tabs where possible #120: FILE: include/linux/capability.h:220: + return true;$ WARNING: please, no spaces at the start of a line #120: FILE: include/linux/capability.h:220: + return true;$ ERROR: code indent should use tabs where possible #125: FILE: include/linux/capability.h:225: + return true;$ WARNING: please, no spaces at the start of a line #125: FILE: include/linux/capability.h:225: + return true;$ ERROR: code indent should use tabs where possible #129: FILE: include/linux/capability.h:229: + return true;$ WARNING: please, no spaces at the start of a line #129: FILE: include/linux/capability.h:229: + return true;$ ERROR: code indent should use tabs where possible #134: FILE: include/linux/capability.h:234: + return true;$ WARNING: please, no spaces at the start of a line #134: FILE: include/linux/capability.h:234: + return true;$ ERROR: code indent should use tabs where possible #170: FILE: include/linux/cred.h:79: + return 1;$ WARNING: please, no spaces at the start of a line #170: FILE: include/linux/cred.h:79: + return 1;$ ERROR: code indent should use tabs where possible #174: FILE: include/linux/cred.h:83: + return 1;$ WARNING: please, no spaces at the start of a line #174: FILE: include/linux/cred.h:83: + return 1;$ total: 6 errors, 6 warnings, 310 lines checked NOTE: whitespace errors detected, you may wish to use scripts/cleanpatch or scripts/cleanfile ./patches/kernel-conditionally-support-non-root-users-groups-and-capabilities.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Iulia Manda Signed-off-by: Andrew Morton --- include/linux/capability.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/capability.h b/include/linux/capability.h index 04b5ea8a9444bc..af9f0b9e80e610 100644 --- a/include/linux/capability.h +++ b/include/linux/capability.h @@ -217,21 +217,21 @@ extern bool ns_capable(struct user_namespace *ns, int cap); #else static inline bool has_capability(struct task_struct *t, int cap) { - return true; + return true; } static inline bool has_ns_capability(struct task_struct *t, struct user_namespace *ns, int cap) { - return true; + return true; } static inline bool has_capability_noaudit(struct task_struct *t, int cap) { - return true; + return true; } static inline bool has_ns_capability_noaudit(struct task_struct *t, struct user_namespace *ns, int cap) { - return true; + return true; } static inline bool capable(int cap) {