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
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 572 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 89.3 KB
Kbuild -rw-r--r-- 1.5 KB
MAINTAINERS -rw-r--r-- 86.6 KB
Makefile -rw-r--r-- 49.2 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top