]> git.baikalelectronics.ru Git - kernel.git/commit
net: ena: Add debug prints for invalid req_id resets
authorArthur Kiyanovski <akiyano@amazon.com>
Fri, 7 Jan 2022 20:23:44 +0000 (20:23 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 8 Jan 2022 03:25:51 +0000 (19:25 -0800)
commitdcd025952faa17a062859ffe96811108ca2c4a4c
tree91bcc0f132bf84892911b78b533eeee3ddfa9eb1
parentb7616d4f6bccc99ef7c49fde07647ff93735cccc
net: ena: Add debug prints for invalid req_id resets

Add qid and req_id to error prints when ENA_REGS_RESET_INV_TX_REQ_ID
reset occurs.

Switch from %hu to %u, since u16 should be printed with %u, as
explained in [1].

[1] - https://www.kernel.org/doc/html/latest/core-api/printk-formats.html

Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/amazon/ena/ena_netdev.c