The patch titled is_power_of_2: kernel/kfifo.c has been removed from the -mm tree. Its filename was is_power_of_2-kernel-kfifoc.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: is_power_of_2: kernel/kfifo.c From: vignesh babu <vignesh.babu@xxxxxxxxx> Replace (n & (n-1)) with is_power_of_2() Signed-off-by: vignesh babu <vignesh.babu@xxxxxxxxx> Acked-by: Stelian Pop <stelian@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/kfifo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN kernel/kfifo.c~is_power_of_2-kernel-kfifoc kernel/kfifo.c --- a/kernel/kfifo.c~is_power_of_2-kernel-kfifoc +++ a/kernel/kfifo.c @@ -24,6 +24,7 @@ #include <linux/slab.h> #include <linux/err.h> #include <linux/kfifo.h> +#include <linux/log2.h> /** * kfifo_init - allocates a new FIFO using a preallocated buffer @@ -41,7 +42,7 @@ struct kfifo *kfifo_init(unsigned char * struct kfifo *fifo; /* size must be a power of 2 */ - BUG_ON(size & (size - 1)); + BUG_ON(!is_power_of_2(size)); fifo = kmalloc(sizeof(struct kfifo), gfp_mask); if (!fifo) _ Patches currently in -mm which might be from vignesh.babu@xxxxxxxxx are origin.patch git-ubi.patch git-xfs.patch is_power_of_2-ext4-superc.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html