diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-07-23 15:45:20 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-07-25 16:04:08 +0000 |
commit | bd00fb13663560fa1a204ae8d324a603370e19ff (patch) | |
tree | 9f1df9f2b2b7073ac14783f138f73d7247b35e11 /src/soc/nvidia/tegra210/uart.c | |
parent | e24585c834598720cd925592ffd80af6e9f74f83 (diff) |
soc/nvidia/tegra210: Add null pointer check
Check that tx is not null before accessing it, similar to the previous
if statements.
Change-Id: I820cb670026bb12a54c63227aa04e778fd49c66a
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1294805
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34530
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/soc/nvidia/tegra210/uart.c')
0 files changed, 0 insertions, 0 deletions