From patchwork Mon Feb 27 14:01:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 657083 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp2381857wrb; Mon, 27 Feb 2023 06:30:00 -0800 (PST) X-Google-Smtp-Source: AK7set/2M6t8n97zWfKJUQ0yqm9Sh/UjKnEOpHP5mn4YKxcC6okh9YD10Ft7NAVlbdtrpoMEfKot X-Received: by 2002:a05:622a:3ce:b0:3b2:4309:99e with SMTP id k14-20020a05622a03ce00b003b24309099emr49292609qtx.54.1677508200432; Mon, 27 Feb 2023 06:30:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677508200; cv=none; d=google.com; s=arc-20160816; b=ObNSboIjWxMFw6+U94cGJqpA0x3lfo+nAsGhGsK3yZF4IY0xM3F72d3udN9m6EImik XE8VPsuFLUCeAP9LFDobp+cYMLfSzSasALJsjreBK5p8y9ShZPQxVqoIyeVbZitshSd7 g12Iqh6oo+V27lA36dXawTRfPQbhwDzrM0fw5a5tpwfPFNcy50p9KKRreeSPSstYkUo1 yKCptwgzI1H0tD0RIp6IBZP6ODxXuZUCRmv8Ua6MeY80QgmV52m3OTFtlmLpf/oUjqre oiymNo99tt3rZrA6aze6eZHrLvLtd14aiWLVwmQsUAwoG8u2OolkrzsDniqBmxq3ceYo t6Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=Hni7zBNlkddwjECNQ+BvGF3daVF+v0wRLZ0wdOeOPwo=; b=pqbWn9Vnc/klnum93NjS929S/cNLHgiU8QnMVhn8OI+jxFZaCY9GLeHy2vDu3tbJDp KAd0oFeZBod1a1gpdbwiNbf77yNl06g7idLNouOA32230v303xpWM2yeUhir/YcJkEKo sU+SkTwM1d7TmHeFVrzwAbrued6vk0bafpHliS74hoCqnG3BdhHvARlBDvDJ2N2NCfm7 Kp7fdQcMWndBwxNgKWKH/bK0TMpEpzZVbCFzRB5ydMAYrSOnnaus2k+aJ7pRTwlzO8GD kryhCvxsbxaywJKLyzLqTW6AQhLFukAinAQ0j04aaLcdjEnZaipj2Ql28rQY0FfHAaHz kpXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zldNe8ji; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id s7-20020a05622a1a8700b003b86cef433esi6548542qtc.544.2023.02.27.06.30.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Feb 2023 06:30:00 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zldNe8ji; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWeCA-0004mj-Ef; Mon, 27 Feb 2023 09:09:38 -0500 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 1pWeBf-0004Xe-8E for qemu-devel@nongnu.org; Mon, 27 Feb 2023 09:09:19 -0500 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWeBd-0000Vp-6t for qemu-devel@nongnu.org; Mon, 27 Feb 2023 09:09:06 -0500 Received: by mail-wm1-x334.google.com with SMTP id k37so4359214wms.0 for ; Mon, 27 Feb 2023 06:09:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Hni7zBNlkddwjECNQ+BvGF3daVF+v0wRLZ0wdOeOPwo=; b=zldNe8jiTn0v2x34rJYGE/s//9QSFgzoUZ2GXbTbyj6CduDbfRNgocEYm6FsArUp/m vLacpRiZHifNK/H+waV3radbN5ejOuClVWKOl8ObcxoAAy3YwPrzQUst/mPzRkBNwb7S OVLrEdqHW1SDcjGsc4N9rhWJIj6X7XJjLbSFgd+fSsiVTA1ZCxgo6TzjB12nvfg2RSLm jqvJx9YHTyyP5mA1rzxgj2b8bTKmSKf5Gvdm+YUI9KvnfthaC5229E/q50OD1s+gK7SL GCGIBDkHHpzA4pOMM5aV9qM/Md2oAuLBy57ofM7wKdaZH/ACG3gbESWXr/lmWE5pOKP/ btYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Hni7zBNlkddwjECNQ+BvGF3daVF+v0wRLZ0wdOeOPwo=; b=wYl8/RwWhm19Yg604IAaq6yZ0qcGyANvg2xcTuhLM1Ea0EnuZUC+iBwM/tnTjvi/2f XsfJ9cTe4TVAXrpWid45UDQXV5r131E8XICKfetUeJOz+3reBfINDN/FYFMrusRNx6WQ swwPs+TnZlH19KWHg1TBQ9bj4TqOrFMv22sb1NJR1asGt6FzJzT1Mu774vMhuwkqRDwE 39eOf4ksd+BS6TcmkeQPD+KgX8TR1jlFFW/syTutQesjb40T0UtjtNKGVzeuYww+N+Ua gCA99xKgeTl3wv7o4csbN4LOYb4PQOwEFVuu4/xWirAJHzQFlpx6JHku/LYnCkwPB0hf oIeA== X-Gm-Message-State: AO0yUKXanSxbgTvoQLiOtB5TwubXmUcv7Rd5ex/QZhdBjHSz4tCbCGHR kW1UPhpYvvxeDpj7dCYWMkYshjY3dV6yRHDj X-Received: by 2002:a05:600c:44d2:b0:3ea:4af0:3475 with SMTP id f18-20020a05600c44d200b003ea4af03475mr12045680wmo.1.1677506942604; Mon, 27 Feb 2023 06:09:02 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id e15-20020a5d594f000000b002c5d3f0f737sm7172938wri.30.2023.02.27.06.09.01 for (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 27 Feb 2023 06:09:02 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 084/126] hw/usb/ohci: Fix typo Date: Mon, 27 Feb 2023 15:01:31 +0100 Message-Id: <20230227140213.35084-75-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230227140213.35084-1-philmd@linaro.org> References: <20230227140213.35084-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=philmd@linaro.org; helo=mail-wm1-x334.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Signed-off-by: BALATON Zoltan Signed-off-by: Philippe Mathieu-Daudé Message-Id: <03599fd4db313ac4f651cceb43340109ad6a14b8.1676916640.git.balaton@eik.bme.hu> --- hw/usb/hcd-ohci.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hw/usb/hcd-ohci.c b/hw/usb/hcd-ohci.c index 35a1a55145..6f8b543243 100644 --- a/hw/usb/hcd-ohci.c +++ b/hw/usb/hcd-ohci.c @@ -58,7 +58,7 @@ struct ohci_hcca { #define ED_WBACK_OFFSET offsetof(struct ohci_ed, head) #define ED_WBACK_SIZE 4 -/* Bitfields for the first word of an Endpoint Desciptor. */ +/* Bitfields for the first word of an Endpoint Descriptor. */ #define OHCI_ED_FA_SHIFT 0 #define OHCI_ED_FA_MASK (0x7f << OHCI_ED_FA_SHIFT) #define OHCI_ED_EN_SHIFT 7 @@ -71,11 +71,11 @@ struct ohci_hcca { #define OHCI_ED_MPS_SHIFT 16 #define OHCI_ED_MPS_MASK (0x7ff << OHCI_ED_MPS_SHIFT) -/* Flags in the head field of an Endpoint Desciptor. */ +/* Flags in the head field of an Endpoint Descriptor. */ #define OHCI_ED_H 1 #define OHCI_ED_C 2 -/* Bitfields for the first word of a Transfer Desciptor. */ +/* Bitfields for the first word of a Transfer Descriptor. */ #define OHCI_TD_R (1 << 18) #define OHCI_TD_DP_SHIFT 19 #define OHCI_TD_DP_MASK (3 << OHCI_TD_DP_SHIFT) @@ -88,14 +88,14 @@ struct ohci_hcca { #define OHCI_TD_CC_SHIFT 28 #define OHCI_TD_CC_MASK (0xf << OHCI_TD_CC_SHIFT) -/* Bitfields for the first word of an Isochronous Transfer Desciptor. */ -/* CC & DI - same as in the General Transfer Desciptor */ +/* Bitfields for the first word of an Isochronous Transfer Descriptor. */ +/* CC & DI - same as in the General Transfer Descriptor */ #define OHCI_TD_SF_SHIFT 0 #define OHCI_TD_SF_MASK (0xffff << OHCI_TD_SF_SHIFT) #define OHCI_TD_FC_SHIFT 24 #define OHCI_TD_FC_MASK (7 << OHCI_TD_FC_SHIFT) -/* Isochronous Transfer Desciptor - Offset / PacketStatusWord */ +/* Isochronous Transfer Descriptor - Offset / PacketStatusWord */ #define OHCI_TD_PSW_CC_SHIFT 12 #define OHCI_TD_PSW_CC_MASK (0xf << OHCI_TD_PSW_CC_SHIFT) #define OHCI_TD_PSW_SIZE_SHIFT 0