Changeset 8591b31 in mainline for uspace/lib/virtio/virtio.c


Ignore:
Timestamp:
2018-09-20T16:13:43Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cbc3587
Parents:
9a5ae815
Message:

Fix most clang issues

Build error in futex.c remains because the proper solution of using
type _Atomic(fibril_t *) can't be parsed by sycek.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/virtio/virtio.c

    r9a5ae815 r8591b31  
    127127        for (unsigned i = 0; i < size; i++) {
    128128                virtio_virtq_desc_set(vdev, num, i, 0, 0,
    129                     VIRTQ_DESC_F_NEXT, (i + 1 == size) ? -1U : i + 1);
     129                    VIRTQ_DESC_F_NEXT, (i + 1 == size) ? 0xffffu : i + 1);
    130130        }
    131131        *head = 0;
Note: See TracChangeset for help on using the changeset viewer.