Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | From | Rusty Trivial Russell <> | Subject | [TRIVIAL] irq_affinity_write_proc no longer writes garbage into irq_affinity[] | Date | Wed, 24 Sep 2003 12:51:21 +1000 |
| |
From: <adobriyan@mail.ru>
--- trivial-2.6.0-test5-bk10/arch/i386/kernel/irq.c.orig 2003-09-24 12:27:14.000000000 +1000 +++ trivial-2.6.0-test5-bk10/arch/i386/kernel/irq.c 2003-09-24 12:27:14.000000000 +1000 @@ -965,6 +965,8 @@ return -EIO; err = parse_hex_value(buffer, count, &new_value); + if(err) + return err; /* * Do not allow disabling IRQs completely - it's a too easy -- What is this? http://www.kernel.org/pub/linux/kernel/people/rusty/trivial/ Don't blame me: the Monkey is driving File: =?koi8-r?Q?=22?=Alexey Dobriyan=?koi8-r?Q?=22=20?= <adobriyan@mail.ru>: [PATCH] irq_affinity_write_proc no longer writes garbage into irq_affinity[] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |