Skip to content

Commit

Permalink
fsp/surv: Improve log message
Browse files Browse the repository at this point in the history
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
  • Loading branch information
Vasant Hegde authored and stewartsmith committed Sep 13, 2018
1 parent 9d9395c commit 2fba868
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions hw/fsp/fsp-surveillance.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,11 @@ static void fsp_surv_got_param(uint32_t param_id __unused, int err_len,
return;
}

printf("SURV: Status from FSP: %d\n", surv_state_param);
if (!(surv_state_param & 0x01))
if (!(surv_state_param & 0x01)) {
prlog(PR_NOTICE, "SURV: Status from FSP: disabled\n");
return;
}
prlog(PR_NOTICE, "SURV: Status from FSP: enabled\n");

lock(&surv_lock);
fsp_surv_state = true;
Expand Down

0 comments on commit 2fba868

Please sign in to comment.