From 49376697c689d211eddb0d7acc4f3a3ccb098d6c 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) --- 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 4dd43ae126..8c0db37cc9 100644 --- a/libnm-core/nm-setting-sriov.c +++ b/libnm-core/nm-setting-sriov.c @@ -550,7 +550,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 */