staging: android: uapi: fix coding style
authorSeunghun Lee <waydi1@gmail.com>
Wed, 16 Apr 2014 15:39:44 +0000 (00:39 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Apr 2014 03:17:31 +0000 (20:17 -0700)
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>
drivers/staging/android/uapi/ion.h

index f09e7c154d691ec4d1e0e5c73901129fbc397d6e..6aa4956733708b025c981197424517ed0d29f6fa 100644 (file)
@@ -27,12 +27,12 @@ typedef int ion_user_handle_t;
  * @ION_HEAP_TYPE_SYSTEM:       memory allocated via vmalloc
  * @ION_HEAP_TYPE_SYSTEM_CONTIG: memory allocated via kmalloc
  * @ION_HEAP_TYPE_CARVEOUT:     memory allocated from a prereserved
- *                              carveout heap, allocations are physically
- *                              contiguous
+ *                              carveout heap, allocations are physically
+ *                              contiguous
  * @ION_HEAP_TYPE_DMA:          memory allocated via DMA API
  * @ION_NUM_HEAPS:              helper for iterating over heaps, a bit mask
- *                              is used to identify the heaps, so only 32
- *                              total heap types are supported
+ *                              is used to identify the heaps, so only 32
+ *                              total heap types are supported
  */
 enum ion_heap_type {
        ION_HEAP_TYPE_SYSTEM,
@@ -50,7 +50,7 @@ enum ion_heap_type {
 #define ION_HEAP_CARVEOUT_MASK         (1 << ION_HEAP_TYPE_CARVEOUT)
 #define ION_HEAP_TYPE_DMA_MASK         (1 << ION_HEAP_TYPE_DMA)
 
-#define ION_NUM_HEAP_IDS               sizeof(unsigned int) * 8
+#define ION_NUM_HEAP_IDS               (sizeof(unsigned int) * 8)
 
 /**
  * allocation flags - the lower 16 bits are used by core ion, the upper 16
@@ -78,7 +78,7 @@ enum ion_heap_type {
  * @align:             required alignment of the allocation
  * @heap_id_mask:      mask of heap ids to allocate from
  * @flags:             flags passed to heap
- * @handle:            pointer that will be populated with a cookie to use to 
+ * @handle:            pointer that will be populated with a cookie to use to
  *                     refer to this allocation
  *
  * Provided by userspace as an argument to the ioctl