[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130208.142309.482339537637350318.davem@davemloft.net>
Date: Fri, 08 Feb 2013 14:23:09 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: David.Laight@...LAB.COM
Cc: bhutchings@...arflare.com, freddy@...x.com.tw,
netdev@...r.kernel.org, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH, resubmit] ax88179_178a: ASIX AX88179_178A USB 3.0/2.0
to gigabit ethernet adapter driver
From: "David Laight" <David.Laight@...LAB.COM>
Date: Fri, 8 Feb 2013 10:23:08 -0000
> It is much better to define constants for the bit values and
> explicitly mask them as required.
Yes, __be32/__le32 along with bit define macros is the only reasonable
way to do this kind of stuff.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists