Skip to content

Commit 604888f

Browse files
jhovoldBartosz Golaszewski
authored andcommitted
gpiolib: fix debugfs dangling chip separator
Add the missing newline after entries for recently removed gpio chips so that the chip sections are separated by a newline as intended. Fixes: e348544 ("gpio: protect the list of GPIO devices with SRCU") Cc: [email protected] # 6.9 Cc: Bartosz Golaszewski <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bartosz Golaszewski <[email protected]>
1 parent 3e8b723 commit 604888f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpio/gpiolib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4971,7 +4971,7 @@ static int gpiolib_seq_show(struct seq_file *s, void *v)
49714971

49724972
gc = srcu_dereference(gdev->chip, &gdev->srcu);
49734973
if (!gc) {
4974-
seq_printf(s, "%s%s: (dangling chip)",
4974+
seq_printf(s, "%s%s: (dangling chip)\n",
49754975
priv->newline ? "\n" : "",
49764976
dev_name(&gdev->dev));
49774977
return 0;

0 commit comments

Comments
 (0)