Skip to content

failure of acpi_register_gsi() should be handled properly

Kenji Kaneshige linux-ia64 lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6failure of acpi_register_gsi() should be handled properly - change acpi_register_gsi() interfacearch/i386/kernel/acpi/boot.c arch/ia64/kernel/acpi.c include/linux/acpi.h+11 -30 replies
2/6failure of acpi_register_gsi() should be handled properly - change acpi pci codedrivers/acpi/pci_irq.c+8 -10 replies
3/6failure of acpi_register_gsi() should be handled properly - change hpet driverdrivers/char/hpet.c+6 -20 replies
4/6failure of acpi_register_gsi() should be handled properly - change phpacpi driverdrivers/pnp/pnpacpi/rsparser.c+1 -10 replies
5/6failure of acpi_register_gsi() should be handled properly - change acpi based 8250 driverdrivers/serial/8250_acpi.c+16 -40 replies
6/6failure of acpi_register_gsi() should be handled properly - change ia64 iosapic codearch/ia64/kernel/iosapic.c+13 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 2.6.13-rc3 0/6] failure of acpi_register_gsi() should be handled properly

Hi,

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().

Thanks,
Kenji Kaneshige