]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: hv: warn the world of a bug in the release function
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 2 Sep 2009 03:12:58 +0000 (20:12 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:02 +0000 (12:02 -0700)
commit493052a0ca01db376380283996ca702d7378de44
tree6afec7c8b003a8f581826f7ce400dd1ac26d69a6
parent913e09987b4b934732c5ce8afbc719c246fc7593
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