[PATCH v3 0/4] gpio: sim, virtuser: minor usability enhancements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is just a minor usability enhancement proposal and some bug fixes for
gpio-virtuser and gpio-sim.

Koichiro Den (4):
  gpio: virtuser: fix missing lookup table cleanups
  gpio: virtuser: fix handling of multiple conn_ids in lookup table
  gpio: virtuser: lock up configfs that an instantiated device depends on
  gpio: sim: lock up configfs that an instantiated device depends on

 drivers/gpio/gpio-sim.c      | 48 ++++++++++++++++---
 drivers/gpio/gpio-virtuser.c | 91 +++++++++++++++++++++++++++---------
 2 files changed, 110 insertions(+), 29 deletions(-)

---
v2->v3:
- Incorporated feedback from Bartosz:
  * introduced gpio_virtuser_remove_lookup_table() as the counterpart to
    the existing gpio_virtuser_make_lookup_table()
- Fixed a memory leak that was spotted during the revision.

v1->v2:
- Incorporated feedback from Bartosz:
  * added more gpiod_remove_lookup_table() calls where appropriate.
  * assigned subsys at declaration.
- Added missing kfree(dev->lookup_table).
- Fixed typos in commit messages.

v2: https://lore.kernel.org/all/20250103030402.81954-1-koichiro.den@xxxxxxxxxxxxx/
v1: https://lore.kernel.org/all/20241224060819.1492472-1-koichiro.den@xxxxxxxxxxxxx/

-- 
2.43.0





[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux