Messages in this thread Patch in this message | | | From | Dave Peterson <> | Subject | [PATCH 8/15] EDAC: fix minor logic bug in e7xxx_remove_one() | Date | Thu, 2 Mar 2006 17:48:03 -0800 |
| |
Fix minor logic bug in e7xxx_remove_one().
Signed-Off-By: David S. Peterson <dsp@llnl.gov> <dave_peterson@pobox.com> ---
Index: linux-2.6.16-rc5-edac/drivers/edac/e7xxx_edac.c =================================================================== --- linux-2.6.16-rc5-edac.orig/drivers/edac/e7xxx_edac.c 2006-02-27 16:58:41.000000000 -0800 +++ linux-2.6.16-rc5-edac/drivers/edac/e7xxx_edac.c 2006-02-27 17:05:19.000000000 -0800 @@ -512,7 +512,7 @@ static void __devexit e7xxx_remove_one(s debugf0("%s()\n", __func__); if (((mci = edac_mc_find_mci_by_pdev(pdev)) != 0) && - edac_mc_del_mc(mci)) { + !edac_mc_del_mc(mci)) { pvt = (struct e7xxx_pvt *) mci->pvt_info; pci_dev_put(pvt->bridge_ck); edac_mc_free(mci); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |