src/drivers: Add required space before opening parenthesis '('
Change-Id: I4d0087b2557862d04be54cf42f01b3223cb723ac Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16321 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
committed by
Martin Roth
parent
d75b04f2b3
commit
2e4d80687d
@@ -55,7 +55,7 @@ static int wait_ibf_timeout(int port)
|
||||
if (!(ipmi_kcs_status(port) & IPMI_KCS_IBF))
|
||||
return 0;
|
||||
udelay(100);
|
||||
} while(timeout--);
|
||||
} while (timeout--);
|
||||
printk(BIOS_ERR, "wait_ibf timeout!\n");
|
||||
return timeout;
|
||||
}
|
||||
@@ -67,7 +67,7 @@ static int wait_obf_timeout(int port)
|
||||
if ((ipmi_kcs_status(port) & IPMI_KCS_OBF))
|
||||
return 0;
|
||||
udelay(100);
|
||||
} while(timeout--);
|
||||
} while (timeout--);
|
||||
|
||||
printk(BIOS_ERR, "wait_obf timeout!\n");
|
||||
return timeout;
|
||||
@@ -160,7 +160,7 @@ static int ipmi_kcs_send_message(int port, int netfn, int lun, int cmd,
|
||||
return ret;
|
||||
}
|
||||
|
||||
while(len-- > 1) {
|
||||
while (len-- > 1) {
|
||||
if ((ret = ipmi_kcs_send_data_byte(port, *msg++))) {
|
||||
printk(BIOS_ERR, "IPMI BYTE WRITE failed\n");
|
||||
return ret;
|
||||
@@ -189,7 +189,7 @@ static int ipmi_kcs_read_message(int port, unsigned char *msg, int len)
|
||||
if (wait_ibf_timeout(port))
|
||||
return 1;
|
||||
|
||||
for(;;) {
|
||||
for (;;) {
|
||||
status = ipmi_kcs_status(port);
|
||||
|
||||
if (IPMI_KCS_STATE(status) == IPMI_KCS_STATE_IDLE)
|
||||
|
||||
Reference in New Issue
Block a user