From: Stefani Seibold Date: Thu, 28 Feb 2013 01:05:51 +0000 (-0800) Subject: kfifo: fix kfifo_alloc() and kfifo_init() X-Git-Tag: v3.9-rc1~46^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfe2a77fd243ac3bf204fd0624e4d0b2134aaa6d;p=pandora-kernel.git kfifo: fix kfifo_alloc() and kfifo_init() Fix kfifo_alloc() and kfifo_init() to alloc at least the requested number of elements. Since the kfifo operates on power of 2 the request size will be rounded up to the next power of two. Signed-off-by: Stefani Seibold Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed