summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-02-14 11:33:35 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-02-14 11:40:25 +0100
commitf246b4079c746f80e29b07252c546d37a359105f (patch)
treeb07f7db09c3cce1cb6aa2cae6eeea14eef093b67 /common
parente43eed6606e44574d665b3338b701da1035c504e (diff)
downloadbarebox-f246b4079c746f80e29b07252c546d37a359105f.tar.gz
barebox-f246b4079c746f80e29b07252c546d37a359105f.tar.xz
i2c_probe command: Use kstrtoint
Use kstrtoint rather than simple_strtoul to catch erroneous input like "i2c1" which previously was silently interpreted as "0". Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions