Skip to content

Commit

Permalink
slides/common-printk: Mention pr_warn instead of pr_warning
Browse files Browse the repository at this point in the history
pr_warning() isn't the correct name for printing a log with the
KERN_WARNING log level. pr_warn() must be used instead.

Signed-off-by: Maxime Chevallier <[email protected]>
  • Loading branch information
minimaxwell committed Dec 14, 2023
1 parent 154162a commit 2b9c25b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/printk.tex
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
messages
\item The \code{pr_*()} family of functions: \kfunc{pr_emerg},
\kfunc{pr_alert}, \kfunc{pr_crit}, \kfunc{pr_err},
\kfunc{pr_warning}, \kfunc{pr_notice}, \kfunc{pr_info},
\kfunc{pr_warn}, \kfunc{pr_notice}, \kfunc{pr_info},
\kfunc{pr_cont} \\
and the special \kfunc{pr_debug} (see next pages)
\begin{itemize}
Expand Down

0 comments on commit 2b9c25b

Please sign in to comment.