]> git.baikalelectronics.ru Git - kernel.git/commit
net: mana: Add WARN_ON_ONCE in case of CQE read overflow
authorHaiyang Zhang <haiyangz@microsoft.com>
Tue, 24 Aug 2021 16:46:01 +0000 (09:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Aug 2021 10:06:54 +0000 (11:06 +0100)
commit0bd133024cd5355acce8968bd15e2a2bf7253db7
tree813314a6d6a41b496b8df6dffe437fbd91ee189f
parente7bbf372e70c6c16dc2b556577fa2e4ce45ed1ac
net: mana: Add WARN_ON_ONCE in case of CQE read overflow

This is not an expected case normally.
Add WARN_ON_ONCE in case of CQE read overflow, instead of failing
silently.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microsoft/mana/gdma_main.c