From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: Re: [PATCH 00 of 45] gcc 4.6 compile fixes for xen-unstable Date: Fri, 20 May 2011 08:38:27 +0100 Message-ID: <4DD6369302000078000425E2@vpn.id2.novell.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Olaf Hering Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >>> On 19.05.11 at 21:05, Olaf Hering wrote: > The following series fix compile errors with gcc 4.6. > Please review if each change is correct. Hmm, this large amount of changes makes we wonder whether we shouldn't simply turn of the unused-but-set-variable warning altogether, or at least not have it be an error. Not the least because I'm not sure it'd be nice to backport all of these changes into older trees (which obviously would suffer mostly the same problems when built with 4.6 or newer). Jan > Thanks, >=20 > Olaf >=20 > tools/console/client/main.c | 3 -- > tools/debugger/gdbsx/gx/gx_comm.c | 2 - > tools/firmware/rombios/32bit/tcgbios/tcgbios.c | 2 - > tools/libxc/xc_domain_restore.c | 2 - > tools/libxc/xc_tmem.c | 3 -- > tools/libxl/libxl.c | 6 ++--- > tools/libxl/libxl_dom.c | 4 +-- > tools/libxl/libxl_pci.c | 2 - > tools/libxl/libxl_utils.c | 2 - > tools/libxl/libxlu_cfg.c | 2 - > tools/libxl/xl_cmdimpl.c | 5 ---- > tools/misc/gtraceview.c | 3 -- > tools/python/xen/lowlevel/checkpoint/libcheckpoint.c | 6 +---- > tools/python/xen/lowlevel/netlink/libnetlink.c | 3 -- > tools/xcutils/xc_restore.c | 3 -- > tools/xenstat/xentop/xentop.c | 8 +------ > tools/xenstore/xenstored_core.c | 20 ++++++++++++= ++----- > xen/arch/x86/acpi/cpu_idle.c | 2 - > xen/arch/x86/cpu/amd.c | 3 -- > xen/arch/x86/cpu/intel.c | 3 -- > xen/arch/x86/cpu/intel_cacheinfo.c | 7 ------ > xen/arch/x86/cpu/mcheck/mce.c | 15 +++---------= -- > xen/arch/x86/cpu/mcheck/vmce.c | 2 - > xen/arch/x86/hvm/emulate.c | 3 -- > xen/arch/x86/hvm/hvm.c | 5 +--- > xen/arch/x86/hvm/viridian.c | 5 ---- > xen/arch/x86/microcode_amd.c | 3 -- > xen/arch/x86/mm.c | 2 - > xen/arch/x86/mm/mem_sharing.c | 2 - > xen/arch/x86/mm/p2m-pod.c | 3 -- > xen/arch/x86/mm/p2m.c | 2 - > xen/arch/x86/mm/shadow/multi.c | 4 +-- > xen/arch/x86/msi.c | 9 -------- > xen/arch/x86/time.c | 5 ++-- > xen/arch/x86/x86_64/mm.c | 4 --- > xen/common/cpupool.c | 2 - > xen/common/grant_table.c | 2 - > xen/common/kexec.c | 2 - > xen/common/sched_credit2.c | 4 --- > xen/common/tmem.c | 4 +-- > xen/common/tmem_xen.c | 4 +-- > xen/common/unlzo.c | 3 -- > xen/drivers/passthrough/vtd/intremap.c | 6 ----- > 43 files changed, 59 insertions(+), 123 deletions(-) >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com=20 > http://lists.xensource.com/xen-devel=20