Skip to contentSkip to conversation

Staging: android: uapi: fixed comment block coding style error in ion.h

PATCH In review Dzonatans Melgalvis 2 participants 2 messages Oct 27, 2015 – Oct 28, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Staging: android: uapi: fixed comment block coding style error in ion.h

Fixed checkpatch.pl warning about comment block coding style.

---
 drivers/staging/android/uapi/ion.h | 24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)
drivers/staging/android/uapi/ion.h +17 -7
index 68a14b4..8573d59 100644
@@ -56,13 +56,23 @@ enum ion_heap_type {
  * allocation flags - the lower 16 bits are used by core ion, the upper 16
  * bits are reserved for use by the heaps themselves.
  */
-#define ION_FLAG_CACHED 1		/* mappings of this buffer should be
-					   cached, ion will do cache
-					   maintenance when the buffer is
-					   mapped for dma */
-#define ION_FLAG_CACHED_NEEDS_SYNC 2	/* mappings of this buffer will created
-					   at mmap time, if this is set
-					   caches must be managed manually */
+
+/*
+ * mappings of this buffer should be
+ * cached, ion will do cache
+ * maintenance when the buffer is
+ * mapped for dma
+ */
+
+#define ION_FLAG_CACHED 1
+
+/*
+ * mappings of this buffer will be created
+ * at mmap time, if this is set
+ * caches must be managed manually
+ */
+
+#define ION_FLAG_CACHED_NEEDS_SYNC 2
 
 /**
  * DOC: Ion Userspace API
Signature · 1 line
2.1.4
#1 lore raw
Quoted 3 lines · Dzonatans Melgalvis

Fixed checkpatch.pl warning about comment block coding style.

The email address in Signed-off-by should end with '>'.

This change has already been done by:
7e4161747bc6 ("staging: android: Fix checkpatch block comments warnings")

which tree you are using?

regards
sudip