From: Lars-Peter Clausen Date: Mon, 22 Oct 2012 11:15:00 +0000 (+0100) Subject: iio: Do not accept multiple '.' in fixed point numbers X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~668^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f1b7eb11422d28fbc7432f0dee2f97aead09417;p=pandora-kernel.git iio: Do not accept multiple '.' in fixed point numbers Currently when parsing a fix-point number we silently skip any additional '.' found in the string. E.g. '1.2.3.4' gets parsed as '1.234'. This patch disallows this and returns an error if more than one '.' is encountered. Signed-off-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed