2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 22:53:55 +08:00
linux-next/drivers/net/ethernet/atheros
Thomas Gleixner 453590a8b6 net: atheros: Remove WARN_ON(in_interrupt())
in_interrupt() is ill defined and does not provide what the name
suggests. The usage especially in driver code is deprecated and a tree wide
effort to clean up and consolidate the (ab)usage of in_interrupt() and
related checks is happening.

In this case the check covers only parts of the contexts in which these
functions cannot be called. It fails to detect preemption or interrupt
disabled invocations.

As the functions which are invoked from at*_reinit_locked() contain a broad
variety of checks (always enabled or debug option dependent) which cover
all invalid conditions already, there is no point in having inconsistent
warnings in those drivers.

Just remove them.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-09-29 14:02:53 -07:00
..
alx net: alx: fix race condition in alx_remove 2020-06-15 13:20:14 -07:00
atl1c net: atheros: Remove WARN_ON(in_interrupt()) 2020-09-29 14:02:53 -07:00
atl1e net: atheros: Remove WARN_ON(in_interrupt()) 2020-09-29 14:02:53 -07:00
atlx net: atheros: Remove WARN_ON(in_interrupt()) 2020-09-29 14:02:53 -07:00
ag71xx.c net: ag71xx: add flow control support 2020-09-11 14:45:54 -07:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile net: ethernet: add ag71xx driver 2019-05-26 13:22:50 -07:00