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 <[EMAIL PROTECTED]>
---
pata_pcmcia is fixed by Alan's patch. This fixes other drivers and
make libata always clear
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 <[EMAIL PROTECTED]>
---
pata_pcmcia is fixed by Alan's patch. This fixes other drivers and
make libata always clear drvdata after detac
2 matches
Mail list logo