.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Windfarm PowerMac thermal control. |
---|
3 | 4 | * Control loops for RackMack3,1 (Xserve G5) |
---|
4 | 5 | * |
---|
5 | 6 | * Copyright (C) 2012 Benjamin Herrenschmidt, IBM Corp. |
---|
6 | | - * |
---|
7 | | - * Use and redistribute under the terms of the GNU GPL v2. |
---|
8 | 7 | */ |
---|
9 | 8 | #include <linux/types.h> |
---|
10 | 9 | #include <linux/errno.h> |
---|
.. | .. |
---|
282 | 281 | for (i = 0; i < 3; i++) { |
---|
283 | 282 | err = wf_control_set(cpu_fans[cpu][i], speed); |
---|
284 | 283 | if (err) { |
---|
285 | | - pr_warning("wf_rm31: Fan %s reports error %d\n", |
---|
286 | | - cpu_fans[cpu][i]->name, err); |
---|
| 284 | + pr_warn("wf_rm31: Fan %s reports error %d\n", |
---|
| 285 | + cpu_fans[cpu][i]->name, err); |
---|
287 | 286 | failure_state |= FAILURE_FAN; |
---|
288 | 287 | } |
---|
289 | 288 | } |
---|
.. | .. |
---|
466 | 465 | |
---|
467 | 466 | err = wf_sensor_get(slots_temp, &temp); |
---|
468 | 467 | if (err) { |
---|
469 | | - pr_warning("wf_rm31: slots temp sensor error %d\n", err); |
---|
| 468 | + pr_warn("wf_rm31: slots temp sensor error %d\n", err); |
---|
470 | 469 | failure_state |= FAILURE_SENSOR; |
---|
471 | 470 | wf_control_set_max(slots_fan); |
---|
472 | 471 | return; |
---|