summaryrefslogtreecommitdiff
path: root/lib/string.c
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2021-09-11 17:05:52 -0500
committerTom Rini <trini@konsulko.com>2021-10-05 08:50:15 -0400
commit37c10bf7ef22ccaa349581984340a616fb1c6ffb (patch)
tree2448cfd8c333c96611d78c5952036dbc3c5d83bc /lib/string.c
parent390ccffe07c45a3ad584ee6199cc1e63d07981ee (diff)
gpio: Verify validity of pin offsets from device trees
Translation of an OF GPIO specifier should fail if the pin offset is larger than the number of pins in the GPIO bank. Signed-off-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions