[PATCH 2/2] util: Remove NONNUL from virHostdevReAttachMediatedDevices

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

 



Causes build failure when enabling static analysis

Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
---
 src/util/virhostdev.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/virhostdev.h b/src/util/virhostdev.h
index ff7c7b8..54e1c66 100644
--- a/src/util/virhostdev.h
+++ b/src/util/virhostdev.h
@@ -140,7 +140,7 @@ virHostdevReAttachMediatedDevices(virHostdevManagerPtr hostdev_mgr,
                                   const char *dom_name,
                                   virDomainHostdevDefPtr *hostdevs,
                                   int nhostdevs)
-    ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3);
+    ATTRIBUTE_NONNULL(1);
 int
 virHostdevUpdateActivePCIDevices(virHostdevManagerPtr mgr,
                                  virDomainHostdevDefPtr *hostdevs,
-- 
2.9.3

--
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]
  Powered by Linux