aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorBaolin Wang <[email protected]>2019-10-14 15:07:43 +0800
committerBjorn Andersson <[email protected]>2019-11-08 16:41:13 -0800
commitb2547dce4d4a23e8c4a2b0258e3bd31d43dddfad (patch)
tree4aeefb6280bd4d08b1a15ce0b47de1b1f5ac4222 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentb674a30bf8b0edf3b966e32dfcb2e00dfca5a823 (diff)
hwspinlock: Remove BUG_ON() from the hwspinlock core
The original code use BUG_ON() to validate the parameters when locking or unlocking one hardware lock, but we should not crash the whole kernel though the hwlock parameters are incorrect, instead we can return the error number for users and give some warning. Signed-off-by: Baolin Wang <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions