value *= units->val;
if (tmp != 0 && value / tmp != units->val)
config->overflow = true;
- /**
+ /*
* if units->val is 1, config->env is greater than ulong_max, so it is can strtoul
* if failed, the value is greater than ulong_max, set config->overflow = true
*/
{
char threshold_string[PARSED_ENV_LEN];
char cycle_string[PARSED_ENV_LEN];
- /**
+ /*
* It's unnecessary to parse threshold configuration when offline
* choice is off.
*/
{
char threshold_string[PARSED_ENV_LEN];
char cycle_string[PARSED_ENV_LEN];
- /**
+ /*
* It's unnecessary to parse threshold configuration when offline
* choice is off.
*/
unsigned long tolerate;
if (period >= cycle.val) {
- /**
+ /*
* Since we don't refresh automatically, it is possible that the period
* between two occurrences will be longer than the pre-configured refresh cycle.
* In this case, we tolerate the frequency of the whole period up to
if (pr->count >= threshold.val) {
log(TERM, LOG_INFO, "Corrected Errors at %#llx exceeded threshold\n", pr->addr);
- /**
+ /*
* Backup ce count of current cycle to enable next round, which actually
* should never happen if we can disable overflow completely in the same
* time unit (but sadly we can't).