Skip to content

staging: android: Remove BUG/BUG_ON

Tomer Samara dri-devel lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 0 repliesNew
  2. v42 patches 11 repliesSuperseded
  3. v32 patches 2 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2staging: android: Remove BUG_ON from ion_page_pool.cdrivers/staging/android/ion/ion_page_pool.c+0 -60 replies
2/2staging: android: Remove BUG from ion_system_heap.cdrivers/staging/android/ion/ion_system_heap.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 0/2] staging: android: Remove BUG/BUG_ON

Remove BUG/BUG_ON from androind/ion

-v5:
remove WARN_ON from ion_page_pool_free

-v4:
some changes based on Dan Carpenter review:
- Remove error check at ion_page_pool_remove (conditions are impossible)
- Remove error check at opn_page_pool_alloc
- restore WARN_ON at ion_page_pool_free
- Remove unnecessary error check at ion_page_pool_shrink
- Add /* This is impossible. */ comment at order_to_index
- Remove error handling of order_to_index

-v3:
remove WARN/WARN_ON as Gerg KH suggests

-v2:
add error check to order_to_index callers

Tomer Samara (2):
staging: android: Remove BUG_ON from ion_page_pool.c
staging: android: Remove BUG from ion_system_heap.c

 drivers/staging/android/ion/ion_page_pool.c   | 6 ------
 drivers/staging/android/ion/ion_system_heap.c | 2 +-
 2 files changed, 1 insertion(+), 7 deletions(-)
Signature · 1 line
2.25.1