From: Julien Grall <julien.grall@citrix.com>
To: Murilo Opsfelder Araujo <mopsfelder@gmail.com>,
<linux-kernel@vger.kernel.org>, <xen-devel@lists.xenproject.org>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
Boris Ostrovsky <boris.ostrovsky@oracle.com>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
David Vrabel <david.vrabel@citrix.com>
Subject: Re: [PATCH] xen/tmem: Pass page instead of pfn to xen_tmem_get_page()
Date: Wed, 19 Aug 2015 17:23:55 -0700 [thread overview]
Message-ID: <55D51E1B.8090701@citrix.com> (raw)
In-Reply-To: <1439990719-19517-1-git-send-email-mopsfelder@gmail.com>
Hi,
On 19/08/2015 06:25, Murilo Opsfelder Araujo wrote:
> The commit 091208a676dfdabb2b8fe86ee155c6fc80081b69 "xen/tmem: Use
> xen_page_to_gfn rather than pfn_to_gfn" left behind a call to
> xen_tmem_get_page() receiving pfn instead of page.
>
> This change also fixes the following build warning:
>
> drivers/xen/tmem.c: In function ‘tmem_cleancache_get_page’:
> drivers/xen/tmem.c:194:47: warning: passing argument 4 of ‘xen_tmem_get_page’ makes pointer from integer without a cast
> ret = xen_tmem_get_page((u32)pool, oid, ind, pfn);
> ^
> drivers/xen/tmem.c:138:12: note: expected ‘struct page *’ but argument is of type ‘long unsigned int’
> static int xen_tmem_get_page(u32 pool_id, struct tmem_oid oid,
> ^
>
> Signed-off-by: Murilo Opsfelder Araujo <mopsfelder@gmail.com>
Sorry for the breakage, I haven't spot it because CONFIG_CLEANCACHE is
not enabled on my config.
Reviewed-by: Julien Grall <julien.grall@citrix.com>
Regards,
--
Julien Grall
next prev parent reply other threads:[~2015-08-20 0:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-19 13:25 Murilo Opsfelder Araujo
2015-08-20 0:23 ` Julien Grall [this message]
2015-08-22 14:51 ` Murilo Opsfelder Araújo
2015-08-20 11:27 ` David Vrabel
2015-08-22 14:52 ` Murilo Opsfelder Araújo
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=55D51E1B.8090701@citrix.com \
--to=julien.grall@citrix.com \
--cc=boris.ostrovsky@oracle.com \
--cc=david.vrabel@citrix.com \
--cc=konrad.wilk@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mopsfelder@gmail.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xenproject.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
Powered by JetHome