From: Purnendu Kapadia Date: Fri, 15 Aug 2014 17:20:30 +0000 (+0100) Subject: staging: android: fix attribute as suggested by checkpatch X-Git-Tag: firefly_0821_release~4090^2~111 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=36ac7f7143bf8fc813012ab9638d1face082f903;p=firefly-linux-kernel-4.4.55.git 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 --- 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;