net: Print the module name as part of the watchdog message
authorArjan van de Ven <arjan@linux.intel.com>
Mon, 21 Jul 2008 20:31:48 +0000 (13:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jul 2008 20:31:48 +0000 (13:31 -0700)
commit6579e57b31d79d31d9b806e41ba48774e73257dc
tree03ba72024a1982ee76b8a891a443b0fdfb6d7c93
parent7943986ca1138ac99597b1aa4dc893012dcfdc08
net: Print the module name as part of the watchdog message

As suggested by Dave:

This patch adds a function to get the driver name from a struct net_device,
and consequently uses this in the watchdog timeout handler to print as
part of the message.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c
net/sched/sch_generic.c