src/lib: Add space before (

Fix the following error detected by checkpatch.pl:

ERROR: space required before the open parenthesis '('

TEST=Build and run on Galileo Gen2

Change-Id: I8953fecbe75136ff989c9e3cf6c5e155dcee3c3b
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18698
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
Lee Leahy
2017-03-08 18:02:24 -08:00
parent 2f919ec476
commit 45fde705b6
15 changed files with 31 additions and 31 deletions

View File

@ -7,13 +7,13 @@ static void dump_spd_registers(const struct mem_controller *ctrl)
{
int i;
printk(BIOS_DEBUG, "\n");
for(i = 0; i < 4; i++) {
for (i = 0; i < 4; i++) {
unsigned int device;
device = ctrl->channel0[i];
if (device) {
int j;
printk(BIOS_DEBUG, "dimm: %02x.0: %02x", i, device);
for(j = 0; j < 256; j++) {
for (j = 0; j < 256; j++) {
int status;
unsigned int char byte;
if ((j & 0xf) == 0)
@ -32,7 +32,7 @@ static void dump_spd_registers(const struct mem_controller *ctrl)
if (device) {
int j;
printk(BIOS_DEBUG, "dimm: %02x.1: %02x", i, device);
for(j = 0; j < 256; j++) {
for (j = 0; j < 256; j++) {
int status;
unsigned int char byte;
if ((j & 0xf) == 0)
@ -56,11 +56,11 @@ void dump_spd_registers(void)
unsigned int device;
device = SMBUS_MEM_DEVICE_START;
printk(BIOS_DEBUG, "\n");
while(device <= SMBUS_MEM_DEVICE_END) {
while (device <= SMBUS_MEM_DEVICE_END) {
int status = 0;
int i;
printk(BIOS_DEBUG, "dimm %02x", device);
for(i = 0; (i < 256) && (status == 0); i++) {
for (i = 0; (i < 256) && (status == 0); i++) {
unsigned int char byte;
if ((i % 20) == 0)
printk(BIOS_DEBUG, "\n%3d: ", i);