staging: android: fix attribute as suggested by checkpatch
authorPurnendu Kapadia <pro8linux@gmail.com>
Fri, 15 Aug 2014 17:20:30 +0000 (18:20 +0100)
committerRiley Andrews <riandrews@google.com>
Tue, 13 Jan 2015 22:44:51 +0000 (22:44 +0000)
we should use __packed attribute

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

index a86a1d8e76c4715b9f93ebf2379725f2b1afd72d..c653800b3a1a37c8d253d819da13c7b4b6c88fb5 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;