Changeset 1433ecda in mainline for uspace/srv/bd/sata_bd/sata_bd.c


Ignore:
Timestamp:
2018-04-04T15:42:37Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

File:
1 edited

Legend:

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

    r47b2d7e3 r1433ecda  
    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);
    99         if(disk[disk_count].sess != NULL) {
     99        if (disk[disk_count].sess != NULL) {
    100100
    101101                ahci_get_sata_device_name(disk[disk_count].sess,
     
    113113                printf("Device %s - %s , blocks: %lu, block_size: %lu\n",
    114114                    disk[disk_count].dev_name, disk[disk_count].sata_dev_name,
    115                             (long unsigned int) disk[disk_count].blocks,
    116                                 (long unsigned int) disk[disk_count].block_size);
     115                    (long unsigned int) disk[disk_count].blocks,
     116                    (long unsigned int) disk[disk_count].block_size);
    117117
    118118                ++disk_count;
     
    268268        }
    269269
    270         for(int i = 0; i < disk_count; i++) {
     270        for (int i = 0; i < disk_count; i++) {
    271271                char name[1024];
    272272                snprintf(name, 1024, "%s/%s", NAMESPACE, disk[i].dev_name);
Note: See TracChangeset for help on using the changeset viewer.