diff options
author | KONRAD Frederic | 2014-07-15 17:18:44 +0200 |
---|---|---|
committer | Peter Maydell | 2014-07-17 17:36:17 +0200 |
commit | af52fe862fba686713044efdf9158195f84535ab (patch) | |
tree | 683924d463faf75ca4a31f2bfb4e7df259386a4d /translate-all.c | |
parent | Merge remote-tracking branch 'remotes/amit-migration/for-2.1' into staging (diff) | |
download | qemu-af52fe862fba686713044efdf9158195f84535ab.tar.gz qemu-af52fe862fba686713044efdf9158195f84535ab.tar.xz qemu-af52fe862fba686713044efdf9158195f84535ab.zip |
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 'translate-all.c')
0 files changed, 0 insertions, 0 deletions