diff options
author | Peter Meerwald <pmeerw@pmeerw.net> | 2014-07-16 19:32:00 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-07 14:52:37 -0700 |
commit | f8e674d630e89990d96a28b679ca91afd215dcac (patch) | |
tree | 128c400fa360f106d792af4636f6a27acafe72b5 /kernel/posix-timers.c | |
parent | ef5f195b851064b51c81c45ff981bec504eefafa (diff) |
iio:bma180: Missing check for frequency fractional part
commit 9b2a4d35a6ceaf217be61ed8eb3c16986244f640 upstream.
val2 should be zero
This will make no difference for correct inputs but will reject
incorrect ones with a decimal part in the value written to the sysfs
interface.
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Cc: Oleksandr Kravchenko <o.v.kravchenko@globallogic.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/posix-timers.c')
0 files changed, 0 insertions, 0 deletions