From c7b3e5282c1207d58beefe1c61842d36ff0b7459 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20H=C3=A4rdeman?= Date: Tue, 6 Apr 2010 14:34:43 -0700 Subject: [PATCH] --- yaml --- r: 189555 b: refs/heads/master c: 530cd330dc3865e3107304a6e84fdc332aa72f7d h: refs/heads/master i: 189553: d6e5420ce5b65cd7dc3261a2492e5a11bae352fe 189551: 7cd23ed42bf8b6ea297d2e18b99195487ed80325 v: v3 --- [refs] | 2 +- trunk/include/linux/kfifo.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 425402409729..bd4e22203120 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a3a2e76c77fa22b114e421ac11dec0c56c3503fb +refs/heads/master: 530cd330dc3865e3107304a6e84fdc332aa72f7d diff --git a/trunk/include/linux/kfifo.h b/trunk/include/linux/kfifo.h index ece0b1c33816..e117b1aee69c 100644 --- a/trunk/include/linux/kfifo.h +++ b/trunk/include/linux/kfifo.h @@ -86,7 +86,8 @@ union { \ */ #define INIT_KFIFO(name) \ name = __kfifo_initializer(sizeof(name##kfifo_buffer) - \ - sizeof(struct kfifo), name##kfifo_buffer) + sizeof(struct kfifo), \ + name##kfifo_buffer + sizeof(struct kfifo)) /** * DEFINE_KFIFO - macro to define and initialize a kfifo