From a8746f48ca088b4cd3799e540b8606df1f1e8522 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) --- 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 0625331e3f..eb5d1951e4 100644 --- a/libnm-core/nm-setting-sriov.c +++ b/libnm-core/nm-setting-sriov.c @@ -559,7 +559,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 */