Martin Roth has posted comments on this change. ( https://review.coreboot.org/25419 )
Change subject: soc/amd/common/block/pi/amd_late_init.c: Fix coverity issue CID 1387031 ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/25419/1/src/soc/amd/common/block/pi/amd_late... File src/soc/amd/common/block/pi/amd_late_init.c:
https://review.coreboot.org/#/c/25419/1/src/soc/amd/common/block/pi/amd_late... PS1, Line 53: sizeof(dimm->module_part_number) - 1) Is this the correct solution here? Isn't this going to truncate the last byte of the spd's part number? Maybe use memcpy and manually terminate the string instead?