summaryrefslogtreecommitdiff
path: root/fs/anon_inodes.c
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2024-10-28 13:49:58 +0100
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-10-31 19:14:17 +0100
commit3e8b7238b427e05498034c240451af5f5495afda (patch)
tree39b411c079c3abdc749a0366debd2e2af7cc32e0 /fs/anon_inodes.c
parent90bad749858cf88d80af7c2b23f86db4f7ad61c2 (diff)
gpiolib: fix debugfs newline separators
The gpiolib debugfs interface exports a list of all gpio chips in a system and the state of their pins. The gpio chip sections are supposed to be separated by a newline character, but a long-standing bug prevents the separator from being included when output is generated in multiple sessions, making the output inconsistent and hard to read. Make sure to only suppress the newline separator at the beginning of the file as intended. Fixes: f9c4a31f6150 ("gpiolib: Use seq_file's iterator interface") Cc: stable@vger.kernel.org # 3.7 Cc: Thierry Reding <treding@nvidia.com> Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Link: https://lore.kernel.org/r/20241028125000.24051-2-johan+linaro@kernel.org Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'fs/anon_inodes.c')
0 files changed, 0 insertions, 0 deletions