xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Yuanhan Liu <yuanhan.liu@linux.intel.com>, xen-devel@lists.xensource.com
Subject: [xen:devel/pvh.5 8/8] arch/x86/xen/setup.c:261:6: warning: unused variable 'xlated_phys'
Date: Tue, 23 Oct 2012 10:10:54 +0800	[thread overview]
Message-ID: <20121023021054.GD6830@localhost> (raw)

Hi Konrad,

FYI, there are new compile warnings show up in

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git devel/pvh.5
head:   dfc557a5c9a519b45b79ad059821db15bad229fa
commit: dfc557a5c9a519b45b79ad059821db15bad229fa [8/8] xen/e820: Coalesce the PVH release/populate logic in the generic case.
config: x86_64-allyesconfig # make ARCH=x86_64 allyesconfig

All warnings:

arch/x86/xen/setup.c: In function 'xen_set_identity_and_release':
arch/x86/xen/setup.c:261:6: warning: unused variable 'xlated_phys' [-Wunused-variable]

vim +261 arch/x86/xen/setup.c

dfc557a5 Konrad Rzeszutek Wilk 2012-10-22  245  	}
83d51ab4 David Vrabel          2012-05-03  246  	if (start_pfn < nr_pages)
83d51ab4 David Vrabel          2012-05-03  247  		*released += xen_release_chunk(
83d51ab4 David Vrabel          2012-05-03  248  			start_pfn, min(end_pfn, nr_pages));
83d51ab4 David Vrabel          2012-05-03  249  
83d51ab4 David Vrabel          2012-05-03  250  	*identity += set_phys_range_identity(start_pfn, end_pfn);
83d51ab4 David Vrabel          2012-05-03  251  }
83d51ab4 David Vrabel          2012-05-03  252  
f3f436e3 David Vrabel          2011-09-28  253  static unsigned long __init xen_set_identity_and_release(
f3f436e3 David Vrabel          2011-09-28  254  	const struct e820entry *list, size_t map_size, unsigned long nr_pages)
093d7b46 Miroslav Rezanina     2009-09-16  255  {
f3f436e3 David Vrabel          2011-09-28  256  	phys_addr_t start = 0;
093d7b46 Miroslav Rezanina     2009-09-16  257  	unsigned long released = 0;
68df0da7 Konrad Rzeszutek Wilk 2011-02-01  258  	unsigned long identity = 0;
f3f436e3 David Vrabel          2011-09-28  259  	const struct e820entry *entry;
68df0da7 Konrad Rzeszutek Wilk 2011-02-01  260  	int i;
1a870012 Mukesh Rathor         2012-10-17 @261  	int xlated_phys = xen_feature(XENFEAT_auto_translated_physmap);
68df0da7 Konrad Rzeszutek Wilk 2011-02-01  262  
f3f436e3 David Vrabel          2011-09-28  263  	/*
f3f436e3 David Vrabel          2011-09-28  264  	 * Combine non-RAM regions and gaps until a RAM region (or the
f3f436e3 David Vrabel          2011-09-28  265  	 * end of the map) is reached, then set the 1:1 map and
f3f436e3 David Vrabel          2011-09-28  266  	 * release the pages (if available) in those non-RAM regions.
f3f436e3 David Vrabel          2011-09-28  267  	 *
f3f436e3 David Vrabel          2011-09-28  268  	 * The combined non-RAM regions are rounded to a whole number
f3f436e3 David Vrabel          2011-09-28  269  	 * of pages so any partial pages are accessible via the 1:1

The code at line 261 was first introduced by commit:
1a87001 xen/pvh: bootup and setup (E820) related changes.

---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation

                 reply	other threads:[~2012-10-23  2:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20121023021054.GD6830@localhost \
    --to=fengguang.wu@intel.com \
    --cc=konrad.wilk@oracle.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=yuanhan.liu@linux.intel.com \
    /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).