summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-12-03 15:39:54 +0100
committerKay Sievers <kay@vrfy.org>2013-12-03 15:39:54 +0100
commitdf352895711682bd14fbc564292e90664c0a562d (patch)
tree434d1c0936b38c53a8f39131dcd14a71de02d260
parent82f99cab1b24d28ebc79bf6b9caddcad4eb70138 (diff)
downloadkdbus-bus-df352895711682bd14fbc564292e90664c0a562d.tar.gz
kdbus-bus-df352895711682bd14fbc564292e90664c0a562d.tar.bz2
kdbus-bus-df352895711682bd14fbc564292e90664c0a562d.zip
metadata: unify kernel doc
-rw-r--r--metadata.c8
-rw-r--r--metadata.h12
2 files changed, 10 insertions, 10 deletions
diff --git a/metadata.c b/metadata.c
index c48c15ed198..237d410b04c 100644
--- a/metadata.c
+++ b/metadata.c
@@ -32,7 +32,7 @@
/**
* kdbus_meta_free() - release metadata
- * @meta: metadata object
+ * @meta: Metadata object
*/
void kdbus_meta_free(struct kdbus_meta *meta)
{
@@ -357,14 +357,14 @@ static int kdbus_meta_append_seclabel(struct kdbus_meta *meta)
/**
* kdbus_meta_append() - collect metadata from current process
- * @meta: metadata object
- * @conn current connection
+ * @meta: Metadata object
+ * @conn Current connection
* @which KDBUS_ATTACH_* flags which typ of data to attach
*
* Collect the data specified in flags and allocate or extend
* the buffer in the metadata object.
*
- * Returns: 0 on success, or negative errno on failure.
+ * Returns: 0 on success, negative errno on failure.
*/
int kdbus_meta_append(struct kdbus_meta *meta,
struct kdbus_conn *conn,
diff --git a/metadata.h b/metadata.h
index 13ee472ba8c..e464f01e2d7 100644
--- a/metadata.h
+++ b/metadata.h
@@ -14,12 +14,12 @@
/**
* kdbus_meta - metadata buffer
- * @attached flags for already attached data
- * @data allocated buffer
- * @size number of bytes used
- * @allocated size size of buffer
- * @src_names list of \0-separated well-known names
- * src_names_len length of list
+ * @attached Flags for already attached data
+ * @data Allocated buffer
+ * @size Number of bytes used
+ * @allocated size Size of buffer
+ * @src_names List of \0-separated well-known names
+ * src_names_len Length of list
*
* Used to collect and store connection metadata in a pre-compiled
* buffer containing struct kdbus_item.