aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Krawczyk <mk@semihalf.com>2022-07-04 07:03:54 +0000
committerMarcin Wojtas <mw@FreeBSD.org>2022-07-06 15:06:21 +0000
commit38d036e91a8c29bf97b86d441a9d627c5cef2aea (patch)
tree5d24e7d5ed646c0dc1c0618c3be789bcc777ad3b
parent3bf66365129a13933f77d1f4421d5136861cffb4 (diff)
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.
-rw-r--r--sys/dev/ena/ena_datapath.c4
1 files 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);