projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50637f0
)
staging:iio:core add missing increment of loop index in iio_map_array_unregister()
author
Lothar Waßmann
<LW@KARO-electronics.de>
Sat, 24 Mar 2012 06:19:25 +0000
(07:19 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 10 Apr 2012 16:17:33 +0000
(09:17 -0700)
staging:iio:core add missing increment of loop index in iio_map_array_unregister()
Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/inkern.c
patch
|
blob
|
history
diff --git
a/drivers/staging/iio/inkern.c
b/drivers/staging/iio/inkern.c
index
de2c8ea
..
ef07a02
100644
(file)
--- a/
drivers/staging/iio/inkern.c
+++ b/
drivers/staging/iio/inkern.c
@@
-82,6
+82,7
@@
int iio_map_array_unregister(struct iio_dev *indio_dev,
ret = -ENODEV;
goto error_ret;
}
+ i++;
}
error_ret:
mutex_unlock(&iio_map_list_lock);