staging: android: fix attribute as suggested by checkpatch
authorPurnendu Kapadia <pro8linux@gmail.com>
Fri, 15 Aug 2014 17:20:30 +0000 (18:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Aug 2014 16:50:44 +0000 (09:50 -0700)
we should use __packed attribute

Signed-off-by: Purnendu Kapadia <pro8linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/uapi/binder.h

index 904adb7..dba4cef 100644 (file)
@@ -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;