commit | 8573ec4a159a0a56676d0927f5e22b0203356837 | [log] [tgz] |
---|---|---|
author | John Keeping <john@metanate.com> | Wed Sep 07 12:11:42 2022 +0100 |
committer | Tom Rini <trini@konsulko.com> | Tue Oct 11 15:40:48 2022 -0400 |
tree | 722505106dcdfcb42b6811958719e798a18ea3a4 | |
parent | c1f659dc6fd5e7a070205cff2989890d7b8dc379 [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>