mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rusty Trivial Russell <trivial@rustcorp.com.au>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: linux-kernel@vger.kernel.org
Subject: [TRIVIAL] irq_affinity_write_proc no longer writes garbage into irq_affinity[]
Date: Wed, 24 Sep 2003 12:51:21 +1000	[thread overview]
Message-ID: <20030924032923.104502C267@lists.samba.org> (raw)

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

                 reply	other threads:[~2003-09-24  3:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030924032923.104502C267@lists.samba.org \
    --to=trivial@rustcorp.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®