HomeFreeBSD

virtio: use bool for boolean functions

Description

virtio: use bool for boolean functions

Summary:
these static functions:

  • vq_ring_use_indirect

and these public functions:

  • virtio_bus_is_modern
  • virtio_with_feature
  • virtqueue_empty
  • virtqueue_full

exclusively return a boolean value.
Change their return values to bool.

Sponsored by: The FreeBSD Foundation

Reviewers: bryanv

Reviewed By: bryanv

Subscribers: cognet, imp

Differential Revision: https://reviews.freebsd.org/D41848

Details

Provenance
freebsd_igalic.coAuthored on Sep 18 2023, 8:02 PM
cognetCommitted on Sep 18 2023, 8:03 PM
Reviewer
bryanv
Differential Revision
D41848: virtio: use bool for boolean functions
Parents
rG40b9b2995f0f: Update jobs.mk to leverage -jC
Branches
Unknown
Tags
Unknown