Re: [Qemu-devel] [PATCH] cadence_uart: check for serial backend before using it.

2014-07-16 Thread Frederic Konrad
On 16/07/2014 05:48, Peter Crosthwaite wrote: On Wed, Jul 16, 2014 at 1:18 AM, wrote: From: KONRAD Frederic This checks that s->chr is not NULL before using it. Signed-off-by: KONRAD Frederic --- hw/char/cadence_uart.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(

Re: [Qemu-devel] [PATCH] cadence_uart: check for serial backend before using it.

2014-07-15 Thread Peter Crosthwaite
On Wed, Jul 16, 2014 at 1:18 AM, wrote: > From: KONRAD Frederic > > This checks that s->chr is not NULL before using it. > > Signed-off-by: KONRAD Frederic > --- > hw/char/cadence_uart.c | 15 +++ > 1 file changed, 11 insertions(+), 4 deletions(-) > > diff --git a/hw/char/cadence_u

[Qemu-devel] [PATCH] cadence_uart: check for serial backend before using it.

2014-07-15 Thread fred . konrad
From: KONRAD Frederic This checks that s->chr is not NULL before using it. Signed-off-by: KONRAD Frederic --- hw/char/cadence_uart.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/hw/char/cadence_uart.c b/hw/char/cadence_uart.c index dbbc167..a5736cb 10064