From e623db57d02fb742394c9aa8e4d5509e2021e926 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 20 Dec 2019 14:42:03 +0100 Subject: [PATCH] libnm: fix type annotation for nm_sriov_vf_get_vlan_ids() Otherwise, this function cannot really be used via generated bindings. Also, it's the only way to actually retrieve the set vlan-ids, without it, you wouldn't know which ones are set. Fixes: a9b4532fa77d ('libnm-core: add SR-IOV setting') (cherry picked from commit c4a728217d3794627268303475531df5be35a27b) (cherry picked from commit 49376697c689d211eddb0d7acc4f3a3ccb098d6c) (cherry picked from commit 2f62e30b7c4c75fdffe5955534c105a8476ef036) (cherry picked from commit a8746f48ca088b4cd3799e540b8606df1f1e8522) (cherry picked from commit abd4cde10283c46a772394e5299b9130af3143c7) --- libnm-core/nm-setting-sriov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnm-core/nm-setting-sriov.c b/libnm-core/nm-setting-sriov.c index 0addd972db..00ebec215b 100644 --- a/libnm-core/nm-setting-sriov.c +++ b/libnm-core/nm-setting-sriov.c @@ -562,7 +562,7 @@ vlan_id_compare (gconstpointer a, gconstpointer b, gpointer user_data) * * Returns the VLANs currently configured on the VF. * - * Returns: (transfer none): a list of VLAN ids configured on the VF. + * Returns: (transfer none) (array length=length): a list of VLAN ids configured on the VF. * * Since: 1.14 */