diff for duplicates of <20120812021405.GB8442@localhost> diff --git a/a/1.txt b/N1/1.txt index eb1d506..855b24d 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -7,7 +7,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 085ef3f..379aded 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -10,7 +10,7 @@ "ref\0502707D5.7020602@orcon.net.nz\0" "From\0Fengguang Wu <fengguang.wu@intel.com>\0" "Subject\0[PATCH] [ALPHA] Redefine ATOMIC_INIT and ATOMIC64_INIT to drop the casts\0" - "Date\0Sun, 12 Aug 2012 02:14:05 +0000\0" + "Date\0Sun, 12 Aug 2012 10:14:05 +0800\0" "To\0Michael Cree <mcree@orcon.net.nz>\0" "Cc\0linux-alpha@vger.kernel.org" Richard Henderson <rth@twiddle.net> @@ -36,7 +36,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" @@ -67,4 +68,4 @@ " #define atomic_read(v)\t\t(*(volatile int *)&(v)->counter)\n" " #define atomic64_read(v)\t(*(volatile long *)&(v)->counter)" -9873113e69f3002092f2a597c5dea6abd73617f435d71b956a14ca5906648885 +69ca4dfbf2a78f8569cfc1e59433a53e87f2c6a4fd8242dc594829a8eda49704
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.