diff options
author | Len Brown <len.brown@intel.com> | 2011-01-12 12:16:14 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-01-12 12:16:14 -0500 |
commit | eab001bf88f68653e87a7d90124a2241131dbeda (patch) | |
tree | f3b93ec36c4fe09a7f49a27b76add630f6ec76f0 /drivers/acpi/osl.c | |
parent | 156d821270e131dee7d89fc4aa385f0f9b1900ea (diff) | |
parent | 106d1a0ab2a354b97df3e232be7dedbfaf8e901d (diff) |
Merge branch 'misc' into test
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r-- | drivers/acpi/osl.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 3a7b4879fd99..e2dd6de5d50c 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -1233,8 +1233,7 @@ __setup("acpi_enforce_resources=", acpi_enforce_resources_setup); | |||
1233 | int acpi_check_resource_conflict(const struct resource *res) | 1233 | int acpi_check_resource_conflict(const struct resource *res) |
1234 | { | 1234 | { |
1235 | struct acpi_res_list *res_list_elem; | 1235 | struct acpi_res_list *res_list_elem; |
1236 | int ioport; | 1236 | int ioport = 0, clash = 0; |
1237 | int clash = 0; | ||
1238 | 1237 | ||
1239 | if (acpi_enforce_resources == ENFORCE_RESOURCES_NO) | 1238 | if (acpi_enforce_resources == ENFORCE_RESOURCES_NO) |
1240 | return 0; | 1239 | return 0; |
@@ -1264,9 +1263,13 @@ int acpi_check_resource_conflict(const struct resource *res) | |||
1264 | if (clash) { | 1263 | if (clash) { |
1265 | if (acpi_enforce_resources != ENFORCE_RESOURCES_NO) { | 1264 | if (acpi_enforce_resources != ENFORCE_RESOURCES_NO) { |
1266 | printk(KERN_WARNING "ACPI: resource %s %pR" | 1265 | printk(KERN_WARNING "ACPI: resource %s %pR" |
1267 | " conflicts with ACPI region %s %pR\n", | 1266 | " conflicts with ACPI region %s " |
1267 | "[%s 0x%zx-0x%zx]\n", | ||
1268 | res->name, res, res_list_elem->name, | 1268 | res->name, res, res_list_elem->name, |
1269 | res_list_elem); | 1269 | (res_list_elem->resource_type == |
1270 | ACPI_ADR_SPACE_SYSTEM_IO) ? "io" : "mem", | ||
1271 | (size_t) res_list_elem->start, | ||
1272 | (size_t) res_list_elem->end); | ||
1270 | if (acpi_enforce_resources == ENFORCE_RESOURCES_LAX) | 1273 | if (acpi_enforce_resources == ENFORCE_RESOURCES_LAX) |
1271 | printk(KERN_NOTICE "ACPI: This conflict may" | 1274 | printk(KERN_NOTICE "ACPI: This conflict may" |
1272 | " cause random problems and system" | 1275 | " cause random problems and system" |