mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
misc: Fix new collection of typos
All of them were reported by codespell. Most typos are in comments, one is in an error message. Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
c9f88ce330
commit
631b22ea20
8 changed files with 12 additions and 12 deletions
|
@ -364,7 +364,7 @@ void ahci_port_clear(AHCIQState *ahci, uint8_t port)
|
|||
ahci_px_wreg(ahci, port, AHCI_PX_IS, reg);
|
||||
g_assert_cmphex(ahci_px_rreg(ahci, port, AHCI_PX_IS), ==, 0);
|
||||
|
||||
/* Wipe the FIS-Recieve Buffer */
|
||||
/* Wipe the FIS-Receive Buffer */
|
||||
qmemset(ahci->port[port].fb, 0x00, 0x100);
|
||||
}
|
||||
|
||||
|
@ -442,7 +442,7 @@ void ahci_port_check_pio_sanity(AHCIQState *ahci, uint8_t port,
|
|||
{
|
||||
PIOSetupFIS *pio = g_malloc0(0x20);
|
||||
|
||||
/* We cannot check the Status or E_Status registers, becuase
|
||||
/* We cannot check the Status or E_Status registers, because
|
||||
* the status may have again changed between the PIO Setup FIS
|
||||
* and the conclusion of the command with the D2H Register FIS. */
|
||||
memread(ahci->port[port].fb + 0x20, pio, 0x20);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue