summaryrefslogtreecommitdiffstats
path: root/hw/core/generic-loader.c
diff options
context:
space:
mode:
authorStefan Weil2016-11-19 20:29:26 +0100
committerMichael Tokarev2017-01-24 21:26:52 +0100
commitb12227afb1c6533ee4950ffb067ecf638ec7bcce (patch)
tree776b8442a48645da8ff2ab75912813a89ade7406 /hw/core/generic-loader.c
parentinclude: Fix typos found by codespell (diff)
downloadqemu-b12227afb1c6533ee4950ffb067ecf638ec7bcce.tar.gz
qemu-b12227afb1c6533ee4950ffb067ecf638ec7bcce.tar.xz
qemu-b12227afb1c6533ee4950ffb067ecf638ec7bcce.zip
hw: Fix typos found by codespell
Signed-off-by: Stefan Weil <sw@weilnetz.de> Acked-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/core/generic-loader.c')
-rw-r--r--hw/core/generic-loader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/core/generic-loader.c b/hw/core/generic-loader.c
index 208f549dff..58f1f02902 100644
--- a/hw/core/generic-loader.c
+++ b/hw/core/generic-loader.c
@@ -27,7 +27,7 @@
* this it needs a backend to manage the datas, the same as other
* memory-related devices. In this case as the backend is so trivial we
* have merged it with the frontend instead of creating and maintaining a
- * seperate backend.
+ * separate backend.
*/
#include "qemu/osdep.h"
@@ -79,7 +79,7 @@ static void generic_loader_realize(DeviceState *dev, Error **errp)
"loading memory values");
return;
} else if (!s->data_len) {
- /* We cant' check for !data here as a value of 0 is still valid. */
+ /* We can't check for !data here as a value of 0 is still valid. */
error_setg(errp, "Both data and data-len must be specified");
return;
} else if (s->data_len > 8) {