Re: [Xen-devel] [PATCH v2 07/13] xsplice: Add helper elf routines (v2)

2016-02-05 Thread Konrad Rzeszutek Wilk
On Fri, Feb 5, 2016 at 1:38 PM, Konrad Rzeszutek Wilk wrote: >> >+#define return_(x) { printk(XENLOG_DEBUG "%s:%d rc: %d\n", \ >> >+__func__,__LINE__, x); return x; } >> >+ > > .. snip.. >> >+printk(XENLOG_ERR "Could not allocate memory for section >> >table!\

Re: [Xen-devel] [PATCH v2 07/13] xsplice: Add helper elf routines (v2)

2016-02-05 Thread Konrad Rzeszutek Wilk
> >+#define return_(x) { printk(XENLOG_DEBUG "%s:%d rc: %d\n", \ > >+__func__,__LINE__, x); return x; } > >+ .. snip.. > >+printk(XENLOG_ERR "Could not allocate memory for section table!\n"); > > Shouldn't this printk be removed if you're using return_? I was

Re: [Xen-devel] [PATCH v2 07/13] xsplice: Add helper elf routines (v2)

2016-01-19 Thread Ross Lagerwall
On 01/14/2016 09:47 PM, Konrad Rzeszutek Wilk wrote: From: Ross Lagerwall Add Elf routines and data structures in preparation for loading an xSplice payload. We also add an macro that will print where we failed during the ELF parsing. Signed-off-by: Ross Lagerwall Signed-off-by: Konrad Rzesz

[Xen-devel] [PATCH v2 07/13] xsplice: Add helper elf routines (v2)

2016-01-14 Thread Konrad Rzeszutek Wilk
From: Ross Lagerwall Add Elf routines and data structures in preparation for loading an xSplice payload. We also add an macro that will print where we failed during the ELF parsing. Signed-off-by: Ross Lagerwall Signed-off-by: Konrad Rzeszutek Wilk --- v2: - With the #define ELFSIZE in the AR