[PATCH 0/4] genirq/irq_sim: misc updates

From: Bartosz Golaszewski
Date: Tue Sep 12 2023 - 04:56:06 EST


From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>

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.

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 | 27 +++++++++++----------------
2 files changed, 14 insertions(+), 16 deletions(-)

--
2.39.2