diff options
author | Tejun Heo <htejun@gmail.com> | 2007-02-27 22:33:21 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-03-01 20:16:28 -0500 |
commit | 1aa56cca5bfa396c791e93b38e4776ef39b590a7 (patch) | |
tree | c4e88e2195dfc1db88c932e5c2b9adb151bb9d65 /drivers/media/video/cafe_ccic.c | |
parent | 7b965e0884cee430ffe5dc81cdb117b9316b0549 (diff) |
libata: clear drvdata in ata_host_release(), take#2
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>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/media/video/cafe_ccic.c')
0 files changed, 0 insertions, 0 deletions