From: Mike Snitzer <snitzer@redhat.com>
To: Chen Gang <gang.chen@asianux.com>
Cc: agk@redhat.com, neilb@suse.de, linux-raid@vger.kernel.org,
dm-devel@redhat.com
Subject: Re: drivers: md: include "linux/vmalloc.h" in "dm-cache-policy-hints.c"
Date: Wed, 30 Oct 2013 10:38:25 -0400 [thread overview]
Message-ID: <20131030143825.GA8125@redhat.com> (raw)
In-Reply-To: <5270A465.2040200@asianux.com>
On Wed, Oct 30 2013 at 2:17am -0400,
Chen Gang <gang.chen@asianux.com> wrote:
> Need include related header file, or can not pass compiling, the
> related error (for powerpc with allmodconfig):
>
> CC [M] drivers/md/dm-cache-policy-hints.o
> drivers/md/dm-cache-policy-hints.c: In function ‘alloc_hash’:
> drivers/md/dm-cache-policy-hints.c:94:2: error: implicit declaration of function ‘vzalloc’ [-Werror=implicit-function-declaration]
> drivers/md/dm-cache-policy-hints.c:94:14: warning: assignment makes pointer from integer without a cast [enabled by default]
> drivers/md/dm-cache-policy-hints.c: In function ‘free_hash’:
> drivers/md/dm-cache-policy-hints.c:101:2: error: implicit declaration of function ‘vfree’ [-Werror=implicit-function-declaration]
> drivers/md/dm-cache-policy-hints.c: In function ‘alloc_bitset’:
> drivers/md/dm-cache-policy-hints.c:184:2: warning: return makes pointer from integer without a cast [enabled by default]
>
>
> Signed-off-by: Chen Gang <gang.chen@asianux.com>
This was already fixed a couple days ago in the linux-dm.git 'for-next'
branch.
But thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2013-10-30 14:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-30 6:17 [PATCH] drivers: md: include "linux/vmalloc.h" in "dm-cache-policy-hints.c" Chen Gang
2013-10-30 14:38 ` Mike Snitzer [this message]
2013-10-31 0:48 ` Chen Gang
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=20131030143825.GA8125@redhat.com \
--to=snitzer@redhat.com \
--cc=agk@redhat.com \
--cc=dm-devel@redhat.com \
--cc=gang.chen@asianux.com \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.de \
/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).