Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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> (cherry picked from commit af52fe8) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
- Loading branch information
1 parent
29cffd3
commit b1251db
Showing
1 changed file
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters