[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180927113810.30721-1-geert+renesas@glider.be>
Date: Thu, 27 Sep 2018 13:38:07 +0200
From: Geert Uytterhoeven <geert+renesas@...der.be>
To: Linus Walleij <linus.walleij@...aro.org>,
Laura Abbott <labbott@...hat.com>
Cc: Jonathan Corbet <corbet@....net>, linux-gpio@...r.kernel.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert+renesas@...der.be>
Subject: [PATCH v2 0/3] gpio: Fix VLA removal fallout
Hi Linus,
This patch series fixes various (mostly harmless) issues introduced by
commit 3027743f83f867d8 ("gpio: Remove VLA from gpiolib").
As per the "one patch should fix one issue"-policy, this series contains 3
patches, although they all have the same Fixes: tag.
Changes compared to v1:
- Rebase on top of gpio array rework.
W.r.t. propagating errors: while gpiod_set_array_value_complex() and its
callers can now return an error code, this is currently limited to -ENOMEM.
Actual failures setting a GPIO output value cannot be propagated, as
gpio_chip.set() still returns void. Do you want to change that?
E.g. gen_74x164_set_value() can fail.
Feel free to fold patches if deemed appropriate.
Thanks!
Geert Uytterhoeven (3):
Documentation: gpio: Fix return type of gpiod_set_raw_array_value*()
gpio: Propagate errors from gpiod_set_array_value_complex()
gpio: Restore indentation of continued lines
Documentation/driver-api/gpio/consumer.rst | 32 +++++++-------
drivers/gpio/gpiolib.c | 50 +++++++++++-----------
drivers/gpio/gpiolib.h | 8 ++--
include/linux/gpio/consumer.h | 46 ++++++++++----------
4 files changed, 70 insertions(+), 66 deletions(-)
--
2.17.1
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists