From 5668461d28aa956f28fd7c3a2d582cfa9513225a Mon Sep 17 00:00:00 2001 From: Daniel Walker Date: Sat, 12 May 2007 16:28:35 -0700 Subject: [PATCH] --- yaml --- r: 56321 b: refs/heads/master c: 78db2ad6f4df9145bfd6aab1c0f1c56d615288ec h: refs/heads/master i: 56319: 9c4eda52cc7e264d35542f2b5c0ad727e2be2c76 v: v3 --- [refs] | 2 +- trunk/include/linux/kernel.h | 4 ++-- trunk/include/linux/list.h | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index eb03825bf871..46f976e5ec44 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 07002e995638b83a6987180f43722a0eb39d4932 +refs/heads/master: 78db2ad6f4df9145bfd6aab1c0f1c56d615288ec diff --git a/trunk/include/linux/kernel.h b/trunk/include/linux/kernel.h index eec0d13169a6..45353d757cd0 100644 --- a/trunk/include/linux/kernel.h +++ b/trunk/include/linux/kernel.h @@ -310,8 +310,8 @@ static inline int __attribute__ ((format (printf, 1, 2))) pr_debug(const char * * */ #define container_of(ptr, type, member) ({ \ - const typeof( ((type *)0)->member ) *__mptr = (ptr); \ - (type *)( (char *)__mptr - offsetof(type,member) );}) + const typeof( ((type *)0)->member ) *__mptr = (ptr); \ + (type *)( (char *)__mptr - offsetof(type,member) );}) /* * Check at compile time that something is of a particular type. diff --git a/trunk/include/linux/list.h b/trunk/include/linux/list.h index 9202703be2a4..f29fc9c1a964 100644 --- a/trunk/include/linux/list.h +++ b/trunk/include/linux/list.h @@ -264,8 +264,8 @@ static inline void list_del_init(struct list_head *entry) */ static inline void list_move(struct list_head *list, struct list_head *head) { - __list_del(list->prev, list->next); - list_add(list, head); + __list_del(list->prev, list->next); + list_add(list, head); } /** @@ -276,8 +276,8 @@ static inline void list_move(struct list_head *list, struct list_head *head) static inline void list_move_tail(struct list_head *list, struct list_head *head) { - __list_del(list->prev, list->next); - list_add_tail(list, head); + __list_del(list->prev, list->next); + list_add_tail(list, head); } /**