* [PATCH] staging: android: fix attribute as suggested by checkpatch
@ 2014-08-15 17:20 Purnendu Kapadia
0 siblings, 0 replies; only message in thread
From: Purnendu Kapadia @ 2014-08-15 17:20 UTC (permalink / raw)
To: serban.constantinescu; +Cc: gregkh, devel, linux-kernel, pro8linux
we should use __packed attribute
Signed-off-by: Purnendu Kapadia <pro8linux@gmail.com>
---
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 904adb7..dba4cef 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;
--
1.9.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-08-15 17:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-15 17:20 [PATCH] staging: android: fix attribute as suggested by checkpatch Purnendu Kapadia
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox