The branch main has been updated by mw:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=438c9e3cf89403628ec237cfecdd0538f208087b

commit 438c9e3cf89403628ec237cfecdd0538f208087b
Author:     Marcin Wojtas <m...@freebsd.org>
AuthorDate: 2021-06-14 08:57:45 +0000
Commit:     Marcin Wojtas <m...@freebsd.org>
CommitDate: 2021-06-24 14:02:39 +0000

    ena: change ENA C++-style comment into C-style
    
    According to man style(9), only C-style comments should be used.
    
    Submitted by: Michal Krawczyk <m...@semihalf.com>
    Obtained from: Semihalf
    MFC after: 2 weeks
    Sponsored by: Amazon, Inc.
---
 sys/dev/ena/ena_datapath.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/ena/ena_datapath.c b/sys/dev/ena/ena_datapath.c
index 4dd0fb58e3ed..0dcc9d45a01c 100644
--- a/sys/dev/ena/ena_datapath.c
+++ b/sys/dev/ena/ena_datapath.c
@@ -431,7 +431,7 @@ ena_rx_mbuf(struct ena_ring *rx_ring, struct 
ena_com_rx_buf_info *ena_bufs,
        mbuf->m_flags |= M_PKTHDR;
        mbuf->m_pkthdr.len = len;
        mbuf->m_len = len;
-       // Only for the first segment the data starts at specific offset
+       /* Only for the first segment the data starts at specific offset */
        mbuf->m_data = mtodo(mbuf, ena_rx_ctx->pkt_offset);
        ena_trace(NULL, ENA_DBG | ENA_RXPTH,
                "Mbuf data offset=%u\n", ena_rx_ctx->pkt_offset);
_______________________________________________
dev-commits-src-main@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"

Reply via email to