diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2016-10-03 21:57:21 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2016-10-04 14:31:53 +0200 |
commit | 0d4b11a4f8ccf64fb1a8272a0cd2e4833e54d90e (patch) | |
tree | 7152df06c4cfe90b71d1c6e1eeac2ad65da09774 /src/northbridge/amd/pi/00730F01 | |
parent | 18cd8a64a46b85af5bf284165ce412188fc31948 (diff) | |
download | coreboot-0d4b11a4f8ccf64fb1a8272a0cd2e4833e54d90e.tar.xz |
src/northbridge: Remove whitespace after sizeof
Change-Id: Iea0352f85f4d5f47fc906edbe625e7bbf3f03afd
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/16863
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/northbridge/amd/pi/00730F01')
-rw-r--r-- | src/northbridge/amd/pi/00730F01/dimmSpd.c | 2 | ||||
-rw-r--r-- | src/northbridge/amd/pi/00730F01/northbridge.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/amd/pi/00730F01/dimmSpd.c b/src/northbridge/amd/pi/00730F01/dimmSpd.c index 1d9aa3ab2b..9726042879 100644 --- a/src/northbridge/amd/pi/00730F01/dimmSpd.c +++ b/src/northbridge/amd/pi/00730F01/dimmSpd.c @@ -24,7 +24,7 @@ #include "northbridge/amd/pi/dimmSpd.h" -#define DIMENSION(array)(sizeof (array)/ sizeof (array [0])) +#define DIMENSION(array)(sizeof(array)/ sizeof(array [0])) AGESA_STATUS AmdMemoryReadSPD (UINT32 unused1, UINT32 unused2, AGESA_READ_SPD_PARAMS *info) { diff --git a/src/northbridge/amd/pi/00730F01/northbridge.c b/src/northbridge/amd/pi/00730F01/northbridge.c index b778da5903..334cdb215c 100644 --- a/src/northbridge/amd/pi/00730F01/northbridge.c +++ b/src/northbridge/amd/pi/00730F01/northbridge.c @@ -394,7 +394,7 @@ static void set_resource(device_t dev, struct resource *resource, u32 nodeid) set_mmio_addr_reg(nodeid, link_num, reg, (resource->index >>24), rbase>>8, rend>>8, node_nums) ;// [39:8] } resource->flags |= IORESOURCE_STORED; - snprintf(buf, sizeof (buf), " <node %x link %x>", + snprintf(buf, sizeof(buf), " <node %x link %x>", nodeid, link_num); report_resource_stored(dev, resource, buf); } |