mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* linux-next: manual merge of the gpio-brgl tree with the gpio-brgl-fixes tree
@ 2026-11-16 20:09 Mark Brown
  2026-11-16 21:42 ` [PATCH linux-next] gpio: shared: keep the atomic set_bit() in the gpio-brgl merge Sasha Levin
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2026-11-16 20:09 UTC (permalink / raw)
  To: Bartosz Golaszewski
  Cc: Bartosz Golaszewski, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 1385 bytes --]

Hi all,

Today's linux-next merge of the gpio-brgl tree got a conflict in:

  drivers/gpio/gpiolib-shared.c

between commit:

  7d1d799d6251b ("gpio: shared: use atomic set_bit() for descriptor flags")

from the gpio-brgl-fixes tree and commits:

  c402fd2961dd0 ("gpio: shared: factor out per-entry teardown helper")
  cda42ff53c4b5 ("gpio: shared: factor out per-entry setup helper")

from the gpio-brgl tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

diff --cc drivers/gpio/gpiolib-shared.c
index f34315a2059a2,cbb68ad646498..0000000000000
--- a/drivers/gpio/gpiolib-shared.c
+++ b/drivers/gpio/gpiolib-shared.c
@@@ -532,7 -643,8 +643,7 @@@ int gpiochip_setup_shared(struct gpio_c
  				 * This is a shared GPIO proxy. Mark its
  				 * descriptor as such and return here.
  				 */
- 				set_bit(GPIOD_FLAG_SHARED_PROXY, &gdev->descs[0].flags);
 -				__set_bit(GPIOD_FLAG_SHARED_PROXY,
 -					  &gdev->descs[0].flags);
++				__set_bit(GPIOD_FLAG_SHARED_PROXY, &gdev->descs[0].flags);
  				return 0;
  			}
  		}

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

end of thread, other threads:[~2026-11-16 21:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-16 20:09 linux-next: manual merge of the gpio-brgl tree with the gpio-brgl-fixes tree Mark Brown
2026-11-16 21:42 ` [PATCH linux-next] gpio: shared: keep the atomic set_bit() in the gpio-brgl merge Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®