diff options
| author | Guo Zhengkui <guozhengkui@vivo.com> | 2022-04-24 16:19:32 +0300 |
|---|---|---|
| committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-04-27 00:58:52 +0300 |
| commit | 4ee51101e93f0c8d83876ae5c0c26ca14934629e (patch) | |
| tree | c2fb568e0ee1837855cd324372fbe445d37e0802 /drivers/usb/cdns3/cdns3-debug.h | |
| parent | 12025abdc8539ed9d5014e2d647a3fd1bd3de5cd (diff) | |
| download | linux-4ee51101e93f0c8d83876ae5c0c26ca14934629e.tar.xz | |
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 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions
