aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-08-07 11:15:20 +0900
committerJeff Garzik <jgarzik@redhat.com>2009-08-12 06:16:47 -0400
commitdf9eba8c9febf53782ef896518e7177999d98188 (patch)
tree05de852ed8dbc4461b294e4df48684f8ababd029 /lib/fault-inject.c
parentMerge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/fyu/linux-2.6 (diff)
downloadwireguard-linux-df9eba8c9febf53782ef896518e7177999d98188.tar.xz
wireguard-linux-df9eba8c9febf53782ef896518e7177999d98188.zip
pata_at91: fix resource release
Julias Lawall discovered that pata_at91 wasn't freeing a memory region allocated with kzalloc() on init failure paths. Upon review, pata_at91 also seems to be doing unnecessary explicit resource releases for managed resources too. Convert memory allocation to managed one and drop unnecessary explicit resource releases. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Julia Lawall <julia@diku.dk> Cc: Sergey Matyukevich <geomatsi@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions