netdev
[Top] [All Lists]

dev/core/net_sysfs.c: missing release() function in net_class

To: shemminger@xxxxxxxx
Subject: dev/core/net_sysfs.c: missing release() function in net_class
From: Ville Nuorvala <vnuorval@xxxxxxxxxx>
Date: Tue, 19 Aug 2003 15:47:03 +0300 (EEST)
Cc: greg@xxxxxxxxx, <netdev@xxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Hi,

lately I've been getting a nasty looking warning from class_dev_release()
in drivers/base/class.c when I unregister my ip6_tunnel devices.

The warning (added by Greg Kroah-Hartman in cset 1.1152.2.7) is apparently
triggered because net_class doesn't have .release set.

Would an empty dummy function be enough for net_class or should the
release function actually do something?

Thanks,
Ville
--
Ville Nuorvala
Research Assistant, Institute of Digital Communications,
Helsinki University of Technology
email: vnuorval@xxxxxxxxxx, phone: +358 (0)9 451 5257



<Prev in Thread] Current Thread [Next in Thread>