Message ID | 20230428132124.670840-2-nks@flawful.org |
---|---|
State | New |
Headers | show |
Series | misc AHCI cleanups | expand |
On 28/4/23 15:21, Niklas Cassel wrote: > From: Niklas Cassel <niklas.cassel@wdc.com> > > This backslash obviously does not belong here, so remove it. > > Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> > --- > hw/ide/ahci.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
On Fri, Apr 28, 2023 at 9:22 AM Niklas Cassel <nks@flawful.org> wrote: > > From: Niklas Cassel <niklas.cassel@wdc.com> > > This backslash obviously does not belong here, so remove it. Reviewed-by: John Snow <jsnow@redhat.com> > > Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> > --- > hw/ide/ahci.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c > index 55902e1df7..a36e3fb77c 100644 > --- a/hw/ide/ahci.c > +++ b/hw/ide/ahci.c > @@ -690,7 +690,7 @@ static void ahci_reset_port(AHCIState *s, int port) > > s->dev[port].port_state = STATE_RUN; > if (ide_state->drive_kind == IDE_CD) { > - ahci_set_signature(d, SATA_SIGNATURE_CDROM);\ > + ahci_set_signature(d, SATA_SIGNATURE_CDROM); > ide_state->status = SEEK_STAT | WRERR_STAT | READY_STAT; > } else { > ahci_set_signature(d, SATA_SIGNATURE_DISK); > -- > 2.40.0 >
diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c index 55902e1df7..a36e3fb77c 100644 --- a/hw/ide/ahci.c +++ b/hw/ide/ahci.c @@ -690,7 +690,7 @@ static void ahci_reset_port(AHCIState *s, int port) s->dev[port].port_state = STATE_RUN; if (ide_state->drive_kind == IDE_CD) { - ahci_set_signature(d, SATA_SIGNATURE_CDROM);\ + ahci_set_signature(d, SATA_SIGNATURE_CDROM); ide_state->status = SEEK_STAT | WRERR_STAT | READY_STAT; } else { ahci_set_signature(d, SATA_SIGNATURE_DISK);