Commit 274c92f5 authored by Jeremy Linton's avatar Jeremy Linton

lower pr_err to pr_warn

parent 54e63d66
......@@ -127,7 +127,7 @@ static int acpi_pptt_walk_cache(struct acpi_table_header *table_hdr,
cache->flags & ACPI_PPTT_CACHE_TYPE_VALID &&
acpi_pptt_match_type(cache->attributes, type)) {
if (*found != NULL && cache != *found)
pr_err("Found duplicate cache level/type unable to determine uniqueness\n");
pr_warn("Found duplicate cache level/type unable to determine uniqueness\n");
pr_debug("Found cache @ level %d\n", level);
*found = cache;
......@@ -275,7 +275,7 @@ static struct acpi_pptt_processor *acpi_find_processor_node(struct acpi_table_he
cpu_node = (struct acpi_pptt_processor *)entry;
if (entry->length == 0) {
pr_err("Invalid zero length subtable\n");
pr_warn("Invalid zero length subtable\n");
break;
}
if (entry->type == ACPI_PPTT_TYPE_PROCESSOR &&
......@@ -509,7 +509,7 @@ static int topology_get_acpi_cpu_tag(struct acpi_table_header *table,
return cpu_node->acpi_processor_id;
return ACPI_PTR_DIFF(cpu_node, table);
}
pr_err_once("PPTT table found, but unable to locate core %d (%d)\n",
pr_warn_once("PPTT table found, but unable to locate core %d (%d)\n",
cpu, acpi_cpu_id);
return -ENOENT;
}
......@@ -522,7 +522,7 @@ static int find_acpi_cpu_topology_tag(unsigned int cpu, int level, int flag)
status = acpi_get_table(ACPI_SIG_PPTT, 0, &table);
if (ACPI_FAILURE(status)) {
pr_err_once("No PPTT table found, cpu topology may be inaccurate\n");
pr_warn_once("No PPTT table found, cpu topology may be inaccurate\n");
return -ENOENT;
}
retval = topology_get_acpi_cpu_tag(table, cpu, level, flag);
......@@ -555,7 +555,7 @@ int acpi_find_last_cache_level(unsigned int cpu)
acpi_cpu_id = get_acpi_id_for_cpu(cpu);
status = acpi_get_table(ACPI_SIG_PPTT, 0, &table);
if (ACPI_FAILURE(status)) {
pr_err_once("No PPTT table found, cache topology may be inaccurate\n");
pr_warn_once("No PPTT table found, cache topology may be inaccurate\n");
} else {
number_of_levels = acpi_find_cache_levels(table, acpi_cpu_id);
acpi_put_table(table);
......@@ -587,7 +587,7 @@ int cache_setup_acpi(unsigned int cpu)
status = acpi_get_table(ACPI_SIG_PPTT, 0, &table);
if (ACPI_FAILURE(status)) {
pr_err_once("No PPTT table found, cache topology may be inaccurate\n");
pr_warn_once("No PPTT table found, cache topology may be inaccurate\n");
return -ENOENT;
}
......@@ -641,7 +641,7 @@ int find_acpi_cpu_cache_topology(unsigned int cpu, int level)
status = acpi_get_table(ACPI_SIG_PPTT, 0, &table);
if (ACPI_FAILURE(status)) {
pr_err_once("No PPTT table found, topology may be inaccurate\n");
pr_warn_once("No PPTT table found, topology may be inaccurate\n");
return -ENOENT;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment