Skip to content

isa: Ensure number of irq matches number of base

William Breathitt Gray linux-gpio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6isa: Introduce the module_isa_driver_with_irq helper macroinclude/linux/isa.h+42 -102 replies
2/6counter: 104-quad-8: Ensure number of irq matches number of basedrivers/counter/104-quad-8.c+3 -21 reply
3/6gpio: 104-dio-48e: Ensure number of irq matches number of basedrivers/gpio/gpio-104-dio-48e.c+3 -20 replies
4/6gpio: 104-idi-48: Ensure number of irq matches number of basedrivers/gpio/gpio-104-idi-48.c+3 -20 replies
5/6gpio: 104-idio-16: Ensure number of irq matches number of basedrivers/gpio/gpio-104-idio-16.c+3 -20 replies
6/6gpio: ws16c48: Ensure number of irq matches number of basedrivers/gpio/gpio-ws16c48.c+3 -20 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchWilliam Breathitt Gray
1/6A-b
2/6A-b
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] isa: Ensure number of irq matches number of base

Several ISA drivers support IRQ and call devm_request_irq() in their device probe callbacks. These drivers typically provide an "irq" array module parameter, which matches with the respective "base" array module parameter, to specify what IRQ lines are used for each device. To reduce code repetition, a module_isa_driver_with_irq helper macro is introduced providing a check ensuring that the number of "irq" passed to the module matches with the respective number of "base". The relevant ISA drivers are updated accordingly to utilize the new module_isa_driver_with_irq macro.

William Breathitt Gray (6):
isa: Introduce the module_isa_driver_with_irq helper macro
counter: 104-quad-8: Ensure number of irq matches number of base
gpio: 104-dio-48e: Ensure number of irq matches number of base
gpio: 104-idi-48: Ensure number of irq matches number of base
gpio: 104-idio-16: Ensure number of irq matches number of base
gpio: ws16c48: Ensure number of irq matches number of base

 drivers/counter/104-quad-8.c    |  5 ++--
 drivers/gpio/gpio-104-dio-48e.c |  5 ++--
 drivers/gpio/gpio-104-idi-48.c  |  5 ++--
 drivers/gpio/gpio-104-idio-16.c |  5 ++--
 drivers/gpio/gpio-ws16c48.c     |  5 ++--
 include/linux/isa.h             | 52 ++++++++++++++++++++++++++-------
 6 files changed, 57 insertions(+), 20 deletions(-)

base-commit: 568035b01cfb107af8d2e4bd2fb9aea22cf5b868

Signature · 1 line
2.37.2