aboutsummaryrefslogtreecommitdiff
path: root/testcases/kdump
diff options
context:
space:
mode:
authorGarrett Cooper <yanegomi@gmail.com>2010-11-28 22:44:32 -0800
committerGarrett Cooper <yanegomi@gmail.com>2010-11-28 22:44:32 -0800
commitdf3eb16e38c6a163b0a7367c885679eed6140964 (patch)
tree66ac7af874c689670b592544f4e6f7090bf44877 /testcases/kdump
parentd0097211740364abf8f5cd6afcdb839e0e2426b5 (diff)
Deal with a lot of annoying style nits.
Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Diffstat (limited to 'testcases/kdump')
-rw-r--r--testcases/kdump/lib/crasher/crasher.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testcases/kdump/lib/crasher/crasher.c b/testcases/kdump/lib/crasher/crasher.c
index e5372178a..a50cba5fa 100644
--- a/testcases/kdump/lib/crasher/crasher.c
+++ b/testcases/kdump/lib/crasher/crasher.c
@@ -50,7 +50,7 @@ static int crasher_write(struct file *file, const char *buffer,
spinlock_t mylock = SPIN_LOCK_UNLOCKED;
/* grab the first byte the user gave us, ignore the rest */
- if(copy_from_user(&value,buffer, 1))
+ if (copy_from_user(&value,buffer, 1))
return -EFAULT;
switch ( value )
@@ -90,7 +90,7 @@ int crasher_init(void)
printk("loaded crasher module\n");
/* build a crasher file that can be set */
- if ( (crasher_proc = create_proc_entry(CRASH,0,NULL)) == NULL){
+ if ((crasher_proc = create_proc_entry(CRASH,0,NULL)) == NULL) {
return -ENOMEM;
}