search for: trunclongcastassignment

Displaying 1 result from an estimated 1 matches for "trunclongcastassignment".

2020 Jun 08
0
[vhost:vhost 18/52] drivers/virtio/virtio_mem.c:1391:5: warning: Variable 'rc' is reassigned a value before the old one has been used.
...ble 'rc' is reassigned a value before the old one has been used. rc = virtio_mem_init_vq(vm); ^ >> drivers/virtio/virtio_mem.c:801:22: warning: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] const uint64_t size = count * vm->subblock_size; ^ drivers/virtio/virtio_mem.c:822:22: warning: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] const ui...