login
Header Space

 
 

Re: [PATCH 1/1] checkpatch: nested structs

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andy Whitcroft <apw@...>
Cc: <linux-kernel@...>
Date: Tuesday, April 8, 2008 - 1:59 pm

On Tuesday 2008-04-08 19:35, Andy Whitcroft wrote:

+#define E(a, b, c, d) \
+       {.ip6 = { \
+               __constant_htonl(a), __constant_htonl(b), \
+               __constant_htonl(c), __constant_htonl(d), \
+       }}

static const struct union nf_inet_addr some_address = E(20010db8,0,13,17);
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/1] checkpatch: nested structs, Jan Engelhardt, (Tue Apr 8, 10:55 am)
Re: [PATCH 1/1] checkpatch: nested structs, Andy Whitcroft, (Tue Apr 8, 1:35 pm)
Re: [PATCH 1/1] checkpatch: nested structs, Jan Engelhardt, (Tue Apr 8, 1:59 pm)
speck-geostationary