diff options
author | KONRAD Frederic <fred.konrad@greensocs.com> | 2014-07-15 17:18:44 +0200 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-07-17 16:36:17 +0100 |
commit | af52fe862fba686713044efdf9158195f84535ab (patch) | |
tree | 683924d463faf75ca4a31f2bfb4e7df259386a4d /vl.c | |
parent | 231f6927c813d2e4f49e5aeb20ebd236b391bce8 (diff) |
cadence_uart: check for serial backend before using it.
This checks that s->chr is not NULL before using it.
Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'vl.c')
0 files changed, 0 insertions, 0 deletions