linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] gpio: regression fixes
@ 2021-03-01  9:05 Johan Hovold
  2021-03-01  9:05 ` [PATCH v2 1/2] gpio: fix NULL-deref-on-deregistration regression Johan Hovold
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Johan Hovold @ 2021-03-01  9:05 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski
  Cc: Greg Kroah-Hartman, Saravana Kannan, linux-gpio, linux-kernel,
	Johan Hovold

Here's a fix for a regression in 5.12 due to the new stub-driver hack,
and a fix for potential list corruption due to missing locking which has
been there since the introduction of the character-device interface in
4.6.

Johan

Changes in v2
 - drop the corresponding drv_set_drvdata() which is no longer needed
   after patch 1/2
 - add Saravanas's reviewed-by tag to patch 2/2


Johan Hovold (2):
  gpio: fix NULL-deref-on-deregistration regression
  gpio: fix gpio-device list corruption

 drivers/gpio/gpiolib.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

-- 
2.26.2


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-03-02 21:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-01  9:05 [PATCH v2 0/2] gpio: regression fixes Johan Hovold
2021-03-01  9:05 ` [PATCH v2 1/2] gpio: fix NULL-deref-on-deregistration regression Johan Hovold
2021-03-02 15:40   ` Linus Walleij
2021-03-01  9:05 ` [PATCH v2 2/2] gpio: fix gpio-device list corruption Johan Hovold
2021-03-02 15:41   ` Linus Walleij
2021-03-01  9:12 ` [PATCH v2 0/2] gpio: regression fixes Bartosz Golaszewski
2021-03-01 16:57   ` Andy Shevchenko
2021-03-01 18:38     ` Bartosz Golaszewski
2021-03-01 17:07   ` Saravana Kannan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).