2003-09-24 03:29:28

by Trivial Patch Monkey

[permalink] [raw]
Subject: [TRIVIAL] irq_affinity_write_proc no longer writes garbage into irq_affinity[]

From: <[email protected]>


--- 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?= <[email protected]>: [PATCH] irq_affinity_write_proc no longer writes garbage into irq_affinity[]