staging: erofs: unzip_vle_lz4.c,utils.c: rectify BUG_ONs
authorGao Xiang <gaoxiang25@huawei.com>
Tue, 11 Dec 2018 07:17:50 +0000 (15:17 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Feb 2019 09:09:02 +0000 (10:09 +0100)
commitbff97255bb29d10b7dcc32e318eb5da84ba0befe
tree7341d1ba14bc7c605e3e42669fd855a02a702573
parent9a6a676e16eb899582022690856828ca926dd804
staging: erofs: unzip_vle_lz4.c,utils.c: rectify BUG_ONs

commit b8e076a6ef253e763bfdb81e5c72bcc828b0fbeb upstream.

remove all redundant BUG_ONs, and turn the rest
useful usages to DBG_BUGONs.

Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/unzip_vle_lz4.c
drivers/staging/erofs/utils.c