Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

IPMI: fix SI address space settings

Fix a rather obvious error that Patrick found in the setup routines. Need to
set the proper address space in the ACPI case.

Signed-off-by: Corey Minyard <minyard@acm.org>
Cc: Patrick Schoeller <Patrick.Schoeller@hp.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Corey Minyard and committed by
Linus Torvalds
8fe1425a b6d1c9a4

+2 -2
+2 -2
drivers/char/ipmi/ipmi_si_intf.c
··· 1915 1915 1916 1916 if (spmi->addr.space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) { 1917 1917 info->io_setup = mem_setup; 1918 - info->io.addr_type = IPMI_IO_ADDR_SPACE; 1918 + info->io.addr_type = IPMI_MEM_ADDR_SPACE; 1919 1919 } else if (spmi->addr.space_id == ACPI_ADR_SPACE_SYSTEM_IO) { 1920 1920 info->io_setup = port_setup; 1921 - info->io.addr_type = IPMI_MEM_ADDR_SPACE; 1921 + info->io.addr_type = IPMI_IO_ADDR_SPACE; 1922 1922 } else { 1923 1923 kfree(info); 1924 1924 printk("ipmi_si: Unknown ACPI I/O Address type\n");