lkml.org 
[lkml]   [2008]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Date
    Subject[PATCH 03/18] ide-floppy: use alloc_disk_node()
    Cc: Borislav Petkov <petkovbb@gmail.com>
    Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    ---
    drivers/ide/ide-floppy.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    Index: b/drivers/ide/ide-floppy.c
    ===================================================================
    --- a/drivers/ide/ide-floppy.c
    +++ b/drivers/ide/ide-floppy.c
    @@ -788,7 +788,7 @@ static int ide_floppy_probe(ide_drive_t
    goto failed;
    }

    - g = alloc_disk(1 << PARTN_BITS);
    + g = alloc_disk_node(1 << PARTN_BITS, hwif_to_node(drive->hwif));
    if (!g)
    goto out_free_floppy;


    \
     
     \ /
      Last update: 2008-09-08 00:21    [W:0.018 / U:22.432 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site