lkml.org 
[lkml]   [2009]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH] aerdrv: fix sanity check in report_resume
    Date
    On Sunday, November 30, 2008 11:31 pm Hidetoshi Seto wrote:
    > What we have to check here before calling it is err_handler->resume.
    > It seems that this block have been copy&pasted from report_slot_reset.
    >
    > Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
    > ---
    > drivers/pci/pcie/aer/aerdrv_core.c | 2 +-
    > 1 files changed, 1 insertions(+), 1 deletions(-)
    >
    > diff --git a/drivers/pci/pcie/aer/aerdrv_core.c
    > b/drivers/pci/pcie/aer/aerdrv_core.c index dfc63d0..aac7006 100644
    > --- a/drivers/pci/pcie/aer/aerdrv_core.c
    > +++ b/drivers/pci/pcie/aer/aerdrv_core.c
    > @@ -252,7 +252,7 @@ static void report_resume(struct pci_dev *dev, void
    > *data)
    >
    > if (!dev->driver ||
    > !dev->driver->err_handler ||
    > - !dev->driver->err_handler->slot_reset)
    > + !dev->driver->err_handler->resume)
    > return;
    >
    > err_handler = dev->driver->err_handler;

    Applied (again). Hope it doesn't get lost again between now & when I send the
    pull. Sorry about that.

    --
    Jesse Barnes, Intel Open Source Technology Center



    \
     
     \ /
      Last update: 2009-01-05 22:07    [W:0.048 / U:31.764 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site