diff options
| author | Heiner Kallweit <[email protected]> | 2021-01-08 11:57:57 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-01-10 02:07:52 +0000 |
| commit | 5f1e1224d660bbf3f571d6fd8a729e42f5914eef (patch) | |
| tree | ef1f9d09633e35ad07d6b9cf4df11e6d40a9e72b /net/switchdev/switchdev.c | |
| parent | net: dsa: dsa_legacy_fdb_{add,del} can be static (diff) | |
| download | kernel-5f1e1224d660bbf3f571d6fd8a729e42f5914eef.tar.gz kernel-5f1e1224d660bbf3f571d6fd8a729e42f5914eef.zip | |
r8169: replace BUG_ON with WARN in _rtl_eri_write
Use WARN here to avoid stopping the system. In addition print the addr
and mask values that triggered the warning.
v2:
- return on WARN to avoid an invalid register write
Signed-off-by: Heiner Kallweit <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
