summaryrefslogtreecommitdiffstats
path: root/src/lib/thread.c
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-09 14:07:18 -0800
committerMartin Roth <martinroth@google.com>2017-03-12 19:20:21 +0100
commit38768c328abfde3d32a5d9a9496594d72940c195 (patch)
tree424e94c43430e7b20cb10909b4cfe2347747ac9b /src/lib/thread.c
parentb6ee0f9d920fa9cfb19f5340608bf0df72f16468 (diff)
downloadcoreboot-38768c328abfde3d32a5d9a9496594d72940c195.tar.gz
coreboot-38768c328abfde3d32a5d9a9496594d72940c195.tar.bz2
coreboot-38768c328abfde3d32a5d9a9496594d72940c195.zip
src/lib: Remove space between function name and (
Fix the following warning detected by checkpatch.pl: WARNING: space prohibited between function name and open parenthesis '(' TEST=Build and run on Galileo Gen2 Change-Id: I8f3c79302dc5eb1861ffb245617a27addf8653ef Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18731 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/thread.c b/src/lib/thread.c
index 9387b037dda3..53ffb92c59f1 100644
--- a/src/lib/thread.c
+++ b/src/lib/thread.c
@@ -186,7 +186,7 @@ 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,
- void asmlinkage (*thread_entry)(void *),
+ asmlinkage void(*thread_entry)(void *),
void *thread_arg)
{
/* Stash the function and argument to run. */