On 16 July 2014 08:42,  <fred.kon...@greensocs.com> wrote:
> From: KONRAD Frederic <fred.kon...@greensocs.com>
>
> Segfault occurs when there are less than two serial backends with zynq 
> platform.
>
> This checks that s->chr is not NULL before using it.
>
> Signed-off-by: KONRAD Frederic <fred.kon...@greensocs.com>
> Reviewed-by: Peter Crosthwaite <peter.crosthwa...@xilinx.com>
> ---
>  hw/char/cadence_uart.c | 14 ++++++++++----
>  1 file changed, 10 insertions(+), 4 deletions(-)

Applied to master, thanks.

-- PMM

Reply via email to