|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH 18 of 45] gcc-4.6 compile fix: xen/common/cpupool
>>> On 19.05.11 at 21:05, Olaf Hering <olaf@xxxxxxxxx> wrote:
> # HG changeset patch
> # User Olaf Hering <olaf@xxxxxxxxx>
> # Date 1305824402 -7200
> # Node ID 982cc1330a16cc27e3c1f16b4ee9874340ec01ed
> # Parent 0ef116beb380f5a8f2bef7825c0f5f450520e923
> gcc-4.6 compile fix: xen/common/cpupool.c
>
> cpupool.c: In function 'cpupool_add_domain':
> cpupool.c:359:9: error: variable 'n_dom' set but not used
> [-Werror=unused-but-set-variable]
> cpupool.c: In function 'cpupool_rm_domain':
> cpupool.c:384:9: error: variable 'n_dom' set but not used
> [-Werror=unused-but-set-variable]
> cpupool.c:383:9: error: variable 'cpupool_id' set but not used
> [-Werror=unused-but-set-variable]
>
> Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
>
> diff -r 0ef116beb380 -r 982cc1330a16 xen/common/cpupool.c
> --- a/xen/common/cpupool.c Thu May 19 19:00:00 2011 +0200
> +++ b/xen/common/cpupool.c Thu May 19 19:00:02 2011 +0200
> @@ -35,7 +35,7 @@ static DEFINE_SPINLOCK(cpupool_lock);
>
> DEFINE_PER_CPU(struct cpupool *, cpupool);
>
> -#define cpupool_dprintk(x...) ((void)0)
> +#define cpupool_dprintk(fmt, args...) { if (0) printk(fmt, ##args); }
#define cpupool_dprintk(fmt, args...) ({ if (0) printk(fmt, ##args); })
>
> static struct cpupool *alloc_cpupool_struct(void)
> {
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 09 of 45] gcc-4.6 compile fix: tools/libxl/xl_cmdimpl.c, (continued)
- [Xen-devel] [PATCH 09 of 45] gcc-4.6 compile fix: tools/libxl/xl_cmdimpl.c, Olaf Hering
- [Xen-devel] [PATCH 10 of 45] gcc-4.6 compile fix: tools/libxl/libxlu_cfg.c, Olaf Hering
- [Xen-devel] [PATCH 11 of 45] gcc-4.6 compile fix: tools/libxl/libxl.c, Olaf Hering
- [Xen-devel] [PATCH 12 of 45] gcc-4.6 compile fix: tools/libxl/libxl_pci.c, Olaf Hering
- [Xen-devel] [PATCH 13 of 45] gcc-4.6 compile fix: tools/libxl/libxl_dom.c, Olaf Hering
- [Xen-devel] [PATCH 14 of 45] gcc-4.6 compile fix: tools/libxl/libxl_utils.c, Olaf Hering
- [Xen-devel] [PATCH 15 of 45] gcc-4.6 compile fix: tools/debugger/gdbsx/gx/gx_comm.c, Olaf Hering
- [Xen-devel] [PATCH 16 of 45] gcc-4.6 compile fix: tools/python/xen/lowlevel/checkpoint/libcheckpoint.c, Olaf Hering
- [Xen-devel] [PATCH 17 of 45] gcc-4.6 compile fix: tools/python/xen/lowlevel/netlink/libnetlink.c, Olaf Hering
- [Xen-devel] [PATCH 18 of 45] gcc-4.6 compile fix: xen/common/cpupool.c, Olaf Hering
- Re: [Xen-devel] [PATCH 18 of 45] gcc-4.6 compile fix: xen/common/cpupool.c,
Jan Beulich <=
- [Xen-devel] [PATCH 19 of 45] gcc-4.6 compile fix: xen/common/grant_table.c, Olaf Hering
- [Xen-devel] [PATCH 20 of 45] gcc-4.6 compile fix: xen/common/kexec.c, Olaf Hering
- [Xen-devel] [PATCH 21 of 45] gcc-4.6 compile fix: xen/common/sched_credit2.c, Olaf Hering
- [Xen-devel] [PATCH 22 of 45] gcc-4.6 compile fix: xen/common/unlzo.c, Olaf Hering
- [Xen-devel] [PATCH 23 of 45] gcc-4.6 compile fix: xen/drivers/passthrough/vtd/intremap.c, Olaf Hering
- [Xen-devel] [PATCH 24 of 45] gcc-4.6 compile fix: xen/arch/x86/msi.c, Olaf Hering
- [Xen-devel] [PATCH 25 of 45] gcc-4.6 compile fix: xen/arch/x86/microcode_amd.c, Olaf Hering
- [Xen-devel] [PATCH 26 of 45] gcc-4.6 compile fix: xen/arch/x86/time.c, Olaf Hering
- [Xen-devel] [PATCH 27 of 45] gcc-4.6 compile fix: xen/arch/x86/acpi/cpu_idle.c, Olaf Hering
|
|
|
|
|