diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-04-08 22:21:43 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-04-09 17:24:40 +0000 |
commit | e0c181d48790be12b469b175bf4d9931a8c79fa1 (patch) | |
tree | 445984afb6d83bdd180ced155cad0a022055e2f7 /payloads/libpayload/drivers/usb/ohci.h | |
parent | cc86d8921b7d285fd0b5841acfeca4ee12be3b3d (diff) |
nb/intel/sandybridge: Set uninitialized run length
If the entire array is zero, then the length of the
longest zero run is the length of the array itself.
Found-by: Coverity Scan, CID 1229715
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Change-Id: Id23292087b14182448d70117915fb044e9c579f7
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32249
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'payloads/libpayload/drivers/usb/ohci.h')
0 files changed, 0 insertions, 0 deletions