btrfs/raid56: Add missing #include <linux/vmalloc.h>
PATCH 1/1 btrfs/raid56: Add missing #include <linux/vmalloc.h>
tilegx_defconfig:
fs/btrfs/raid56.c: In function 'btrfs_alloc_stripe_hash_table':fs/btrfs/raid56.c:206:3: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration] fs/btrfs/raid56.c:206:9: warning: assignment makes pointer from integer without a cast [enabled by default] fs/btrfs/raid56.c:226:4: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
---
http://kisskb.ellerman.id.au/kisskb/buildresult/8311887/
fs/btrfs/raid56.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
fs/btrfs/raid56.c +1 -0
@@ -31,6 +31,7 @@#include <linux/hash.h> #include <linux/list_sort.h> #include <linux/raid/xor.h> +#include <linux/vmalloc.h> #include <asm/div64.h> #include "compat.h" #include "ctree.h"
Signature · 1 line
1.7.0.4
Quoted 6 lines · Geert Uytterhoeven
tilegx_defconfig:
fs/btrfs/raid56.c: In function 'btrfs_alloc_stripe_hash_table':fs/btrfs/raid56.c:206:3: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration]fs/btrfs/raid56.c:206:9: warning: assignment makes pointer from integer without a cast [enabled by default]fs/btrfs/raid56.c:226:4: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
Thanks, I've got this one in my for-linus now. It'll go with the next pull.
-chris