https://github.com/torvalds/linux
Revision 1daf9ce74e0e0ef8ffde800ab495339458c3375f authored by Tejun Heo on 17 May 2007, 11:13:57 UTC, committed by Jeff Garzik on 18 May 2007, 00:57:10 UTC
As with all other drivers, sata_nv's hpriv is allocated with
devm_kzalloc() and there's no need to free it explicitly.  Kill
nv_remove_one() which incorrectly used kfree() instead of devm_kfree()
and use ata_pci_remove_one() directly.

Original fix is from Peer Chen.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Peer Chen <pchen@nvidia.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
1 parent 074b8ba
History
Tip revision: 1daf9ce74e0e0ef8ffde800ab495339458c3375f authored by Tejun Heo on 17 May 2007, 11:13:57 UTC
sata_nv: fix fallout of devres conversion
Tip revision: 1daf9ce
File Mode Size
Makefile -rw-r--r-- 282 bytes
compat.c -rw-r--r-- 17.0 KB
compat_mq.c -rw-r--r-- 4.0 KB
ipc_sysctl.c -rw-r--r-- 4.1 KB
mqueue.c -rw-r--r-- 29.9 KB
msg.c -rw-r--r-- 20.5 KB
msgutil.c -rw-r--r-- 2.3 KB
sem.c -rw-r--r-- 34.6 KB
shm.c -rw-r--r-- 25.7 KB
util.c -rw-r--r-- 19.3 KB
util.h -rw-r--r-- 3.3 KB

back to top