diff options
author | 2021-11-05 17:31:54 +0100 | |
---|---|---|
committer | 2021-11-05 17:47:14 +0100 | |
commit | 567af705206564946f724cf752ff36cb7a2935e3 (patch) | |
tree | e01ecb504294f101e1b5f2db90dc843d19e40fde /drivers/fpga/fpga-mgr.c | |
parent | thermal: Fix NULL pointer dereferences in of_thermal_ functions (diff) | |
download | linux-dev-567af705206564946f724cf752ff36cb7a2935e3.tar.xz linux-dev-567af705206564946f724cf752ff36cb7a2935e3.zip |
thermal: Replace pr_warn() with pr_warn_once() in user_space_bind()
Use pr_warn_once() instead of pr_warn() to print the user space
governor deprecation message in user_space_bind() to reduce the
kernel log noise.
Fixes: 0275c9fb0eff ("thermal/core: Make the userspace governor deprecated")
Reported-by: Linus Torvalds <torvalds@linuxfoundation.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions