Attention is currently required from: Jason Glenesk, Raul Rangel, Marshall Dawson. Hello Jason Glenesk, Raul Rangel, Marshall Dawson,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/60207
to look at the new patch set (#2).
Change subject: soc/amd/common/lpc/espi_util: use enum cb_err type for return values ......................................................................
soc/amd/common/lpc/espi_util: use enum cb_err type for return values
Use enum cb_err as return type of all functions that aren't exposed outside of this compilation unit. The checks if a function has returned a failure are replaced with checks if the return value isn't CB_SUCCESS which is equivalent if only those two values are used, but also detects a failure if any unexpected value would be returned.
Signed-off-by: Felix Held felix-coreboot@felixheld.de Change-Id: If8c703f62babac31948d0878e91bd31b31bebc01 --- M src/soc/amd/common/block/lpc/espi_util.c 1 file changed, 75 insertions(+), 71 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/07/60207/2