aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2017-09-05 15:51:46 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-09-05 17:56:01 +1000
commitad21eab066a89671d7ef58a8702208a591f2b94a (patch)
tree23c4c89ea340e603f58313ee13f87e11f88f4ba2
parent65faec82334a8975884be7d1b8777e1c83ac56f3 (diff)
downloadskiboot-ad21eab066a89671d7ef58a8702208a591f2b94a.zip
skiboot-ad21eab066a89671d7ef58a8702208a591f2b94a.tar.gz
skiboot-ad21eab066a89671d7ef58a8702208a591f2b94a.tar.bz2
hw/chiptod: have a space between while and open paren
Signed-off-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Michael Neuling <mikey@neuling.org> Reviewed-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--hw/chiptod.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/hw/chiptod.c b/hw/chiptod.c
index 1ade6f6..e157f06 100644
--- a/hw/chiptod.c
+++ b/hw/chiptod.c
@@ -548,7 +548,7 @@ static bool chiptod_mod_tb(void)
prerror("TB \"Not Set\" TOD in error state\n");
return false;
}
- } while(tfmr & SPR_TFMR_LOAD_TOD_MOD);
+ } while (tfmr & SPR_TFMR_LOAD_TOD_MOD);
return true;
}
@@ -568,7 +568,7 @@ static bool chiptod_interrupt_check(void)
prerror("Interrupt check TFMR corrupt !\n");
return false;
}
- } while(tfmr & SPR_TFMR_CHIP_TOD_INTERRUPT);
+ } while (tfmr & SPR_TFMR_CHIP_TOD_INTERRUPT);
return true;
}
@@ -602,7 +602,7 @@ static bool chiptod_poll_running(void)
prerror("XSCOM error polling run\n");
return false;
}
- } while(!(tval & 0x0800000000000000UL));
+ } while (!(tval & 0x0800000000000000UL));
return true;
}
@@ -664,7 +664,7 @@ static bool chiptod_to_tb(void)
prerror("MoveToTB: corrupt TFMR !\n");
return false;
}
- } while(tfmr & SPR_TFMR_MOVE_CHIP_TOD_TO_TB);
+ } while (tfmr & SPR_TFMR_MOVE_CHIP_TOD_TO_TB);
return true;
}
@@ -691,7 +691,7 @@ static bool chiptod_check_tb_running(void)
return false;
}
tfmr = mfspr(SPR_TFMR);
- } while(!(tfmr & SPR_TFMR_TB_SYNC_OCCURED));
+ } while (!(tfmr & SPR_TFMR_TB_SYNC_OCCURED));
}
#else
uint64_t tfmr = mfspr(SPR_TFMR);
@@ -733,7 +733,7 @@ static bool chiptod_reset_tb_errors(void)
prerror("TB error reset: corrupt TFMR !\n");
return false;
}
- } while(tfmr & SPR_TFMR_CLEAR_TB_ERRORS);
+ } while (tfmr & SPR_TFMR_CLEAR_TB_ERRORS);
return true;
}