]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: improve rtl_ocp_reg_failure
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 8 Jan 2021 11:58:54 +0000 (12:58 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sun, 10 Jan 2021 02:07:52 +0000 (18:07 -0800)
commit47e418685cfe327aa0714d62dd6e8b23fdbcc4d0
treec346a699019d37883291998be7213438be43d125
parent3591875c9d439a6a681ff88a7027beeac0db48c8
r8169: improve rtl_ocp_reg_failure

Use WARN_ONCE here to get a call trace in case of a problem.
This facilitates finding the offending code part.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/realtek/r8169_main.c