git: 0ed37def561f - stable/13 - ena: Align req_id and qid print order
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 26 Jul 2022 19:31:04 UTC
The branch stable/13 has been updated by mw:
URL: https://cgit.FreeBSD.org/src/commit/?id=0ed37def561fc5205531e9bfb3028c54763d48b1
commit 0ed37def561fc5205531e9bfb3028c54763d48b1
Author: Michal Krawczyk <mk@semihalf.com>
AuthorDate: 2022-07-04 07:03:54 +0000
Commit: Marcin Wojtas <mw@FreeBSD.org>
CommitDate: 2022-07-26 19:30:17 +0000
ena: Align req_id and qid print order
In most places, the req_id is printed first, and the qid is printed as a
second. To align the driver, one printout was reworked and the print
order of those variables was changed.
Suggested by: rpokala
Obtained from: Semihalf
MFC after: 2 weeks
Sponsored by: Amazon, Inc.
(cherry picked from commit 38d036e91a8c29bf97b86d441a9d627c5cef2aea)
---
sys/dev/ena/ena_datapath.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/dev/ena/ena_datapath.c b/sys/dev/ena/ena_datapath.c
index 1bd901a30059..5a021a9304cc 100644
--- a/sys/dev/ena/ena_datapath.c
+++ b/sys/dev/ena/ena_datapath.c
@@ -219,8 +219,8 @@ ena_get_tx_req_id(struct ena_ring *tx_ring, struct ena_com_io_cq *io_cq,
return (0);
ena_log(adapter->pdev, ERR,
- "tx_info doesn't have valid mbuf. qid %hu req_id %hu\n",
- tx_ring->qid, *req_id);
+ "tx_info doesn't have valid mbuf. req_id %hu qid %hu\n",
+ *req_id, tx_ring->qid);
err:
ena_trigger_reset(adapter, ENA_REGS_RESET_INV_TX_REQ_ID);