summaryrefslogtreecommitdiff
path: root/hw/display
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2016-11-19 20:29:26 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2017-01-24 23:26:52 +0300
commitb12227afb1c6533ee4950ffb067ecf638ec7bcce (patch)
tree776b8442a48645da8ff2ab75912813a89ade7406 /hw/display
parent5bb8590d376094ea7d28fc54d7ab0c1f22906f03 (diff)
downloadqemu-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/display')
-rw-r--r--hw/display/xlnx_dp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/display/xlnx_dp.c b/hw/display/xlnx_dp.c
index f43eb09304..f7b7b80c68 100644
--- a/hw/display/xlnx_dp.c
+++ b/hw/display/xlnx_dp.c
@@ -555,7 +555,7 @@ static void xlnx_dp_recreate_surface(XlnxDPState *s)
if ((width != 0) && (height != 0)) {
/*
* As dpy_gfx_replace_surface calls qemu_free_displaysurface on the
- * surface we need to be carefull and don't free the surface associated
+ * surface we need to be careful and don't free the surface associated
* to the console or double free will happen.
*/
if (s->bout_plane.surface != current_console_surface) {
@@ -1160,7 +1160,7 @@ static void xlnx_dp_update_display(void *opaque)
*/
if (!xlnx_dpdma_start_operation(s->dpdma, 3, false)) {
/*
- * An error occured don't do anything with the data..
+ * An error occurred don't do anything with the data..
* Trigger an underflow interrupt.
*/
s->core_registers[DP_INT_STATUS] |= (1 << 21);