Skip to contentSkip to conversation

staging: android: fix attribute as suggested by checkpatch

PATCH New Purnendu Kapadia 1 participant 1 message Aug 15, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: android: fix attribute as suggested by checkpatch

we should use __packed attribute

---
 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.9.1