Messages in this thread | | | Date | Thu, 01 Mar 2007 20:16:46 -0500 | From | Jeff Garzik <> | Subject | Re: [PATCH] libata: clear drvdata in ata_host_release(), take#2 |
| |
Tejun Heo wrote: > Clearing drvdata in ->remove_one causes NULL pointer deference. Clear > drvdata only in ata_host_release() after all resources are freed. > > Signed-off-by: Tejun Heo <htejun@gmail.com> > --- > pata_pcmcia is fixed by Alan's patch. This fixes other drivers and > make libata always clear drvdata after detach.
applied
- 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/
| |