Skip to content

irq_sim updates for v4.17

Bartosz Golaszewski lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3irq/irq_sim: explicitly pull in slab.hkernel/irq/irq_sim.c+1 -00 replies
2/3irq/irq_sim: modify the return value check for irq_sim_init()kernel/irq/irq_sim.c+1 -10 replies
3/3irq/irq_sim: return the base of the irq range from irq_sim_init()kernel/irq/irq_sim.c+6 -40 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] irq_sim updates for v4.17

This series contains changes that have been discussed a while ago with Marc - irq_sim_init() should return the base of the allocated interrupt range so that users don't need the irq_sim API to map the interrupt number to its offset in the array of allocated interrupts.

All external users have already been converted to correctly checking the return value (rv < 0 opposed to !rv). We can now change the implementation.

Include a small fix for irq_sim.c in the series as well.

Bartosz Golaszewski (3):
irq/irq_sim: explicitly pull in slab.h
irq/irq_sim: modify the return value check for irq_sim_init() irq/irq_sim: return the base of the irq range from irq_sim_init()

 kernel/irq/irq_sim.c | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
Signature · 1 line
2.16.1