Date: Fri, 29 Apr 2022 23:12:49 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 64d35ef56abd - stable/13 - cxgbe tom: Use be64toh instead of htobe64 to convert to host order. Message-ID: <202204292312.23TNCnsE045170@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=64d35ef56abdc24d3a30fe7718bfbb41f6e84086 commit 64d35ef56abdc24d3a30fe7718bfbb41f6e84086 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-03-08 18:26:45 +0000 Commit: John Baldwin <jhb@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 /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204292312.23TNCnsE045170>