aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2024-05-05 17:14:20 +0300
committerBartosz Golaszewski <[email protected]>2024-05-07 09:43:17 +0200
commit2b5ae9c7d9e5ef4bc52c932fdf10328feb5167c6 (patch)
treeaa9e417aeaf848563a8c69919f6f1e6483c548ef /tools/testing/selftests/bpf/progs/test_autoload.c
parent68a25c36718e480277b487ae286553c177988a1a (diff)
gpiolib: Discourage to use formatting strings in line names
Currently the documentation for line names allows to use %u inside the alternative name. This is broken in character device approach from day 1 and being in use solely in sysfs. Character device interface has a line number as a part of its address, so the users better rely on it. Hence remove the misleading documentation. On top of that, there are no in-kernel users (out of 6, if I'm correct) for such names and moreover if one exists it won't help in distinguishing lines with the same naming as '%u' will also be in them and we will get a warning in gpiochip_set_desc_names() for such cases. Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Reviewed-by: Kent Gibson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions