Commit 0f65d4cf authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] irq_affinity_write_proc no longer writes garbage into irq proc entries

From:  <adobriyan@mail.ru>
parent 2bb55682
...@@ -965,6 +965,8 @@ static int irq_affinity_write_proc(struct file *file, const char __user *buffer, ...@@ -965,6 +965,8 @@ static int irq_affinity_write_proc(struct file *file, const char __user *buffer,
return -EIO; return -EIO;
err = parse_hex_value(buffer, count, &new_value); err = parse_hex_value(buffer, count, &new_value);
if (err)
return err;
/* /*
* Do not allow disabling IRQs completely - it's a too easy * Do not allow disabling IRQs completely - it's a too easy
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment