summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-09-10 10:40:22 +0200
committerMartin L Roth <gaumless@gmail.com>2023-09-11 15:57:58 +0000
commita4c74578ecd49d3d84743e08d4b4d8af5beea564 (patch)
treead18a03b0aff43d7d4cff001a5577c0af08342bd
parent0f3075ea6388891d3bf633843611f03f5436911f (diff)
soc/cavium: Remove space between function name and '('
Change-Id: I25e3cf15a77cf61a60bd31519eae019742842389 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77770 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
-rw-r--r--src/soc/cavium/common/bdk-coreboot.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/soc/cavium/common/bdk-coreboot.c b/src/soc/cavium/common/bdk-coreboot.c
index b4e45bb6f4..448e329a10 100644
--- a/src/soc/cavium/common/bdk-coreboot.c
+++ b/src/soc/cavium/common/bdk-coreboot.c
@@ -39,8 +39,8 @@ int64_t bdk_twsix_read_ia(bdk_node_t node, int twsi_id, uint8_t dev_addr,
struct i2c_msg seg[2];
u32 buf;
- assert (num_bytes < 5);
- assert (ia_width_bytes < 3);
+ assert(num_bytes < 5);
+ assert(ia_width_bytes < 3);
seg[0].flags = 0;
seg[0].slave = dev_addr;
@@ -81,8 +81,8 @@ int bdk_twsix_write_ia(bdk_node_t node, int twsi_id, uint8_t dev_addr,
struct i2c_msg seg;
u8 buf[10];
- assert (num_bytes <= 8);
- assert (ia_width_bytes < 3);
+ assert(num_bytes <= 8);
+ assert(ia_width_bytes < 3);
memcpy(buf, &internal_addr, ia_width_bytes);
memcpy(&buf[ia_width_bytes], &data, num_bytes);