]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit9b648bb1d89ef058196cff4fe3bd678ab7ebdb19
tree91bcc0f132bf84892911b78b533eeee3ddfa9eb1
parentc215941abacff64b686004731d42e68dcda5b8d8
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