* [PATCH 3/3] Staging:android:uapi:binder.h __packed
@ 2014-04-08 18:02 Paul McQuade
2014-04-17 3:15 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Paul McQuade @ 2014-04-08 18:02 UTC (permalink / raw)
To: gregkh; +Cc: devel, linux-kernel
WARNING: __packed is preferred over __attribute__((packed))
Signed-off-by: Paul McQuade <paulmcquad@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.8.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 3/3] Staging:android:uapi:binder.h __packed
2014-04-08 18:02 [PATCH 3/3] Staging:android:uapi:binder.h __packed Paul McQuade
@ 2014-04-17 3:15 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2014-04-17 3:15 UTC (permalink / raw)
To: Paul McQuade; +Cc: devel, linux-kernel
On Tue, Apr 08, 2014 at 07:02:04PM +0100, Paul McQuade wrote:
> WARNING: __packed is preferred over __attribute__((packed))
>
> Signed-off-by: Paul McQuade <paulmcquad@gmail.com>
> ---
> drivers/staging/android/uapi/binder.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Not on uapi .h files, sorry :(
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-17 3:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-08 18:02 [PATCH 3/3] Staging:android:uapi:binder.h __packed Paul McQuade
2014-04-17 3:15 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).