summaryrefslogtreecommitdiffstats
path: root/drivers/staging/android/uapi
diff options
context:
space:
mode:
authorPurnendu Kapadia <pro8linux@gmail.com>2014-08-15 18:20:30 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-08-17 09:50:44 -0700
commit2fd2914a2e456048e2a176185cb8e7576def452c (patch)
tree4f7b7953df4480aabce6c3530f158c3f61e32df8 /drivers/staging/android/uapi
parent230fa11f5fab094512b6ad131ae1de86b12466f2 (diff)
downloadlinux-2fd2914a2e456048e2a176185cb8e7576def452c.tar.gz
linux-2fd2914a2e456048e2a176185cb8e7576def452c.tar.bz2
linux-2fd2914a2e456048e2a176185cb8e7576def452c.zip
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>
Diffstat (limited to 'drivers/staging/android/uapi')
-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;