|
|
@ -1441,9 +1441,7 @@ void dev_error(struct cgpu_info *dev, enum dev_reason reason) |
|
|
|
dev->device_last_not_well = time(NULL); |
|
|
|
dev->device_last_not_well = time(NULL); |
|
|
|
dev->device_not_well_reason = reason; |
|
|
|
dev->device_not_well_reason = reason; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
switch (reason) { |
|
|
|
switch (reason) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
case REASON_THREAD_FAIL_INIT: |
|
|
|
case REASON_THREAD_FAIL_INIT: |
|
|
|
dev->thread_fail_init_count++; |
|
|
|
dev->thread_fail_init_count++; |
|
|
|
break; |
|
|
|
break; |
|
|
@ -1475,7 +1473,6 @@ void dev_error(struct cgpu_info *dev, enum dev_reason reason) |
|
|
|
dev->dev_throttle_count++; |
|
|
|
dev->dev_throttle_count++; |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* Realloc an existing string to fit an extra string s, appending s to it. */ |
|
|
|
/* Realloc an existing string to fit an extra string s, appending s to it. */ |
|
|
|