Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/80638?usp=email )
Change subject: vendorcode/cavium: Fix bitfields with signed integers ......................................................................
vendorcode/cavium: Fix bitfields with signed integers
Bitfields with signed integers are not valid C code. This fixes compilation with clang v16.0.6.
Change-Id: I0b2add2f1078a88347fea7dc65d422d0e5a210a1 Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/vendorcode/cavium/include/bdk/libbdk-hal/if/bdk-if.h 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/38/80638/1
diff --git a/src/vendorcode/cavium/include/bdk/libbdk-hal/if/bdk-if.h b/src/vendorcode/cavium/include/bdk/libbdk-hal/if/bdk-if.h index b77aa2a..499a6a4 100644 --- a/src/vendorcode/cavium/include/bdk/libbdk-hal/if/bdk-if.h +++ b/src/vendorcode/cavium/include/bdk/libbdk-hal/if/bdk-if.h @@ -113,8 +113,8 @@ uint64_t reserved2 : 32; unsigned speed : 24; unsigned lanes : 6; - int full_duplex : 1; - int up : 1; + unsigned full_duplex : 1; + unsigned up : 1; } s; } bdk_if_link_t;