lkml.org 
[lkml]   [2022]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 0/4] Make irq_chip immutable for ISA drivers
On Fri, Sep 2, 2022 at 11:40 PM William Breathitt Gray
<william.gray@linaro.org> wrote:
>
> Kernel warns about mutable irq_chips in ISA drivers:
>
> "not an immutable chip, please consider fixing!"
>
> Make the struct irq_chip const, flag it as IRQCHIP_IMMUTABLE, add the
> new helper functions, and call the appropriate gpiolib functions.
>
> William Breathitt Gray (4):
> gpio: 104-dio-48e: Make irq_chip immutable
> gpio: 104-idi-48: Make irq_chip immutable
> gpio: 104-idio-16: Make irq_chip immutable
> gpio: ws16c48: Make irq_chip immutable
>
> drivers/gpio/gpio-104-dio-48e.c | 10 +++++++---
> drivers/gpio/gpio-104-idi-48.c | 10 +++++++---
> drivers/gpio/gpio-104-idio-16.c | 18 +++++++++++-------
> drivers/gpio/gpio-ws16c48.c | 10 +++++++---
> 4 files changed, 32 insertions(+), 16 deletions(-)
>
>
> base-commit: 6ae8e1d0d5e5de922315830aea975c63e8c70b2f
> --
> 2.37.2
>

Queued for fixes, thanks!

Bart

\
 
 \ /
  Last update: 2022-09-03 23:12    [W:0.060 / U:0.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site