[PATCH net-next v2 0/2] net: ibmveth: Make ibmveth use WARN_ON instead of BUG_ON and added KUnit tests
Dave Marquardt
davemarq at linux.ibm.com
Tue Apr 15 05:40:14 AEST 2025
- Made ibmveth driver use WARN_ON with recovery rather than BUG_ON. Some
recovery code schedules a reset through new function ibmveth_reset. Also
removed a conflicting and unneeded forward declaration.
- Added KUnit tests for some areas changed by the WARN_ON changes.
Changes:
v2: Addressed Michal Swiatkowski's comments
- Split into multiple patches
- Used a more descriptive label
*** BLURB HERE ***
Dave Marquardt (2):
net: ibmveth: make ibmveth use WARN_ON instead of BUG_ON
net: ibmveth: added KUnit tests for some buffer pool functions
drivers/net/ethernet/ibm/Kconfig | 13 ++
drivers/net/ethernet/ibm/ibmveth.c | 241 ++++++++++++++++++++++++++---
drivers/net/ethernet/ibm/ibmveth.h | 65 ++++----
3 files changed, 268 insertions(+), 51 deletions(-)
--
2.49.0
More information about the Linuxppc-dev
mailing list