瀏覽代碼

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;