commit | 5751a99fe971262f3701922d116bcde7e9045b17 | [log] [tgz] |
---|---|---|
author | Stefan Wahren <stefan.wahren@i2se.com> | Wed Jun 10 06:13:15 2015 +0000 |
committer | Mark Brown <broonie@kernel.org> | Wed Jun 10 11:09:30 2015 +0100 |
tree | 9c6ee5845dda82c7eafbd84148014dde44cc89a0 | |
parent | 96dc589624954fea915c1cee90e0987ff9631386 [diff] |
regulator: core: replace sprintf with scnprintf In order to avoid potential overflows in print_constraints we better replace sprintf() with scnprintf(). Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Mark Brown <broonie@kernel.org>