On Tue, Mar 24, 2020 at 03:36:36PM +0000, Will Deacon wrote: > CHECK_DATA_CORRUPTION() allows detected data corruption to result > consistently in either a BUG() or a WARN() depending on > CONFIG_BUG_ON_DATA_CORRUPTION. > > Use CHECK_DATA_CORRUPTION() to report plist integrity checking failures, > rather than explicit use of BUG_ON() and WARN_ON(). > > Cc: Kees Cook <keescook@xxxxxxxxxxxx> > Cc: Paul E. McKenney <paulmck@xxxxxxxxxx> > Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> > Signed-off-by: Will Deacon <will@xxxxxxxxxx> Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>