diff for duplicates of <4DD62F8A.90208@bfs.de> diff --git a/a/1.txt b/N1/1.txt index f20c006..3a55aa5 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -120,7 +120,7 @@ i am missing an if() here ?? > - for (i = 0; i < MAX_BUSID; i++) > - if (!strncmp(busid_table[i].name, busid, BUSID_SIZE)) { > - /* found */ -> - if (busid_table[i].status = STUB_BUSID_OTHER) +> - if (busid_table[i].status == STUB_BUSID_OTHER) > - memset(busid_table[i].name, 0, BUSID_SIZE); > - if ((busid_table[i].status != STUB_BUSID_OTHER) && > - (busid_table[i].status != STUB_BUSID_ADDED)) { @@ -136,7 +136,7 @@ i am missing an if() here ?? > + /* found */ > + ret = 0; > + -> + if (busid_table[idx].status = STUB_BUSID_OTHER) +> + if (busid_table[idx].status == STUB_BUSID_OTHER) > + memset(busid_table[idx].name, 0, BUSID_SIZE); > + > + if ((busid_table[idx].status != STUB_BUSID_OTHER) && diff --git a/a/content_digest b/N1/content_digest index e0037d1..d814d50 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\014e39daa97f8475ec12c9ed6a2e95ba344f1c1ee.1305866084.git.mfm@muteddisk.com\0" "From\0walter harms <wharms@bfs.de>\0" "Subject\0Re: [PATCH 04/12] staging: usbip: stub_main.c: code cleanup\0" - "Date\0Fri, 20 May 2011 09:08:26 +0000\0" + "Date\0Fri, 20 May 2011 11:08:26 +0200\0" "To\0matt mooney <mfm@muteddisk.com>\0" "Cc\0Greg Kroah-Hartman <greg@kroah.com>" linux-kernel@vger.kernel.org @@ -131,7 +131,7 @@ "> -\tfor (i = 0; i < MAX_BUSID; i++)\n" "> -\t\tif (!strncmp(busid_table[i].name, busid, BUSID_SIZE)) {\n" "> -\t\t\t/* found */\n" - "> -\t\t\tif (busid_table[i].status = STUB_BUSID_OTHER)\n" + "> -\t\t\tif (busid_table[i].status == STUB_BUSID_OTHER)\n" "> -\t\t\t\tmemset(busid_table[i].name, 0, BUSID_SIZE);\n" "> -\t\t\tif ((busid_table[i].status != STUB_BUSID_OTHER) &&\n" "> -\t\t\t (busid_table[i].status != STUB_BUSID_ADDED)) {\n" @@ -147,7 +147,7 @@ "> +\t/* found */\n" "> +\tret = 0;\n" "> +\n" - "> +\tif (busid_table[idx].status = STUB_BUSID_OTHER)\n" + "> +\tif (busid_table[idx].status == STUB_BUSID_OTHER)\n" "> +\t\tmemset(busid_table[idx].name, 0, BUSID_SIZE);\n" "> +\n" "> +\tif ((busid_table[idx].status != STUB_BUSID_OTHER) &&\n" @@ -304,4 +304,4 @@ "> \treturn ret;\n" > } -00c7aa307a82745d8013cadd1f031c125c4c6f9f37aa6ebd3fbb443553c3361c +f0d5d1bf6f30802f5e61555c38ff373b8d281021258721f2ead6d375868f4f72
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.