summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--connection.c3
-rw-r--r--main.c1
-rw-r--r--match.c2
-rw-r--r--util.h3
4 files changed, 4 insertions, 5 deletions
diff --git a/connection.c b/connection.c
index 83d3a5b5c83..a7226bc9c6a 100644
--- a/connection.c
+++ b/connection.c
@@ -1511,7 +1511,8 @@ exit_unlock_dst:
/**
* kdbus_cmd_conn_info() - retrieve info about a connection
* @conn: Connection
- * @cmd_info: The cómmand as passed in by the ioctl
+ * @cmd_info: The command as passed in by the ioctl
+ * @size: Size of the passed data structure
*
* Return: 0 on success, negative errno on failure.
*/
diff --git a/main.c b/main.c
index 0347a8b7891..b865d1593cb 100644
--- a/main.c
+++ b/main.c
@@ -42,7 +42,6 @@ static int __init kdbus_init(void)
}
pr_info("initialized\n");
-
return 0;
}
diff --git a/match.c b/match.c
index 0eeec42314d..d7dc7f2ecad 100644
--- a/match.c
+++ b/match.c
@@ -465,7 +465,7 @@ exit_free:
/**
* kdbus_match_db_remove() - remove an entry from the match database
* @conn: The connection that was used in the ioctl call
- * @buf: The __user buffer that was provided by the ioctl call
+ * @cmd: Pointer to the match data structure
*
* This function is used in the context of the KDBUS_CMD_MATCH_REMOVE
* ioctl interface.
diff --git a/util.h b/util.h
index e6951ddb8aa..700f056ee38 100644
--- a/util.h
+++ b/util.h
@@ -81,8 +81,7 @@
/**
* kdbus_item_validate_nul - check the validity of an item containing a string
- * @s: String
- * @l: Length of string
+ * @item: Item to check
*
* Validate that a string in a given item matches the given size, and the
* string is \0 terminated.