more checkpatch space "fixes"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Jan 2014 21:54:38 +0000 (13:54 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Jan 2014 21:54:38 +0000 (13:54 -0800)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
connection.c
match.c
pool.c

index aa0fdd367c9979294a937d2bb3aca562349c4fc3..b32b0cfaee4b3176b57e3b6ebd296670086ecb6e 100644 (file)
@@ -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 03e10371f6332214f0e46b7d71e5bda7eadafb50..da8a33b583fdbe67dd5be47b12d701b056bb0f73 100644 (file)
--- 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 111c285b3e1cb5fb5fd04127c5647a299003ed97..3f5ae36f76f42094fefa477a1c940646e261fde1 100644 (file)
--- 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