[PATCH 1/3] gpio: Verify validity of pin offsets when looking up names
Simon Glass
sjg at chromium.org
Thu Sep 30 06:08:52 CEST 2021
On Sat, 11 Sept 2021 at 16:05, Samuel Holland <samuel at sholland.org> wrote:
>
> Translation of a pin name to a device+offset should fail if the offset
> is larger than the number of pins in the GPIO bank.
>
> Signed-off-by: Samuel Holland <samuel at sholland.org>
> ---
>
> drivers/gpio/gpio-uclass.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
test?
More information about the U-Boot
mailing list