misc: Fix new typos in comments

recieve -> receive
suprise -> surprise

Cc: Igor Mammedov <imammedo@redhat.com>
Cc: John Snow <jsnow@redhat.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
Stefan Weil 2015-01-03 14:41:39 +01:00 committed by Michael Tokarev
parent 1281f8e308
commit b4952c3677
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ typedef void (*hotplug_fn)(HotplugHandler *plug_handler,
* require asynchronous unplug handling. * require asynchronous unplug handling.
* @unplug: unplug callback. * @unplug: unplug callback.
* Used for device removal with devices that implement * Used for device removal with devices that implement
* asynchronous and synchronous (suprise) removal. * asynchronous and synchronous (surprise) removal.
*/ */
typedef struct HotplugHandlerClass { typedef struct HotplugHandlerClass {
/* <private> */ /* <private> */

View File

@ -1289,7 +1289,7 @@ static void ahci_test_identify(QPCIDevice *ahci, void *hba_base)
PX_WREG(i, AHCI_PX_IS, reg); PX_WREG(i, AHCI_PX_IS, reg);
g_assert_cmphex(PX_RREG(i, AHCI_PX_IS), ==, 0); g_assert_cmphex(PX_RREG(i, AHCI_PX_IS), ==, 0);
/* Wipe the FIS-Recieve Buffer */ /* Wipe the FIS-Receive Buffer */
fb = PX_RREG(i, AHCI_PX_FB); fb = PX_RREG(i, AHCI_PX_FB);
g_assert_cmphex(fb, !=, 0); g_assert_cmphex(fb, !=, 0);
qmemset(fb, 0x00, 0x100); qmemset(fb, 0x00, 0x100);