[libvirt] [PATCH v2 1/2] virnetdev: fix some issues found by coverity and mingw builds

Ján Tomko jtomko at redhat.com
Tue Feb 3 14:52:51 UTC 2015


On Tue, Feb 03, 2015 at 02:27:34PM +0100, Pavel Hrdina wrote:
> Commit e562a61a introduced new function to get/set interface state but
> there was misuse of ATTRIBUTE_NONNULL on non-pointer attributes and also
> we need to wrap that functions by #ifdef to not break mingw build.
> 
> Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> ---
>  src/util/virnetdev.c | 36 ++++++++++++++++++++++++------------
>  src/util/virnetdev.h |  6 +++---
>  2 files changed, 27 insertions(+), 15 deletions(-)
> 

ACK

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150203/0f18b80c/attachment-0001.sig>


More information about the libvir-list mailing list