diff for duplicates of <20091014033939.GB18527@localhost.localdomain> diff --git a/a/1.txt b/N1/1.txt index d0bb9c8..6ed2a70 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -74,23 +74,23 @@ static unsigned long __ffs(unsigned long word) { int num = 0; - if ((word & 0xffff) = 0) { + if ((word & 0xffff) == 0) { num += 16; word >>= 16; } - if ((word & 0xff) = 0) { + if ((word & 0xff) == 0) { num += 8; word >>= 8; } - if ((word & 0xf) = 0) { + if ((word & 0xf) == 0) { num += 4; word >>= 4; } - if ((word & 0x3) = 0) { + if ((word & 0x3) == 0) { num += 2; word >>= 2; } - if ((word & 0x1) = 0) + if ((word & 0x1) == 0) num += 1; return num; } @@ -128,7 +128,7 @@ unsigned long find_next_bit(const unsigned long *addr, unsigned long size, found_first: tmp &= (~0UL >> (BITS_PER_LONG - size)); - if (tmp = 0UL) /* Are any bits set? */ + if (tmp == 0UL) /* Are any bits set? */ return result + size; /* Nope. */ found_middle: return result + __ffs(tmp); @@ -169,7 +169,7 @@ unsigned long find_next_zero_bit(const unsigned long *addr, unsigned long size, found_first: tmp |= ~0UL << size; - if (tmp = ~0UL) /* Are any bits zero? */ + if (tmp == ~0UL) /* Are any bits zero? */ return result + size; /* Nope. */ found_middle: return result + ffz(tmp); @@ -239,7 +239,7 @@ static void bitmap_dump(unsigned long *bitmap, int size) printf("1 "); else printf("0 "); - if (i % 10 = 9) + if (i % 10 == 9) printf("\n"); } printf("\n"); diff --git a/a/content_digest b/N1/content_digest index f696a0e..fafaa67 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -5,28 +5,28 @@ "ref\020091013091017.GA18431@localhost.localdomain\0" "ref\01255470887.21871.2.camel@concordia\0" "From\0Akinobu Mita <akinobu.mita@gmail.com>\0" - "Subject\0Re: [PATCH 2/8] bitmap: Introduce bitmap_set, bitmap_clear,\0" - "Date\0Wed, 14 Oct 2009 03:39:39 +0000\0" + "Subject\0Re: [PATCH 2/8] bitmap: Introduce bitmap_set, bitmap_clear, bitmap_find_next_zero_area\0" + "Date\0Wed, 14 Oct 2009 12:39:39 +0900\0" "To\0Michael Ellerman <michael@ellerman.id.au>\0" - "Cc\0Andrew Morton <akpm@linux-foundation.org>" - Fenghua Yu <fenghua.yu@intel.com> - Greg Kroah-Hartman <gregkh@suse.de> - linux-ia64@vger.kernel.org - Tony Luck <tony.luck@intel.com> + "Cc\0Fenghua Yu <fenghua.yu@intel.com>" x86@kernel.org + linux-ia64@vger.kernel.org + Thomas Gleixner <tglx@linutronix.de> + David S. Miller <davem@davemloft.net> netdev@vger.kernel.org + Greg Kroah-Hartman <gregkh@suse.de> linux-kernel@vger.kernel.org linux-altix@sgi.com Yevgeny Petrilin <yevgenyp@mellanox.co.il> FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> linuxppc-dev@ozlabs.org - Ingo Molnar <mingo@redhat.com> + Tony Luck <tony.luck@intel.com> Paul Mackerras <paulus@samba.org> H. Peter Anvin <hpa@zytor.com> sparclinux@vger.kernel.org - Thomas Gleixner <tglx@linutronix.de> + Andrew Morton <akpm@linux-foundation.org> linux-usb@vger.kernel.org - David S. Miller <davem@davemloft.net> + Ingo Molnar <mingo@redhat.com> " Lothar Wassmann <LW@karo-electronics.de>\0" "\00:1\0" "b\0" @@ -106,23 +106,23 @@ "{\n" "\tint num = 0;\n" "\n" - "\tif ((word & 0xffff) = 0) {\n" + "\tif ((word & 0xffff) == 0) {\n" "\t\tnum += 16;\n" "\t\tword >>= 16;\n" "\t}\n" - "\tif ((word & 0xff) = 0) {\n" + "\tif ((word & 0xff) == 0) {\n" "\t\tnum += 8;\n" "\t\tword >>= 8;\n" "\t}\n" - "\tif ((word & 0xf) = 0) {\n" + "\tif ((word & 0xf) == 0) {\n" "\t\tnum += 4;\n" "\t\tword >>= 4;\n" "\t}\n" - "\tif ((word & 0x3) = 0) {\n" + "\tif ((word & 0x3) == 0) {\n" "\t\tnum += 2;\n" "\t\tword >>= 2;\n" "\t}\n" - "\tif ((word & 0x1) = 0)\n" + "\tif ((word & 0x1) == 0)\n" "\t\tnum += 1;\n" "\treturn num;\n" "}\n" @@ -160,7 +160,7 @@ "\n" "found_first:\n" "\ttmp &= (~0UL >> (BITS_PER_LONG - size));\n" - "\tif (tmp = 0UL)\t\t/* Are any bits set? */\n" + "\tif (tmp == 0UL)\t\t/* Are any bits set? */\n" "\t\treturn result + size;\t/* Nope. */\n" "found_middle:\n" "\treturn result + __ffs(tmp);\n" @@ -201,7 +201,7 @@ "\n" "found_first:\n" "\ttmp |= ~0UL << size;\n" - "\tif (tmp = ~0UL)\t/* Are any bits zero? */\n" + "\tif (tmp == ~0UL)\t/* Are any bits zero? */\n" "\t\treturn result + size;\t/* Nope. */\n" "found_middle:\n" "\treturn result + ffz(tmp);\n" @@ -271,7 +271,7 @@ "\t\t\tprintf(\"1 \");\n" "\t\telse\n" "\t\t\tprintf(\"0 \");\n" - "\t\tif (i % 10 = 9)\n" + "\t\tif (i % 10 == 9)\n" "\t\t\tprintf(\"\\n\");\n" "\t}\n" "\tprintf(\"\\n\");\n" @@ -388,4 +388,4 @@ "\treturn 0;\n" } -c282148b235c748bdf4d2ab76615b5201cc07214bc74802f489b51b4fe3b40e5 +4954389aff1ce0f86636e62ce781231b00a36c11aebb6af6899ff8c6f2b6365c
diff --git a/a/content_digest b/N2/content_digest index f696a0e..2629ad3 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -8,25 +8,25 @@ "Subject\0Re: [PATCH 2/8] bitmap: Introduce bitmap_set, bitmap_clear,\0" "Date\0Wed, 14 Oct 2009 03:39:39 +0000\0" "To\0Michael Ellerman <michael@ellerman.id.au>\0" - "Cc\0Andrew Morton <akpm@linux-foundation.org>" - Fenghua Yu <fenghua.yu@intel.com> - Greg Kroah-Hartman <gregkh@suse.de> - linux-ia64@vger.kernel.org - Tony Luck <tony.luck@intel.com> + "Cc\0Fenghua Yu <fenghua.yu@intel.com>" x86@kernel.org + linux-ia64@vger.kernel.org + Thomas Gleixner <tglx@linutronix.de> + David S. Miller <davem@davemloft.net> netdev@vger.kernel.org + Greg Kroah-Hartman <gregkh@suse.de> linux-kernel@vger.kernel.org linux-altix@sgi.com Yevgeny Petrilin <yevgenyp@mellanox.co.il> FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> linuxppc-dev@ozlabs.org - Ingo Molnar <mingo@redhat.com> + Tony Luck <tony.luck@intel.com> Paul Mackerras <paulus@samba.org> H. Peter Anvin <hpa@zytor.com> sparclinux@vger.kernel.org - Thomas Gleixner <tglx@linutronix.de> + Andrew Morton <akpm@linux-foundation.org> linux-usb@vger.kernel.org - David S. Miller <davem@davemloft.net> + Ingo Molnar <mingo@redhat.com> " Lothar Wassmann <LW@karo-electronics.de>\0" "\00:1\0" "b\0" @@ -388,4 +388,4 @@ "\treturn 0;\n" } -c282148b235c748bdf4d2ab76615b5201cc07214bc74802f489b51b4fe3b40e5 +60cbe36362da9a3445ecd4c75a30a43f7c0ec79795f62cdd4416aa9248ba10a8
diff --git a/a/1.txt b/N3/1.txt index d0bb9c8..6ed2a70 100644 --- a/a/1.txt +++ b/N3/1.txt @@ -74,23 +74,23 @@ static unsigned long __ffs(unsigned long word) { int num = 0; - if ((word & 0xffff) = 0) { + if ((word & 0xffff) == 0) { num += 16; word >>= 16; } - if ((word & 0xff) = 0) { + if ((word & 0xff) == 0) { num += 8; word >>= 8; } - if ((word & 0xf) = 0) { + if ((word & 0xf) == 0) { num += 4; word >>= 4; } - if ((word & 0x3) = 0) { + if ((word & 0x3) == 0) { num += 2; word >>= 2; } - if ((word & 0x1) = 0) + if ((word & 0x1) == 0) num += 1; return num; } @@ -128,7 +128,7 @@ unsigned long find_next_bit(const unsigned long *addr, unsigned long size, found_first: tmp &= (~0UL >> (BITS_PER_LONG - size)); - if (tmp = 0UL) /* Are any bits set? */ + if (tmp == 0UL) /* Are any bits set? */ return result + size; /* Nope. */ found_middle: return result + __ffs(tmp); @@ -169,7 +169,7 @@ unsigned long find_next_zero_bit(const unsigned long *addr, unsigned long size, found_first: tmp |= ~0UL << size; - if (tmp = ~0UL) /* Are any bits zero? */ + if (tmp == ~0UL) /* Are any bits zero? */ return result + size; /* Nope. */ found_middle: return result + ffz(tmp); @@ -239,7 +239,7 @@ static void bitmap_dump(unsigned long *bitmap, int size) printf("1 "); else printf("0 "); - if (i % 10 = 9) + if (i % 10 == 9) printf("\n"); } printf("\n"); diff --git a/a/content_digest b/N3/content_digest index f696a0e..7325e44 100644 --- a/a/content_digest +++ b/N3/content_digest @@ -5,8 +5,8 @@ "ref\020091013091017.GA18431@localhost.localdomain\0" "ref\01255470887.21871.2.camel@concordia\0" "From\0Akinobu Mita <akinobu.mita@gmail.com>\0" - "Subject\0Re: [PATCH 2/8] bitmap: Introduce bitmap_set, bitmap_clear,\0" - "Date\0Wed, 14 Oct 2009 03:39:39 +0000\0" + "Subject\0Re: [PATCH 2/8] bitmap: Introduce bitmap_set, bitmap_clear, bitmap_find_next_zero_area\0" + "Date\0Wed, 14 Oct 2009 12:39:39 +0900\0" "To\0Michael Ellerman <michael@ellerman.id.au>\0" "Cc\0Andrew Morton <akpm@linux-foundation.org>" Fenghua Yu <fenghua.yu@intel.com> @@ -106,23 +106,23 @@ "{\n" "\tint num = 0;\n" "\n" - "\tif ((word & 0xffff) = 0) {\n" + "\tif ((word & 0xffff) == 0) {\n" "\t\tnum += 16;\n" "\t\tword >>= 16;\n" "\t}\n" - "\tif ((word & 0xff) = 0) {\n" + "\tif ((word & 0xff) == 0) {\n" "\t\tnum += 8;\n" "\t\tword >>= 8;\n" "\t}\n" - "\tif ((word & 0xf) = 0) {\n" + "\tif ((word & 0xf) == 0) {\n" "\t\tnum += 4;\n" "\t\tword >>= 4;\n" "\t}\n" - "\tif ((word & 0x3) = 0) {\n" + "\tif ((word & 0x3) == 0) {\n" "\t\tnum += 2;\n" "\t\tword >>= 2;\n" "\t}\n" - "\tif ((word & 0x1) = 0)\n" + "\tif ((word & 0x1) == 0)\n" "\t\tnum += 1;\n" "\treturn num;\n" "}\n" @@ -160,7 +160,7 @@ "\n" "found_first:\n" "\ttmp &= (~0UL >> (BITS_PER_LONG - size));\n" - "\tif (tmp = 0UL)\t\t/* Are any bits set? */\n" + "\tif (tmp == 0UL)\t\t/* Are any bits set? */\n" "\t\treturn result + size;\t/* Nope. */\n" "found_middle:\n" "\treturn result + __ffs(tmp);\n" @@ -201,7 +201,7 @@ "\n" "found_first:\n" "\ttmp |= ~0UL << size;\n" - "\tif (tmp = ~0UL)\t/* Are any bits zero? */\n" + "\tif (tmp == ~0UL)\t/* Are any bits zero? */\n" "\t\treturn result + size;\t/* Nope. */\n" "found_middle:\n" "\treturn result + ffz(tmp);\n" @@ -271,7 +271,7 @@ "\t\t\tprintf(\"1 \");\n" "\t\telse\n" "\t\t\tprintf(\"0 \");\n" - "\t\tif (i % 10 = 9)\n" + "\t\tif (i % 10 == 9)\n" "\t\t\tprintf(\"\\n\");\n" "\t}\n" "\tprintf(\"\\n\");\n" @@ -388,4 +388,4 @@ "\treturn 0;\n" } -c282148b235c748bdf4d2ab76615b5201cc07214bc74802f489b51b4fe3b40e5 +cb0ee05a57e27c2a4a8c41d5ec4cfc5d4e3f9c53559b108a58d293f023ec09ce
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.