Fengguang Wu
2012-Aug-31 14:47 UTC
[josef-btrfs:master 29/29] fs/btrfs/backref.c:1586:2: error: implicit declaration of function ''vmalloc''
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 --- 0-DAY kernel build testing backend Open Source Technology Centre Fengguang Wu <wfg@linux.intel.com> Intel Corporation
Josef Bacik
2012-Aug-31 15:01 UTC
Re: [josef-btrfs:master 29/29] fs/btrfs/backref.c:1586:2: error: implicit declaration of function ''vmalloc''
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 linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html