diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-02-10 10:44:24 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 19:51:23 +0100 |
commit | 4cffb7fa69349d48d900d98766dc9ad52d9c851e (patch) | |
tree | 99c079d4a4f8fde74acb55ac252e492db80f92ec /arch/um/kernel/sigio.c | |
parent | [PATCH] uml: SIGIO locking comment (diff) | |
download | linux-4cffb7fa69349d48d900d98766dc9ad52d9c851e.tar.xz linux-4cffb7fa69349d48d900d98766dc9ad52d9c851e.zip |
[PATCH] uml: SIGIO formatting fixes
Fix formatting in the sigio code.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/kernel/sigio.c')
-rw-r--r-- | arch/um/kernel/sigio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/um/kernel/sigio.c b/arch/um/kernel/sigio.c index 1c831f9ee09f..89f9866a1354 100644 --- a/arch/um/kernel/sigio.c +++ b/arch/um/kernel/sigio.c @@ -23,7 +23,7 @@ static irqreturn_t sigio_interrupt(int irq, void *data) os_read_file(sigio_irq_fd, &c, sizeof(c)); reactivate_fd(sigio_irq_fd, SIGIO_WRITE_IRQ); - return(IRQ_HANDLED); + return IRQ_HANDLED; } int write_sigio_irq(int fd) @@ -36,10 +36,10 @@ int write_sigio_irq(int fd) if(err){ printk("write_sigio_irq : um_request_irq failed, err = %d\n", err); - return(-1); + return -1; } sigio_irq_fd = fd; - return(0); + return 0; } /* These are called from os-Linux/sigio.c to protect its pollfds arrays. */ |