From 66e0686bc733c5c7a53826877910baa8423ab8ae Mon Sep 17 00:00:00 2001 From: Thomas Glanzmann Date: Mon, 22 Dec 2008 07:41:18 +0100 Subject: [PATCH 1/1] white space; fixme --- dhwk/driver/dhwk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 { -- 2.39.5