git: a2ad68ee9f4e - stable/12 - Revert "usb: Remove a double words in a source code comments"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 10 Sep 2022 07:01:03 UTC
The branch stable/12 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=a2ad68ee9f4e74274faf30100d0048510817a079 commit a2ad68ee9f4e74274faf30100d0048510817a079 Author: Gordon Bergling <gbe@FreeBSD.org> AuthorDate: 2022-09-04 15:40:25 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> CommitDate: 2022-09-10 07:00:24 +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 (cherry picked from commit 94466c432ed611a49cacae7ff99b224b37c906bb) --- 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 8b996643336f..359a167eaf02 100644 --- a/sys/dev/usb/net/if_muge.c +++ b/sys/dev/usb/net/if_muge.c @@ -1557,7 +1557,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 f6317fe46160..b4a2e58dbd98 100644 --- a/sys/dev/usb/net/if_smsc.c +++ b/sys/dev/usb/net/if_smsc.c @@ -1574,7 +1574,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 58d3d989a5d2..9df2b243d232 100644 --- a/sys/dev/usb/usb_busdma.c +++ b/sys/dev/usb/usb_busdma.c @@ -557,7 +557,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