diff for duplicates of <4CA255FE.7060308@redhat.com> diff --git a/a/1.txt b/N1/1.txt index b4adca4..2076e59 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -27,7 +27,7 @@ other drivers. > > /* wake up device */ > rc = pci_enable_device(pdev); -> - if (rc = -EIO) +> - if (rc == -EIO) > + if (rc) > return rc; > @@ -50,7 +50,7 @@ other drivers. > + rc = -ENOMEM; > mci = edac_mc_alloc(sizeof(*pvt), num_csrows, num_channels, 0); > - -> if (mci = NULL) +> if (mci == NULL) > - return -ENOMEM; > + goto fail_disable; > diff --git a/a/content_digest b/N1/content_digest index 076f97e..ec415cd 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01285696172-5612-1-git-send-email-segooon@gmail.com\0" "From\0Mauro Carvalho Chehab <mchehab@redhat.com>\0" "Subject\0Re: [PATCH] edac: i7300_edac: call pci_disable_device\0" - "Date\0Tue, 28 Sep 2010 20:54:22 +0000\0" + "Date\0Tue, 28 Sep 2010 17:54:22 -0300\0" "To\0Vasiliy Kulikov <segooon@gmail.com>\0" "Cc\0kernel-janitors@vger.kernel.org" linux-edac@vger.kernel.org @@ -37,7 +37,7 @@ "> \n" "> \t/* wake up device */\n" "> \trc = pci_enable_device(pdev);\n" - "> -\tif (rc = -EIO)\n" + "> -\tif (rc == -EIO)\n" "> +\tif (rc)\n" "> \t\treturn rc;\n" "> \n" @@ -60,7 +60,7 @@ "> +\trc = -ENOMEM;\n" "> \tmci = edac_mc_alloc(sizeof(*pvt), num_csrows, num_channels, 0);\n" "> -\n" - "> \tif (mci = NULL)\n" + "> \tif (mci == NULL)\n" "> -\t\treturn -ENOMEM;\n" "> +\t\tgoto fail_disable;\n" "> \n" @@ -135,4 +135,4 @@ "> \n" > /* -55ff044f6de553c424b1168efb260c4d7dea306b8a15b13e9627f24675a116cb +cca0485932598da15372a2f98f9e173c0b35f468fdf0d0500bf6ff45b8efa961
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.