Skip to contentSkip to conversation

Staging:android:uapi:binder.h __packed

PATCH In review Paul McQuade 2 participants 2 messages Apr 8, 2014 – Apr 17, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 Staging:android:uapi:binder.h __packed

WARNING: __packed is preferred over __attribute__((packed))

---
 drivers/staging/android/uapi/binder.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/android/uapi/binder.h +1 -1
index 904adb7..dba4cef 100644
@@ -169,7 +169,7 @@ struct binder_ptr_cookie {
 struct binder_handle_cookie {
 	__u32 handle;
 	binder_uintptr_t cookie;
-} __attribute__((packed));
+} __packed;
 
 struct binder_pri_desc {
 	__s32 priority;
Signature · 1 line
1.8.3.2
maintainer
#1 lore raw
Quoted 6 lines · Paul McQuade

WARNING: __packed is preferred over __attribute__((packed))

---
 drivers/staging/android/uapi/binder.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Not on uapi .h files, sorry :(