Changeset 8565a42 in mainline for uspace/srv/bd/sata_bd/sata_bd.c


Ignore:
Timestamp:
2018-03-02T20:34:50Z (7 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1a81f69, d5e5fd1
Parents:
3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
git-committer:
GitHub <noreply@…> (2018-03-02 20:34:50)
Message:

Remove all trailing whitespace, everywhere.

See individual commit messages for details.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/sata_bd/sata_bd.c

    r3061bc1 r8565a42  
    9494        size_t count, i;
    9595        errno_t rc;
    96                
     96
    9797        /* If device is SATA, add device to the disk array. */
    9898        disk[disk_count].sess = ahci_get_sess(funh, &disk[disk_count].dev_name);
    9999        if(disk[disk_count].sess != NULL) {
    100                
     100
    101101                ahci_get_sata_device_name(disk[disk_count].sess,
    102102                    SATA_DEV_NAME_LENGTH, disk[disk_count].sata_dev_name);
    103                
     103
    104104                ahci_get_block_size(disk[disk_count].sess,
    105105                    &disk[disk_count].block_size);
    106                
     106
    107107                ahci_get_num_blocks(disk[disk_count].sess, &disk[disk_count].blocks);
    108                
     108
    109109                bd_srvs_init(&disk[disk_count].bds);
    110110                disk[disk_count].bds.ops = &sata_bd_ops;
    111111                disk[disk_count].bds.sarg = &disk[disk_count];
    112                
     112
    113113                printf("Device %s - %s , blocks: %lu, block_size: %lu\n",
    114114                    disk[disk_count].dev_name, disk[disk_count].sata_dev_name,
     
    118118                ++disk_count;
    119119        }
    120        
     120
    121121        /* search children */
    122122        rc = devman_fun_get_child(funh, &devh);
     
    152152        devman_handle_t root_fun;
    153153        errno_t rc;
    154        
     154
    155155        disk_count = 0;
    156156
     
    160160                return EIO;
    161161        }
    162        
     162
    163163        scan_device_tree(root_fun);
    164        
     164
    165165        return EOK;
    166166}
     
    248248        errno_t rc;
    249249        category_id_t disk_cat;
    250        
     250
    251251        async_set_fallback_port_handler(sata_bd_connection, NULL);
    252252        rc = loc_server_register(NAME);
     
    255255                return rc;
    256256        }
    257        
     257
    258258        rc = get_sata_disks();
    259259        if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.