summaryrefslogtreecommitdiff
path: root/bus.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-01-18 15:39:34 +0100
committerKay Sievers <kay@vrfy.org>2014-01-18 15:40:55 +0100
commit0672a0ee4f9d1b3c0d59333b3948f63599884b65 (patch)
tree29e1e8aff49da18fbe379c1084bd802209fae451 /bus.c
parentdcbeca51a8838f2bfa68774e2c3185c185ac8401 (diff)
downloadkdbus-bus-0672a0ee4f9d1b3c0d59333b3948f63599884b65.tar.gz
kdbus-bus-0672a0ee4f9d1b3c0d59333b3948f63599884b65.tar.bz2
kdbus-bus-0672a0ee4f9d1b3c0d59333b3948f63599884b65.zip
kerneldoc: s/Returns/Return/, s/any value/negative errno/, move "Return:" to last line
Diffstat (limited to 'bus.c')
-rw-r--r--bus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bus.c b/bus.c
index 90711b5f673..757c260f7cb 100644
--- a/bus.c
+++ b/bus.c
@@ -71,7 +71,7 @@ static void __kdbus_bus_free(struct kref *kref)
* Release a reference. If the reference count drops to 0, the bus will be
* freed.
*
- * Returns: NULL
+ * Return: NULL
*/
struct kdbus_bus *kdbus_bus_unref(struct kdbus_bus *bus)
{
@@ -172,7 +172,7 @@ static struct kdbus_bus *kdbus_bus_find(struct kdbus_ns *ns, const char *name)
* This function will allocate a new kdbus_bus and link it to the given
* namespace.
*
- * Returns: 0 on success, negative errno on failure.
+ * Return: 0 on success, negative errno on failure.
*/
int kdbus_bus_new(struct kdbus_ns *ns,
struct kdbus_cmd_make *make, const char *name,
@@ -262,7 +262,7 @@ exit:
* This function is part of the connection ioctl() interface and will parse
* the user-supplied data.
*
- * Returns: 0 on success, negative errno on failure.
+ * Return: 0 on success, negative errno on failure.
*/
int kdbus_bus_make_user(void __user *buf, struct kdbus_cmd_make **make,
char **name, size_t *bloom_size)