Title: [9687] trunk/drivers/staging/iio/Documentation/iio_utils.h: merge from upstream: IIO: Documentation: iio_utils: style consistency fix
- Revision
- 9687
- Author
- vapier
- Date
- 2011-03-01 16:18:45 -0500 (Tue, 01 Mar 2011)
Log Message
merge from upstream: IIO: Documentation: iio_utils: style consistency fix
From: Michael Hennerich <[email protected]>
No functional changes
Signed-off-by: Michael Hennerich <[email protected]>
Acked-by: Jonathan Cameron <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Modified Paths
Diff
Modified: trunk/drivers/staging/iio/Documentation/iio_utils.h (9686 => 9687)
--- trunk/drivers/staging/iio/Documentation/iio_utils.h 2011-03-01 21:18:41 UTC (rev 9686)
+++ trunk/drivers/staging/iio/Documentation/iio_utils.h 2011-03-01 21:18:45 UTC (rev 9687)
@@ -374,7 +374,7 @@
}
}
/* reorder so that the array is in index order*/
- current = malloc(sizeof(**ci_array)**counter);
+ current = malloc(sizeof(**ci_array)*(*counter));
if (current == NULL) {
ret = -ENOMEM;
goto error_cleanup_array;
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits