tests/lib/spd_cache-test: Initialize spd_block.addr_map
commitd5433afb28ad6e9c3435310032ed8c7415d1875f
authorJakub Czapiga <jacz@semihalf.com>
Mon, 17 May 2021 08:53:22 +0000 (17 10:53 +0200)
committerPatrick Georgi <pgeorgi@google.com>
Tue, 18 May 2021 10:08:39 +0000 (18 10:08 +0000)
treefb87adc6d91c32354a4faf621c17d0a1222826e5
parent943e479b3e1f0c6e2555d41f3b01177cc78f273f
tests/lib/spd_cache-test: Initialize spd_block.addr_map

Coverity reported unitialized array spd_block.addr_map which values are
not used. Add initialization to silence Coverity and avoid errors in
the future.

Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Found-by: Coverity CID 1453145 1453146 1453147 1453148 1453149
Change-Id: If301f9e5d9e06ad26769bd0717f1f906e620d82d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/54355
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
tests/lib/spd_cache-test.c