Release 4.16 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/bug_on.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef BUG_ON_H
#define BUG_ON_H
#include <assert.h>
#define BUG() assert(0)
#define BUG_ON(x) assert(!(x))
/* Does it make sense to treat warnings as errors? */
#define WARN() BUG()
#define WARN_ON(x) (BUG_ON(x), false)
#endif
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Lance Roy | 36 | 97.30% | 1 | 50.00% |
Greg Kroah-Hartman | 1 | 2.70% | 1 | 50.00% |
Total | 37 | 100.00% | 2 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.