diff options
| author | 2015-05-27 11:20:52 +0300 | |
|---|---|---|
| committer | 2015-06-01 16:55:19 +0100 | |
| commit | 5517547bf44731621338c1a4047196a49c790719 (patch) | |
| tree | 51e0b50fa205cc2623a530a2e40521223a78aa16 /scripts/patch-kernel | |
| parent | iio: Require strict scan mask matching in hardware mode (diff) | |
iio: magnetometer: correct a harmless off by one check
The line before limits i to 0-3 so the existing code works fine but the
check is still off by one and >= is intended instead of >.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
