diff options
| author | Finn Thain <[email protected]> | 2018-09-11 20:18:44 -0400 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2018-10-08 22:53:10 +1100 |
| commit | 5f93d7081a47e1972031ccf57c4b2779eee162fb (patch) | |
| tree | b326c06426133b198af50b3e7f90de7002d3e234 /tools/perf/scripts/python/stackcollapse.py | |
| parent | b52dce87389385aad54f5680329b41257ee0f7ac (diff) | |
macintosh/via-macii: Remove BUG_ON assertions
The BUG_ON assertions I added to the via-macii driver over a decade ago
haven't fired AFAIK. Some can never fire (by inspection). One assertion
checks for a NULL pointer, but that would merely substitute a BUG crash
for an Oops crash. Remove the pointless BUG_ON assertions and replace
the others with a WARN_ON and an array bounds check.
Tested-by: Stan Johnson <[email protected]>
Signed-off-by: Finn Thain <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions