aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/erofs/unzip_pagevec.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/erofs/unzip_pagevec.h')
-rw-r--r--drivers/staging/erofs/unzip_pagevec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/erofs/unzip_pagevec.h b/drivers/staging/erofs/unzip_pagevec.h
index 0956615b86f7..23856ba2742d 100644
--- a/drivers/staging/erofs/unzip_pagevec.h
+++ b/drivers/staging/erofs/unzip_pagevec.h
@@ -150,7 +150,7 @@ z_erofs_pagevec_ctor_dequeue(struct z_erofs_pagevec_ctor *ctor,
erofs_vtptr_t t;
if (unlikely(ctor->index >= ctor->nr)) {
- BUG_ON(ctor->next == NULL);
+ DBG_BUGON(!ctor->next);
z_erofs_pagevec_ctor_pagedown(ctor, true);
}