Skip to content

Commit ef2baff

Browse files
akpm00sfrothwell
authored andcommitted
kernel-conditionally-support-non-root-users-groups-and-capabilities-checkpatch-fixes
ERROR: code indent should use tabs where possible torvalds#120: FILE: include/linux/capability.h:220: + return true;$ WARNING: please, no spaces at the start of a line torvalds#120: FILE: include/linux/capability.h:220: + return true;$ ERROR: code indent should use tabs where possible torvalds#125: FILE: include/linux/capability.h:225: + return true;$ WARNING: please, no spaces at the start of a line torvalds#125: FILE: include/linux/capability.h:225: + return true;$ ERROR: code indent should use tabs where possible torvalds#129: FILE: include/linux/capability.h:229: + return true;$ WARNING: please, no spaces at the start of a line torvalds#129: FILE: include/linux/capability.h:229: + return true;$ ERROR: code indent should use tabs where possible torvalds#134: FILE: include/linux/capability.h:234: + return true;$ WARNING: please, no spaces at the start of a line torvalds#134: FILE: include/linux/capability.h:234: + return true;$ ERROR: code indent should use tabs where possible torvalds#170: FILE: include/linux/cred.h:79: + return 1;$ WARNING: please, no spaces at the start of a line torvalds#170: FILE: include/linux/cred.h:79: + return 1;$ ERROR: code indent should use tabs where possible torvalds#174: FILE: include/linux/cred.h:83: + return 1;$ WARNING: please, no spaces at the start of a line torvalds#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 <iulia.manda21@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent 2ffd69f commit ef2baff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/linux/capability.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -217,21 +217,21 @@ extern bool ns_capable(struct user_namespace *ns, int cap);
217217
#else
218218
static inline bool has_capability(struct task_struct *t, int cap)
219219
{
220-
return true;
220+
return true;
221221
}
222222
static inline bool has_ns_capability(struct task_struct *t,
223223
struct user_namespace *ns, int cap)
224224
{
225-
return true;
225+
return true;
226226
}
227227
static inline bool has_capability_noaudit(struct task_struct *t, int cap)
228228
{
229-
return true;
229+
return true;
230230
}
231231
static inline bool has_ns_capability_noaudit(struct task_struct *t,
232232
struct user_namespace *ns, int cap)
233233
{
234-
return true;
234+
return true;
235235
}
236236
static inline bool capable(int cap)
237237
{

0 commit comments

Comments
 (0)