From: Josef Bacik <jbacik@fusionio.com>
To: Fengguang Wu <fengguang.wu@intel.com>
Cc: Liu Bo <bo.li.liu@oracle.com>,
"linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>,
Josef Bacik <JBacik@fusionio.com>,
"kernel-janitors@vger.kernel.org"
<kernel-janitors@vger.kernel.org>
Subject: Re: [josef-btrfs:master 29/29] fs/btrfs/backref.c:1586:2: error: implicit declaration of function 'vmalloc'
Date: Fri, 31 Aug 2012 11:01:40 -0400 [thread overview]
Message-ID: <20120831150140.GA4299@localhost.localdomain> (raw)
In-Reply-To: <5040ce74.VuqXa16Lv90yevGM%fengguang.wu@intel.com>
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
prev parent reply other threads:[~2012-08-31 15:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-31 14:47 [josef-btrfs:master 29/29] fs/btrfs/backref.c:1586:2: error: implicit declaration of function 'vmalloc' Fengguang Wu
2012-08-31 15:01 ` Josef Bacik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120831150140.GA4299@localhost.localdomain \
--to=jbacik@fusionio.com \
--cc=bo.li.liu@oracle.com \
--cc=fengguang.wu@intel.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).