From 36ac7f7143bf8fc813012ab9638d1face082f903 Mon Sep 17 00:00:00 2001 From: Purnendu Kapadia Date: Fri, 15 Aug 2014 18:20:30 +0100 Subject: [PATCH] staging: android: fix attribute as suggested by checkpatch we should use __packed attribute Change-Id: I9c74b57799bc6787d54cf6e2563adc96dff666d2 Signed-off-by: Purnendu Kapadia Signed-off-by: Greg Kroah-Hartman --- drivers/staging/android/uapi/binder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/android/uapi/binder.h b/drivers/staging/android/uapi/binder.h index a86a1d8e76c4..c653800b3a1a 100644 --- a/drivers/staging/android/uapi/binder.h +++ b/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; -- 2.34.1