[PATCH 1/3] gpio: Verify validity of pin offsets when looking up names

Tom Rini trini at konsulko.com
Wed Oct 6 00:02:07 CEST 2021


On Sat, Sep 11, 2021 at 05:05:51PM -0500, Samuel Holland 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>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211005/d611dddc/attachment.sig>


More information about the U-Boot mailing list