[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AE90C24D6B3A694183C094C60CF0A2F6026B7262@saturn3.aculab.com>
Date: Mon, 3 Jun 2013 13:26:29 +0100
From: "David Laight" <David.Laight@...LAB.COM>
To: "Chen Gang" <gang.chen@...anux.com>,
"Andy Shevchenko" <andy.shevchenko@...il.com>,
<edumazet@...gle.com>
Cc: "Pravin Shelar" <pshelar@...ira.com>, <mgorman@...e.de>,
"David Miller" <davem@...emloft.net>,
"Andrew Morton" <akpm@...ux-foundation.org>,
<linux-kernel@...r.kernel.org>, "netdev" <netdev@...r.kernel.org>,
"Ben Hutchings" <bhutchings@...arflare.com>
Subject: RE: [PATCH v2] include/linux/skbuff.h: using '(u16) ~0U' instead of '~0U'
> +#define SKB_HEADER_UNSET_16 ((unsigned short) ~0U)
> +
The _16 part isn't really correct, the type could be changed
and then it would be wrong.
I think I might have used SKB_HEADER_OFFSET.
David
Powered by blists - more mailing lists