Commit c1116da9 authored by Mateusz Nowotyński's avatar Mateusz Nowotyński Committed by Greg Kroah-Hartman
Browse files

Staging: android: fix sizeof style issue



Converts sizeof(type) to sizeof(variable) in android/ion/ion_cma_heap.c

Signed-off-by: default avatarMateusz Nowotyński <maxmati4@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent da1fe271
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ static int ion_cma_allocate(struct ion_heap *heap, struct ion_buffer *buffer,
	if (!pages)
		return -ENOMEM;

	table = kmalloc(sizeof(struct sg_table), GFP_KERNEL);
	table = kmalloc(sizeof(*table), GFP_KERNEL);
	if (!table)
		goto err;