Skip to content
Browse files

names: amend coding style

  • Loading branch information...
1 parent 1cc24a1 commit c3e886fd65d558584b1338f68b77bd42c48b0001 @zonque zonque committed Jan 24, 2014
Showing with 14 additions and 14 deletions.
  1. +5 −5 names.c
  2. +9 −9 names.h
View
10 names.c
@@ -33,16 +33,16 @@
* struct kdbus_name_queue_item - a queue item for a name
* @conn: The associated connection
* @entry: Name entry queuing up for
- * @flags: The queuing flags
* @entry_entry: List element for the list in @entry
* @conn_entry: List element for the list in @conn
+ * @flags: The queuing flags
*/
struct kdbus_name_queue_item {
- struct kdbus_conn *conn;
+ struct kdbus_conn *conn;
struct kdbus_name_entry *entry;
- u64 flags;
- struct list_head entry_entry;
- struct list_head conn_entry;
+ struct list_head entry_entry;
+ struct list_head conn_entry;
+ u64 flags;
};
static void kdbus_name_entry_free(struct kdbus_name_entry *e)
View
18 names.h
@@ -23,7 +23,7 @@
*/
struct kdbus_name_registry {
DECLARE_HASHTABLE(entries_hash, 8);
- struct mutex entries_lock;
+ struct mutex entries_lock;
u64 name_seq_last;
};
@@ -40,14 +40,14 @@ struct kdbus_name_registry {
* @activator: Connection of the activator queuing incoming messages
*/
struct kdbus_name_entry {
- char *name;
- u64 name_id;
- u64 flags;
- struct list_head queue_list;
- struct list_head conn_entry;
- struct hlist_node hentry;
- struct kdbus_conn *conn;
- struct kdbus_conn *activator;
+ char *name;
+ u64 name_id;
+ u64 flags;
+ struct list_head queue_list;
+ struct list_head conn_entry;
+ struct hlist_node hentry;
+ struct kdbus_conn *conn;
+ struct kdbus_conn *activator;
};
int kdbus_name_registry_new(struct kdbus_name_registry **reg);

0 comments on commit c3e886f

Please sign in to comment.
Something went wrong with that request. Please try again.