staging: most: dim2: replace BUG_ON() with graceful error handling
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 4 repliesIn review
- v11 patch 2 repliesSuperseded
Changes in v2 from the cover letter
- Split into one patch per function as requested by Greg KH
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | staging: most: dim2: replace BUG_ON() in try_start_dim_transfer()drivers/ | +6 | 0 replies | |
| 2/5 | staging: most: dim2: replace BUG_ON() in service_done_flag()drivers/ | +2 | 4 replies | |
| 3/5 | staging: most: dim2: replace BUG_ON() in configure_channel()drivers/ | +2 | 0 replies | |
| 4/5 | staging: most: dim2: replace BUG_ON() in enqueue()drivers/ | +2 | 0 replies | |
| 5/5 | staging: most: dim2: replace BUG_ON() in poison_channel()drivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/5] staging: most: dim2: replace BUG_ON() with graceful error handling
From: Gabriel Rondon <[email protected]>
Replace all BUG_ON() calls in dim2.c with proper error handling that returns appropriate error codes instead of panicking the kernel.
BUG_ON() is deprecated per Documentation/process/deprecated.rst.
Changes in v2:
- Split into one patch per function as requested by Greg KH
Gabriel Rondon (5):
staging: most: dim2: replace BUG_ON() in try_start_dim_transfer()
staging: most: dim2: replace BUG_ON() in service_done_flag()
staging: most: dim2: replace BUG_ON() in configure_channel()
staging: most: dim2: replace BUG_ON() in enqueue()
staging: most: dim2: replace BUG_ON() in poison_channel()
drivers/staging/most/dim2/dim2.c | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-)
Signature · 1 line
2.33.0