Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2024 03:39:44 GMT
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 3f250bb6f05b - main - cxgbe/iw_cxgbe: Tidy up a couple of CTRs in c4iw_create_listen.
Message-ID:  <202408290339.47T3diHQ008552@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by np:

URL: https://cgit.FreeBSD.org/src/commit/?id=3f250bb6f05b57890215398767bbb8aa00c888f3

commit 3f250bb6f05b57890215398767bbb8aa00c888f3
Author:     Navdeep Parhar <np@FreeBSD.org>
AuthorDate: 2024-08-29 02:33:09 +0000
Commit:     Navdeep Parhar <np@FreeBSD.org>
CommitDate: 2024-08-29 02:40:04 +0000

    cxgbe/iw_cxgbe: Tidy up a couple of CTRs in c4iw_create_listen.
    
    backlog is an int and not a string.  While here, fix an adjacent CTR
    that was spread over two lines even though it fits in one.
    
    MFC after:      1 week
    Sponsored by:   Chelsio Communications
---
 sys/dev/cxgbe/iw_cxgbe/cm.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sys/dev/cxgbe/iw_cxgbe/cm.c b/sys/dev/cxgbe/iw_cxgbe/cm.c
index 257dec81f384..c3d334aa0f62 100644
--- a/sys/dev/cxgbe/iw_cxgbe/cm.c
+++ b/sys/dev/cxgbe/iw_cxgbe/cm.c
@@ -2706,11 +2706,10 @@ c4iw_create_listen(struct iw_cm_id *cm_id, int backlog)
 	struct listen_port_info *port_info = NULL;
 	int rc = 0;
 
-	CTR3(KTR_IW_CXGBE, "%s: cm_id %p, backlog %s", __func__, cm_id,
+	CTR3(KTR_IW_CXGBE, "%s: cm_id %p, backlog %d", __func__, cm_id,
 			backlog);
 	if (c4iw_stopped(&dev->rdev)) {
-		CTR2(KTR_IW_CXGBE, "%s: cm_id %p, stopped", __func__,
-			       cm_id);
+		CTR2(KTR_IW_CXGBE, "%s: cm_id %p, stopped", __func__, cm_id);
 		return -EIO;
 	}
 	lep = alloc_ep(sizeof(*lep), GFP_KERNEL);



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