diff for duplicates of <20161209213030.GC1555@ZenIV.linux.org.uk> diff --git a/a/1.txt b/N1/1.txt index fda0f85..5c0469f 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -45,7 +45,7 @@ On Fri, Dec 09, 2016 at 11:05:14AM -0800, Joe Perches wrote: > ((mdp_super_t *)tmp1)->nr_disks = 0; > ((mdp_super_t *)tmp2)->nr_disks = 0; > -> ret = memcmp(tmp1, tmp2, MD_SB_GENERIC_CONSTANT_WORDS * sizeof(__u32)) = 0; +> ret = memcmp(tmp1, tmp2, MD_SB_GENERIC_CONSTANT_WORDS * sizeof(__u32)) == 0; > > out: > kfree(tmp1); diff --git a/a/content_digest b/N1/content_digest index 528f33f..5c744a1 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\01481310314.5946.40.camel@perches.com\0" "From\0Al Viro <viro@zeniv.linux.org.uk>\0" "Subject\0Re: [PATCH] md: Combine two kmalloc() calls into one in sb_equal()\0" - "Date\0Fri, 09 Dec 2016 21:30:30 +0000\0" + "Date\0Fri, 9 Dec 2016 21:30:30 +0000\0" "To\0Joe Perches <joe@perches.com>\0" "Cc\0SF Markus Elfring <elfring@users.sourceforge.net>" linux-raid@vger.kernel.org @@ -58,7 +58,7 @@ "> \t((mdp_super_t *)tmp1)->nr_disks = 0;\n" "> \t((mdp_super_t *)tmp2)->nr_disks = 0;\n" "> \n" - "> \tret = memcmp(tmp1, tmp2, MD_SB_GENERIC_CONSTANT_WORDS * sizeof(__u32)) = 0;\n" + "> \tret = memcmp(tmp1, tmp2, MD_SB_GENERIC_CONSTANT_WORDS * sizeof(__u32)) == 0;\n" "> \n" "> out:\n" "> \tkfree(tmp1);\n" @@ -88,4 +88,4 @@ "\t\t\toffsetof(mdp_super_t, nr_disks) - 4);\n" If it is _not_ a hot path, why bother with it at all? -6181f7342344b8d0b2c20882b149589d3f53fe5b943fe76969dea9a08932cc50 +720a284be04554177bb8f20aeb92cda93369f12f289f410f2e0d30688f55192e
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.