]> git.baikalelectronics.ru Git - kernel.git/commit
staging: erofs: replace BUG_ON with DBG_BUGON in data.c
authorChen Gong <gongchen4@huawei.com>
Tue, 18 Sep 2018 14:27:28 +0000 (22:27 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Sep 2018 14:35:03 +0000 (16:35 +0200)
commit6ea725644bbff1b9a5db2421e33146026e87978a
treec2520c1b48e595a7a88e0c022de9da4a862fe9d7
parent0003aa6f16aebff50254e6bee6ac8e953e863450
staging: erofs: replace BUG_ON with DBG_BUGON in data.c

This patch replace BUG_ON with DBG_BUGON in data.c, and add necessary
error handler.

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