The branch stable/13 has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=64d35ef56abdc24d3a30fe7718bfbb41f6e84086

commit 64d35ef56abdc24d3a30fe7718bfbb41f6e84086
Author:     John Baldwin <j...@freebsd.org>
AuthorDate: 2022-03-08 18:26:45 +0000
Commit:     John Baldwin <j...@freebsd.org>
CommitDate: 2022-04-29 23:10:34 +0000

    cxgbe tom: Use be64toh instead of htobe64 to convert to host order.
    
    This is a no-op but more accurately conveys intent.
    
    Sponsored by:   Chelsio Communications
    
    (cherry picked from commit 44e7472d0ededdcee787bb08f301af234c732ff3)
---
 sys/dev/cxgbe/tom/t4_ddp.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/dev/cxgbe/tom/t4_ddp.c b/sys/dev/cxgbe/tom/t4_ddp.c
index bd5739e20821..428e942a29cd 100644
--- a/sys/dev/cxgbe/tom/t4_ddp.c
+++ b/sys/dev/cxgbe/tom/t4_ddp.c
@@ -1156,7 +1156,7 @@ t4_write_page_pods_for_ps(struct adapter *sc, struct 
sge_wrq *wrq, int tid,
                                CTR5(KTR_CXGBE,
                                    "%s: tid %d ppod[%d]->addr[%d] = %p",
                                    __func__, toep->tid, i, k,
-                                   htobe64(ppod->addr[k]));
+                                   be64toh(ppod->addr[k]));
 #endif
                        }
 
@@ -1258,7 +1258,7 @@ t4_write_page_pods_for_buf(struct adapter *sc, struct 
toepcb *toep,
                                CTR5(KTR_CXGBE,
                                    "%s: tid %d ppod[%d]->addr[%d] = %p",
                                    __func__, toep->tid, i, k,
-                                   htobe64(ppod->addr[k]));
+                                   be64toh(ppod->addr[k]));
 #endif
                        }
 
@@ -1348,7 +1348,7 @@ t4_write_page_pods_for_sgl(struct adapter *sc, struct 
toepcb *toep,
                                CTR5(KTR_CXGBE,
                                    "%s: tid %d ppod[%d]->addr[%d] = %p",
                                    __func__, toep->tid, i, k,
-                                   htobe64(ppod->addr[k]));
+                                   be64toh(ppod->addr[k]));
 #endif
 
                                /*

Reply via email to