[PATCH 4/5] kfifo: remove kfifo_init

2013-01-08 Thread Yuanhan Liu
kfifo_init is buggy, we should never use that. Instead, we should use kfifo_alloc. Cc: Stefani Seibold Cc: Andrew Morton Signed-off-by: Yuanhan Liu --- include/linux/kfifo.h | 27 ++- kernel/kfifo.c| 23 --- 2 files changed, 2

[PATCH 4/5] kfifo: remove kfifo_init

2013-01-08 Thread Yuanhan Liu
kfifo_init is buggy, we should never use that. Instead, we should use kfifo_alloc. Cc: Stefani Seibold stef...@seibold.net Cc: Andrew Morton a...@linux-foundation.org Signed-off-by: Yuanhan Liu yuanhan@linux.intel.com --- include/linux/kfifo.h | 27 ++-