diff options
| author | Varsha Rao <[email protected]> | 2017-02-25 17:53:58 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-03-06 09:17:05 +0100 |
| commit | d351c2db5420bb17dcd2d9aac7ddb5f64c6d04b3 (patch) | |
| tree | a8cc6b9726c24fb311355936f5c346e0496b7ff4 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | ec72ba7bffdf98e1e53ad168259cd78cd48af3b5 (diff) | |
staging: speakup: Replace BUG_ON() with WARN_ON().
BUG_ON() is replaced with WARN_ON() and EINVAL is returned, when
WARN_ON() is true. This fixes the following checkpatch issue:
Avoid crashing the kernel - try using WARN_ON & recovery code rather
than BUG() or BUG_ON().
Signed-off-by: Varsha Rao <[email protected]>
Reviewed-by: Samuel Thibault <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions