diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2007-03-26 02:38:42 +0200 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2007-03-30 00:02:58 +0200 |
commit | 8a3a0ee736b9a0150c9d894f2c6cc836a62125a1 (patch) | |
tree | fb98ffc7f346bead619a31c08012234131bee7c9 /arch/ia64/mm | |
parent | [PATCH] mm: fix xip issue with /dev/zero (diff) | |
download | linux-8a3a0ee736b9a0150c9d894f2c6cc836a62125a1.tar.xz linux-8a3a0ee736b9a0150c9d894f2c6cc836a62125a1.zip |
[IA64] Fix possible invalid memory access in ia64_setup_msi_irq()
The following 'if' statement in ia64_setup_msi_irq() always fails even
if create_irq() returns <0 value, because variable 'irq' is defined as
unsigned int. It would cause invalid memory access.
irq = create_irq();
if (irq < 0)
return irq;
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/mm')
0 files changed, 0 insertions, 0 deletions