diff for duplicates of <20100907192154.GA14214@albatros> diff --git a/a/1.txt b/N1/1.txt index c1df153..c8385e8 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -25,7 +25,7 @@ gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5), linux-next. typeof(*p) *_________p1 = (typeof(*p)*__force )ACCESS_ONCE(p); \ ^ rcu_lockdep_assert(c); \ - (void) (((typeof (*p) space *)p) = p); \ + (void) (((typeof (*p) space *)p) == p); \ ^ ^ smp_read_barrier_depends(); \ ((typeof(*p) __force __kernel *)(_________p1)); \ @@ -36,3 +36,7 @@ If I understand this, it is evaluated three times, right? -- Vasiliy +-- +To unsubscribe from this list: send the line "unsubscribe linux-raid" in +the body of a message to majordomo@vger.kernel.org +More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N1/content_digest index cecee2b..e552c93 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\0201009062210.56824.arnd@arndb.de\0" "From\0Kulikov Vasiliy <segooon@gmail.com>\0" "Subject\0Re: [PATCH] md: do not use ++ in rcu_dereference() argument\0" - "Date\0Tue, 07 Sep 2010 19:21:55 +0000\0" + "Date\0Tue, 7 Sep 2010 23:21:55 +0400\0" "To\0Arnd Bergmann <arnd@arndb.de>\0" "Cc\0Paul E. McKenney <paulmck@linux.vnet.ibm.com>" kernel-janitors@vger.kernel.org @@ -39,7 +39,7 @@ "\t\ttypeof(*p) *_________p1 = (typeof(*p)*__force )ACCESS_ONCE(p); \\\n" " ^\n" "\t\trcu_lockdep_assert(c); \\\n" - "\t\t(void) (((typeof (*p) space *)p) = p); \\\n" + "\t\t(void) (((typeof (*p) space *)p) == p); \\\n" " ^ ^\n" "\t\tsmp_read_barrier_depends(); \\\n" "\t\t((typeof(*p) __force __kernel *)(_________p1)); \\\n" @@ -49,6 +49,10 @@ "\n" "\n" "-- \n" - Vasiliy + "Vasiliy\n" + "--\n" + "To unsubscribe from this list: send the line \"unsubscribe linux-raid\" in\n" + "the body of a message to majordomo@vger.kernel.org\n" + More majordomo info at http://vger.kernel.org/majordomo-info.html -3fefcb66f4090aceb6d6f1d21155c1f3882933d979b2eebe535528ac33a1c9e6 +42e111c516b47a62b81f77eff67d259cd076076a50406f4fc4847d2fc1e7adc2
diff --git a/a/1.txt b/N2/1.txt index c1df153..cf78cab 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -25,7 +25,7 @@ gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5), linux-next. typeof(*p) *_________p1 = (typeof(*p)*__force )ACCESS_ONCE(p); \ ^ rcu_lockdep_assert(c); \ - (void) (((typeof (*p) space *)p) = p); \ + (void) (((typeof (*p) space *)p) == p); \ ^ ^ smp_read_barrier_depends(); \ ((typeof(*p) __force __kernel *)(_________p1)); \ diff --git a/a/content_digest b/N2/content_digest index cecee2b..f738e66 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -2,7 +2,7 @@ "ref\0201009062210.56824.arnd@arndb.de\0" "From\0Kulikov Vasiliy <segooon@gmail.com>\0" "Subject\0Re: [PATCH] md: do not use ++ in rcu_dereference() argument\0" - "Date\0Tue, 07 Sep 2010 19:21:55 +0000\0" + "Date\0Tue, 7 Sep 2010 23:21:55 +0400\0" "To\0Arnd Bergmann <arnd@arndb.de>\0" "Cc\0Paul E. McKenney <paulmck@linux.vnet.ibm.com>" kernel-janitors@vger.kernel.org @@ -39,7 +39,7 @@ "\t\ttypeof(*p) *_________p1 = (typeof(*p)*__force )ACCESS_ONCE(p); \\\n" " ^\n" "\t\trcu_lockdep_assert(c); \\\n" - "\t\t(void) (((typeof (*p) space *)p) = p); \\\n" + "\t\t(void) (((typeof (*p) space *)p) == p); \\\n" " ^ ^\n" "\t\tsmp_read_barrier_depends(); \\\n" "\t\t((typeof(*p) __force __kernel *)(_________p1)); \\\n" @@ -51,4 +51,4 @@ "-- \n" Vasiliy -3fefcb66f4090aceb6d6f1d21155c1f3882933d979b2eebe535528ac33a1c9e6 +bb53c4912b4a3d175592d325722a599d2694bf1b1b54e8a3c7b4acec89b56f80
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.