Merge pull request #60 from riscv/tim
Fix dmi_read() indentation; remove \n in LOG_ERROR
This commit is contained in:
commit
7af58e6283
|
@ -378,13 +378,13 @@ static uint64_t dmi_read(struct target *target, uint16_t address)
|
|||
} else if (status == DMI_STATUS_SUCCESS) {
|
||||
break;
|
||||
} else {
|
||||
LOG_ERROR("failed read from 0x%x, status=%d\n", address, status);
|
||||
LOG_ERROR("failed read from 0x%x, status=%d", address, status);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (status != DMI_STATUS_SUCCESS) {
|
||||
LOG_ERROR("Failed read from 0x%x; value=0x%" PRIx64 ", status=%d\n",
|
||||
LOG_ERROR("Failed read from 0x%x; value=0x%" PRIx64 ", status=%d",
|
||||
address, value, status);
|
||||
abort();
|
||||
}
|
||||
|
@ -406,7 +406,7 @@ static uint64_t dmi_read(struct target *target, uint16_t address)
|
|||
}
|
||||
|
||||
if (status != DMI_STATUS_SUCCESS) {
|
||||
LOG_ERROR("Failed read (NOP) from 0x%x; value=0x%" PRIx64 ", status=%d\n",
|
||||
LOG_ERROR("Failed read (NOP) from 0x%x; value=0x%" PRIx64 ", status=%d",
|
||||
address, value, status);
|
||||
abort();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue