+ forcedeth-le32-annotation.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     forcedeth: le32 annotation

has been added to the -mm tree.  Its filename is

     forcedeth-le32-annotation.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: forcedeth: le32 annotation
From: Stephen Hemminger <shemminger@xxxxxxxx>

Use __le32 to indicate byte order of hardware ring elements

Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxx>
Cc: Ayaz Abdulla <aabdulla@xxxxxxxxxx>
Cc: Jeff Garzik <jeff@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/net/forcedeth.c |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff -puN drivers/net/forcedeth.c~forcedeth-le32-annotation drivers/net/forcedeth.c
--- a/drivers/net/forcedeth.c~forcedeth-le32-annotation
+++ a/drivers/net/forcedeth.c
@@ -381,15 +381,15 @@ enum {
 
 /* Big endian: should work, but is untested */
 struct ring_desc {
-	u32 buf;
-	u32 flaglen;
+	__le32 buf;
+	__le32 flaglen;
 };
 
 struct ring_desc_ex {
-	u32 bufhigh;
-	u32 buflow;
-	u32 txvlan;
-	u32 flaglen;
+	__le32 bufhigh;
+	__le32 buflow;
+	__le32 txvlan;
+	__le32 flaglen;
 };
 
 union ring_type {
@@ -653,8 +653,8 @@ static const struct nv_ethtool_str nv_et
 };
 
 struct register_test {
-	u32 reg;
-	u32 mask;
+	__le32 reg;
+	__le32 mask;
 };
 
 static const struct register_test nv_registers_test[] = {
_

Patches currently in -mm which might be from shemminger@xxxxxxxx are

origin.patch
git-netdev-all.patch
qla3xxx-NIC-driver.patch
via-rhine-napi-support.patch
via-rhine-napi-poll-enable.patch
forcedeth-coding-style-cleanups-rev2.patch
forcedeth-le32-annotation.patch
forcdeth-napi-support.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux