Skip to content

Commit

Permalink
hw/chiptod: have a space between while and open paren
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
shenki authored and stewartsmith committed Sep 5, 2017
1 parent 65faec8 commit ad21eab
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions hw/chiptod.c
Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand Down Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
}
Expand All @@ -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);
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit ad21eab

Please sign in to comment.