mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [TRIVIAL] irq_affinity_write_proc no longer writes garbage into irq_affinity[]
@ 2003-09-24  2:51 Rusty Trivial Russell
  0 siblings, 0 replies; only message in thread
From: Rusty Trivial Russell @ 2003-09-24  2:51 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel

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[]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-24  3:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-24  2:51 [TRIVIAL] irq_affinity_write_proc no longer writes garbage into irq_affinity[] Rusty Trivial Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®