diff options
-rw-r--r-- | connection.c | 3 | ||||
-rw-r--r-- | main.c | 1 | ||||
-rw-r--r-- | match.c | 2 | ||||
-rw-r--r-- | util.h | 3 |
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. */ @@ -42,7 +42,6 @@ static int __init kdbus_init(void) } pr_info("initialized\n"); - return 0; } @@ -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. @@ -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. |