]> git.baikalelectronics.ru Git - kernel.git/commit
warn: Turn the netdev timeout WARN_ON() into a WARN()
authorArjan van de Ven <arjan@linux.intel.com>
Mon, 15 Sep 2008 23:43:18 +0000 (16:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Sep 2008 02:39:33 +0000 (19:39 -0700)
commit6d7756b0ac1ba66b4e9240075fd76aa287c86394
tree0d4b478f259ea083e3f94363eebdf518413162ae
parent7b7581c91dcb7348555ac9d1e873a5582bc639ea
warn: Turn the netdev timeout WARN_ON() into a WARN()

this patch turns the netdev timeout WARN_ON_ONCE() into a WARN_ONCE(),
so that the device and driver names are inside the warning message.
This helps automated tools like kerneloops.org to collect the data
and do statistics, as well as making it more likely that humans
cut-n-paste the important message as part of a bugreport.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-generic/bug.h
net/sched/sch_generic.c