genirq/irq_sim: misc updates
Status from this message: The following commit has been merged into the irq/core branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 3/34 patches 4 repliesApplied
- v2 posting 2/34 patches 7 repliesSuperseded
- v2 posting 1/34 patches 4 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 4 patches | 5 replies | Superseded |
Changes in v2 from the cover letter
- add a NULL-pointer check to the bitmap cleanup macro as advised by Peter Zijlstra
- initialize managed pointers when declaring them to create a clear pairing between the type and the cleanup action
Patches in v2 posting 3/3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | bitmap: define a cleanup function for bitmapsinclude/ | +3 | 0 replies | |
| 2/4 | genirq/irq_sim: remove unused field from struct irq_sim_irq_ctxkernel/ | +0 | 0 replies | |
| 3/4 | genirq/irq_sim: order headers alphabeticallykernel/ | +1 | 0 replies | |
| 4/4 | genirq/irq_sim: shrink code by using cleanup helperskernel/ | +11 | 4 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Andy Shevchenko | Yury Norov |
|---|---|---|
| 1/4 | R-b | A-b |
| 2/4 | ||
| 3/4 | ||
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RESEND PATCH v2 0/4] genirq/irq_sim: misc updates
From: Bartosz Golaszewski <[email protected]>
I'm resending it one last time. As it's been almost 5 months since the initial submission and there were no reviews for the irq_sim part, I'll take it through the GPIO tree for the next merge window.
--
Here are a couple of updates to the interrupt simulator. Two are minor:
remove an unused field and reorder includes for readability. The third one simplifies the error paths by using new cleanup macros. To that end we also add a cleanup definition for dynamic bitmaps.
v1 -> v2:
- add a NULL-pointer check to the bitmap cleanup macro as advised by Peter Zijlstra
- initialize managed pointers when declaring them to create a clear pairing between the type and the cleanup action
Bartosz Golaszewski (4):
bitmap: define a cleanup function for bitmaps genirq/irq_sim: remove unused field from struct irq_sim_irq_ctx genirq/irq_sim: order headers alphabetically genirq/irq_sim: shrink code by using cleanup helpers
include/linux/bitmap.h | 3 +++ kernel/irq/irq_sim.c | 30 ++++++++++++------------------ 2 files changed, 15 insertions(+), 18 deletions(-)
Signature · 1 line
2.40.1