diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-09 16:21:34 -0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-03-13 15:46:02 +0100 |
commit | e20a3191f58ffb37da3ed6414491d61dbfc7e583 (patch) | |
tree | 2ab3d87fb88eb80f4f9238567feb2ac3e1198ffc /src/lib/thread.c | |
parent | cdd7686a9dcf5200cabeab806648e87993662619 (diff) |
src/lib: Use tabs instead of spaces
Fix the following errors and warnings detected by checkpatch.pl:
ERROR: code indent should use tabs where possible
ERROR: switch and case should be at the same indent
WARNING: Statements should start on a tabstop
WARNING: please, no spaces at the start of a line
WARNING: please, no space before tabs
WARNING: suspect code indent for conditional statements
WARNING: labels should not be indented
TEST=Build and run on Galileo Gen2
Change-Id: Iebcff26ad41ab6eb0027b871a1c06f3b52dd207c
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18732
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/lib/thread.c')
-rw-r--r-- | src/lib/thread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/thread.c b/src/lib/thread.c index 53ffb92c59..703034b8a8 100644 --- a/src/lib/thread.c +++ b/src/lib/thread.c @@ -186,8 +186,8 @@ static void asmlinkage call_wrapper_block_state(void *arg) /* Prepare a thread so that it starts by executing thread_entry(thread_arg). * Within thread_entry() it will call func(arg). */ static void prepare_thread(struct thread *t, void *func, void *arg, - asmlinkage void(*thread_entry)(void *), - void *thread_arg) + asmlinkage void(*thread_entry)(void *), + void *thread_arg) { /* Stash the function and argument to run. */ t->entry = func; @@ -305,7 +305,7 @@ int thread_run(void (*func)(void *), void *arg) } int thread_run_until(void (*func)(void *), void *arg, - boot_state_t state, boot_state_sequence_t seq) + boot_state_t state, boot_state_sequence_t seq) { struct thread *current; struct thread *t; |