diff options
author | John Keeping <john@metanate.com> | 2022-09-07 12:11:42 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-10-11 15:40:48 -0400 |
commit | 7eda1a95331d1ccd17e5af6fb18bf5577f81a451 (patch) | |
tree | 722505106dcdfcb42b6811958719e798a18ea3a4 /test/py | |
parent | 45455e8ff5634e77aede803f9a772dba08b9674f (diff) |
pinctrl: fix buffer size for pinctrl_generic_set_state_prefix()
This buffer has the concatenated prefix and name written into it, so it
must be large enough to cover both strings plus the terminating NUL.
Fixes: 92c4a95ec7 ("pinctrl: Add new function pinctrl_generic_set_state_prefix()")
Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/py')
0 files changed, 0 insertions, 0 deletions