diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-07-23 11:46:24 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-07-29 06:09:17 +0000 |
commit | 53b4b2850c0db509c9d0d5da4d2975710f685bd7 (patch) | |
tree | cbbe3501ec4a3af90c4d5031f54bb5e4f72454d6 /src/ec | |
parent | 767c4b28998aff563c36e2f2000e4768b68add8f (diff) |
soc/qualcomm/qcs405: Handle invalid QUP and BLSP
Print an error message and return if an invalid QUP or BLSP is
encountered. This prevents a possible null pointer dereference
of spi_clk.
Change-Id: I374e15ce899c651df9c2d3e0f1ec646e33d4bdb2
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1401086
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34523
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/ec')
0 files changed, 0 insertions, 0 deletions