From nobody Mon Sep 5 13:46:04 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MLqY83ptmz4cRZ8; Mon, 5 Sep 2022 13:46:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MLqY82y5Kz3m5w; Mon, 5 Sep 2022 13:46:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662385564; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=M+Ae+rTuDwihwbDS6wqqq0pfcXjrGYkOsGCCD/J2FZQ=; b=s7+8khVW9uWK29f5T9FIOotsFSPadAtr7yHZu1gZivUbyUfJnu3UPMgG2K8Hgi1Fo/x+BB PU6UZl/SQssWxOXMsFAiPdNAUJMrqZJMrKV+lRiDa608/uysGvlpW67M5x4Af1maBVY83Y eJ8ekL7jwO6+/4WScjtcJ9U5qvmD3cSCv80rEV4RI90q6YpfHqigNB3rKlWc+HN8TOEjnH DAb6T0E00msi4zvvM3at0Kni1udD7zsvy/yC4j5mRNhs4jqKZ8/MyiTivXIznw3Pniby4N Ozv2CRLvrRSPUzSyu/IXpCL/SQcSKuYh7DqEz6NgSCqs3pxE2k6/lp2vJ6RLFA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MLqY81qkGzr20; Mon, 5 Sep 2022 13:46:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 285Dk44f013543; Mon, 5 Sep 2022 13:46:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 285Dk4BC013542; Mon, 5 Sep 2022 13:46:04 GMT (envelope-from git) Date: Mon, 5 Sep 2022 13:46:04 GMT Message-Id: <202209051346.285Dk4BC013542@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gordon Bergling Subject: git: 94466c432ed6 - main - Revert "usb: Remove a double words in a source code comments" List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 94466c432ed611a49cacae7ff99b224b37c906bb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662385564; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=M+Ae+rTuDwihwbDS6wqqq0pfcXjrGYkOsGCCD/J2FZQ=; b=PSsQDOUDOxElox8a8MRWdFKRndauoIhdI0/UAO1lU022y7z4saBCP7Fg3ZvhvZWstM+g1/ g74/QQriYlXB0UQo+AFWBVGJzdGIbCuwzqTQ6XrKQn1xb57suHyDv2RAWnvTnlJfIL7HQU 0u2zxmnby/zfvwRd2pmlLqi5HJUBexmdNlWojUCnJdDT6zHvHZIiFp/XdruOSasbYAPlOU oo3vSfe/Y8FPcPYijdeno06p7m3lYaoxRzJ1wvasLmY1hZBtxphig3p3Zzetz45KWDi2eN scVvtw2luE1uE6whcYsOGaiTFb14dfKk81jLtz7CTaWL4aVjhjo07SoF4fB1Lw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662385564; a=rsa-sha256; cv=none; b=Xr1oXonVqq4NdNZwzQERZbEdsBuG+cPPkdCNoTBAGiZViw9pBfiBumMn8Eis2sm+nkQg8O GpIjO+0SMvm9JPbPgPA0C5Plwk/SCf2teBv/RcPn6a90cIMu5cEQIhyEq87/c8jm+wSA14 PEI/usLvTlk1VlJFH/ylQH6CM6/Ur89zlcbfqg7yTlKiNU3xDmn+J+4KMzQXrtC638yoQt csHEfB3cuD2Xu9Arvj635s3Flg5ZH93rsAmo3fKy1e1AgVlBJEG7Y8JoN3wzgHQZ0srQmg kD/jEs9aq1Wf14IqXPGeE7YGY73eflYeEMVsjJHokQ/YW4/VgJncL+LNIcARTw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=94466c432ed611a49cacae7ff99b224b37c906bb commit 94466c432ed611a49cacae7ff99b224b37c906bb Author: Gordon Bergling AuthorDate: 2022-09-04 15:40:25 +0000 Commit: Gordon Bergling CommitDate: 2022-09-05 13:45:35 +0000 Revert "usb: Remove a double words in a source code comments" This reverts commit 8ca67bf1273a5168f8a3787183159c477632e582. The original comment was correct; changing it loses a key part. Reported by: jrtc27 --- sys/dev/usb/net/if_muge.c | 2 +- sys/dev/usb/net/if_smsc.c | 2 +- sys/dev/usb/usb_busdma.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/usb/net/if_muge.c b/sys/dev/usb/net/if_muge.c index c705fcd56eed..3087eb40b40a 100644 --- a/sys/dev/usb/net/if_muge.c +++ b/sys/dev/usb/net/if_muge.c @@ -1556,7 +1556,7 @@ muge_set_leds(struct usb_ether *ue) * @ue: the USB ethernet device * * This is where the chip is intialised for the first time. This is - * different from the muge_init() function in that one is designed to + * different from the muge_init() function in that that one is designed to * setup the H/W to match the UE settings and can be called after a reset. * */ diff --git a/sys/dev/usb/net/if_smsc.c b/sys/dev/usb/net/if_smsc.c index c34cc85269cc..e3b4ae9a5cbd 100644 --- a/sys/dev/usb/net/if_smsc.c +++ b/sys/dev/usb/net/if_smsc.c @@ -1545,7 +1545,7 @@ smsc_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) * @ue: the USB ethernet device * * This is where the chip is intialised for the first time. This is different - * from the smsc_init() function in that one is designed to setup the + * from the smsc_init() function in that that one is designed to setup the * H/W to match the UE settings and can be called after a reset. * * diff --git a/sys/dev/usb/usb_busdma.c b/sys/dev/usb/usb_busdma.c index 69d9ea292523..62e22805b39c 100644 --- a/sys/dev/usb/usb_busdma.c +++ b/sys/dev/usb/usb_busdma.c @@ -546,7 +546,7 @@ usb_pc_alloc_mem(struct usb_page_cache *pc, struct usb_page *pg, /* * XXX BUS-DMA workaround - FIXME later: * - * We assume that the alignment at this point of + * We assume that that the alignment at this point of * the code is greater than or equal to the size and * less than two times the size, so that if we double * the size, the size will be greater than the