diff options
author | Yuntao Wang <[email protected]> | 2023-12-20 11:01:24 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-12-29 12:22:28 -0800 |
commit | 43132282d8efc3fe8a90ecd97a715559ed510b5d (patch) | |
tree | 746417a9e05afabfbb1f6e05bf469e6561111add /scripts/generate_rust_analyzer.py | |
parent | 5b130948d53ae8fe426e8a0af725a634d972739f (diff) |
x86/kexec: use pr_err() instead of kexec_dprintk() when an error occurs
When detecting an error, the current code uses kexec_dprintk() to output
log message. This is not quite appropriate as kexec_dprintk() is mainly
used for outputting debugging messages, rather than error messages.
Replace kexec_dprintk() with pr_err(). This also makes the output method
for this error log align with the output method for other error logs in
this function.
Additionally, the last return statement in set_page_address() is
unnecessary, remove it.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Yuntao Wang <[email protected]>
Cc: Baoquan He <[email protected]>
Cc: Borislav Petkov (AMD) <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions