From 294c63be7da0f572167b3ec04f8ba63ec3dd1291 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Fri, 27 Oct 2023 15:42:00 +0200 Subject: hw/watchdog/wdt_aspeed: Remove unused 'hw/misc/aspeed_scu.h' header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Aspeed watchdog doesn't use anything from the System Control Unit. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Cédric Le Goater Signed-off-by: Michael Tokarev --- hw/watchdog/wdt_aspeed.c | 1 - 1 file changed, 1 deletion(-) (limited to 'hw') diff --git a/hw/watchdog/wdt_aspeed.c b/hw/watchdog/wdt_aspeed.c index d267aa1..273a49d 100644 --- a/hw/watchdog/wdt_aspeed.c +++ b/hw/watchdog/wdt_aspeed.c @@ -14,7 +14,6 @@ #include "qemu/module.h" #include "qemu/timer.h" #include "sysemu/watchdog.h" -#include "hw/misc/aspeed_scu.h" #include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "hw/watchdog/wdt_aspeed.h" -- cgit v1.1 From aaf851a20cf6f762583642361a61ff71fda44fc2 Mon Sep 17 00:00:00 2001 From: Michael Tokarev Date: Tue, 14 Nov 2023 00:12:48 +0300 Subject: hw/audio/virtio-snd.c: spelling: initalize MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: eb9ad377bb94 "virtio-sound: handle control messages and streams" Signed-off-by: Michael Tokarev Reviewed-by: Stefan Weil Reviewed-by: Philippe Mathieu-Daudé --- hw/audio/virtio-snd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw') diff --git a/hw/audio/virtio-snd.c b/hw/audio/virtio-snd.c index a18a994..2fe966e 100644 --- a/hw/audio/virtio-snd.c +++ b/hw/audio/virtio-snd.c @@ -1126,7 +1126,7 @@ static void virtio_snd_realize(DeviceState *dev, Error **errp) status = virtio_snd_set_pcm_params(vsnd, i, &default_params); if (status != cpu_to_le32(VIRTIO_SND_S_OK)) { error_setg(errp, - "Can't initalize stream params, device responded with %s.", + "Can't initialize stream params, device responded with %s.", print_code(status)); return; } -- cgit v1.1 From 487152fa1fdb2ad25a15986d13a5dd43ae9e219f Mon Sep 17 00:00:00 2001 From: Michael Tokarev Date: Tue, 14 Nov 2023 19:06:48 +0300 Subject: hw/cxl: spelling fixes: limitaions, potentialy, intialized Fixes: 388d6b574e28 "hw/cxl: Use switch statements for read and write of cachemem registers" Fixes: 3314efd276ad "hw/cxl/mbox: Add Physical Switch Identify command." Fixes: 004e3a93b814 "hw/cxl: Add tunneled command support to mailbox for switch cci." Reviewed-by: Thomas Huth Signed-off-by: Michael Tokarev --- hw/cxl/cxl-component-utils.c | 4 ++-- hw/cxl/cxl-mailbox-utils.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'hw') diff --git a/hw/cxl/cxl-component-utils.c b/hw/cxl/cxl-component-utils.c index d0245cc..29d4774 100644 --- a/hw/cxl/cxl-component-utils.c +++ b/hw/cxl/cxl-component-utils.c @@ -81,7 +81,7 @@ static uint64_t cxl_cache_mem_read_reg(void *opaque, hwaddr offset, return 0; default: /* - * In line with specifiction limitaions on access sizes, this + * In line with specification limitaions on access sizes, this * routine is not called with other sizes. */ g_assert_not_reached(); @@ -152,7 +152,7 @@ static void cxl_cache_mem_write_reg(void *opaque, hwaddr offset, uint64_t value, return; default: /* - * In line with specifiction limitaions on access sizes, this + * In line with specification limitaions on access sizes, this * routine is not called with other sizes. */ g_assert_not_reached(); diff --git a/hw/cxl/cxl-mailbox-utils.c b/hw/cxl/cxl-mailbox-utils.c index b365575..6eff56f 100644 --- a/hw/cxl/cxl-mailbox-utils.c +++ b/hw/cxl/cxl-mailbox-utils.c @@ -431,7 +431,7 @@ static CXLRetCode cmd_identify_switch_device(const struct cxl_cmd *cmd, out = (struct cxl_fmapi_ident_switch_dev_resp_pl *)payload_out; *out = (struct cxl_fmapi_ident_switch_dev_resp_pl) { .num_physical_ports = num_phys_ports + 1, /* 1 USP */ - .num_vcss = 1, /* Not yet support multiple VCS - potentialy tricky */ + .num_vcss = 1, /* Not yet support multiple VCS - potentially tricky */ .active_vcs_bitmask[0] = 0x1, .total_vppbs = num_phys_ports + 1, .bound_vppbs = num_phys_ports + 1, -- cgit v1.1 From d1c2fbc9c173e315f10e718a7ad78cb3a71f3bab Mon Sep 17 00:00:00 2001 From: Michael Tokarev Date: Tue, 14 Nov 2023 19:11:33 +0300 Subject: hw/mem/memory-device.c: spelling fix: ontaining Fixes: 6c1b28e9e405 "memory-device: Support empty memory devices" Reviewed-by: Thomas Huth Signed-off-by: Michael Tokarev --- hw/mem/memory-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw') diff --git a/hw/mem/memory-device.c b/hw/mem/memory-device.c index e0704b8..a1b1af2 100644 --- a/hw/mem/memory-device.c +++ b/hw/mem/memory-device.c @@ -29,7 +29,7 @@ static bool memory_device_is_empty(const MemoryDeviceState *md) /* dropping const here is fine as we don't touch the memory region */ mr = mdc->get_memory_region((MemoryDeviceState *)md, &local_err); if (local_err) { - /* Not empty, we'll report errors later when ontaining the MR again. */ + /* Not empty, we'll report errors later when containing the MR again. */ error_free(local_err); return false; } -- cgit v1.1 From 315ebbd760d3d8f72d56e7c5d12d10ad358d07f7 Mon Sep 17 00:00:00 2001 From: Michael Tokarev Date: Tue, 14 Nov 2023 19:11:33 +0300 Subject: hw/net/cadence_gem.c: spelling fixes: Octects Fixes: c755c943aa2e "hw/net/cadence_gem: use REG32 macro for register definitions" Reviewed-by: Thomas Huth Reviewed-by: Luc Michel Signed-off-by: Michael Tokarev --- hw/net/cadence_gem.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'hw') diff --git a/hw/net/cadence_gem.c b/hw/net/cadence_gem.c index 5b989f5..19adbc0 100644 --- a/hw/net/cadence_gem.c +++ b/hw/net/cadence_gem.c @@ -225,8 +225,8 @@ REG32(WOLAN, 0xb8) /* Wake on LAN reg */ REG32(IPGSTRETCH, 0xbc) /* IPG Stretch reg */ REG32(SVLAN, 0xc0) /* Stacked VLAN reg */ REG32(MODID, 0xfc) /* Module ID reg */ -REG32(OCTTXLO, 0x100) /* Octects transmitted Low reg */ -REG32(OCTTXHI, 0x104) /* Octects transmitted High reg */ +REG32(OCTTXLO, 0x100) /* Octets transmitted Low reg */ +REG32(OCTTXHI, 0x104) /* Octets transmitted High reg */ REG32(TXCNT, 0x108) /* Error-free Frames transmitted */ REG32(TXBCNT, 0x10c) /* Error-free Broadcast Frames */ REG32(TXMCNT, 0x110) /* Error-free Multicast Frame */ @@ -245,8 +245,8 @@ REG32(EXCESSCOLLCNT, 0x140) /* Excessive Collision Frames */ REG32(LATECOLLCNT, 0x144) /* Late Collision Frames */ REG32(DEFERTXCNT, 0x148) /* Deferred Transmission Frames */ REG32(CSENSECNT, 0x14c) /* Carrier Sense Error Counter */ -REG32(OCTRXLO, 0x150) /* Octects Received register Low */ -REG32(OCTRXHI, 0x154) /* Octects Received register High */ +REG32(OCTRXLO, 0x150) /* Octets Received register Low */ +REG32(OCTRXHI, 0x154) /* Octets Received register High */ REG32(RXCNT, 0x158) /* Error-free Frames Received */ REG32(RXBROADCNT, 0x15c) /* Error-free Broadcast Frames RX */ REG32(RXMULTICNT, 0x160) /* Error-free Multicast Frames RX */ -- cgit v1.1