From: Alexey Dobriyan <adobriyan@mail.ru>
To: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] posix_acl_xattr: fix endianness warnings
Date: Wed, 16 Feb 2005 23:19:44 +0200 [thread overview]
Message-ID: <200502162319.44162.adobriyan@mail.ru> (raw)
Fix endianness warnings in fs/xattr_acl.c, fs/xfs/xfs_acl.c. Adds some in
fs/cifs/cifssmb.c ("21 insertions(+), 39 deletions(-)").
Signed-off-by: Alexey Dobriyan <adobriyan@mail.ru>
Index: linux-warnings/include/linux/posix_acl_xattr.h
===================================================================
--- linux-warnings/include/linux/posix_acl_xattr.h (revision 6)
+++ linux-warnings/include/linux/posix_acl_xattr.h (revision 7)
@@ -23,13 +23,13 @@
#define ACL_UNDEFINED_ID (-1)
typedef struct {
- __u16 e_tag;
- __u16 e_perm;
- __u32 e_id;
+ __le16 e_tag;
+ __le16 e_perm;
+ __le32 e_id;
} posix_acl_xattr_entry;
typedef struct {
- __u32 a_version;
+ __le32 a_version;
posix_acl_xattr_entry a_entries[0];
} posix_acl_xattr_header;
reply other threads:[~2005-02-16 20:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200502162319.44162.adobriyan@mail.ru \
--to=adobriyan@mail.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@parcelfarce.linux.theplanet.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®