lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1662140119.git.william.gray@linaro.org>
Date:   Fri,  2 Sep 2022 13:45:22 -0400
From:   William Breathitt Gray <william.gray@...aro.org>
To:     brgl@...ev.pl, linus.walleij@...aro.org
Cc:     linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
        William Breathitt Gray <william.gray@...aro.org>
Subject: [PATCH 0/4] Make irq_chip immutable for ISA drivers

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ