Преглед изворни кода

staging: android: fix attribute as suggested by checkpatch

we should use __packed attribute

Signed-off-by: Purnendu Kapadia <pro8linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Purnendu Kapadia пре 11 година
родитељ
комит
2fd2914a2e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      drivers/staging/android/uapi/binder.h

+ 1 - 1
drivers/staging/android/uapi/binder.h

@@ -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;