* [PATCH] synclink_gt endianness annotations
@ 2007-10-14 18:34 Al Viro
0 siblings, 0 replies; only message in thread
From: Al Viro @ 2007-10-14 18:34 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel, paulkf
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
drivers/char/synclink_gt.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/char/synclink_gt.c b/drivers/char/synclink_gt.c
index 2f97d2f..64e835f 100644
--- a/drivers/char/synclink_gt.c
+++ b/drivers/char/synclink_gt.c
@@ -206,10 +206,10 @@ static void flush_cond_wait(struct cond_wait **head);
*/
struct slgt_desc
{
- unsigned short count;
- unsigned short status;
- unsigned int pbuf; /* physical address of data buffer */
- unsigned int next; /* physical address of next descriptor */
+ __le16 count;
+ __le16 status;
+ __le32 pbuf; /* physical address of data buffer */
+ __le32 next; /* physical address of next descriptor */
/* driver book keeping */
char *buf; /* virtual address of data buffer */
--
1.5.3.GIT
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-14 18:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-14 18:34 [PATCH] synclink_gt endianness annotations Al Viro
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®