Skip to content

Commit

Permalink
names: amend coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
zonque committed Jan 24, 2014
1 parent 1cc24a1 commit c3e886f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
10 changes: 5 additions & 5 deletions names.c
Expand Up @@ -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)
Expand Down
18 changes: 9 additions & 9 deletions names.h
Expand Up @@ -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;
};

Expand All @@ -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);
Expand Down

0 comments on commit c3e886f

Please sign in to comment.