linux/include
Kenji Kaneshige 1f3a6a1577 [ACPI] acpi_register_gsi() can return error
Current acpi_register_gsi() function has no way to indicate errors to its
callers even though acpi_register_gsi() can fail to register gsi because of
some reasons (out of memory, lack of interrupt vectors, incorrect BIOS, and so
on).  As a result, caller of acpi_register_gsi() cannot handle the case that
acpi_register_gsi() fails.  I think failure of acpi_register_gsi() should be
handled properly.

This series of patches changes acpi_register_gsi() to return negative value on
error, and also changes callers of acpi_register_gsi() to handle failure of
acpi_register_gsi().

This patch changes the type of return value of acpi_register_gsi() from
"unsigned int" to "int" to indicate an error.  If acpi_register_gsi() fails to
register gsi, it returns negative value.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
2005-08-04 22:12:08 -04:00
..
acpi [ACPI] ACPICA 20050729 from Bob Moore 2005-07-30 00:51:39 -04:00
asm-alpha [ACPI] PNPACPI vs sound IRQ 2005-07-12 00:03:30 -04:00
asm-arm [ACPI] PNPACPI vs sound IRQ 2005-07-12 00:03:30 -04:00
asm-arm26 [PATCH] Remove obsolete HAVE_ARCH_GET_SIGNAL_TO_DELIVER? 2005-06-12 20:43:21 -07:00
asm-cris [PATCH] asm/signal.h unification 2005-05-04 07:33:15 -07:00
asm-frv [PATCH] asm/signal.h unification 2005-05-04 07:33:15 -07:00
asm-generic [PATCH] ppc32: platform-specific functions missing from kallsyms. 2005-05-05 16:36:31 -07:00
asm-h8300 [ACPI] PNPACPI vs sound IRQ 2005-07-12 00:03:30 -04:00
asm-i386 [ACPI] increase MAX_IO_APICS to 64 on i386 2005-07-12 00:16:06 -04:00
asm-ia64 [ACPI] PNPACPI vs sound IRQ 2005-07-12 00:03:30 -04:00
asm-m32r [PATCH] asm/signal.h unification 2005-05-04 07:33:15 -07:00
asm-m68k [ACPI] PNPACPI vs sound IRQ 2005-07-12 00:03:30 -04:00
asm-m68knommu [PATCH] asm/signal.h unification 2005-05-04 07:33:15 -07:00
asm-mips [ACPI] PNPACPI vs sound IRQ 2005-07-12 00:03:30 -04:00
asm-parisc [PATCH] make some things static 2005-05-05 16:36:47 -07:00
asm-ppc [ACPI] PNPACPI vs sound IRQ 2005-07-12 00:03:30 -04:00
asm-ppc64 [ACPI] PNPACPI vs sound IRQ 2005-07-12 00:03:30 -04:00
asm-s390 [PATCH] s390: uml ptrace fixes 2005-06-04 17:13:00 -07:00
asm-sh [ACPI] PNPACPI vs sound IRQ 2005-07-12 00:03:30 -04:00
asm-sh64 [ACPI] PNPACPI vs sound IRQ 2005-07-12 00:03:30 -04:00
asm-sparc [ACPI] PNPACPI vs sound IRQ 2005-07-12 00:03:30 -04:00
asm-sparc64 [ACPI] PNPACPI vs sound IRQ 2005-07-12 00:03:30 -04:00
asm-um [PATCH] uml: remove jail mode + other leftovers 2005-05-28 16:46:14 -07:00
asm-v850 [PATCH] asm/signal.h unification 2005-05-04 07:33:15 -07:00
asm-x86_64 [ACPI] enable C2 and C3 idle power states on SMP 2005-07-12 00:14:36 -04:00
linux [ACPI] acpi_register_gsi() can return error 2005-08-04 22:12:08 -04:00
math-emu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
media [PATCH] dvb: modified dvb_register_adapter() to avoid kmalloc/kfree 2005-05-17 07:59:33 -07:00
mtd Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
net [SCTP] Add support for ip_nonlocal_bind sysctl & IP_FREEBIND socket option 2005-06-13 15:12:33 -07:00
pcmcia Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rxrpc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi [SCSI] implement parameter limits in the SPI transport class 2005-05-20 15:54:32 -05:00
sound Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
video [PATCH] Clean-up and bug fix for tdfxfb framebuffer size detection 2005-05-01 08:59:25 -07:00