Re: [PATCH v3 2/5] vfio: Create shared routine for scanning info capabilities

2020-09-16 Thread Cornelia Huck
On Tue, 15 Sep 2020 15:14:40 -0400 Matthew Rosato wrote: > Rather than duplicating the same loop in multiple locations, > create a static function to do the work. > > Signed-off-by: Matthew Rosato > --- > hw/vfio/common.c | 21 + > 1 file changed, 13 insertions(+), 8

Re: [PATCH v3 2/5] vfio: Create shared routine for scanning info capabilities

2020-09-16 Thread Philippe Mathieu-Daudé
On 9/15/20 9:14 PM, Matthew Rosato wrote: > Rather than duplicating the same loop in multiple locations, > create a static function to do the work. > > Signed-off-by: Matthew Rosato Reviewed-by: Philippe Mathieu-Daudé > --- > hw/vfio/common.c | 21 + > 1 file changed, 13

[PATCH v3 2/5] vfio: Create shared routine for scanning info capabilities

2020-09-15 Thread Matthew Rosato
Rather than duplicating the same loop in multiple locations, create a static function to do the work. Signed-off-by: Matthew Rosato --- hw/vfio/common.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/hw/vfio/common.c b/hw/vfio/common.c index