Re: [PATCH v1 0/3] gpiolib: acpi: More fixes to the consolidation rework

From: Ferry Toth
Date: Fri Oct 20 2023 - 07:50:52 EST


Op 19-10-2023 om 19:34 schreef Andy Shevchenko:
On top what Hans already fixed, Ferry reported a few bugs that pointed
out to the same consolidation rework done in v6.2.

The first is most serious issue, that needs to be fixed ASAP.

The second is good to have.

And the third one I'm not fully okay with, so open for advice on
how to improve.

Note, that long list of parameters to a _find_gpio() functions
can be hidden in the specifically crafted a new data structure,
but this is out of scope of the _fixes_ series. I'm all ears as
well for that one.

Andy Shevchenko (3):
gpiolib: acpi: Add missing memset(0) to acpi_get_gpiod_from_data()
gpiolib: Fix debug messaging in gpiod_find_and_request()
gpiolib: Make debug messages in gpiod_find_by_fwnode() less confusing

For the series
Tested-by: Ferry Toth <fntoth@xxxxxxxxx>

drivers/gpio/gpiolib-acpi.c | 10 ++++-----
drivers/gpio/gpiolib-acpi.h | 13 ++++++------
drivers/gpio/gpiolib-of.c | 13 ++++++------
drivers/gpio/gpiolib-of.h | 8 ++++----
drivers/gpio/gpiolib-swnode.c | 4 ++--
drivers/gpio/gpiolib-swnode.h | 1 +
drivers/gpio/gpiolib.c | 38 ++++++++++++++++++++---------------
7 files changed, 48 insertions(+), 39 deletions(-)