git: 438c9e3cf894 - main - ena: change ENA C++-style comment into C-style
Marcin Wojtas
mw at FreeBSD.org
Thu Jun 24 14:35:47 UTC 2021
The branch main has been updated by mw:
URL: https://cgit.FreeBSD.org/src/commit/?id=438c9e3cf89403628ec237cfecdd0538f208087b
commit 438c9e3cf89403628ec237cfecdd0538f208087b
Author: Marcin Wojtas <mw at FreeBSD.org>
AuthorDate: 2021-06-14 08:57:45 +0000
Commit: Marcin Wojtas <mw at 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 <mk at 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);
More information about the dev-commits-src-main
mailing list