about summary refs log tree commit diff
path: root/src/libnm-core-impl/nm-setting-sriov.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2023-08-09 21:56:59 +0200
committerMichael Biebl <biebl@debian.org>2023-08-09 21:56:59 +0200
commitb1206f287e4fae1f9a7e29ec0dc11b54d726a7f8 (patch)
treecc1d62cd21f10b2375c76484b5e2187f1e75f010 /src/libnm-core-impl/nm-setting-sriov.c
parenta6d4d07b23485507f30ddb1ce99f5c82428714c8 (diff)
parent05e4a733f2141995181a551854d5df929f084adf (diff)
Update upstream source from tag 'upstream/1.44.0'
Update to upstream version '1.44.0'
with Debian dir e69e19b54914190e7696747b3e0508f95977f387
Diffstat (limited to 'src/libnm-core-impl/nm-setting-sriov.c')
-rw-r--r--src/libnm-core-impl/nm-setting-sriov.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libnm-core-impl/nm-setting-sriov.c b/src/libnm-core-impl/nm-setting-sriov.c
index 091cc0c6..b9faad56 100644
--- a/src/libnm-core-impl/nm-setting-sriov.c
+++ b/src/libnm-core-impl/nm-setting-sriov.c
@@ -286,7 +286,7 @@ nm_sriov_vf_get_index(const NMSriovVF *vf)
  * nm_sriov_vf_set_attribute:
  * @vf: the #NMSriovVF
  * @name: the name of a route attribute
- * @value: (transfer none) (allow-none): the value
+ * @value: (transfer none) (nullable): the value
  *
  * Sets the named attribute on @vf to the given value.
  *
@@ -364,8 +364,8 @@ const NMVariantAttributeSpec *const _nm_sriov_vf_attribute_spec[] = {
  * nm_sriov_vf_attribute_validate:
  * @name: the attribute name
  * @value: the attribute value
- * @known: (out): on return, whether the attribute name is a known one
- * @error: (allow-none): return location for a #GError, or %NULL
+ * @known: (out) (optional): on return, whether the attribute name is a known one
+ * @error: return location for a #GError, or %NULL
  *
  * Validates a VF attribute, i.e. checks that the attribute is a known one,
  * the value is of the correct type and well-formed.
@@ -533,7 +533,7 @@ vlan_id_compare(gconstpointer a, gconstpointer b, gpointer user_data)
 /**
  * nm_sriov_vf_get_vlan_ids:
  * @vf: the #NMSriovVF
- * @length: (out) (allow-none): on return, the number of VLANs configured
+ * @length: (out) (optional): on return, the number of VLANs configured
  *
  * Returns the VLANs currently configured on the VF. Currently kernel only
  * supports one VLAN per VF.