summaryrefslogtreecommitdiff
path: root/src/drivers/usb
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-09-24 14:24:45 +0200
committerNico Huber <nico.h@gmx.de>2019-10-08 11:03:26 +0000
commit2a0fbe34ba037a5064b3becea2b6c6e1005926ff (patch)
treee86a5f3e463f91a83162e510e18f27f8a860bc9f /src/drivers/usb
parentc1dc2d5e687cd8ba8164d593b875977f2f6dcbd4 (diff)
device/dram/ddr4: Check spd_bytes_total and spd_bytes_used values
The value stored to 'spd_bytes_total' is never read. Now it is fixed. This is spotted using clang-tool v9. Also add a check if spd_bytes_used and/or spd_bytes_total are reserved and make sure that spd_bytes_used is not greater than spd_bytes_total. Change-Id: I426a7e64cc4c0bcced91d03387e02c8d965a21dc Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35558 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/drivers/usb')
0 files changed, 0 insertions, 0 deletions