lkml.org 
[lkml]   [2008]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 33/47] rapidio: fix device reference counting
    2.6.25-stable review patch.  If anyone has any objections, please let us
    know.

    ------------------
    From: Eugene Surovegin <ebs@ebshome.net>

    commit a7de3902edce099e4102c1272ec0ab569c1791f7 upstream

    Fix RapidIO device reference counting.

    Signed-of-by: Eugene Surovegin <ebs@ebshome.net>
    Cc: Matt Porter <mporter@kernel.crashing.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/rapidio/rio-driver.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/rapidio/rio-driver.c
    +++ b/drivers/rapidio/rio-driver.c
    @@ -101,8 +101,8 @@ static int rio_device_probe(struct devic
    if (error >= 0) {
    rdev->driver = rdrv;
    error = 0;
    + } else
    rio_dev_put(rdev);
    - }
    }
    return error;
    }
    --


    \
     
     \ /
      Last update: 2008-07-23 01:31    [W:0.021 / U:0.108 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site