Skip to content

Commit 45adae4

Browse files
committed
(squash) checkpatch: fix indentation
Fix the following checkpatch complaints: ERROR: code indent should use tabs where possible torvalds#96: FILE: lib/livepatch/test_klp_convert1.c:43: + return 0;$ WARNING: please, no spaces at the start of a line torvalds#96: FILE: lib/livepatch/test_klp_convert1.c:43: + return 0;$ ERROR: code indent should use tabs where possible torvalds#99: FILE: lib/livepatch/test_klp_convert1.c:46: + .set = print_debug_set,$ WARNING: please, no spaces at the start of a line torvalds#99: FILE: lib/livepatch/test_klp_convert1.c:46: + .set = print_debug_set,$ ERROR: code indent should use tabs where possible torvalds#100: FILE: lib/livepatch/test_klp_convert1.c:47: + .get = param_get_int,$ WARNING: please, no spaces at the start of a line torvalds#100: FILE: lib/livepatch/test_klp_convert1.c:47: + .get = param_get_int,$ ERROR: code indent should use tabs where possible torvalds#221: FILE: lib/livepatch/test_klp_convert2.c:43: + return 0;$ WARNING: please, no spaces at the start of a line torvalds#221: FILE: lib/livepatch/test_klp_convert2.c:43: + return 0;$ ERROR: code indent should use tabs where possible torvalds#224: FILE: lib/livepatch/test_klp_convert2.c:46: + .set = print_debug_set,$ WARNING: please, no spaces at the start of a line torvalds#224: FILE: lib/livepatch/test_klp_convert2.c:46: + .set = print_debug_set,$ ERROR: code indent should use tabs where possible torvalds#225: FILE: lib/livepatch/test_klp_convert2.c:47: + .get = param_get_int,$ WARNING: please, no spaces at the start of a line torvalds#225: FILE: lib/livepatch/test_klp_convert2.c:47: + .get = param_get_int,$ Signed-off-by: Joe Lawrence <[email protected]>
1 parent f2eac39 commit 45adae4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/livepatch/test_klp_convert1.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ static int print_debug_set(const char *val, const struct kernel_param *kp)
4040
print_homonym_string();
4141
print_static_strings();
4242

43-
return 0;
43+
return 0;
4444
}
4545
static const struct kernel_param_ops print_debug_ops = {
46-
.set = print_debug_set,
47-
.get = param_get_int,
46+
.set = print_debug_set,
47+
.get = param_get_int,
4848
};
4949
module_param_cb(print_debug, &print_debug_ops, &print_debug, 0200);
5050
MODULE_PARM_DESC(print_debug, "print klp-convert debugging info");

lib/livepatch/test_klp_convert2.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ static int print_debug_set(const char *val, const struct kernel_param *kp)
3333
print_driver_name();
3434
print_homonym_string();
3535

36-
return 0;
36+
return 0;
3737
}
3838
static const struct kernel_param_ops print_debug_ops = {
39-
.set = print_debug_set,
40-
.get = param_get_int,
39+
.set = print_debug_set,
40+
.get = param_get_int,
4141
};
4242
module_param_cb(print_debug, &print_debug_ops, &print_debug, 0200);
4343
MODULE_PARM_DESC(print_debug, "print klp-convert debugging info");

0 commit comments

Comments
 (0)