git: 11dc811bb86a - stable/14 - cxgbe/iw_cxgbe: Tidy up a couple of CTRs in c4iw_create_listen.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Oct 2024 18:39:22 UTC
The branch stable/14 has been updated by np:
URL: https://cgit.FreeBSD.org/src/commit/?id=11dc811bb86a704b3c426d5416cbe3befc3d8b0a
commit 11dc811bb86a704b3c426d5416cbe3befc3d8b0a
Author: Navdeep Parhar <np@FreeBSD.org>
AuthorDate: 2024-08-29 02:33:09 +0000
Commit: Navdeep Parhar <np@FreeBSD.org>
CommitDate: 2024-10-21 17:08:09 +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.
Sponsored by: Chelsio Communications
(cherry picked from commit 3f250bb6f05b57890215398767bbb8aa00c888f3)
---
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 2ca2fcb8041f..62961ca88aab 100644
--- a/sys/dev/cxgbe/iw_cxgbe/cm.c
+++ b/sys/dev/cxgbe/iw_cxgbe/cm.c
@@ -2715,11 +2715,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);