mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
Drop more useless casts from void * to pointer
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20221123133811.1398562-1-armbru@redhat.com>
This commit is contained in:
parent
ea3a008d2d
commit
3d558330ad
15 changed files with 24 additions and 28 deletions
|
@ -271,7 +271,7 @@ static void collect_usable_iova_ranges(QEMUVFIOState *s, void *buf)
|
|||
if (!cap->next) {
|
||||
return;
|
||||
}
|
||||
cap = (struct vfio_info_cap_header *)(buf + cap->next);
|
||||
cap = buf + cap->next;
|
||||
}
|
||||
|
||||
cap_iova_range = (struct vfio_iommu_type1_info_cap_iova_range *)cap;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue