Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Apr 2023 06:58:07 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 9529b980ed39 - stable/13 - usb: tiny formatting nit
Message-ID:  <202304300658.33U6w7dK071806@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by hselasky:

URL: https://cgit.FreeBSD.org/src/commit/?id=9529b980ed39a7d3a86e8b4af96fb8c8c57288ec

commit 9529b980ed39a7d3a86e8b4af96fb8c8c57288ec
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-03-11 15:23:32 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2023-04-30 06:56:18 +0000

    usb: tiny formatting nit
    
    Format 300 baud like all the others here. No functional change.
    
    (cherry picked from commit 1645a4ae645fa9b9e3571b7512caa92e73b20635)
---
 sys/dev/usb/serial/umct.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys/dev/usb/serial/umct.c b/sys/dev/usb/serial/umct.c
index 43f28c307f6d..dd452d38a67b 100644
--- a/sys/dev/usb/serial/umct.c
+++ b/sys/dev/usb/serial/umct.c
@@ -478,7 +478,8 @@ static uint8_t
 umct_calc_baud(uint32_t baud)
 {
 	switch (baud) {
-		case B300:return (0x1);
+	case B300:
+		return (0x1);
 	case B600:
 		return (0x2);
 	case B1200:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304300658.33U6w7dK071806>