]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: hv: Fix null pointer error after vmbus loading
authorHaiyang Zhang <haiyangz@microsoft.com>
Fri, 23 Oct 2009 18:14:24 +0000 (18:14 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 30 Oct 2009 21:47:43 +0000 (14:47 -0700)
commitc68fe322d9ab119752abf2a53f444fa64f3fe9c0
tree4ab5f85e99400a2e1ca17f247d05db0a23d4819a
parent704700bd04686c1cf0ff09c8d249dcfd44c4f021
Staging: hv: Fix null pointer error after vmbus loading

Fix null pointer error after vmbus loading. Remove code that checks for
dev_name, the affected structure is kzalloc-ed prior to this routine, so
it is always null at this stage.

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