This is a note to let you know that I've just added the patch titled gpiolib: fix debugfs dangling chip separator to the 6.11-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: gpiolib-fix-debugfs-dangling-chip-separator.patch and it can be found in the queue-6.11 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. commit d622bb0ff1402d90cf7b5fc220887f64d4a6b2d1 Author: Johan Hovold <johan+linaro@xxxxxxxxxx> Date: Mon Oct 28 13:49:59 2024 +0100 gpiolib: fix debugfs dangling chip separator [ Upstream commit 604888f8c3d01fddd9366161efc65cb3182831f1 ] Add the missing newline after entries for recently removed gpio chips so that the chip sections are separated by a newline as intended. Fixes: e348544f7994 ("gpio: protect the list of GPIO devices with SRCU") Cc: stable@xxxxxxxxxxxxxxx # 6.9 Cc: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> Signed-off-by: Johan Hovold <johan+linaro@xxxxxxxxxx> Link: https://lore.kernel.org/r/20241028125000.24051-3-johan+linaro@xxxxxxxxxx Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx> diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 1f522499c6fc5..337971080dfde 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -4879,7 +4879,7 @@ static int gpiolib_seq_show(struct seq_file *s, void *v) gc = srcu_dereference(gdev->chip, &gdev->srcu); if (!gc) { - seq_printf(s, "%s%s: (dangling chip)", + seq_printf(s, "%s%s: (dangling chip)\n", priv->newline ? "\n" : "", dev_name(&gdev->dev)); return 0;