From: Thomas Glanzmann Date: Mon, 22 Dec 2008 06:41:18 +0000 (+0100) Subject: white space; fixme X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/raggedstone/commitdiff_plain/HEAD?ds=inline;hp=e1742f3e6ca6886a17fa8db44e2b4d11a8013a4e white space; fixme --- diff --git a/dhwk/driver/dhwk.c b/dhwk/driver/dhwk.c index c7095f8..5b65020 100644 --- a/dhwk/driver/dhwk.c +++ b/dhwk/driver/dhwk.c @@ -20,7 +20,7 @@ static unsigned char recv_buffer[BUFFER_SIZE]; static wait_queue_head_t send_wq; static wait_queue_head_t receive_wq; -static u8 irq; /* FIXME: Get it from the pci struct */ +static u8 irq; static int my_dhwk_dev_id; MODULE_LICENSE("Dual BSD/GPL"); @@ -105,7 +105,7 @@ dhwk_read(struct file *f, char __user *u, size_t size, loff_t *offset) short word = 0; short status = 0; int next_status = 0; - + if (! access_ok(VERIFY_WRITE, u, size)) { return -EFAULT; } @@ -363,7 +363,7 @@ interrupt_handler(int irq_to_check, void *dev_id, struct pt_regs *regs) wake_up_interruptible(& send_wq); } - if (irq_to_check == irq) { + if (irq_to_check == irq) { return IRQ_HANDLED; } else {