From 3cf2fb577373e846bae426ed1bd12d8a411b25f7 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sat, 9 Sep 2023 08:52:05 +0200 Subject: [PATCH] soc/amd/common/block: Remove space after a cast Change-Id: Icccfbc535e005648e45156fc6810210d0ec86a98 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/77736 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held Reviewed-by: Ana Carolina Cabral --- src/soc/amd/common/block/xhci/elog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/amd/common/block/xhci/elog.c b/src/soc/amd/common/block/xhci/elog.c index 64a2c4811f..b098e6f4ef 100644 --- a/src/soc/amd/common/block/xhci/elog.c +++ b/src/soc/amd/common/block/xhci/elog.c @@ -103,7 +103,7 @@ void soc_xhci_log_wake_events(void) .controller = i_xhci, }; - const struct resource *res = (const struct resource *) &res_store[i_slot].resources[0]; + const struct resource *res = (const struct resource *)(&res_store[i_slot].resources[0]); enum cb_err err = xhci_resource_for_each_supported_usb_cap(res, &context, &xhci_cap_callback);