diff for duplicates of <20120802150209.GA26601@localhost> diff --git a/a/1.txt b/N1/1.txt index 66c7187..6c0fd38 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -3,7 +3,8 @@ On Thu, Jul 26, 2012 at 10:06:41AM -0700, Tony Luck wrote: > <James.Bottomley@hansenpartnership.com> wrote: > >> Here is the line in sock.i: > >> -> >> struct static_key memalloc_socks = ((struct static_key) { .enabled > >> ((atomic_t) { (0) }) }); +> >> struct static_key memalloc_socks = ((struct static_key) { .enabled = +> >> ((atomic_t) { (0) }) }); > > > > The above line contains two compound literals. It also uses a designated > > initializer to initialize the field enabled. A compound literal is not a @@ -24,7 +25,8 @@ net/core/sock.c:274:36: error: initializer element is not constant Dave Anglin says: > Here is the line in sock.i: > -> struct static_key memalloc_socks = ((struct static_key) { .enabled > ((atomic_t) { (0) }) }); +> struct static_key memalloc_socks = ((struct static_key) { .enabled = +> ((atomic_t) { (0) }) }); The above line contains two compound literals. It also uses a designated initializer to initialize the field enabled. A compound literal is not a diff --git a/a/content_digest b/N1/content_digest index 45de404..0e21c69 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -10,7 +10,7 @@ "ref\0CA+8MBbJkGN+zGBdD5Hg26wW_6E9L_ufoutn7wj+Y+nhtW7WKWg@mail.gmail.com\0" "From\0Fengguang Wu <fengguang.wu@intel.com>\0" "Subject\0Re: [next:akpm 129/309] net/core/sock.c:274:36: error: initializer element is not constant\0" - "Date\0Thu, 02 Aug 2012 15:02:09 +0000\0" + "Date\0Thu, 2 Aug 2012 23:02:09 +0800\0" "To\0linux-alpha@vger.kernel.org\0" "Cc\0Richard Henderson <rth@twiddle.net>" Ivan Kokshaysky <ink@jurassic.park.msu.ru> @@ -31,7 +31,8 @@ "> <James.Bottomley@hansenpartnership.com> wrote:\n" "> >> Here is the line in sock.i:\n" "> >>\n" - "> >> struct static_key memalloc_socks = ((struct static_key) { .enabled > >> ((atomic_t) { (0) }) });\n" + "> >> struct static_key memalloc_socks = ((struct static_key) { .enabled =\n" + "> >> ((atomic_t) { (0) }) });\n" "> >\n" "> > The above line contains two compound literals. It also uses a designated\n" "> > initializer to initialize the field enabled. A compound literal is not a\n" @@ -52,7 +53,8 @@ "Dave Anglin says:\n" "> Here is the line in sock.i:\n" ">\n" - "> struct static_key memalloc_socks = ((struct static_key) { .enabled > ((atomic_t) { (0) }) });\n" + "> struct static_key memalloc_socks = ((struct static_key) { .enabled =\n" + "> ((atomic_t) { (0) }) });\n" "\n" "The above line contains two compound literals. It also uses a designated\n" "initializer to initialize the field enabled. A compound literal is not a\n" @@ -83,4 +85,4 @@ " #define atomic_read(v)\t\t(*(volatile int *)&(v)->counter)\n" " #define atomic64_read(v)\t(*(volatile long *)&(v)->counter)" -c0b6f1364d7de0926da9e97da03a3b74ef0927503a0908ee3e34e06e3f5f28b8 +65a93692df195bf55a8e6a0805b72d996154a80f07f61f9c3a89782620375e4d
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.