aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/osl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r--drivers/acpi/osl.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 966feddf6b1b..6eaa13cdf767 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -1192,8 +1192,7 @@ __setup("acpi_enforce_resources=", acpi_enforce_resources_setup);
1192int acpi_check_resource_conflict(const struct resource *res) 1192int acpi_check_resource_conflict(const struct resource *res)
1193{ 1193{
1194 struct acpi_res_list *res_list_elem; 1194 struct acpi_res_list *res_list_elem;
1195 int ioport; 1195 int ioport = 0, clash = 0;
1196 int clash = 0;
1197 1196
1198 if (acpi_enforce_resources == ENFORCE_RESOURCES_NO) 1197 if (acpi_enforce_resources == ENFORCE_RESOURCES_NO)
1199 return 0; 1198 return 0;
@@ -1223,9 +1222,13 @@ int acpi_check_resource_conflict(const struct resource *res)
1223 if (clash) { 1222 if (clash) {
1224 if (acpi_enforce_resources != ENFORCE_RESOURCES_NO) { 1223 if (acpi_enforce_resources != ENFORCE_RESOURCES_NO) {
1225 printk(KERN_WARNING "ACPI: resource %s %pR" 1224 printk(KERN_WARNING "ACPI: resource %s %pR"
1226 " conflicts with ACPI region %s %pR\n", 1225 " conflicts with ACPI region %s "
1226 "[%s 0x%zx-0x%zx]\n",
1227 res->name, res, res_list_elem->name, 1227 res->name, res, res_list_elem->name,
1228 res_list_elem); 1228 (res_list_elem->resource_type ==
1229 ACPI_ADR_SPACE_SYSTEM_IO) ? "io" : "mem",
1230 (size_t) res_list_elem->start,
1231 (size_t) res_list_elem->end);
1229 if (acpi_enforce_resources == ENFORCE_RESOURCES_LAX) 1232 if (acpi_enforce_resources == ENFORCE_RESOURCES_LAX)
1230 printk(KERN_NOTICE "ACPI: This conflict may" 1233 printk(KERN_NOTICE "ACPI: This conflict may"
1231 " cause random problems and system" 1234 " cause random problems and system"