From 9ee00648b1e77dbfbd8d34933d11974cc95ab33b Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 1 Jan 2014 13:54:38 -0800 Subject: [PATCH] more checkpatch space "fixes" Signed-off-by: Greg Kroah-Hartman --- connection.c | 12 ++++++------ match.c | 8 ++++---- pool.c | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/connection.c b/connection.c index aa0fdd3..b32b0cf 100644 --- a/connection.c +++ b/connection.c @@ -44,7 +44,7 @@ * @off: Offset into the shmem file in the receiver's pool * @size: The number of bytes used in the pool * @memfds: Arrays of offsets where to update the installed - * fd number + * fd number * @memfds_fp: Array memfd files queued up for this message * @memfds_count: Number of memfds * @fds: Offset to array where to update the installed fd number @@ -53,7 +53,7 @@ * @src_id: The ID of the sender * @cookie: Message cookie, used for replies * @dst_name_id: The sequence number of the name this message is - * addressed to, 0 for messages sent to an ID + * addressed to, 0 for messages sent to an ID */ struct kdbus_conn_queue { struct list_head entry; @@ -794,7 +794,7 @@ int kdbus_conn_kmsg_send(struct kdbus_ep *ep, } /* - * Monitor connections get all messages; ignore possible errors + * Monitor connections get all messages; ignore possible errors * when sending messages to monitor connections. */ mutex_lock(&ep->bus->lock); @@ -1106,8 +1106,8 @@ exit_unlock: * kdbus_conn_disconnect() - disconnect a connection * @conn: The connection to disconnect * @ensure_msg_list_empty: Flag to indicate if the call should fail in - * case the connection's message list is not - * empty + * case the connection's message list is not + * empty * * Returns 0 on success. * If @ensure_msg_list_empty is true, and the connection has pending messages, @@ -1246,7 +1246,7 @@ struct kdbus_conn *kdbus_conn_unref(struct kdbus_conn *conn) * @conn_dst: Connection to copy to * @conn_src: Connection to copy from * @name_id: Filter for the sequence number of the registered - * name, 0 means no filtering. + * name, 0 means no filtering. * * Move all messages from one connection to another. This is used when * an ordinary connection is taking over a well-known name from a diff --git a/match.c b/match.c index 03e1037..da8a33b 100644 --- a/match.c +++ b/match.c @@ -54,10 +54,10 @@ struct kdbus_match_entry { * @name: Name to match against * @bloom: Bloom filter to match against * @old_id: For KDBUS_ITEM_ID_REMOVE and KDBUS_ITEM_NAME_REMOVE or - * KDBUS_ITEM_NAME_CHANGE, stores a connection ID + * KDBUS_ITEM_NAME_CHANGE, stores a connection ID * @src_id: For KDBUS_ITEM_ID, stores a connection ID * @new_id: For KDBUS_ITEM_ID_ADD, KDBUS_ITEM_NAME_ADD or - * KDBUS_ITEM_NAME_CHANGE, stores a connection ID + * KDBUS_ITEM_NAME_CHANGE, stores a connection ID * @rules_entry: List entry to the entry's rules list */ struct kdbus_match_rule { @@ -178,7 +178,7 @@ static bool kdbus_match_rules(const struct kdbus_match_entry *entry, if (kmsg->notify_type != r->type) return false; - switch(r->type) { + switch (r->type) { case KDBUS_ITEM_ID_ADD: if (r->new_id != KDBUS_MATCH_ID_ANY && r->new_id != kmsg->notify_new_id) @@ -212,7 +212,7 @@ static bool kdbus_match_rules(const struct kdbus_match_entry *entry, } else { /* messages from userspace */ - switch(r->type) { + switch (r->type) { case KDBUS_ITEM_BLOOM: if (!kdbus_match_bloom(kmsg->bloom, r->bloom, conn_src)) diff --git a/pool.c b/pool.c index 111c285..3f5ae36 100644 --- a/pool.c +++ b/pool.c @@ -562,7 +562,7 @@ ssize_t kdbus_pool_write(const struct kdbus_pool *pool, size_t off, * @dst_pool: The receiver's pool to copy to * @src_pool: The receiver's pool to copy from * @off: Offset of allocated memory in the source pool, - * Updated with the offset in the destination pool + * Updated with the offset in the destination pool * @len: Number of bytes to copy * * Move memory from one pool to another. Memory will be allocated in the -- 2.34.1