mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-13 04:41:17 +00:00
IIO: Documentation: iio_utils: style consistency fix
No functional changes Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
cb771cbdbd
commit
2bf99c70ce
@ -374,7 +374,7 @@ inline int build_channel_array(const char *device_dir,
|
||||
}
|
||||
}
|
||||
/* 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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user