On Tue, 11 Jun 2024 22:30:46 +0900 "Masami Hiramatsu (Google)" <[email protected]> wrote:
> From: Masami Hiramatsu (Google) <[email protected]> > > Cleanup the redundant WARN_ON_ONCE(cond) + pr_warn(msg) into > WARN_ONCE(cond, msg). Also add some WARN_ONCE() for hitcount check. > These WARN_ONCE() errors makes it easy to handle errors from ktest. > > Suggested-by: Steven Rostedt <[email protected]> > Signed-off-by: Masami Hiramatsu (Google) <[email protected]> > --- > Changes in v3: > - integrate WARN_ON_ONCE() and pr_warn() instead of remove > WARN_ONCE(). Reviewed-by: Steven Rostedt (Google) <[email protected]> -- Steve

