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>
This commit is contained in:
parent
0f3075ea63
commit
a4c74578ec
|
@ -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];
|
struct i2c_msg seg[2];
|
||||||
u32 buf;
|
u32 buf;
|
||||||
|
|
||||||
assert (num_bytes < 5);
|
assert(num_bytes < 5);
|
||||||
assert (ia_width_bytes < 3);
|
assert(ia_width_bytes < 3);
|
||||||
|
|
||||||
seg[0].flags = 0;
|
seg[0].flags = 0;
|
||||||
seg[0].slave = dev_addr;
|
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;
|
struct i2c_msg seg;
|
||||||
u8 buf[10];
|
u8 buf[10];
|
||||||
|
|
||||||
assert (num_bytes <= 8);
|
assert(num_bytes <= 8);
|
||||||
assert (ia_width_bytes < 3);
|
assert(ia_width_bytes < 3);
|
||||||
|
|
||||||
memcpy(buf, &internal_addr, ia_width_bytes);
|
memcpy(buf, &internal_addr, ia_width_bytes);
|
||||||
memcpy(&buf[ia_width_bytes], &data, num_bytes);
|
memcpy(&buf[ia_width_bytes], &data, num_bytes);
|
||||||
|
|
Loading…
Reference in New Issue