Skip to content

Commit a1a62ce

Browse files
author
Michael Tokarev
committed
include/: spelling fixes
Signed-off-by: Michael Tokarev <[email protected]> Reviewed-by: Alex Bennée <[email protected]>
1 parent 528ea57 commit a1a62ce

File tree

23 files changed

+29
-29
lines changed

23 files changed

+29
-29
lines changed

include/block/block_int-common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ struct BlockDriver {
418418

419419
/**
420420
* Called to inform the driver that the set of cumulative set of used
421-
* permissions for @bs has changed to @perm, and the set of sharable
421+
* permissions for @bs has changed to @perm, and the set of shareable
422422
* permission to @shared. The driver can use this to propagate changes to
423423
* its children (i.e. request permissions only if a parent actually needs
424424
* them).

include/chardev/char-fe.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ bool qemu_chr_fe_backend_open(CharBackend *be);
7878
* is not supported and will not be attempted
7979
* @opaque: an opaque pointer for the callbacks
8080
* @context: a main loop context or NULL for the default
81-
* @set_open: whether to call qemu_chr_fe_set_open() implicitely when
81+
* @set_open: whether to call qemu_chr_fe_set_open() implicitly when
8282
* any of the handler is non-NULL
8383
* @sync_state: whether to issue event callback with updated state
8484
*
@@ -138,7 +138,7 @@ void qemu_chr_fe_disconnect(CharBackend *be);
138138
/**
139139
* qemu_chr_fe_wait_connected:
140140
*
141-
* Wait for characted backend to be connected, return < 0 on error or
141+
* Wait for character backend to be connected, return < 0 on error or
142142
* if no associated Chardev.
143143
*/
144144
int qemu_chr_fe_wait_connected(CharBackend *be, Error **errp);

include/crypto/akcipher.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ typedef struct QCryptoAkCipher QCryptoAkCipher;
3030
* qcrypto_akcipher_supports:
3131
* @opts: the asymmetric key algorithm and related options
3232
*
33-
* Determine if asymmetric key cipher decribed with @opts is
33+
* Determine if asymmetric key cipher described with @opts is
3434
* supported by the current configured build
3535
*
3636
* Returns: true if it is supported, false otherwise.

include/crypto/ivgen.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* sector.
3333
*
3434
* <example>
35-
* <title>Encrypting block data with initialiation vectors</title>
35+
* <title>Encrypting block data with initialization vectors</title>
3636
* <programlisting>
3737
* uint8_t *data = ....data to encrypt...
3838
* size_t ndata = XXX;
@@ -147,7 +147,7 @@ QCryptoIVGen *qcrypto_ivgen_new(QCryptoIVGenAlgorithm alg,
147147
* @niv: the number of bytes in @iv
148148
* @errp: pointer to a NULL-initialized error object
149149
*
150-
* Calculate a new initialiation vector for the data
150+
* Calculate a new initialization vector for the data
151151
* to be stored in sector @sector. The IV will be
152152
* written into the buffer @iv of size @niv.
153153
*

include/hw/acpi/aml-build.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ void free_aml_allocator(void);
277277
* @child: element that is copied into @parent_ctx context
278278
*
279279
* Joins Aml elements together and helps to construct AML tables
280-
* Examle of usage:
280+
* Example of usage:
281281
* Aml *table = aml_def_block("SSDT", ...);
282282
* Aml *sb = aml_scope("\\_SB");
283283
* Aml *dev = aml_device("PCI0");

include/hw/acpi/pc-hotplug.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#define PC_HOTPLUG_H
1414

1515
/*
16-
* ONLY DEFINEs are permited in this file since it's shared
16+
* ONLY DEFINEs are permitted in this file since it's shared
1717
* between C and ASL code.
1818
*/
1919

include/hw/acpi/vmgenid.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
#define VMGENID_FW_CFG_SIZE 4096 /* Occupy a page of memory */
1515
#define VMGENID_GUID_OFFSET 40 /* allow space for
16-
* OVMF SDT Header Probe Supressor
16+
* OVMF SDT Header Probe Suppressor
1717
*/
1818

1919
OBJECT_DECLARE_SIMPLE_TYPE(VmGenIdState, VMGENID)

include/hw/boards.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ typedef struct {
158158
* any actions to be performed by hotplug handler.
159159
* @cpu_index_to_instance_props:
160160
* used to provide @cpu_index to socket/core/thread number mapping, allowing
161-
* legacy code to perform maping from cpu_index to topology properties
161+
* legacy code to perform mapping from cpu_index to topology properties
162162
* Returns: tuple of socket/core/thread ids given cpu_index belongs to.
163163
* used to provide @cpu_index to socket number mapping, allowing
164164
* a machine to group CPU threads belonging to the same socket/package
@@ -211,10 +211,10 @@ typedef struct {
211211
* the rejection. If the hook is not provided, all hotplug will be
212212
* allowed.
213213
* @default_ram_id:
214-
* Specifies inital RAM MemoryRegion name to be used for default backend
214+
* Specifies initial RAM MemoryRegion name to be used for default backend
215215
* creation if user explicitly hasn't specified backend with "memory-backend"
216216
* property.
217-
* It also will be used as a way to optin into "-m" option support.
217+
* It also will be used as a way to option into "-m" option support.
218218
* If it's not set by board, '-m' will be ignored and generic code will
219219
* not create default RAM MemoryRegion.
220220
* @fixup_ram_size:

include/hw/char/avr_usart.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#define USART_BRRH 0x05
3535
#define USART_BRRL 0x04
3636

37-
/* Relevant bits in regiters. */
37+
/* Relevant bits in registers. */
3838
#define USART_CSRA_RXC (1 << 7)
3939
#define USART_CSRA_TXC (1 << 6)
4040
#define USART_CSRA_DRE (1 << 5)

include/hw/clock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ static inline bool clock_set_ns(Clock *clk, unsigned ns)
204204
* Propagate the clock period that has been previously configured using
205205
* @clock_set(). This will update recursively all connected clocks.
206206
* It is an error to call this function on a clock which has a source.
207-
* Note: this function must not be called during device inititialization
207+
* Note: this function must not be called during device initialization
208208
* or migration.
209209
*/
210210
void clock_propagate(Clock *clk);

0 commit comments

Comments
 (0)