diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2010-11-30 17:36:08 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-21 12:44:15 -0700 |
commit | 4f098248b8f55a27598eccac90d39b94e2dc78cd (patch) | |
tree | b185c70a38d47a0b4fbb987649a5492acf1a6f55 /net/x25 | |
parent | 8d342ebf1fddfa25fa6b5e1c6c28546addf53248 (diff) |
genirq: Fix incorrect proc spurious output
commit 25c9170ed64a6551beefe9315882f754e14486f4 upstream.
Since commit a1afb637(switch /proc/irq/*/spurious to seq_file) all
/proc/irq/XX/spurious files show the information of irq 0.
Current irq_spurious_proc_open() passes on NULL as the 3rd argument,
which is used as an IRQ number in irq_spurious_proc_show(), to the
single_open(). Because of this, all the /proc/irq/XX/spurious file
shows IRQ 0 information regardless of the IRQ number.
To fix the problem, irq_spurious_proc_open() must pass on the
appropreate data (IRQ number) to single_open().
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Reviewed-by: Yong Zhang <yong.zhang0@gmail.com>
LKML-Reference: <4CF4B778.90604@jp.fujitsu.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/x25')
0 files changed, 0 insertions, 0 deletions