stellaris: Add trailing '\n' to qemu_log() calls

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180606152128.449-8-f4bug@amsat.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé 2018-06-08 13:15:33 +01:00 committed by Peter Maydell
parent c4c98835c6
commit 9492e4b2de

View file

@ -203,11 +203,11 @@ static uint64_t gptm_read(void *opaque, hwaddr offset,
return s->rtc; return s->rtc;
} }
qemu_log_mask(LOG_UNIMP, qemu_log_mask(LOG_UNIMP,
"GPTM: read of TAR but timer read not supported"); "GPTM: read of TAR but timer read not supported\n");
return 0; return 0;
case 0x4c: /* TBR */ case 0x4c: /* TBR */
qemu_log_mask(LOG_UNIMP, qemu_log_mask(LOG_UNIMP,
"GPTM: read of TBR but timer read not supported"); "GPTM: read of TBR but timer read not supported\n");
return 0; return 0;
default: default:
qemu_log_mask(LOG_GUEST_ERROR, qemu_log_mask(LOG_GUEST_ERROR,
@ -836,11 +836,12 @@ static void stellaris_i2c_write(void *opaque, hwaddr offset,
break; break;
case 0x20: /* MCR */ case 0x20: /* MCR */
if (value & 1) { if (value & 1) {
qemu_log_mask(LOG_UNIMP, "stellaris_i2c: Loopback not implemented"); qemu_log_mask(LOG_UNIMP,
"stellaris_i2c: Loopback not implemented\n");
} }
if (value & 0x20) { if (value & 0x20) {
qemu_log_mask(LOG_UNIMP, qemu_log_mask(LOG_UNIMP,
"stellaris_i2c: Slave mode not implemented"); "stellaris_i2c: Slave mode not implemented\n");
} }
s->mcr = value & 0x31; s->mcr = value & 0x31;
break; break;
@ -1124,7 +1125,7 @@ static void stellaris_adc_write(void *opaque, hwaddr offset,
s->sspri = value; s->sspri = value;
break; break;
case 0x28: /* PSSI */ case 0x28: /* PSSI */
qemu_log_mask(LOG_UNIMP, "ADC: sample initiate unimplemented"); qemu_log_mask(LOG_UNIMP, "ADC: sample initiate unimplemented\n");
break; break;
case 0x30: /* SAC */ case 0x30: /* SAC */
s->sac = value; s->sac = value;