Skip to contentSkip to conversation

staging: android: uapi: binder.h: Used __packed instead of __attribute__((packed))

PATCH Dipak Zope 3 participants 4 messages Sep 2, 2014 – Sep 8, 2014 Staging

lore
Share & tools
lore
maintainer
#1 lore raw
In reply to Dipak Zope
Quoted 20 lines · Dipak Zope
---
 drivers/staging/android/uapi/binder.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/android/uapi/binder.h +1 -1
index 904adb7..dba4cef 100644
@@ -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;
Signature · 1 line
1.8.3.1

This is already in my tree, what branch are you working off of here?

thanks,

greg k-h

Dipak Zope

author
#0 lore raw
---
 drivers/staging/android/uapi/binder.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/android/uapi/binder.h +1 -1
index 904adb7..dba4cef 100644
@@ -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;
Signature · 1 line
1.8.3.1
#2 lore raw

On Mon, Sep 01, 2014 at 08:47:12AM -0400, Dipak Zope wrote:

you have not mentioned any commit message .

thanks
sudip

Quoted 26 lines
---
 drivers/staging/android/uapi/binder.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/android/uapi/binder.h +1 -1
index 904adb7..dba4cef 100644
@@ -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;
Signature · 7 lines
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
maintainer
#3 lore raw
In reply to Dipak Zope
Quoted 10 lines · Dipak Zope
---
 drivers/staging/android/uapi/binder.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/android/uapi/binder.h +0 -0
index 904adb7..dba4cef 100644

drivers/staging/android/uapi/binder.h struct binder_ptr_cookie { · line 175

Quoted 8 lines
drivers/staging/android/uapi/binder.h +1 -1
@@ -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;

Someone already sent in this same fix before you did, sorry.

greg k-h