I'll +2 once https://chromium-review.googlesource.com/c/chromiumos/third_party/coreboot/+/2149870/ lands.
Patch set 4:Code-Review +1
1 comment:
File src/soc/amd/picasso/i2c.c:
If the array size was "I2C_MASTER_DEV_COUNT + I2C_SLAVE_DEV_COUNT", would the _Static_assert still b […]
I left it this way so that if the #defines are changed or the array is changed it will fail. Explicitly setting the array catches the case where the number of elements listed is less.
To view, visit change 40247. To unsubscribe, or for help writing mail filters, visit settings.