[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] [PATCH for-2.1] cadence_uart: check serial backend bef
From: |
Peter Maydell |
Subject: |
Re: [Qemu-stable] [PATCH for-2.1] cadence_uart: check serial backend before using it. |
Date: |
Thu, 17 Jul 2014 17:34:47 +0100 |
On 16 July 2014 08:42, <address@hidden> wrote:
> From: KONRAD Frederic <address@hidden>
>
> 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 <address@hidden>
> Reviewed-by: Peter Crosthwaite <address@hidden>
> ---
> hw/char/cadence_uart.c | 14 ++++++++++----
> 1 file changed, 10 insertions(+), 4 deletions(-)
Applied to master, thanks.
-- PMM