Skip to content

Commit 0fec7bc

Browse files
committed
[ot] hw/opentitan: ot_csrng: fix format
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
1 parent 6d6911e commit 0fec7bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hw/opentitan/ot_csrng.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,8 @@ static int ot_csrng_handle_command(OtCSRNGState *s, unsigned slot)
13411341
default:
13421342
qemu_log_mask(LOG_GUEST_ERROR, "Unknown command: %u\n", acmd);
13431343
// JW: check this shouldn't be CMD_STAGE_INVALID_CMD_SEQ_ALERT.
1344-
s->regs[R_RECOV_ALERT_STS] |= R_RECOV_ALERT_STS_CMD_STAGE_INVALID_ACMD_ALERT_MASK;
1344+
s->regs[R_RECOV_ALERT_STS] |=
1345+
R_RECOV_ALERT_STS_CMD_STAGE_INVALID_ACMD_ALERT_MASK;
13451346
CHANGE_STATE(s, CSRNG_ERROR);
13461347
ot_csrng_update_alerts(s);
13471348
return -1;

0 commit comments

Comments
 (0)