Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'gpio-fixes-for-v5.17-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux

Pull gpio fixes from Bartosz Golaszewski:
"Two fixes for the gpio-simulator:

- fix a bug with hogs not being set-up in gpio-sim when user-space
sets the chip label to an empty string

- include the gpio-sim documentation in the index"

* tag 'gpio-fixes-for-v5.17-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
gpio: sim: add doc file to index file
gpio: sim: check the label length when setting up device properties

+2 -1
+1
Documentation/admin-guide/gpio/index.rst
··· 10 10 gpio-aggregator 11 11 sysfs 12 12 gpio-mockup 13 + gpio-sim 13 14 14 15 .. only:: subproject and html 15 16
+1 -1
drivers/gpio/gpio-sim.c
··· 816 816 817 817 properties[prop_idx++] = PROPERTY_ENTRY_U32("ngpios", bank->num_lines); 818 818 819 - if (bank->label) 819 + if (bank->label && (strlen(bank->label) > 0)) 820 820 properties[prop_idx++] = PROPERTY_ENTRY_STRING("gpio-sim,label", 821 821 bank->label); 822 822