diff for duplicates of <4A642458.6080008@nokia.com> diff --git a/a/1.txt b/N1/1.txt index d671002..f4224b6 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -17,12 +17,12 @@ Julia Lawall wrote: > > - T i = E->fld; > + T i; -> ... when != Eá +> ... when != E=E1 > when != i -> BUG_ON (E = NULL|| +> BUG_ON (E == NULL|| > - i > + E->fld -> = NULL || ...); +> == NULL || ...); > + i = E->fld; > // </smpl> > @@ -45,8 +45,8 @@ Julia Lawall wrote: > unsigned long flags; > int i; > -> - BUG_ON(slot = NULL || host->mmc = NULL); -> + BUG_ON(slot = NULL || slot->host->mmc = NULL); +> - BUG_ON(slot == NULL || host->mmc == NULL); +> + BUG_ON(slot == NULL || slot->host->mmc == NULL); > + host = slot->host; > > if (clk_enabled) @@ -61,12 +61,8 @@ static void mmc_omap_release_slot(struct mmc_omap_slot *slot, int clk_enabled) unsigned long flags; int i; -> - BUG_ON(slot = NULL || host->mmc = NULL); -> + BUG_ON(host->mmc = NULL); +> - BUG_ON(slot == NULL || host->mmc == NULL); +> + BUG_ON(host->mmc == NULL); if (clk_enabled) /* Keeps clock running for at least 8 cycles on valid freq */ --- -To unsubscribe from this list: send the line "unsubscribe kernel-janitors" 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 668a317..cb59ba4 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\0Pine.LNX.4.64.0907191729580.16542@ask.diku.dk\0" "From\0Adrian Hunter <adrian.hunter@nokia.com>\0" "Subject\0Re: [PATCH 9/10] drivers/mmc: Move a dereference below a NULL test\0" - "Date\0Mon, 20 Jul 2009 08:01:28 +0000\0" + "Date\0Mon, 20 Jul 2009 11:01:28 +0300\0" "To\0Julia Lawall <julia@diku.dk>\0" "Cc\0Lavinen Jarkko (Nokia-D/Helsinki) <jarkko.lavinen@nokia.com>" linux-omap@vger.kernel.org <linux-omap@vger.kernel.org> @@ -28,12 +28,12 @@ "> \n" "> - T i = E->fld;\n" "> + T i;\n" - "> ... when != E\303\241\n" + "> ... when != E=E1\n" "> when != i\n" - "> BUG_ON (E = NULL||\n" + "> BUG_ON (E == NULL||\n" "> - i\n" "> + E->fld\n" - "> = NULL || ...);\n" + "> == NULL || ...);\n" "> + i = E->fld;\n" "> // </smpl>\n" "> \n" @@ -56,8 +56,8 @@ "> \tunsigned long flags;\n" "> \tint i;\n" "> \n" - "> -\tBUG_ON(slot = NULL || host->mmc = NULL);\n" - "> +\tBUG_ON(slot = NULL || slot->host->mmc = NULL);\n" + "> -\tBUG_ON(slot == NULL || host->mmc == NULL);\n" + "> +\tBUG_ON(slot == NULL || slot->host->mmc == NULL);\n" "> +\thost = slot->host;\n" "> \n" "> \tif (clk_enabled)\n" @@ -72,14 +72,10 @@ "\tunsigned long flags;\n" "\tint i;\n" "\n" - "> -\tBUG_ON(slot = NULL || host->mmc = NULL);\n" - "> +\tBUG_ON(host->mmc = NULL);\n" + "> -\tBUG_ON(slot == NULL || host->mmc == NULL);\n" + "> +\tBUG_ON(host->mmc == NULL);\n" "\n" "\tif (clk_enabled)\n" - "\t\t/* Keeps clock running for at least 8 cycles on valid freq */\n" - "--\n" - "To unsubscribe from this list: send the line \"unsubscribe kernel-janitors\" in\n" - "the body of a message to majordomo@vger.kernel.org\n" - More majordomo info at http://vger.kernel.org/majordomo-info.html + "\t\t/* Keeps clock running for at least 8 cycles on valid freq */" -4769ea5d0758ae972512efd87204417802cc638ef657742cef4e151de8ceff39 +dea4e5f470eaec8d6c23cf1a85d11322b10dab3de25501c526f8bcd9b2e337af
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.