From nobody Thu Nov 28 13:53:30 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1692773768750930.462866420505; Tue, 22 Aug 2023 23:56:08 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYhlQ-0004Ag-Td; Wed, 23 Aug 2023 02:54:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYhl1-00045d-C7 for qemu-devel@nongnu.org; Wed, 23 Aug 2023 02:54:28 -0400 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYhkz-00019t-7J for qemu-devel@nongnu.org; Wed, 23 Aug 2023 02:54:22 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 8DDB31C406 for ; Wed, 23 Aug 2023 09:54:21 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id B4D32212A8; Wed, 23 Aug 2023 09:54:01 +0300 (MSK) Received: (nullmailer pid 1919469 invoked by uid 1000); Wed, 23 Aug 2023 06:54:00 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Michael Tokarev Subject: [PATCH 12/24] hw/net: spelling fixes Date: Wed, 23 Aug 2023 09:53:23 +0300 Message-Id: <20230823065335.1919380-11-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230823055155.1917375-1-mjt@tls.msk.ru> References: <20230823055155.1917375-1-mjt@tls.msk.ru> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZM-MESSAGEID: 1692773769359100003 Content-Type: text/plain; charset="utf-8" Signed-off-by: Michael Tokarev --- hw/net/cadence_gem.c | 10 +++++----- hw/net/dp8393x.c | 2 +- hw/net/e1000_regs.h | 2 +- hw/net/e1000x_regs.h | 2 +- hw/net/fsl_etsec/rings.c | 2 +- hw/net/igb_regs.h | 4 ++-- hw/net/mcf_fec.c | 2 +- hw/net/rocker/rocker_fp.c | 2 +- hw/net/rtl8139.c | 2 +- hw/net/smc91c111.c | 2 +- hw/net/sungem.c | 2 +- hw/net/sunhme.c | 2 +- hw/net/virtio-net.c | 6 +++--- hw/net/vmxnet3.c | 2 +- hw/net/vmxnet3.h | 2 +- 15 files changed, 22 insertions(+), 22 deletions(-) diff --git a/hw/net/cadence_gem.c b/hw/net/cadence_gem.c index 42ea2411a2..f445d8bb5e 100644 --- a/hw/net/cadence_gem.c +++ b/hw/net/cadence_gem.c @@ -82,6 +82,6 @@ #define GEM_SVLAN (0x000000C0 / 4) /* Stacked VLAN reg */ #define GEM_MODID (0x000000FC / 4) /* Module ID reg */ -#define GEM_OCTTXLO (0x00000100 / 4) /* Octects transmitted Low reg = */ -#define GEM_OCTTXHI (0x00000104 / 4) /* Octects transmitted High reg= */ +#define GEM_OCTTXLO (0x00000100 / 4) /* Octets transmitted Low reg */ +#define GEM_OCTTXHI (0x00000104 / 4) /* Octets transmitted High reg = */ #define GEM_TXCNT (0x00000108 / 4) /* Error-free Frames transmitte= d */ #define GEM_TXBCNT (0x0000010C / 4) /* Error-free Broadcast Frames = */ @@ -102,6 +102,6 @@ #define GEM_DEFERTXCNT (0x00000148 / 4) /* Deferred Transmission Frames= */ #define GEM_CSENSECNT (0x0000014C / 4) /* Carrier Sense Error Counter = */ -#define GEM_OCTRXLO (0x00000150 / 4) /* Octects Received register Lo= w */ -#define GEM_OCTRXHI (0x00000154 / 4) /* Octects Received register Hi= gh */ +#define GEM_OCTRXLO (0x00000150 / 4) /* Octets Received register Low= */ +#define GEM_OCTRXHI (0x00000154 / 4) /* Octets Received register Hig= h */ #define GEM_RXCNT (0x00000158 / 4) /* Error-free Frames Received */ #define GEM_RXBROADCNT (0x0000015C / 4) /* Error-free Broadcast Frames = RX */ @@ -955,5 +955,5 @@ static ssize_t gem_receive(NetClientState *nc, const ui= nt8_t *buf, size_t size) maf =3D gem_mac_address_filter(s, buf); if (maf =3D=3D GEM_RX_REJECT) { - return size; /* no, drop siliently b/c it's not an error */ + return size; /* no, drop silently b/c it's not an error */ } =20 diff --git a/hw/net/dp8393x.c b/hw/net/dp8393x.c index a596f7fbc6..c6f5fb7dce 100644 --- a/hw/net/dp8393x.c +++ b/hw/net/dp8393x.c @@ -552,5 +552,5 @@ static uint64_t dp8393x_read(void *opaque, hwaddr addr,= unsigned int size) } break; - /* All other registers have no special contraints */ + /* All other registers have no special constraints */ default: val =3D s->regs[reg]; diff --git a/hw/net/e1000_regs.h b/hw/net/e1000_regs.h index 8a4ce82034..39f4882510 100644 --- a/hw/net/e1000_regs.h +++ b/hw/net/e1000_regs.h @@ -131,5 +131,5 @@ #define E1000_GCR2 0x05B64 /* 3GIO Control Register 2 */ #define E1000_FFLT_DBG 0x05F04 /* Debug Register */ -#define E1000_HICR 0x08F00 /* Host Inteface Control */ +#define E1000_HICR 0x08F00 /* Host Interface Control */ =20 #define E1000_RXMTRL 0x0B634 /* Time sync Rx EtherType and Msg Type - = RW */ diff --git a/hw/net/e1000x_regs.h b/hw/net/e1000x_regs.h index 13760c66d3..cd896fc0ca 100644 --- a/hw/net/e1000x_regs.h +++ b/hw/net/e1000x_regs.h @@ -840,5 +840,5 @@ union e1000_rx_desc_packet_split { #define E1000_RXD_STAT_IXSM 0x04 /* Ignore checksum */ #define E1000_RXD_STAT_VP 0x08 /* IEEE VLAN Packet */ -#define E1000_RXD_STAT_UDPCS 0x10 /* UDP xsum caculated */ +#define E1000_RXD_STAT_UDPCS 0x10 /* UDP xsum calculated */ #define E1000_RXD_STAT_TCPCS 0x20 /* TCP xsum calculated */ #define E1000_RXD_STAT_IPCS 0x40 /* IP xsum calculated */ diff --git a/hw/net/fsl_etsec/rings.c b/hw/net/fsl_etsec/rings.c index 788463f1b6..e6c3bf5361 100644 --- a/hw/net/fsl_etsec/rings.c +++ b/hw/net/fsl_etsec/rings.c @@ -366,5 +366,5 @@ void etsec_walk_tx_ring(eTSEC *etsec, int ring_nbr) =20 /* Save the Buffer Descriptor Pointers to last bd that was not - * succesfully closed */ + * successfully closed */ etsec->regs[TBPTR0 + ring_nbr].value =3D bd_addr; =20 diff --git a/hw/net/igb_regs.h b/hw/net/igb_regs.h index 82ff195dfc..d6e0405d0a 100644 --- a/hw/net/igb_regs.h +++ b/hw/net/igb_regs.h @@ -365,5 +365,5 @@ union e1000_adv_rx_desc { #define E1000_VT_MSGTYPE_CTS 0x20000000 #define E1000_VT_MSGINFO_SHIFT 16 -/* bits 23:16 are used for exra info for certain messages */ +/* bits 23:16 are used for extra info for certain messages */ #define E1000_VT_MSGINFO_MASK (0xFF << E1000_VT_MSGINFO_SHIFT) =20 @@ -491,5 +491,5 @@ union e1000_adv_rx_desc { =20 #define E1000_VT_MSGINFO_SHIFT 16 -/* bits 23:16 are used for exra info for certain messages */ +/* bits 23:16 are used for extra info for certain messages */ #define E1000_VT_MSGINFO_MASK (0xFF << E1000_VT_MSGINFO_SHIFT) =20 diff --git a/hw/net/mcf_fec.c b/hw/net/mcf_fec.c index 8aa27bd322..ec3ddf520a 100644 --- a/hw/net/mcf_fec.c +++ b/hw/net/mcf_fec.c @@ -572,5 +572,5 @@ static ssize_t mcf_fec_receive(NetClientState *nc, cons= t uint8_t *buf, size_t si crc =3D cpu_to_be32(crc32(~0, buf, size)); crc_ptr =3D (uint8_t *)&crc; - /* Huge frames are truncted. */ + /* Huge frames are truncated. */ if (size > FEC_MAX_FRAME_SIZE) { size =3D FEC_MAX_FRAME_SIZE; diff --git a/hw/net/rocker/rocker_fp.c b/hw/net/rocker/rocker_fp.c index cbeed65bd5..9afd0c5e3f 100644 --- a/hw/net/rocker/rocker_fp.c +++ b/hw/net/rocker/rocker_fp.c @@ -135,5 +135,5 @@ static ssize_t fp_port_receive_iov(NetClientState *nc, = const struct iovec *iov, =20 /* If the port is disabled, we want to drop this pkt - * now rather than queing it for later. We don't want + * now rather than queueing it for later. We don't want * any stale pkts getting into the device when the port * transitions to enabled. diff --git a/hw/net/rtl8139.c b/hw/net/rtl8139.c index b4df75b2c9..4525fda383 100644 --- a/hw/net/rtl8139.c +++ b/hw/net/rtl8139.c @@ -101,5 +101,5 @@ enum RTL8139_registers { MAR0 =3D 8, /* Multicast filter. */ TxStatus0 =3D 0x10,/* Transmit status (Four 32bit registers). C mode o= nly */ - /* Dump Tally Conter control register(64bit). C+ mode= only */ + /* Dump Tally Counter control register(64bit). C+ mod= e only */ TxAddr0 =3D 0x20, /* Tx descriptors (also four 32bit). */ RxBuf =3D 0x30, diff --git a/hw/net/smc91c111.c b/hw/net/smc91c111.c index ad778cd8fc..ddbceda967 100644 --- a/hw/net/smc91c111.c +++ b/hw/net/smc91c111.c @@ -362,5 +362,5 @@ static void smc91c111_writeb(void *opaque, hwaddr offse= t, /* Not implemented. */ return; - case 10: /* Genral Purpose */ + case 10: /* General Purpose */ SET_LOW(gpr, value); return; diff --git a/hw/net/sungem.c b/hw/net/sungem.c index 510b370e5f..c2e2c90668 100644 --- a/hw/net/sungem.c +++ b/hw/net/sungem.c @@ -1229,5 +1229,5 @@ static void sungem_mmio_mif_write(void *opaque, hwadd= r addr, uint64_t val, return; /* No actual write */ case MIF_CFG: - /* Maintain the RO MDI bits to advertize an MDIO PHY on MDI0 */ + /* Maintain the RO MDI bits to advertise an MDIO PHY on MDI0 */ val &=3D ~MIF_CFG_MDI1; val |=3D MIF_CFG_MDI0; diff --git a/hw/net/sunhme.c b/hw/net/sunhme.c index 391d26fb82..64d4ea5850 100644 --- a/hw/net/sunhme.c +++ b/hw/net/sunhme.c @@ -902,5 +902,5 @@ static void sunhme_reset(DeviceState *ds) s->mifregs[HME_MIFI_CFG >> 2] |=3D HME_MIF_CFG_MDI0; =20 - /* Advetise auto, 100Mbps FD */ + /* Advertise auto, 100Mbps FD */ s->miiregs[MII_ANAR] =3D MII_ANAR_TXFD; s->miiregs[MII_BMSR] =3D MII_BMSR_AUTONEG | MII_BMSR_100TX_FD | diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c index 7102ec4817..57a359b7a5 100644 --- a/hw/net/virtio-net.c +++ b/hw/net/virtio-net.c @@ -1308,5 +1308,5 @@ static bool virtio_net_load_ebpf(VirtIONet *n) { if (!virtio_net_attach_ebpf_to_backend(n->nic, -1)) { - /* backend does't support steering ebpf */ + /* backend doesn't support steering ebpf */ return false; } @@ -2047,5 +2047,5 @@ static void virtio_net_rsc_extract_unit6(VirtioNetRsc= Chain *chain, unit->tcp_hdrlen =3D (htons(unit->tcp->th_offset_flags) & 0xF000) >> 1= 0; =20 - /* There is a difference between payload lenght in ipv4 and v6, + /* There is a difference between payload length in ipv4 and v6, ip header is excluded in ipv6 */ unit->payload =3D htons(*unit->ip_plen) - unit->tcp_hdrlen; @@ -3796,5 +3796,5 @@ static void virtio_net_instance_init(Object *obj) /* * The default config_size is sizeof(struct virtio_net_config). - * Can be overriden with virtio_net_set_config_size. + * Can be overridden with virtio_net_set_config_size. */ n->config_size =3D sizeof(struct virtio_net_config); diff --git a/hw/net/vmxnet3.c b/hw/net/vmxnet3.c index 5dfacb1098..ea9e86476e 100644 --- a/hw/net/vmxnet3.c +++ b/hw/net/vmxnet3.c @@ -1885,5 +1885,5 @@ vmxnet3_io_bar1_read(void *opaque, hwaddr addr, unsig= ned size) =20 default: - VMW_CBPRN("Unknow read BAR1[%" PRIx64 "], %d bytes", addr, siz= e); + VMW_CBPRN("Unknown read BAR1[%" PRIx64 "], %d bytes", addr, si= ze); break; } diff --git a/hw/net/vmxnet3.h b/hw/net/vmxnet3.h index bf4f6de74a..f9283f9e7b 100644 --- a/hw/net/vmxnet3.h +++ b/hw/net/vmxnet3.h @@ -734,5 +734,5 @@ struct Vmxnet3_RxQueueDesc { struct Vmxnet3_RxQueueCtrl ctrl; struct Vmxnet3_RxQueueConf conf; - /* Driver read after a GET commad */ + /* Driver read after a GET command */ struct Vmxnet3_QueueStatus status; struct UPT1_RxStats stats; --=20 2.39.2