summaryrefslogtreecommitdiff
path: root/src/soc/nvidia
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-01-10 16:40:45 -0700
committerMartin Roth <martinroth@google.com>2017-01-12 18:37:55 +0100
commit6e4cb50420b7ddfecf9388e8a3b000ecb6855054 (patch)
tree1cdef18bf706a337db0ae66a906d362a68a299f3 /src/soc/nvidia
parentf56c7787ba34bf9ee7799a77803c1a77b2d1be27 (diff)
sb/intel/fsp_rangeley: Fix NULL check in gpio.c
This should always have been an and, not an or. The only way this would happen is if no GPIOs were getting configured, so we shouldn't ever have a NULL here, but if we did, GPIOs would be randomly configured, which would have 'interesting' results. Found-by: Coverity Scan #1229633 & 1229632 Change-Id: If123372658383f84279738e1186425beba3208ca Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/18095 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/soc/nvidia')
0 files changed, 0 insertions, 0 deletions