Re: [PATCH] virpcitest: Fix variable arguments using in pci_driver_new

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/05/2013 10:42 AM, Michal Privoznik wrote:
> In the pci_driver_new function it is possible to set a list of
> <vendor:device> IDs that the driver knows. These IDs are passed as
> variable arguments and are processed  the usual way using va_start() and
> va_arg(). However, after all arguments has been processed, we should
> call va_end() what we aren't currently doing.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  tests/virpcimock.c | 2 ++
>  1 file changed, 2 insertions(+)
> 

ACK - this resolves the Coverity issue.

John

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]