diff options
| author | 2022-04-24 21:19:32 +0800 | |
|---|---|---|
| committer | 2022-04-26 17:58:52 -0400 | |
| commit | 4ee51101e93f0c8d83876ae5c0c26ca14934629e (patch) | |
| tree | c2fb568e0ee1837855cd324372fbe445d37e0802 /virt/git:/ssh:/git@git.zx2c4.com | |
| parent | tracing: Fix sleeping function called from invalid context on RT kernel (diff) | |
| download | linux-dev-4ee51101e93f0c8d83876ae5c0c26ca14934629e.tar.xz linux-dev-4ee51101e93f0c8d83876ae5c0c26ca14934629e.zip | |
tracing: Use WARN instead of printk and WARN_ON
Use `WARN(cond, ...)` instead of `if (cond)` + `printk(...)` +
`WARN_ON(1)`.
Link: https://lkml.kernel.org/r/20220424131932.3606-1-guozhengkui@vivo.com
Suggested-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Guo Zhengkui <guozhengkui@vivo.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'virt/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
