]> 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)
commita2a03fcee9acb6f28d1aa524546cb1813d8d4390
tree813314a6d6a41b496b8df6dffe437fbd91ee189f
parent0892a573e97e6a340d659735690c06a890abf587
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