lkml.org 
[lkml]   [2009]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/5] PCI: fix memory leak in aer_inject
On Mon, 12 Oct 2009 15:44:30 +0800
Huang Ying <ying.huang@intel.com> wrote:

> On Mon, 2009-10-12 at 15:03 +0800, Andrew Patterson wrote:
> > PCI: fix memory leak in aer_inject
> >
> > Fixed probable typo in aer_inject cleanup code resulting in a memory
> > leak.
> >
> > Signed-off-by: Andrew Patterson <andrew.patterson@hp.com>
> > ---
> >
> > diff --git a/drivers/pci/pcie/aer/aer_inject.c
> > b/drivers/pci/pcie/aer/aer_inject.c index da2ad6e..2246bf7 100644
> > --- a/drivers/pci/pcie/aer/aer_inject.c
> > +++ b/drivers/pci/pcie/aer/aer_inject.c
> > @@ -474,7 +474,7 @@ static void __exit aer_inject_exit(void)
> > }
> >
> > spin_lock_irqsave(&inject_lock, flags);
> > - list_for_each_entry_safe(err, err_next, &pci_bus_ops_list,
> > list) {
> > + list_for_each_entry_safe(err, err_next, &einjected, list) {
> > list_del(&err->list);
> > kfree(err);
> > }
>
> Thanks for the patch.
>
> Acked-by: Huang Ying <ying.huang@intel.com>
>

How do the rest of the patches look, Ying? Should I add your acked-by
on Andrew's latest set?

Thanks,
--
Jesse Barnes, Intel Open Source Technology Center


\
 
 \ /
  Last update: 2009-10-26 22:25    [W:0.215 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site