Staging: hv: warn the world of a bug in the release function
commit689bf406829c8a5e44ebf8fc8918b77b3806ee48
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 2 Sep 2009 03:12:58 +0000 (1 20:12 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:02 +0000 (15 12:02 -0700)
tree6afec7c8b003a8f581826f7ce400dd1ac26d69a6
parentf4266e342527b4309119edde777bb9fbb4e0ef33
Staging: hv: warn the world of a bug in the release function

All device release functions need to do something, if not, it's a bug.
By merely providing an "empty" release function, it gets the kernel to
shut up, but that's not solving the problem at all.  Stick a big fat
WARN_ON(1); in there to get people's attention.

Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/vmbus_drv.c