diff options
author | Laura Garcia Liebana <nevola@gmail.com> | 2016-02-24 18:11:07 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-11 22:09:09 -0800 |
commit | 350698f6efe844f9f40bf47da7bbab75eba34c61 (patch) | |
tree | e3bd1eaa84bff3e700ab452f7a4d45978888b19c /lib/ubsan.h | |
parent | aaa657312a6b483af870bd7b412a1467b7808725 (diff) | |
download | linux-stable-350698f6efe844f9f40bf47da7bbab75eba34c61.tar.gz linux-stable-350698f6efe844f9f40bf47da7bbab75eba34c61.tar.bz2 linux-stable-350698f6efe844f9f40bf47da7bbab75eba34c61.zip |
staging: nvec: Avoid the use of BUG_ON
Prevent a kernel panic by avoiding the use of the BUG_ON macro.
Checkpatch detected this issue.
The BUG_ON macro is not needed as such cases shouldn't happen and they
were introduced for debugging purposes.
Signed-off-by: Laura Garcia Liebana <nevola@gmail.com>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/ubsan.h')
0 files changed, 0 insertions, 0 deletions