Re: [josef-btrfs:master 29/29] fs/btrfs/backref.c:1586:2: error: implicit declaration of function 'vmalloc'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 31, 2012 at 08:47:16AM -0600, Fengguang Wu wrote:
> Hi Liu,
> 
> FYI, kernel build failed on
> 
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git master
> head:   8ccfefeea39d6ee32ad312b1fd3b8eeb19de9265
> commit: 8ccfefeea39d6ee32ad312b1fd3b8eeb19de9265 [29/29] Btrfs: use larger limit for translation of logical to inode
> config: x86_64-randconfig-h842 (attached as .config)
> 
> All related error/warning messages:
> 
> fs/btrfs/backref.c: In function 'init_data_container':
> fs/btrfs/backref.c:1586:2: error: implicit declaration of function 'vmalloc' [-Werror=implicit-function-declaration]
> fs/btrfs/backref.c:1586:7: warning: assignment makes pointer from integer without a cast [enabled by default]
> cc1: some warnings being treated as errors
> 
> vim +1586 fs/btrfs/backref.c
>   1583		size_t alloc_bytes;
>   1584	
>   1585		alloc_bytes = max_t(size_t, total_bytes, sizeof(*data));
> > 1586		data = vmalloc(alloc_bytes);
>   1587		if (!data)
>   1588			return ERR_PTR(-ENOMEM);
>   1589	
>

Good lord Fengguang I just pushed that out 45 minutes ago.  I will fix and push
it out, thanks!

Josef
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux