regulator: core: replace sprintf with scnprintf
In order to avoid potential overflows in print_constraints we better replace sprintf() with scnprintf(). Signed-off-by: NStefan Wahren <stefan.wahren@i2se.com> Signed-off-by: NMark Brown <broonie@kernel.org>
Showing
想要评论请 注册 或 登录