Changeset 3bacee1 in mainline for uspace/lib/drv/generic/remote_ahci.c


Ignore:
Timestamp:
2018-04-12T16:27:17Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3cf22f9
Parents:
76d0981d
git-author:
Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
git-committer:
Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
Message:

Make ccheck-fix again and commit more good files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/remote_ahci.c

    r76d0981d r3bacee1  
    5959        ((uint32_t) (((uint64_t) ((uintptr_t) (ptr))) >> 32))
    6060
    61 async_sess_t* ahci_get_sess(devman_handle_t funh, char **name)
     61async_sess_t *ahci_get_sess(devman_handle_t funh, char **name)
    6262{
    6363        // FIXME: Use a better way than substring match
     
    116116
    117117        if (rc == EOK) {
    118                 *blocks = (((uint64_t) blocks_hi) << 32)
    119                     | (((uint64_t) blocks_lo) & 0xffffffff);
     118                *blocks = (((uint64_t) blocks_hi) << 32) |
     119                    (((uint64_t) blocks_lo) & 0xffffffff);
    120120        }
    121121
     
    163163
    164164errno_t ahci_write_blocks(async_sess_t *sess, uint64_t blocknum, size_t count,
    165     void* buf)
     165    void *buf)
    166166{
    167167        async_exch_t *exch = async_exchange_begin(sess);
     
    222222            (size_t) DEV_IPC_GET_ARG1(*call);
    223223
    224         char* sata_dev_name = malloc(sata_dev_name_length);
     224        char *sata_dev_name = malloc(sata_dev_name_length);
    225225        if (sata_dev_name == NULL) {
    226226                async_answer_0(chandle, ENOMEM);
Note: See TracChangeset for help on using the changeset viewer.