aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPurnendu Kapadia <pro8linux@gmail.com>2014-08-15 18:20:30 +0100
committerRiley Andrews <riandrews@google.com>2015-01-13 22:44:51 +0000
commit36ac7f7143bf8fc813012ab9638d1face082f903 (patch)
treec6e499cbb19d2869d532a4451285b6ea8f229d64
parent0137e89dee95eff290c919c3fafb5b1e7d9fad6a (diff)
downloadlinux-linaro-stable-36ac7f7143bf8fc813012ab9638d1face082f903.tar.gz
staging: android: fix attribute as suggested by checkpatch
we should use __packed attribute Change-Id: I9c74b57799bc6787d54cf6e2563adc96dff666d2 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 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;