summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPurnendu Kapadia <pro8linux@gmail.com>2014-08-15 21:20:30 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-08-17 20:50:44 +0400
commit2fd2914a2e456048e2a176185cb8e7576def452c (patch)
tree4f7b7953df4480aabce6c3530f158c3f61e32df8
parent230fa11f5fab094512b6ad131ae1de86b12466f2 (diff)
downloadlinux-2fd2914a2e456048e2a176185cb8e7576def452c.tar.xz
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>
-rw-r--r--drivers/staging/android/uapi/binder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/android/uapi/binder.h b/drivers/staging/android/uapi/binder.h
index 904adb7600cf..dba4cef3a8d3 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;