Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: android: uapi: fix coding style

This patch fix checkpatch.pl warning and errors.

Signed-off-by: Seunghun Lee <waydi1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Seunghun Lee and committed by
Greg Kroah-Hartman
53d719f6 ef323812

+6 -6
+6 -6
drivers/staging/android/uapi/ion.h
··· 27 27 * @ION_HEAP_TYPE_SYSTEM: memory allocated via vmalloc 28 28 * @ION_HEAP_TYPE_SYSTEM_CONTIG: memory allocated via kmalloc 29 29 * @ION_HEAP_TYPE_CARVEOUT: memory allocated from a prereserved 30 - * carveout heap, allocations are physically 31 - * contiguous 30 + * carveout heap, allocations are physically 31 + * contiguous 32 32 * @ION_HEAP_TYPE_DMA: memory allocated via DMA API 33 33 * @ION_NUM_HEAPS: helper for iterating over heaps, a bit mask 34 - * is used to identify the heaps, so only 32 35 - * total heap types are supported 34 + * is used to identify the heaps, so only 32 35 + * total heap types are supported 36 36 */ 37 37 enum ion_heap_type { 38 38 ION_HEAP_TYPE_SYSTEM, ··· 50 50 #define ION_HEAP_CARVEOUT_MASK (1 << ION_HEAP_TYPE_CARVEOUT) 51 51 #define ION_HEAP_TYPE_DMA_MASK (1 << ION_HEAP_TYPE_DMA) 52 52 53 - #define ION_NUM_HEAP_IDS sizeof(unsigned int) * 8 53 + #define ION_NUM_HEAP_IDS (sizeof(unsigned int) * 8) 54 54 55 55 /** 56 56 * allocation flags - the lower 16 bits are used by core ion, the upper 16 ··· 78 78 * @align: required alignment of the allocation 79 79 * @heap_id_mask: mask of heap ids to allocate from 80 80 * @flags: flags passed to heap 81 - * @handle: pointer that will be populated with a cookie to use to 81 + * @handle: pointer that will be populated with a cookie to use to 82 82 * refer to this allocation 83 83 * 84 84 * Provided by userspace as an argument to the ioctl