git: 38d036e91a8c - main - ena: Align req_id and qid print order

From: Marcin Wojtas <mw_at_FreeBSD.org>
Date: Wed, 06 Jul 2022 15:06:33 UTC
The branch main has been updated by mw:

URL: https://cgit.FreeBSD.org/src/commit/?id=38d036e91a8c29bf97b86d441a9d627c5cef2aea

commit 38d036e91a8c29bf97b86d441a9d627c5cef2aea
Author:     Michal Krawczyk <mk@semihalf.com>
AuthorDate: 2022-07-04 07:03:54 +0000
Commit:     Marcin Wojtas <mw@FreeBSD.org>
CommitDate: 2022-07-06 15:06:21 +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.
---
 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);