Skip to contentSkip to conversation

Staging: android: uapi: Fix do not add new typedefs

PATCH In review Yeliz Taneroglu 2 participants 2 messages Feb 26, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: android: uapi: Fix do not add new typedefs

Fix checkpatch.pl issues with
do not add new typedefs in ion.h

---
 drivers/staging/android/uapi/ion.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/android/uapi/ion.h +1 -1
index 6aa4956..7e7f87e 100644
@@ -20,7 +20,7 @@
 #include <linux/ioctl.h>
 #include <linux/types.h>
 
-typedef int ion_user_handle_t;
+int ion_user_handle_t;
 
 /**
  * enum ion_heap_types - list of all possible types of heaps
Signature · 1 line
1.8.3.2
maintainer
#1 lore raw
Quoted 13 lines · Yeliz Taneroglu

Fix checkpatch.pl issues with
do not add new typedefs in ion.h

---
 drivers/staging/android/uapi/ion.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/android/uapi/ion.h +0 -0
index 6aa4956..7e7f87e 100644

drivers/staging/android/uapi/ion.h line 23

Quoted 5 lines
drivers/staging/android/uapi/ion.h +1 -1
@@ -20,7 +20,7 @@
 #include <linux/ioctl.h>
 #include <linux/types.h>
 
-typedef int ion_user_handle_t;
+int ion_user_handle_t;

I don't think the change you just made, does what you think it does :(

Care to explain what you did here, and why?

Also, did you build-test this change?

thanks,

greg k-h