Skip to content
Commit 7eda1a95 authored by John Keeping's avatar John Keeping Committed by Tom Rini
Browse files

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: 92c4a95e ("pinctrl: Add new function pinctrl_generic_set_state_prefix()")
Signed-off-by: default avatarJohn Keeping <john@metanate.com>
Reviewed-by: default avatarPali Rohár <pali@kernel.org>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 45455e8f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment